From c0b201e25393b35bf5d3fa4be1819c317ecd3e38 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Mon, 27 Jun 2022 20:49:44 +0000 Subject: [PATCH 1/2] fix: update gapic-generator-java with mock service generation fixes PiperOrigin-RevId: 457524730 Source-Link: https://github.com/googleapis/googleapis/commit/917e7f21cb1dc062744c6694437cdd46219f28cb Source-Link: https://github.com/googleapis/googleapis-gen/commit/2497f9a069d3f6b2d6810d5a4e239cda1e7e5a39 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjQ5N2Y5YTA2OWQzZjZiMmQ2ODEwZDVhNGUyMzljZGExZTdlNWEzOSJ9 --- .../cloud/vmmigration/v1/VmMigrationGrpc.java | 5341 ----------------- .../vmmigration/v1/VmMigrationClient.java | 124 +- .../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 | 4007 +++++++++++++ .../v1/AddGroupMigrationRequest.java | 421 +- .../v1/AddGroupMigrationRequestOrBuilder.java | 49 + .../v1/AddGroupMigrationResponse.java | 238 +- .../AddGroupMigrationResponseOrBuilder.java | 9 + .../cloud/vmmigration/v1/AppliedLicense.java | 436 +- .../v1/AppliedLicenseOrBuilder.java | 33 +- .../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 | 1064 ++-- .../cloud/vmmigration/v1/CloneJobName.java | 0 .../vmmigration/v1/CloneJobOrBuilder.java | 106 +- .../v1/ComputeEngineBootOption.java | 77 +- .../vmmigration/v1/ComputeEngineDiskType.java | 84 +- .../v1/ComputeEngineLicenseType.java | 77 +- .../v1/ComputeEngineTargetDefaults.java | 2010 +++---- .../ComputeEngineTargetDefaultsOrBuilder.java | 224 +- .../v1/ComputeEngineTargetDetails.java | 1934 +++--- .../ComputeEngineTargetDetailsOrBuilder.java | 204 +- .../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 | 1175 ++-- .../cloud/vmmigration/v1/CutoverJobName.java | 0 .../vmmigration/v1/CutoverJobOrBuilder.java | 118 +- .../vmmigration/v1/DatacenterConnector.java | 1304 ++-- .../v1/DatacenterConnectorName.java | 0 .../v1/DatacenterConnectorOrBuilder.java | 136 +- .../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 | 573 +- .../v1/FetchInventoryResponseOrBuilder.java | 55 +- .../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 | 342 +- .../v1/GetMigratingVmRequestOrBuilder.java | 29 + .../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 | 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 | 615 +- .../v1/ListMigratingVmsRequestOrBuilder.java | 65 +- .../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 | 2249 +++---- .../cloud/vmmigration/v1/MigratingVmName.java | 0 .../vmmigration/v1/MigratingVmOrBuilder.java | 246 +- .../cloud/vmmigration/v1/MigrationError.java | 1096 ++-- .../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 | 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 | 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 +- .../vmmigration/v1/UtilizationReport.java | 1388 ++--- .../vmmigration/v1/UtilizationReportName.java | 0 .../v1/UtilizationReportOrBuilder.java | 139 +- .../vmmigration/v1/UtilizationReportView.java | 77 +- .../vmmigration/v1/VmMigrationProto.java | 1785 ++++++ .../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 | 6 +- ...yncCreateCloneJobStringClonejobString.java | 0 .../AsyncCreateCutoverJob.java | 0 .../AsyncCreateCutoverJobLRO.java | 0 .../SyncCreateCutoverJob.java | 0 ...verJobMigratingvmnameCutoverjobString.java | 6 +- ...reateCutoverJobStringCutoverjobString.java | 0 .../AsyncCreateDatacenterConnector.java | 0 .../AsyncCreateDatacenterConnectorLRO.java | 0 .../SyncCreateDatacenterConnector.java | 0 ...orSourcenameDatacenterconnectorString.java | 6 +- ...nectorStringDatacenterconnectorString.java | 6 +- .../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 | 6 +- ...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 | 6 +- ...argetProjectStringTargetprojectString.java | 6 +- .../AsyncCreateUtilizationReport.java | 0 .../AsyncCreateUtilizationReportLRO.java | 0 .../SyncCreateUtilizationReport.java | 0 ...portSourcenameUtilizationreportString.java | 6 +- ...onReportStringUtilizationreportString.java | 6 +- .../AsyncDeleteDatacenterConnector.java | 0 .../AsyncDeleteDatacenterConnectorLRO.java | 0 .../SyncDeleteDatacenterConnector.java | 1 + ...enterConnectorDatacenterconnectorname.java | 7 +- .../SyncDeleteDatacenterConnectorString.java | 1 + .../deletegroup/AsyncDeleteGroup.java | 0 .../deletegroup/AsyncDeleteGroupLRO.java | 0 .../deletegroup/SyncDeleteGroup.java | 1 + .../deletegroup/SyncDeleteGroupGroupname.java | 1 + .../deletegroup/SyncDeleteGroupString.java | 1 + .../AsyncDeleteMigratingVm.java | 0 .../AsyncDeleteMigratingVmLRO.java | 0 .../SyncDeleteMigratingVm.java | 1 + .../SyncDeleteMigratingVmMigratingvmname.java | 1 + .../SyncDeleteMigratingVmString.java | 1 + .../deletesource/AsyncDeleteSource.java | 0 .../deletesource/AsyncDeleteSourceLRO.java | 0 .../deletesource/SyncDeleteSource.java | 1 + .../SyncDeleteSourceSourcename.java | 1 + .../deletesource/SyncDeleteSourceString.java | 1 + .../AsyncDeleteTargetProject.java | 0 .../AsyncDeleteTargetProjectLRO.java | 0 .../SyncDeleteTargetProject.java | 1 + .../SyncDeleteTargetProjectString.java | 1 + ...cDeleteTargetProjectTargetprojectname.java | 1 + .../AsyncDeleteUtilizationReport.java | 0 .../AsyncDeleteUtilizationReportLRO.java | 0 .../SyncDeleteUtilizationReport.java | 1 + .../SyncDeleteUtilizationReportString.java | 1 + ...tilizationReportUtilizationreportname.java | 7 +- .../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 | 6 +- .../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 | 3 +- .../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 | 3 +- .../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/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 - .../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 ------ 429 files changed, 27162 insertions(+), 43964 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 (98%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationSettings.java (98%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/gapic_metadata.json (100%) 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 (99%) 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 (99%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStub.java (100%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/main/java/com/google/cloud/vmmigration/v1/stub/VmMigrationStubSettings.java (98%) 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 (100%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientHttpJsonTest.java (100%) rename {google-cloud-vmmigration => owl-bot-staging/v1/google-cloud-vmmigration}/src/test/java/com/google/cloud/vmmigration/v1/VmMigrationClientTest.java (100%) 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 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%) 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 (67%) 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 (66%) 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 (69%) 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 (71%) 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 (70%) 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 (68%) 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 (75%) 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 (70%) 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 (80%) 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 (69%) 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 (70%) 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 (68%) 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 (70%) 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 (71%) 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 (77%) 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 (64%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.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/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 (64%) 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 (67%) 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 (68%) 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 (71%) 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 (68%) 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 (68%) 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 (61%) 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 (71%) 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 (68%) 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 (68%) 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 (61%) 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 (70%) 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 (68%) 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 (66%) 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 (61%) 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 (68%) 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 (61%) 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 (71%) 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 (68%) 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 (68%) 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 (61%) 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 (68%) 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 (61%) 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 (69%) 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 (61%) 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 (69%) 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 (66%) 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 (67%) 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 (61%) 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%) rename {proto-google-cloud-vmmigration-v1 => owl-bot-staging/v1/proto-google-cloud-vmmigration-v1}/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.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/MigratingVmName.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/MigratingVmOrBuilder.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/MigrationError.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/MigrationErrorOrBuilder.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/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 (71%) 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 (75%) 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 (68%) 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 (70%) 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%) 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 (72%) 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 (78%) 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 (71%) 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 (66%) 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 (72%) 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 (75%) 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 (100%) 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 (88%) 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 (88%) 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 (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createdatacenterconnector/SyncCreateDatacenterConnectorStringDatacenterconnectorString.java (88%) 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 (88%) 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 (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createtargetproject/SyncCreateTargetProjectStringTargetprojectString.java (88%) 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 (88%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/createutilizationreport/SyncCreateUtilizationReportStringUtilizationreportString.java (88%) 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 (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorDatacenterconnectorname.java (85%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletedatacenterconnector/SyncDeleteDatacenterConnectorString.java (97%) 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 (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupGroupname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletegroup/SyncDeleteGroupString.java (97%) 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 (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmMigratingvmname.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletemigratingvm/SyncDeleteMigratingVmString.java (97%) 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 (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceSourcename.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletesource/SyncDeleteSourceString.java (97%) 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 (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deletetargetproject/SyncDeleteTargetProjectTargetprojectname.java (97%) 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 (98%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportString.java (97%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/deleteutilizationreport/SyncDeleteUtilizationReportUtilizationreportname.java (85%) 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 (88%) 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 (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/getmigratingvm/SyncGetMigratingVm.java (100%) 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 (94%) 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 (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/AsyncListMigratingVmsPaged.java (100%) rename {samples => owl-bot-staging/v1/samples}/snippets/generated/com/google/cloud/vmmigration/v1/vmmigrationclient/listmigratingvms/SyncListMigratingVms.java (100%) 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 (94%) 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/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/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 98% 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 e8563a4..63b8ab8 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 @@ -18,6 +18,7 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.httpjson.longrunning.OperationsClient; import com.google.api.gax.longrunning.OperationFuture; @@ -61,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. *
* @@ -187,6 +188,7 @@ public final com.google.longrunning.OperationsClient getOperationsClient() { * Returns the OperationsClient that can be used to query the status of a long-running operation * returned by another API method call. */ + @BetaApi public final OperationsClient getHttpJsonOperationsClient() { return httpJsonOperationsClient; } @@ -6060,10 +6062,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( @@ -6110,10 +6109,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) { @@ -6133,11 +6129,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< @@ -6159,9 +6152,7 @@ private ListUtilizationReportsPagedResponse(ListUtilizationReportsPage page) { public static class ListUtilizationReportsPage extends AbstractPage< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, - UtilizationReport, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, ListUtilizationReportsPage> { private ListUtilizationReportsPage( @@ -6197,11 +6188,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) { @@ -6221,16 +6209,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) { @@ -6249,15 +6233,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) { @@ -6271,8 +6252,7 @@ private static ListDatacenterConnectorsPage createEmptyPage() { @Override protected ListDatacenterConnectorsPage createPage( PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> context, ListDatacenterConnectorsResponse response) { @@ -6282,8 +6262,7 @@ protected ListDatacenterConnectorsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> context, ApiFuture futureResponse) { @@ -6293,11 +6272,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) { @@ -6317,10 +6293,7 @@ protected ListDatacenterConnectorsFixedSizeCollection createCollection( public static class ListMigratingVmsPagedResponse extends AbstractPagedListResponse< - ListMigratingVmsRequest, - ListMigratingVmsResponse, - MigratingVm, - ListMigratingVmsPage, + ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6370,10 +6343,7 @@ public ApiFuture createPageAsync( public static class ListMigratingVmsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigratingVmsRequest, - ListMigratingVmsResponse, - MigratingVm, - ListMigratingVmsPage, + ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { private ListMigratingVmsFixedSizeCollection( @@ -6394,10 +6364,7 @@ protected ListMigratingVmsFixedSizeCollection createCollection( public static class ListCloneJobsPagedResponse extends AbstractPagedListResponse< - ListCloneJobsRequest, - ListCloneJobsResponse, - CloneJob, - ListCloneJobsPage, + ListCloneJobsRequest, ListCloneJobsResponse, CloneJob, ListCloneJobsPage, ListCloneJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6447,10 +6414,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) { @@ -6470,10 +6434,7 @@ protected ListCloneJobsFixedSizeCollection createCollection( public static class ListCutoverJobsPagedResponse extends AbstractPagedListResponse< - ListCutoverJobsRequest, - ListCutoverJobsResponse, - CutoverJob, - ListCutoverJobsPage, + ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6523,10 +6484,7 @@ public ApiFuture createPageAsync( public static class ListCutoverJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCutoverJobsRequest, - ListCutoverJobsResponse, - CutoverJob, - ListCutoverJobsPage, + ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { private ListCutoverJobsFixedSizeCollection( @@ -6547,10 +6505,7 @@ protected ListCutoverJobsFixedSizeCollection createCollection( public static class ListGroupsPagedResponse extends AbstractPagedListResponse< - ListGroupsRequest, - ListGroupsResponse, - Group, - ListGroupsPage, + ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage, ListGroupsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6597,10 +6552,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) { @@ -6620,11 +6572,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, @@ -6644,9 +6593,7 @@ private ListTargetProjectsPagedResponse(ListTargetProjectsPage page) { public static class ListTargetProjectsPage extends AbstractPage< - ListTargetProjectsRequest, - ListTargetProjectsResponse, - TargetProject, + ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, ListTargetProjectsPage> { private ListTargetProjectsPage( @@ -6676,11 +6623,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 98% 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..9cc6ca1 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(); @@ -648,8 +647,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 +686,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(); 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 100% 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 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 99% 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..29b7284 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 @@ -108,6 +108,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/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 99% 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..7f0ab2f 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; 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 100% 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 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 98% 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..a9cf238 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 @@ -141,9 +141,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 +189,7 @@ public class VmMigrationStubSettings extends StubSettings fetchInventorySettings; private final PagedCallSettings< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings; private final UnaryCallSettings @@ -205,8 +204,7 @@ public class VmMigrationStubSettings extends StubSettings deleteUtilizationReportOperationSettings; private final PagedCallSettings< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings @@ -392,8 +390,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 +641,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 +655,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListUtilizationReportsRequest, - ListUtilizationReportsResponse, + ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport> pageContext = PageContext.create( @@ -671,13 +665,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 +679,7 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> pageContext = PageContext.create( @@ -771,8 +762,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 +829,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 +867,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; @@ -1395,8 +1383,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 +1399,7 @@ public static class Builder extends StubSettings.Builder deleteUtilizationReportOperationSettings; private final PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, - ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings.Builder @@ -2784,8 +2770,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 +2813,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; 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 100% 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 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 100% 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 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 100% 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 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..036a308 --- /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,4007 @@ +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 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); + } + + /** + *
+     * 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 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 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); + } + + /** + *
+     * 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_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) 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_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(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/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/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 67% 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..4807571 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,78 @@ 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();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            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();
+
+            name_ = s;
+            break;
+          }
+          case 96: {
+            int rawValue = input.readEnum();
 
-              name_ = s;
-              break;
+            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();
             }
-          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;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = 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;
+
+            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 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;
+            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();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            targetVmDetailsCase_ = 20;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -172,41 +142,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 +181,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The clone job has not yet started.
      * 
@@ -226,8 +189,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The clone job is active and running.
      * 
@@ -236,8 +197,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(2), /** - * - * *
      * The clone job finished with errors.
      * 
@@ -246,8 +205,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The clone job finished successfully.
      * 
@@ -256,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(4), /** - * - * *
      * The clone job was cancelled.
      * 
@@ -266,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(5), /** - * - * *
      * The clone job is being cancelled.
      * 
@@ -276,8 +229,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 +240,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 +249,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 +257,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 +265,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 2; /** - * - * *
      * The clone job finished with errors.
      * 
@@ -330,8 +273,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The clone job finished successfully.
      * 
@@ -340,8 +281,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 4; /** - * - * *
      * The clone job was cancelled.
      * 
@@ -350,8 +289,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 5; /** - * - * *
      * The clone job is being cancelled.
      * 
@@ -360,8 +297,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 +305,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 +330,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; + 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() { + 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() { + 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 +396,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 +417,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 +447,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 +479,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).
    * 
* - * .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 +492,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).
    * 
* - * .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,15 +505,12 @@ 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() { @@ -621,14 +520,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** - * - * *
    * The name of the clone.
    * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -637,29 +533,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.
    * 
* * string name = 3; - * * @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 +566,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 +605,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 +617,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 +631,11 @@ 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 @@ -774,14 +643,11 @@ 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 @@ -789,8 +655,6 @@ 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.
    * 
@@ -803,7 +667,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -815,7 +678,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 +696,7 @@ 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_); } unknownFields.writeTo(output); } @@ -845,24 +708,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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -872,7 +738,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 +747,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 (!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: @@ -942,104 +812,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 +918,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 +940,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();
@@ -1119,9 +981,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 +1002,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_;
@@ -1175,39 +1036,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;
@@ -1233,15 +1093,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 +1129,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 +1144,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 +1160,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 +1182,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 +1202,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 +1220,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 +1247,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 +1270,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 +1298,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).
      * 
* - * - * .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) { @@ -1594,18 +1376,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).
      * 
* - * - * .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 +1395,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).
      * 
* - * - * .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 +1418,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).
      * 
* - * - * .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,67 +1437,51 @@ 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_; @@ -1734,20 +1489,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private java.lang.Object name_ = ""; /** - * - * *
      * The name of the clone.
      * 
* * string name = 3; - * * @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 +1509,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the clone.
      * 
* * string name = 3; - * * @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 +1530,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the clone.
      * 
* * string name = 3; - * * @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.
      * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the clone.
      * 
* * string name = 3; - * * @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 +1585,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 +1637,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 +1659,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 +1687,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 +1707,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 +1725,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 +1747,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 +1765,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 +1814,24 @@ 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() { @@ -2173,8 +1842,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. Provides details for the errors that led to the Clone Job's state.
      * 
@@ -2195,15 +1862,14 @@ 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.
      * 
* * .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,8 +1880,6 @@ 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.
      * 
@@ -2225,7 +1889,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,8 +1902,6 @@ 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.
      * 
@@ -2257,8 +1920,6 @@ public Builder clearError() { return this; } /** - * - * *
      * Output only. Provides details for the errors that led to the Clone Job's state.
      * 
@@ -2266,13 +1927,11 @@ 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.
      * 
@@ -2283,12 +1942,11 @@ 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.
      * 
@@ -2296,21 +1954,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); } @@ -2320,12 +1978,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 +1992,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 +2016,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 66% 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..30f1b75 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,230 +1,154 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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(); /** - * - * *
    * The name of the clone.
    * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the clone.
    * 
* * string name = 3; - * * @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/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 69% 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..a8d0a94 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,28 +100,28 @@ 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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(3); } @@ -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 71% 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..82c2e70 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,28 +119,28 @@ 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() {
+  public static final com.google.protobuf.Descriptors.EnumDescriptor
+      getDescriptor() {
     return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(1);
   }
 
@@ -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 70%
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..054215d 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,28 +100,28 @@ 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() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.cloud.vmmigration.v1.VmMigrationProto.getDescriptor().getEnumTypes().get(2); } @@ -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 68% 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..eb183f4 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_ = "";
@@ -54,15 +36,16 @@ 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)
@@ -82,165 +65,142 @@ 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;
-            }
-          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;
+            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;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            metadata__ = input.readMessage(
+                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            metadata_.getMutableMap().put(
+                metadata__.getKey(), metadata__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -248,7 +208,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();
@@ -260,46 +221,41 @@ 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 @@ -308,29 +264,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 +297,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 +311,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 +345,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 +358,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 +391,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 +404,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 +437,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 +450,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 +483,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 +518,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 +541,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 +552,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 +568,6 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -654,8 +579,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -671,14 +594,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 +607,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 +640,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 +691,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 +720,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 +732,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 +749,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 +764,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 +803,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 +829,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 +841,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 +860,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 +883,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 +934,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 +963,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 +975,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,11 +992,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(); } @@ -1155,7 +1005,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1167,7 +1016,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(vmName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); } @@ -1192,18 +1042,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 +1063,15 @@ 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); unknownFields.writeTo(output); } @@ -1256,58 +1105,55 @@ 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__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1317,36 +1163,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1395,7 +1253,8 @@ 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()) { @@ -1408,104 +1267,96 @@ 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.
@@ -1513,47 +1364,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 +1412,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();
@@ -1621,9 +1472,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
@@ -1642,8 +1493,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_;
@@ -1691,39 +1541,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 +1580,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 +1629,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 +1644,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 +1661,8 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDefa
       if (other.bootOption_ != 0) {
         setBootOptionValue(other.getBootOptionValue());
       }
-      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(
+          other.internalGetMetadata());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1833,8 +1682,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 +1691,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 +1715,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 +1736,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 +1791,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 +1812,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 +1834,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 +1892,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 +1912,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 +1933,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 +1988,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 +2008,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 +2029,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 +2084,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 +2104,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 +2125,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 +2221,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 +2304,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 +2325,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 +2351,6 @@ private void ensureNetworkInterfacesIsMutable() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2601,8 +2365,6 @@ public int getNetworkInterfacesCount() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2617,8 +2379,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2640,8 +2400,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2660,8 +2418,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2682,8 +2438,6 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2705,8 +2459,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2725,8 +2477,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2745,8 +2495,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2757,7 +2505,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 +2514,6 @@ public Builder addAllNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2784,8 +2531,6 @@ public Builder clearNetworkInterfaces() { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2803,8 +2548,6 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2816,8 +2559,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2827,22 +2568,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 +2588,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2859,12 +2595,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 +2607,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 +2638,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 +2658,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 +2679,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 +2734,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 +2786,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 +2833,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 +2862,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 +2874,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 +2891,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 +2904,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 +3019,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 +3041,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 +3089,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 +3107,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 +3129,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 +3147,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 +3196,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 +3244,6 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3647,8 +3262,6 @@ public Builder setComputeScheduling( return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3659,9 +3272,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 +3284,6 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3693,8 +3302,6 @@ public Builder clearComputeScheduling() { return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3702,32 +3309,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 +3336,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 +3364,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 +3397,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 +3449,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 +3496,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 +3525,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 +3537,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 +3554,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 +3567,69 @@ 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; } - @java.lang.Override - 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 +3639,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 +3653,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 +3677,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 75% 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..bf19766 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,18 @@ 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); } 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 70% 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..919fb87 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_ = "";
@@ -54,15 +36,16 @@ 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)
@@ -82,165 +65,142 @@ 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;
-            }
-          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;
+            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;
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            com.google.protobuf.MapEntry
+            metadata__ = input.readMessage(
+                MetadataDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+            metadata_.getMutableMap().put(
+                metadata__.getKey(), metadata__.getValue());
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -248,7 +208,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();
@@ -260,46 +221,41 @@ 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 @@ -308,29 +264,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 +297,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 +310,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 +343,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 +356,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 +389,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 +402,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 +435,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 +448,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 +481,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 +516,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 +539,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 +550,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 +566,6 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -652,8 +577,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** - * - * *
    * List of NICs connected to this VM.
    * 
@@ -669,14 +592,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 +605,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 +638,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 +689,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 +718,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 +730,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 +747,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 +762,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 +801,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 +827,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 +839,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 +858,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 +881,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 +932,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 +961,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 +973,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,11 +990,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(); } @@ -1143,7 +1003,6 @@ public java.lang.String getMetadataOrThrow(java.lang.String key) { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1155,7 +1014,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(vmName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, vmName_); } @@ -1180,18 +1040,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 +1061,15 @@ 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); unknownFields.writeTo(output); } @@ -1244,58 +1103,55 @@ 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__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1305,36 +1161,48 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1383,7 +1251,8 @@ 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()) { @@ -1396,104 +1265,96 @@ 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.
@@ -1501,47 +1362,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 +1410,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();
@@ -1609,9 +1470,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
@@ -1630,8 +1491,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_;
@@ -1679,39 +1539,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 +1578,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 +1627,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 +1642,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 +1659,8 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.ComputeEngineTargetDeta
       if (other.bootOption_ != 0) {
         setBootOptionValue(other.getBootOptionValue());
       }
-      internalGetMutableMetadata().mergeFrom(other.internalGetMetadata());
+      internalGetMutableMetadata().mergeFrom(
+          other.internalGetMetadata());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1821,8 +1680,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 +1689,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 +1713,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 +1734,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 +1789,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 +1809,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 +1830,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 +1885,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 +1905,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 +1926,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 +1981,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 +2001,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 +2022,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 +2077,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 +2097,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 +2118,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 +2214,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 +2297,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 +2318,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 +2344,6 @@ private void ensureNetworkInterfacesIsMutable() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2584,8 +2358,6 @@ public int getNetworkInterfacesCount() { } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2600,8 +2372,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2623,8 +2393,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2643,8 +2411,6 @@ public Builder setNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2665,8 +2431,6 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2688,8 +2452,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2708,8 +2470,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2728,8 +2488,6 @@ public Builder addNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2740,7 +2498,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 +2507,6 @@ public Builder addAllNetworkInterfaces( return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2767,8 +2524,6 @@ public Builder clearNetworkInterfaces() { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2786,8 +2541,6 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2799,8 +2552,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2810,22 +2561,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 +2581,6 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** - * - * *
      * List of NICs connected to this VM.
      * 
@@ -2842,12 +2588,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 +2600,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 +2631,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 +2651,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 +2672,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 +2727,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 +2779,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 +2826,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 +2855,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 +2867,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 +2884,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 +2897,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 +3012,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 +3034,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 +3082,6 @@ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3426,8 +3100,6 @@ public Builder setAppliedLicense( return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3438,9 +3110,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 +3122,6 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3472,8 +3140,6 @@ public Builder clearAppliedLicense() { return this; } /** - * - * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3481,13 +3147,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 +3162,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 +3174,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 +3189,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 +3237,6 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3612,8 +3255,6 @@ public Builder setComputeScheduling( return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3624,9 +3265,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 +3277,6 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3658,8 +3295,6 @@ public Builder clearComputeScheduling() { return this; } /** - * - * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3667,32 +3302,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 +3329,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 +3357,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 +3390,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 +3442,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 +3489,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 +3518,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 +3530,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 +3547,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 +3560,69 @@ 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; } - @java.lang.Override - 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 +3632,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 +3646,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 +3670,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 80% 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..c997c05 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,18 @@ 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); } 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 69% 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..b6d03f0 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,46 +181,32 @@ 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.
@@ -269,7 +216,6 @@ public com.google.cloud.vmmigration.v1.UtilizationReport getUtilizationReport()
    * 
* * string utilization_report_id = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The utilizationReportId. */ @java.lang.Override @@ -278,15 +224,14 @@ 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.
@@ -296,15 +241,16 @@ 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 { @@ -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,8 +947,6 @@ 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.
@@ -1097,13 +956,13 @@ public com.google.cloud.vmmigration.v1.UtilizationReport.Builder getUtilizationR
      * 
* * 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,8 +971,6 @@ 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.
@@ -1123,14 +980,15 @@ 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 { @@ -1138,8 +996,6 @@ 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.
@@ -1149,22 +1005,20 @@ public com.google.protobuf.ByteString getUtilizationReportIdBytes() {
      * 
* * 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.
@@ -1174,18 +1028,15 @@ public Builder setUtilizationReportId(java.lang.String value) {
      * 
* * 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.
@@ -1195,16 +1046,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; @@ -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 70% 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..7a951d9 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,101 +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 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.
@@ -105,13 +64,10 @@ public interface CreateUtilizationReportRequestOrBuilder
    * 
* * 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.
@@ -121,14 +77,12 @@ public interface CreateUtilizationReportRequestOrBuilder
    * 
* * 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 68% 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..81b05b9 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,89 @@ 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;
-            }
-          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 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();
             }
-          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;
+            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stateTime_);
+              stateTime_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              stateMessage_ = s;
-              break;
+            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();
             }
-          case 104:
-            {
-              progressPercent_ = input.readInt32();
-              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 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;
+            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();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            targetVmDetailsCase_ = 14;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -178,41 +147,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 +186,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The cutover job has not yet started.
      * 
@@ -232,8 +194,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The cutover job finished with errors.
      * 
@@ -242,8 +202,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(2), /** - * - * *
      * The cutover job finished successfully.
      * 
@@ -252,8 +210,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(3), /** - * - * *
      * The cutover job was cancelled.
      * 
@@ -262,8 +218,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLED(4), /** - * - * *
      * The cutover job is being cancelled.
      * 
@@ -272,8 +226,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ CANCELLING(5), /** - * - * *
      * The cutover job is active and running.
      * 
@@ -282,8 +234,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 +245,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 +254,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 +262,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The cutover job finished with errors.
      * 
@@ -326,8 +270,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 2; /** - * - * *
      * The cutover job finished successfully.
      * 
@@ -336,8 +278,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 3; /** - * - * *
      * The cutover job was cancelled.
      * 
@@ -346,8 +286,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 4; /** - * - * *
      * The cutover job is being cancelled.
      * 
@@ -356,8 +294,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 +302,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 +310,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 +335,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; + 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() { + 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() { + 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 +401,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 +422,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 +452,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 +484,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).
    * 
* - * .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 +497,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).
    * 
* - * .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,15 +510,12 @@ 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() { @@ -627,14 +525,11 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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 +538,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 +571,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 +610,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 +622,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 +636,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 +651,11 @@ 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 @@ -798,14 +663,11 @@ 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 @@ -813,8 +675,6 @@ 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.
    * 
@@ -829,14 +689,11 @@ 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 @@ -845,29 +702,29 @@ 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 { @@ -876,7 +733,6 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -888,7 +744,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 +768,7 @@ 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_); } unknownFields.writeTo(output); } @@ -924,30 +780,34 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -957,35 +817,40 @@ public int getSerializedSize() { @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 (!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: @@ -1034,104 +899,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 +998,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 +1020,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();
@@ -1208,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_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 +1086,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_;
@@ -1266,39 +1122,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;
@@ -1331,15 +1186,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 +1222,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 +1237,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 +1253,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 +1275,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 +1295,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 +1313,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 +1340,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 +1363,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 +1391,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).
      * 
* - * - * .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) { @@ -1692,18 +1469,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).
      * 
* - * - * .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 +1488,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).
      * 
* - * - * .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 +1511,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).
      * 
* - * - * .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,67 +1530,51 @@ 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_; @@ -1832,20 +1582,18 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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 +1602,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 +1623,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 +1678,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 +1730,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 +1752,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 +1780,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 +1800,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 +1818,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 +1840,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 +1858,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 +1919,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 +1950,24 @@ 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() { @@ -2316,8 +1978,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. Provides details for the errors that led to the Cutover Job's state.
      * 
@@ -2338,15 +1998,14 @@ 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.
      * 
* * .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,8 +2016,6 @@ 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.
      * 
@@ -2368,7 +2025,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,8 +2038,6 @@ 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.
      * 
@@ -2400,8 +2056,6 @@ public Builder clearError() { return this; } /** - * - * *
      * Output only. Provides details for the errors that led to the Cutover Job's state.
      * 
@@ -2409,13 +2063,11 @@ 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.
      * 
@@ -2426,12 +2078,11 @@ 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.
      * 
@@ -2439,14 +2090,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_; @@ -2454,20 +2105,18 @@ 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; @@ -2476,21 +2125,20 @@ 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 { @@ -2498,68 +2146,61 @@ public com.google.protobuf.ByteString getStateMessageBytes() { } } /** - * - * *
      * 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); } @@ -2569,12 +2210,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 +2224,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 +2248,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 70% 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..c0774eb 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,243 +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 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 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.
    * 
@@ -247,29 +168,24 @@ public interface CutoverJobOrBuilder 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/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 71% 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..8f10e55 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_ = "";
@@ -50,15 +32,16 @@ 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)
@@ -77,114 +60,101 @@ 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;
-            }
-          case 56:
-            {
-              int rawValue = input.readEnum();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              state_ = rawValue;
-              break;
+            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();
             }
-          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;
+            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stateTime_);
+              stateTime_ = subBuilder.buildPartial();
             }
-          case 82:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              bucket_ = s;
-              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 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;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 98:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              registrationId_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            break;
+          }
+          case 98: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            registrationId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -192,41 +162,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 +201,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     STATE_UNSPECIFIED(0),
     /**
-     *
-     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -246,8 +209,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The source was sampled by health checks and is not available.
      * 
@@ -256,8 +217,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 +227,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FAILED(3),
     /**
-     *
-     *
      * 
      * The source exists and its credentials were verified.
      * 
@@ -281,8 +238,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 +247,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 +255,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 +263,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 +273,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 +281,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 +306,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 +370,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).
    * 
* - * .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 +383,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).
    * 
* - * .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 +396,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).
    * 
* - * .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 +411,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 +423,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 +435,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 +449,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 +462,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,8 +495,6 @@ 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
@@ -585,7 +502,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; - * * @return The registrationId. */ @java.lang.Override @@ -594,15 +510,14 @@ 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
@@ -610,15 +525,16 @@ 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 { @@ -629,15 +545,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 +559,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 +593,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 +607,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 +641,11 @@ 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.
    * 
* * string bucket = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bucket. */ @java.lang.Override @@ -747,29 +654,29 @@ 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 { @@ -780,57 +687,38 @@ 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.
    * 
* - * - * .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 @@ -838,15 +726,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 +738,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 +752,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.
    * 
* * .google.rpc.Status error = 11 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return Whether the error field is set. */ @java.lang.Override @@ -887,15 +765,12 @@ 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 @@ -903,8 +778,6 @@ 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.
@@ -918,7 +791,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -930,7 +802,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 +819,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) {
@@ -973,10 +844,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,19 +860,20 @@ 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_);
@@ -1012,35 +886,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.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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -1087,103 +969,96 @@ 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)
@@ -1192,23 +1067,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 +1089,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();
@@ -1268,9 +1142,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
@@ -1289,8 +1163,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 {
@@ -1325,39 +1198,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 +1237,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());
       }
@@ -1421,8 +1292,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 +1304,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).
      * 
* - * - * .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) { @@ -1504,18 +1355,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).
      * 
* - * - * .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 +1374,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).
      * 
* - * - * .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 +1397,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).
      * 
* - * - * .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 +1416,51 @@ 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_; @@ -1644,58 +1468,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 +1516,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 +1534,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 +1556,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 +1574,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 +1623,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 +1643,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 +1664,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,8 +1719,6 @@ 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
@@ -1960,13 +1726,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * 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,8 +1741,6 @@ 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
@@ -1984,14 +1748,15 @@ 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 { @@ -1999,8 +1764,6 @@ 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
@@ -2008,22 +1771,20 @@ public com.google.protobuf.ByteString getRegistrationIdBytes() {
      * 
* * 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
@@ -2031,18 +1792,15 @@ public Builder setRegistrationId(java.lang.String value) {
      * 
* * 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
@@ -2050,16 +1808,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; @@ -2067,21 +1825,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 +1846,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 +1868,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 +1926,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 +1947,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 +1969,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 +2027,18 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) { 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; @@ -2311,21 +2047,20 @@ 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 { @@ -2333,61 +2068,54 @@ public com.google.protobuf.ByteString getBucketBytes() { } } /** - * - * *
      * 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; @@ -2395,75 +2123,51 @@ public Builder setBucketBytes(com.google.protobuf.ByteString value) { 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. */ @@ -2471,26 +2175,21 @@ 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; @@ -2498,35 +2197,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 +2225,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 +2245,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 +2263,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 +2285,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 +2303,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 +2352,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.
      * 
* * .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() { @@ -2723,8 +2382,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. Provides details on the state of the Datacenter Connector in case of an
      * error.
@@ -2746,8 +2403,6 @@ 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.
@@ -2755,7 +2410,8 @@ 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();
@@ -2766,8 +2422,6 @@ 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.
@@ -2778,7 +2432,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,8 +2445,6 @@ 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.
@@ -2811,8 +2464,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in case of an
      * error.
@@ -2821,13 +2472,11 @@ 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.
@@ -2839,12 +2488,11 @@ 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.
@@ -2853,21 +2501,21 @@ 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_;
     }
-
     @java.lang.Override
-    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 +2525,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 +2539,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 +2563,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 77%
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..03a142d 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,135 +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 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 and can
@@ -137,13 +92,10 @@ public interface DatacenterConnectorOrBuilder
    * 
* * 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
@@ -151,186 +103,142 @@ public interface DatacenterConnectorOrBuilder
    * 
* * 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.
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 64% 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..69a2f6e 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.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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.
    * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @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).
    * 
* - * .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).
    * 
* - * .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).
    * 
* - * .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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @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.
      * 
* - * - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ 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) { @@ -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).
      * 
* - * - * .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).
      * 
* - * - * .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).
      * 
* - * - * .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).
      * 
* - * - * .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); } @@ -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/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 similarity index 58% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/FetchInventoryResponseOrBuilder.java index f1cab8f..9928e3f 100644 --- a/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 @@ -1,107 +1,66 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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 { /** - * - * *
    * 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]; - * - * + * .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]; - * - * + * .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]; - * + * .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]; - * - * + * .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/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 64% 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..5b33721 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,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 '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_ = ""; } @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 +53,19 @@ 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; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -91,41 +73,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 +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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -231,127 +204,117 @@ 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() @@ -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_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,8 +362,7 @@ 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_; onBuilt(); return result; @@ -409,39 +372,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,8 +411,7 @@ 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(); @@ -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.GetMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) 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.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 +566,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 +590,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..39706cf --- /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,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 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/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 67% 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..6e5f473 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.
    * 
* * string name = 1; - * * @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.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -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.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -832,21 +771,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The Group name.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -854,61 +792,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The Group name.
      * 
* * string name = 1; - * * @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.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The Group name.
      * 
* * string name = 1; - * * @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 68% 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..12ecdc9 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.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The Group name.
    * 
* * string name = 1; - * * @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 71% 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..0311dc0 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,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 clone jobs to return. The service may return
    * fewer than this value. If unspecified, at most 500 clone jobs 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 `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,76 +744,61 @@ 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
@@ -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 clone jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 clone jobs 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 clone jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 clone jobs 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 `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 68% 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..7cba65e 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,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 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
@@ -63,14 +36,11 @@ public interface ListCloneJobsRequestOrBuilder
    * 
* * 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 68% 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..580be6e 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..5d2d842 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.
    * 
* * 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/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 71% 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..a88b48b 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,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 cutover jobs to return. The service may return
    * fewer than this value. If unspecified, at most 500 cutover jobs 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 `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,76 +744,61 @@ 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
@@ -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 cutover jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 cutover jobs 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 cutover jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 cutover jobs 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 `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 68% 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..85e7258 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,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 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
@@ -63,14 +36,11 @@ public interface ListCutoverJobsRequestOrBuilder
    * 
* * 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 68% 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..9092b44 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..11a17e0 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.
    * 
* * 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/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 70% 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..de854df 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,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 connectors to return. The service may return
    * fewer than this value. If unspecified, at most 500 sources will be
@@ -209,7 +176,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -220,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 `ListDatacenterConnectors` call.
    * Provide this to retrieve the subsequent page.
@@ -231,7 +195,6 @@ public int getPageSize() {
    * 
* * string page_token = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -240,15 +203,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 `ListDatacenterConnectors` call.
    * Provide this to retrieve the subsequent page.
@@ -258,15 +220,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 { @@ -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,76 +746,61 @@ 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
@@ -886,7 +809,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The pageSize. */ @java.lang.Override @@ -894,8 +816,6 @@ 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
@@ -904,19 +824,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 connectors to return. The service may return
      * fewer than this value. If unspecified, at most 500 sources will be
@@ -925,11 +842,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; @@ -937,8 +853,6 @@ 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.
@@ -948,13 +862,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; @@ -963,8 +877,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListDatacenterConnectors` call.
      * Provide this to retrieve the subsequent page.
@@ -974,14 +886,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 { @@ -989,8 +902,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListDatacenterConnectors` call.
      * Provide this to retrieve the subsequent page.
@@ -1000,22 +911,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 `ListDatacenterConnectors` call.
      * Provide this to retrieve the subsequent page.
@@ -1025,18 +934,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 `ListDatacenterConnectors` call.
      * Provide this to retrieve the subsequent page.
@@ -1046,16 +952,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; @@ -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 68% 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..145c5b8 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,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 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
@@ -63,14 +36,11 @@ public interface ListDatacenterConnectorsRequestOrBuilder
    * 
* * 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.
@@ -80,13 +50,10 @@ public interface ListDatacenterConnectorsRequestOrBuilder
    * 
* * 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.
@@ -96,58 +63,48 @@ public interface ListDatacenterConnectorsRequestOrBuilder
    * 
* * 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 66% 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..8319c0d 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..d20a3e0 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.
    * 
* * 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/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 68% 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..7379170 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..23c02ff 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.
    * 
* * 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/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 71% 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..dfe6da7 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,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 '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_ = ""; @@ -46,15 +28,16 @@ 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) @@ -73,46 +56,42 @@ 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; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -120,41 +99,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 +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 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,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 migrating VMs to return. The service may return
    * fewer than this value. If unspecified, at most 500 migrating VMs 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 `ListMigratingVms` 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 `ListMigratingVms` 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -470,127 +433,117 @@ 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() @@ -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_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,8 +599,7 @@ 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,39 +613,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 +652,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(); @@ -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.ListMigratingVmsRequest) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) 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 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 +723,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,76 +744,61 @@ 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
@@ -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 migrating VMs to return. The service may return
      * fewer than this value. If unspecified, at most 500 migrating VMs 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 migrating VMs to return. The service may return
      * fewer than this value. If unspecified, at most 500 migrating VMs 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 `ListMigratingVms` 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 `ListMigratingVms` 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 `ListMigratingVms` 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 `ListMigratingVms` 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 `ListMigratingVms` 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.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 +1177,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 +1201,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 68% 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..f054d78 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,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 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
@@ -63,14 +36,11 @@ public interface ListMigratingVmsRequestOrBuilder
    * 
* * 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,48 @@ 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(); } 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 68% 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..80a32b8 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..35943eb 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.
    * 
* * 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/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 68% 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..171269f 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..735f630 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.
    * 
* * 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/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 69% 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..78b6328 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..2a11f35 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.
    * 
* * 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/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 69% 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..3ce89f3 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,8 +222,6 @@ 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.
@@ -281,7 +230,6 @@ public int getPageSize() {
    * 
* * string page_token = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The pageToken. */ @java.lang.Override @@ -290,15 +238,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 `ListUtilizationReports` call.
    * Provide this to retrieve the subsequent page.
@@ -307,15 +254,16 @@ 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 { @@ -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,8 +982,6 @@ 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.
@@ -1122,13 +990,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; @@ -1137,8 +1005,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * Required. A page token, received from a previous `ListUtilizationReports` call.
      * Provide this to retrieve the subsequent page.
@@ -1147,14 +1013,15 @@ 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 { @@ -1162,8 +1029,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * Required. A page token, received from a previous `ListUtilizationReports` call.
      * Provide this to retrieve the subsequent page.
@@ -1172,22 +1037,20 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * 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.
@@ -1196,18 +1059,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * 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.
@@ -1216,16 +1076,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; @@ -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 66% 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..b71bfe9 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,14 +57,11 @@ 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.
@@ -110,13 +70,10 @@ public interface ListUtilizationReportsRequestOrBuilder
    * 
* * 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.
@@ -125,58 +82,48 @@ public interface ListUtilizationReportsRequestOrBuilder
    * 
* * 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 67% 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..b33c6a8 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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. */ @@ -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 61% 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..14546ae 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.
    * 
* * 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/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/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 similarity index 66% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVm.java index 059b3d9..319c4a6 100644 --- a/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 @@ -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; /** - * - * *
  * MigratingVm describes the VM that will be migrated from a Source environment
  * and its replication state.
@@ -28,16 +11,15 @@
  *
  * 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_ = "";
@@ -49,15 +31,16 @@ 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)
@@ -77,197 +60,167 @@ 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();
+            name_ = s;
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            sourceVmId_ = s;
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              sourceVmId_ = s;
-              break;
+            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();
             }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              description_ = s;
-              break;
+            break;
+          }
+          case 74: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (createTime_ != null) {
+              subBuilder = createTime_.toBuilder();
             }
-          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;
+            createTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(createTime_);
+              createTime_ = subBuilder.buildPartial();
             }
-          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;
+
+            break;
+          }
+          case 82: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (updateTime_ != null) {
+              subBuilder = updateTime_.toBuilder();
             }
-          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;
+            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(updateTime_);
+              updateTime_ = subBuilder.buildPartial();
             }
-          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;
+
+            break;
+          }
+          case 90: {
+            com.google.cloud.vmmigration.v1.ReplicationSync.Builder subBuilder = null;
+            if (lastSync_ != null) {
+              subBuilder = lastSync_.toBuilder();
             }
-          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;
+            lastSync_ = input.readMessage(com.google.cloud.vmmigration.v1.ReplicationSync.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(lastSync_);
+              lastSync_ = subBuilder.buildPartial();
             }
-          case 122:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              group_ = s;
-              break;
+            break;
+          }
+          case 106: {
+            com.google.cloud.vmmigration.v1.ReplicationCycle.Builder subBuilder = null;
+            if (currentSyncInfo_ != null) {
+              subBuilder = currentSyncInfo_.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;
+            currentSyncInfo_ = input.readMessage(com.google.cloud.vmmigration.v1.ReplicationCycle.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(currentSyncInfo_);
+              currentSyncInfo_ = subBuilder.buildPartial();
             }
-          case 146:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              displayName_ = s;
-              break;
+            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;
             }
-          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;
+            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();
             }
-          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;
+            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          case 184:
-            {
-              int rawValue = input.readEnum();
 
-              state_ = rawValue;
-              break;
+            break;
+          }
+          case 178: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (stateTime_ != null) {
+              subBuilder = stateTime_.toBuilder();
             }
-          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;
+            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(stateTime_);
+              stateTime_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            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) {
@@ -275,52 +228,48 @@ 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 {
       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;
+  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.
      * 
@@ -329,8 +278,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The VM in the source is being verified.
      * 
@@ -339,8 +286,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ PENDING(1), /** - * - * *
      * The source VM was verified, and it's ready to start replication.
      * 
@@ -349,8 +294,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ READY(2), /** - * - * *
      * Migration is going through the first sync cycle.
      * 
@@ -359,8 +302,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FIRST_SYNC(3), /** - * - * *
      * The replication is active, and it's running or scheduled to run.
      * 
@@ -369,8 +310,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(4), /** - * - * *
      * The source VM is being turned off, and a final replication is currently
      * running.
@@ -380,8 +319,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CUTTING_OVER(7),
     /**
-     *
-     *
      * 
      * The source VM was stopped and replicated. The replication is currently
      * paused.
@@ -391,8 +328,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CUTOVER(8),
     /**
-     *
-     *
      * 
      * A cutover job is active and replication cycle is running the final sync.
      * 
@@ -401,8 +336,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FINAL_SYNC(9), /** - * - * *
      * The replication was paused by the user and no cycles are scheduled to
      * run.
@@ -412,8 +345,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     PAUSED(10),
     /**
-     *
-     *
      * 
      * The migrating VM is being finalized and migration resources are being
      * removed.
@@ -423,8 +354,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FINALIZING(11),
     /**
-     *
-     *
      * 
      * The replication process is done. The migrating VM is finalized and no
      * longer consumes billable resources.
@@ -434,8 +363,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     FINALIZED(12),
     /**
-     *
-     *
      * 
      * The replication process encountered an unrecoverable error and was
      * aborted.
@@ -448,8 +375,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -458,8 +383,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The VM in the source is being verified.
      * 
@@ -468,8 +391,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PENDING_VALUE = 1; /** - * - * *
      * The source VM was verified, and it's ready to start replication.
      * 
@@ -478,8 +399,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READY_VALUE = 2; /** - * - * *
      * Migration is going through the first sync cycle.
      * 
@@ -488,8 +407,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FIRST_SYNC_VALUE = 3; /** - * - * *
      * The replication is active, and it's running or scheduled to run.
      * 
@@ -498,8 +415,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 4; /** - * - * *
      * The source VM is being turned off, and a final replication is currently
      * running.
@@ -509,8 +424,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUTTING_OVER_VALUE = 7;
     /**
-     *
-     *
      * 
      * The source VM was stopped and replicated. The replication is currently
      * paused.
@@ -520,8 +433,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CUTOVER_VALUE = 8;
     /**
-     *
-     *
      * 
      * A cutover job is active and replication cycle is running the final sync.
      * 
@@ -530,8 +441,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FINAL_SYNC_VALUE = 9; /** - * - * *
      * The replication was paused by the user and no cycles are scheduled to
      * run.
@@ -541,8 +450,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int PAUSED_VALUE = 10;
     /**
-     *
-     *
      * 
      * The migrating VM is being finalized and migration resources are being
      * removed.
@@ -552,8 +459,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FINALIZING_VALUE = 11;
     /**
-     *
-     *
      * 
      * The replication process is done. The migrating VM is finalized and no
      * longer consumes billable resources.
@@ -563,8 +468,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int FINALIZED_VALUE = 12;
     /**
-     *
-     *
      * 
      * The replication process encountered an unrecoverable error and was
      * aborted.
@@ -574,6 +477,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 13;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -598,67 +502,58 @@ 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);
+            }
+          };
 
-    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() {
+    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;
@@ -677,15 +572,12 @@ 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;
     }
@@ -701,36 +593,29 @@ 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 @@ -738,42 +623,31 @@ 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(); } @@ -781,14 +655,11 @@ public boolean hasComputeEngineTargetDefaults() { 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 @@ -797,29 +668,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 { @@ -830,8 +701,6 @@ public com.google.protobuf.ByteString getNameBytes() { 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
@@ -839,7 +708,6 @@ public com.google.protobuf.ByteString getNameBytes() {
    * 
* * string source_vm_id = 2; - * * @return The sourceVmId. */ @java.lang.Override @@ -848,15 +716,14 @@ 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
@@ -864,15 +731,16 @@ 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 { @@ -883,14 +751,11 @@ public com.google.protobuf.ByteString getSourceVmIdBytes() { 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 @@ -899,29 +764,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 { @@ -932,14 +797,11 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { 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 @@ -948,29 +810,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 { @@ -981,14 +843,11 @@ public com.google.protobuf.ByteString getDescriptionBytes() { 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 @@ -996,25 +855,18 @@ 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.
    * 
@@ -1029,16 +881,12 @@ 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 @@ -1046,16 +894,12 @@ 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 @@ -1063,15 +907,12 @@ 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() { @@ -1081,15 +922,11 @@ 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 @@ -1097,15 +934,11 @@ 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 @@ -1113,14 +946,11 @@ 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() { @@ -1130,17 +960,12 @@ 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 @@ -1148,36 +973,25 @@ 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() { @@ -1187,55 +1001,38 @@ 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 @@ -1243,15 +1040,11 @@ 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 @@ -1259,14 +1052,11 @@ 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() { @@ -1276,16 +1066,11 @@ 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 @@ -1293,34 +1078,23 @@ 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() { @@ -1330,18 +1104,13 @@ 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 @@ -1350,33 +1119,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; } } /** - * - * *
    * 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 { @@ -1385,23 +1152,24 @@ public com.google.protobuf.ByteString getGroupBytes() { } 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() { + 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 com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1410,30 +1178,28 @@ 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.
    * 
@@ -1441,12 +1207,11 @@ 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.
    * 
@@ -1454,16 +1219,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.
    * 
@@ -1471,11 +1236,12 @@ public java.lang.String getLabelsOrDefault(java.lang.String key, java.lang.Strin * 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(); } @@ -1485,15 +1251,12 @@ public java.lang.String getLabelsOrThrow(java.lang.String 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 @@ -1501,15 +1264,12 @@ 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 @@ -1517,8 +1277,6 @@ 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.
@@ -1532,7 +1290,6 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1544,7 +1301,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_);
     }
@@ -1572,8 +1330,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     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);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 18, displayName_);
     }
@@ -1587,8 +1349,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       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);
   }
@@ -1609,49 +1370,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__);
     }
     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());
     }
     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;
@@ -1661,54 +1429,66 @@ public int getSerializedSize() {
   @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 (!getCurrentSyncInfo()
+          .equals(other.getCurrentSyncInfo())) return false;
     }
-    if (!getGroup().equals(other.getGroup())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) 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 (!getError()
+          .equals(other.getError())) 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:
@@ -1781,104 +1561,97 @@ 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.
@@ -1886,43 +1659,43 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -1930,15 +1703,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();
@@ -2003,9 +1777,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
@@ -2024,8 +1798,7 @@ 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) {
@@ -2086,39 +1859,38 @@ 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;
@@ -2168,20 +1940,19 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigratingVm other) {
         group_ = other.group_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      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;
-          }
+        case COMPUTE_ENGINE_TARGET_DEFAULTS: {
+          mergeComputeEngineTargetDefaults(other.getComputeEngineTargetDefaults());
+          break;
+        }
+        case TARGETVMDEFAULTS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -2211,12 +1982,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() {
@@ -2229,21 +2000,13 @@ 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 @@ -2251,21 +2014,15 @@ 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_; @@ -2279,18 +2036,13 @@ public 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; */ - 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(); @@ -2304,15 +2056,11 @@ 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 setComputeEngineTargetDefaults( com.google.cloud.vmmigration.v1.ComputeEngineTargetDefaults.Builder builderForValue) { @@ -2326,29 +2074,18 @@ 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; } @@ -2364,15 +2101,11 @@ public Builder mergeComputeEngineTargetDefaults( 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) { @@ -2391,34 +2124,24 @@ 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 { @@ -2429,58 +2152,45 @@ public Builder clearComputeEngineTargetDefaults() { } } /** - * - * *
      * 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; @@ -2489,21 +2199,20 @@ 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 { @@ -2511,61 +2220,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * 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; @@ -2573,8 +2275,6 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { 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
@@ -2582,13 +2282,13 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
      * 
* * 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; @@ -2597,8 +2297,6 @@ 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
@@ -2606,14 +2304,15 @@ 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 { @@ -2621,8 +2320,6 @@ public com.google.protobuf.ByteString getSourceVmIdBytes() { } } /** - * - * *
      * 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
@@ -2630,22 +2327,20 @@ public com.google.protobuf.ByteString getSourceVmIdBytes() {
      * 
* * 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
@@ -2653,18 +2348,15 @@ public Builder setSourceVmId(java.lang.String value) {
      * 
* * 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
@@ -2672,16 +2364,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; @@ -2689,20 +2381,18 @@ public Builder setSourceVmIdBytes(com.google.protobuf.ByteString value) { 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; @@ -2711,21 +2401,20 @@ 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 { @@ -2733,61 +2422,54 @@ public com.google.protobuf.ByteString getDisplayNameBytes() { } } /** - * - * *
      * 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; @@ -2795,20 +2477,18 @@ public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) { 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; @@ -2817,21 +2497,20 @@ 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 { @@ -2839,61 +2518,54 @@ public com.google.protobuf.ByteString getDescriptionBytes() { } } /** - * - * *
      * 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) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + */ + public Builder setDescriptionBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + description_ = value; onChanged(); return this; @@ -2901,47 +2573,34 @@ public Builder setDescriptionBytes(com.google.protobuf.ByteString value) { 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.
      * 
@@ -2962,8 +2621,6 @@ public Builder setPolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) { return this; } /** - * - * *
      * The replication schedule policy.
      * 
@@ -2982,8 +2639,6 @@ public Builder setPolicy( return this; } /** - * - * *
      * The replication schedule policy.
      * 
@@ -2994,9 +2649,7 @@ 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; } @@ -3008,8 +2661,6 @@ public Builder mergePolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) return this; } /** - * - * *
      * The replication schedule policy.
      * 
@@ -3028,8 +2679,6 @@ public Builder clearPolicy() { return this; } /** - * - * *
      * The replication schedule policy.
      * 
@@ -3037,13 +2686,11 @@ 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.
      * 
@@ -3054,14 +2701,11 @@ 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.
      * 
@@ -3069,17 +2713,14 @@ 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_; @@ -3087,61 +2728,42 @@ 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) { @@ -3157,18 +2779,15 @@ 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(); @@ -3179,22 +2798,18 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -3206,16 +2821,12 @@ 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) { @@ -3229,67 +2840,51 @@ 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_; @@ -3297,58 +2892,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 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) { @@ -3364,17 +2940,14 @@ 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(); @@ -3385,21 +2958,17 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal 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; } @@ -3411,15 +2980,11 @@ 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) { @@ -3433,64 +2998,48 @@ 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_; @@ -3498,61 +3047,42 @@ 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) { @@ -3568,16 +3098,12 @@ 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) { @@ -3591,24 +3117,18 @@ 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; } @@ -3620,16 +3140,12 @@ 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) { @@ -3643,67 +3159,51 @@ 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_; @@ -3711,75 +3211,51 @@ 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. */ @@ -3787,26 +3263,21 @@ 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; @@ -3814,37 +3285,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 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() { @@ -3855,15 +3313,11 @@ 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) { @@ -3879,17 +3333,14 @@ 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(); @@ -3900,21 +3351,17 @@ public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValu 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; } @@ -3926,15 +3373,11 @@ 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) { @@ -3948,62 +3391,48 @@ 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_; @@ -4011,58 +3440,39 @@ 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) { @@ -4078,15 +3488,11 @@ 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) { @@ -4100,23 +3506,17 @@ 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; } @@ -4128,15 +3528,11 @@ 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) { @@ -4150,64 +3546,48 @@ 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_; @@ -4215,24 +3595,20 @@ 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; @@ -4241,25 +3617,22 @@ 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 { @@ -4267,93 +3640,81 @@ public com.google.protobuf.ByteString getGroupBytes() { } } /** - * - * *
      * 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 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(); @@ -4365,30 +3726,28 @@ 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.
      * 
@@ -4396,12 +3755,11 @@ 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.
      * 
@@ -4409,17 +3767,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(); + 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.
      * 
@@ -4427,11 +3784,12 @@ 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(); } @@ -4439,93 +3797,89 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } 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 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() { @@ -4536,8 +3890,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. Provides details on the state of the Migrating VM in case of an
      * error in replication.
@@ -4559,8 +3911,6 @@ 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.
@@ -4568,7 +3918,8 @@ 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();
@@ -4579,8 +3930,6 @@ public Builder setError(com.google.rpc.Status.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of an
      * error in replication.
@@ -4591,7 +3940,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;
         }
@@ -4603,8 +3953,6 @@ 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.
@@ -4624,8 +3972,6 @@ public Builder clearError() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of an
      * error in replication.
@@ -4634,13 +3980,11 @@ 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.
@@ -4652,12 +3996,11 @@ 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.
@@ -4666,21 +4009,21 @@ 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_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4690,12 +4033,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();
   }
@@ -4704,16 +4047,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;
@@ -4728,4 +4071,6 @@ public com.google.protobuf.Parser getParserForType() {
   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/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
similarity index 70%
rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigratingVmOrBuilder.java
index 4263561..584084f 100644
--- a/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
@@ -1,98 +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 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
@@ -100,13 +62,10 @@ public interface MigratingVmOrBuilder
    * 
* * 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
@@ -114,88 +73,70 @@ public interface MigratingVmOrBuilder
    * 
* * 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.
    * 
@@ -205,272 +146,190 @@ public interface MigratingVmOrBuilder 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.
    * 
@@ -479,31 +338,30 @@ public interface MigratingVmOrBuilder */ 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.
    * 
@@ -512,50 +370,42 @@ public interface MigratingVmOrBuilder */ /* 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. 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.
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..b042693 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;
+          }
+          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();
+            }
 
-              code_ = rawValue;
-              break;
+            break;
+          }
+          case 26: {
+            com.google.rpc.LocalizedMessage.Builder subBuilder = null;
+            if (actionItem_ != null) {
+              subBuilder = actionItem_.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;
+            actionItem_ = input.readMessage(com.google.rpc.LocalizedMessage.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(actionItem_);
+              actionItem_ = 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 34: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              helpLinks_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          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;
+            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 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;
+            errorTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(errorTime_);
+              errorTime_ = 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) {
@@ -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.
@@ -281,8 +235,6 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Default value. This value is not used.
      * 
@@ -291,8 +243,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 +251,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 +260,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 +268,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 +276,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 +284,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 +292,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 +300,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.
@@ -373,6 +309,7 @@ public enum ErrorCode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int UTILIZATION_REPORT_ERROR_VALUE = 8;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -397,61 +334,55 @@ 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;
+        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 +402,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 +441,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 +467,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 +479,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 +491,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 +505,71 @@ 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 @@ -713,15 +577,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 +589,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 +601,6 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -756,10 +612,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 +638,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 +666,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 +725,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 +824,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 +846,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 +890,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 +911,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 +946,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 +1013,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 +1052,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 +1108,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 +1130,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 +1178,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 +1196,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 +1218,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 +1236,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 +1285,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 +1333,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 +1351,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 +1373,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 +1391,71 @@ 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) { @@ -1749,15 +1465,11 @@ 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) { @@ -1767,15 +1479,11 @@ 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) { @@ -1785,17 +1493,14 @@ 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(); @@ -1809,17 +1514,14 @@ 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.
      * 
* - * - * 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 +1532,11 @@ 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.
      * 
* - * - * 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 +1552,14 @@ 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(); @@ -1878,17 +1573,14 @@ 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.
      * 
* - * - * 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 +1591,14 @@ 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.
      * 
* - * - * 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 +1609,18 @@ 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.
      * 
* - * - * 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 +1628,11 @@ public Builder addAllHelpLinks(java.lang.Iterable * 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 +1645,11 @@ 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) { @@ -1983,49 +1662,39 @@ 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 { @@ -2033,61 +1702,49 @@ public java.util.List getHelpLinksO } } /** - * - * *
      * 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_; @@ -2095,35 +1752,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 +1780,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 +1800,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 +1818,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 +1840,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 +1858,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 +1916,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 +1930,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 +1954,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.vmmigration.v1.MigrationError getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/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 similarity index 51% rename from proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/MigrationErrorOrBuilder.java index 6ef81ea..e2d474a 100644 --- a/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 @@ -1,235 +1,153 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under 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/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 71% 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..0a8fc37 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,8 +362,6 @@ 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
@@ -430,7 +370,6 @@ public com.google.protobuf.ByteString getStatusMessageBytes() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -441,14 +380,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 +393,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 +424,6 @@ public com.google.protobuf.ByteString getApiVersionBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -500,7 +435,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 +468,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 +485,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 +499,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 +552,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 +562,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 +680,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 +719,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 +740,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 +764,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 +803,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 +848,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 +860,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 +908,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 +926,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 +948,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 +966,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 +1015,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 +1043,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 +1063,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 +1081,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 +1103,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 +1121,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 +1170,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 +1190,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 +1211,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 +1266,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 +1286,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 +1307,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 +1362,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 +1382,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,70 +1403,61 @@ 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
@@ -1643,7 +1466,6 @@ public Builder setStatusMessageBytes(com.google.protobuf.ByteString value) {
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The requestedCancellation. */ @java.lang.Override @@ -1651,8 +1473,6 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** - * - * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1661,19 +1481,16 @@ 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
@@ -1682,11 +1499,10 @@ 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; @@ -1694,20 +1510,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 +1530,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 +1551,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 +1615,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 +1629,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 +1653,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 75% 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..715f2e9 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,182 +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 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
@@ -185,33 +130,27 @@ public interface OperationMetadataOrBuilder
    * 
* * 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 68% 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..418cadf 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.
    * 
* * string name = 1; - * * @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.
    * 
* * string name = 1; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -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).
    * 
* - * .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).
    * 
* - * .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).
    * 
* - * .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.
      * 
* * string name = 1; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -837,21 +774,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the target project.
      * 
* * string name = 1; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -859,61 +795,54 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the target project.
      * 
* * string name = 1; - * * @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.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * The name of the target project.
      * 
* * string name = 1; - * * @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).
      * 
* - * - * .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) { @@ -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).
      * 
* - * - * .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).
      * 
* - * - * .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).
      * 
* - * - * .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).
      * 
* - * - * .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_; @@ -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 70% 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..2cdf054 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.
    * 
* * string name = 1; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * The name of the target project.
    * 
* * string name = 1; - * * @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/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/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 72% 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..e6ea8fb 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,11 @@ 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 @@ -788,14 +682,11 @@ 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 @@ -803,8 +694,6 @@ 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.
    * 
@@ -819,16 +708,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).
    * 
* - * .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 +721,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).
    * 
* - * .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 +734,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).
    * 
* - * .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,46 +749,33 @@ 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
@@ -918,10 +783,7 @@ public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame(
    * 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,8 +791,6 @@ 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
@@ -938,21 +798,14 @@ 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 is
@@ -960,9 +813,7 @@ 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() { @@ -972,14 +823,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 +838,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 +852,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 +862,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 +881,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 +895,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 +905,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 +922,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 +942,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 +969,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 +1009,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 +1093,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 +1190,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 +1212,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 +1270,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 +1291,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 +1335,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 +1374,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 +1422,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 +1449,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 +1458,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 +1482,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 +1503,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 +1558,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 +1578,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 +1599,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 +1654,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 +1706,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 +1728,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 +1756,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 +1776,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 +1794,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 +1816,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 +1834,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 +1883,24 @@ 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() { @@ -2167,8 +1911,6 @@ public com.google.rpc.Status getError() { } } /** - * - * *
      * Output only. Provides details on the state of the report in case of an error.
      * 
@@ -2189,15 +1931,14 @@ 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.
      * 
* * .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,8 +1949,6 @@ 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.
      * 
@@ -2219,7 +1958,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,8 +1971,6 @@ 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.
      * 
@@ -2251,8 +1989,6 @@ public Builder clearError() { return this; } /** - * - * *
      * Output only. Provides details on the state of the report in case of an error.
      * 
@@ -2260,13 +1996,11 @@ 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.
      * 
@@ -2277,12 +2011,11 @@ 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.
      * 
@@ -2290,14 +2023,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_; @@ -2305,61 +2038,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).
      * 
* - * - * .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) { @@ -2375,18 +2089,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).
      * 
* - * - * .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 +2108,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).
      * 
* - * - * .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 +2131,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).
      * 
* - * - * .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 +2150,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).
      * 
* - * - * .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_; @@ -2515,67 +2202,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 +2254,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,13 +2276,8 @@ 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
@@ -2622,18 +2285,13 @@ 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 is
@@ -2641,24 +2299,17 @@ 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 is
@@ -2666,9 +2317,7 @@ 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) { @@ -2684,8 +2333,6 @@ 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
@@ -2693,11 +2340,10 @@ 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(); @@ -2708,8 +2354,6 @@ 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
@@ -2717,17 +2361,13 @@ public Builder setFrameEndTime(com.google.protobuf.Timestamp.Builder builderForV
      * 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,8 +2379,6 @@ 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
@@ -2748,9 +2386,7 @@ 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) { @@ -2764,8 +2400,6 @@ 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
@@ -2773,18 +2407,14 @@ 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 is
@@ -2792,22 +2422,17 @@ 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 is
@@ -2815,37 +2440,29 @@ 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 @@ -2853,60 +2470,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 +2529,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 +2546,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 +2563,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 +2572,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 +2587,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 +2608,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 +2631,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 +2640,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 +2655,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 +2676,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 +2697,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 +2710,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 +2719,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 +2739,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 +2759,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 +2768,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 +2782,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 +2799,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 +2808,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 +2818,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 +2831,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 +2846,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 +2876,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 +2890,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 +2914,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 78%
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..2d925f9 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,172 +1,117 @@
-/*
- * Copyright 2020 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under 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.
    * 
@@ -176,74 +121,55 @@ 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).
    * 
* - * .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 is
@@ -251,16 +177,11 @@ public interface UtilizationReportOrBuilder
    * 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
@@ -268,16 +189,11 @@ public interface UtilizationReportOrBuilder
    * 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
@@ -285,28 +201,21 @@ public interface UtilizationReportOrBuilder
    * 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 +225,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 +239,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 +250,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 +259,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 +271,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..402f050 --- /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,1785 @@ +// 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 * 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 71% 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..273b65e 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.
    * 
* * 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.
    * 
* * 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.
      * 
* * 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.
      * 
* * 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.
      * 
* * 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; @@ -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 66% 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..ed48c14 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.
    * 
* * 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/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 72% 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..a01677d 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,8 +791,6 @@ 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
@@ -894,7 +798,6 @@ public long getCommittedStorageMb() {
    * 
* * string guest_description = 11; - * * @return The guestDescription. */ @java.lang.Override @@ -903,15 +806,14 @@ 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
@@ -919,15 +821,16 @@ 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 { @@ -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,8 +2090,6 @@ 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
@@ -2319,13 +2097,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; @@ -2334,8 +2112,6 @@ 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
@@ -2343,14 +2119,15 @@ 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 { @@ -2358,8 +2135,6 @@ 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
@@ -2367,22 +2142,20 @@ public com.google.protobuf.ByteString getGuestDescriptionBytes() {
      * 
* * 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
@@ -2390,18 +2163,15 @@ public Builder setGuestDescription(java.lang.String value) {
      * 
* * 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
@@ -2409,16 +2179,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; @@ -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 75% 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..daa8c82 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,235 +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 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
@@ -237,13 +176,10 @@ public interface VmwareVmDetailsOrBuilder
    * 
* * 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
@@ -251,36 +187,26 @@ public interface VmwareVmDetailsOrBuilder
    * 
* * 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 100% 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 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 88% 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 index b917c3e..41c8ec1 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createclonejob_migratingvmnameclonejobstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createclonejob_migratingvmnameclonejobstring_sync] import com.google.cloud.vmmigration.v1.CloneJob; import com.google.cloud.vmmigration.v1.MigratingVmName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -40,5 +39,4 @@ public static void syncCreateCloneJobMigratingvmnameClonejobString() throws Exce } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createclonejob_migratingvmnameclonejobstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createclonejob_migratingvmnameclonejobstring_sync] 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 88% 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 index 1a763ca..22d536a 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createcutoverjob_migratingvmnamecutoverjobstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createcutoverjob_migratingvmnamecutoverjobstring_sync] import com.google.cloud.vmmigration.v1.CutoverJob; import com.google.cloud.vmmigration.v1.MigratingVmName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -41,5 +40,4 @@ public static void syncCreateCutoverJobMigratingvmnameCutoverjobString() throws } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createcutoverjob_migratingvmnamecutoverjobstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createcutoverjob_migratingvmnamecutoverjobstring_sync] 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 88% 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 index 1d5e2cb..6446d29 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_sourcenamedatacenterconnectorstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_sourcenamedatacenterconnectorstring_sync] import com.google.cloud.vmmigration.v1.DatacenterConnector; import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -43,5 +42,4 @@ public static void syncCreateDatacenterConnectorSourcenameDatacenterconnectorStr } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_sourcenamedatacenterconnectorstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_sourcenamedatacenterconnectorstring_sync] 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 88% 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 index 3d2c222..4a0b558 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_stringdatacenterconnectorstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_stringdatacenterconnectorstring_sync] import com.google.cloud.vmmigration.v1.DatacenterConnector; import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -43,5 +42,4 @@ public static void syncCreateDatacenterConnectorStringDatacenterconnectorString( } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_stringdatacenterconnectorstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createdatacenterconnector_stringdatacenterconnectorstring_sync] 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 88% 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 index a5ee815..28893d1 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createmigratingvm_sourcenamemigratingvmstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createmigratingvm_sourcenamemigratingvmstring_sync] import com.google.cloud.vmmigration.v1.MigratingVm; import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -40,5 +39,4 @@ public static void syncCreateMigratingVmSourcenameMigratingvmString() throws Exc } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createmigratingvm_sourcenamemigratingvmstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createmigratingvm_sourcenamemigratingvmstring_sync] 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 88% 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 index a7b3a61..0a27206 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createtargetproject_locationnametargetprojectstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createtargetproject_locationnametargetprojectstring_sync] import com.google.cloud.vmmigration.v1.LocationName; import com.google.cloud.vmmigration.v1.TargetProject; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -40,5 +39,4 @@ public static void syncCreateTargetProjectLocationnameTargetprojectString() thro } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createtargetproject_locationnametargetprojectstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createtargetproject_locationnametargetprojectstring_sync] 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 88% 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 index 40bc366..ddc30a4 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createtargetproject_stringtargetprojectstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createtargetproject_stringtargetprojectstring_sync] import com.google.cloud.vmmigration.v1.LocationName; import com.google.cloud.vmmigration.v1.TargetProject; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -40,5 +39,4 @@ public static void syncCreateTargetProjectStringTargetprojectString() throws Exc } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createtargetproject_stringtargetprojectstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createtargetproject_stringtargetprojectstring_sync] 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 88% 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 index 366d0d6..48f6ab4 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createutilizationreport_sourcenameutilizationreportstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createutilizationreport_sourcenameutilizationreportstring_sync] import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.UtilizationReport; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -43,5 +42,4 @@ public static void syncCreateUtilizationReportSourcenameUtilizationreportString( } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createutilizationreport_sourcenameutilizationreportstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createutilizationreport_sourcenameutilizationreportstring_sync] 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 88% 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 index da8ef44..91287b6 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_createutilizationreport_stringutilizationreportstring_sync] +// [START vmmigration_v1_generated_vmmigrationclient_createutilizationreport_stringutilizationreportstring_sync] import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.UtilizationReport; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -42,5 +41,4 @@ public static void syncCreateUtilizationReportStringUtilizationreportString() th } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_createutilizationreport_stringutilizationreportstring_sync] +// [END vmmigration_v1_generated_vmmigrationclient_createutilizationreport_stringutilizationreportstring_sync] 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 98% 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 index e62be8d..f29e538 100644 --- 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 @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.DatacenterConnectorName; import com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteDatacenterConnector { 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 85% 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 index e8326a2..a776116 100644 --- 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 @@ -16,10 +16,10 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_deletedatacenterconnector_datacenterconnectorname_sync] +// [START vmmigration_v1_generated_vmmigrationclient_deletedatacenterconnector_datacenterconnectorname_sync] import com.google.cloud.vmmigration.v1.DatacenterConnectorName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteDatacenterConnectorDatacenterconnectorname { @@ -38,5 +38,4 @@ public static void syncDeleteDatacenterConnectorDatacenterconnectorname() throws } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_deletedatacenterconnector_datacenterconnectorname_sync] +// [END vmmigration_v1_generated_vmmigrationclient_deletedatacenterconnector_datacenterconnectorname_sync] 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 97% 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 index 1c57b69..05a6de2 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletedatacenterconnector_string_sync] import com.google.cloud.vmmigration.v1.DatacenterConnectorName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteDatacenterConnectorString { 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 98% 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 index 9e8ca65..a6d5962 100644 --- 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 @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.DeleteGroupRequest; import com.google.cloud.vmmigration.v1.GroupName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteGroup { 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 97% 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 index 173ce7f..668914a 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletegroup_groupname_sync] import com.google.cloud.vmmigration.v1.GroupName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteGroupGroupname { 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 97% 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 index 0778181..0c595ef 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletegroup_string_sync] import com.google.cloud.vmmigration.v1.GroupName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteGroupString { 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 98% 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 index bdaa47b..d020d7b 100644 --- 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 @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest; import com.google.cloud.vmmigration.v1.MigratingVmName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteMigratingVm { 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 97% 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 index 6838653..b39c3c1 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletemigratingvm_migratingvmname_sync] import com.google.cloud.vmmigration.v1.MigratingVmName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteMigratingVmMigratingvmname { 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 97% 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 index 428d013..0739e33 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletemigratingvm_string_sync] import com.google.cloud.vmmigration.v1.MigratingVmName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteMigratingVmString { 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 98% 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 index aaea549..ae27c2b 100644 --- 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 @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.DeleteSourceRequest; import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteSource { 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 97% 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 index bac6b2e..6b9cc82 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletesource_sourcename_sync] import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteSourceSourcename { 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 97% 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 index 36679a3..51475f2 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletesource_string_sync] import com.google.cloud.vmmigration.v1.SourceName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteSourceString { 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 98% 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 index 9a93f7b..76c06a9 100644 --- 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 @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest; import com.google.cloud.vmmigration.v1.TargetProjectName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteTargetProject { 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 97% 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 index e9082d2..7d2de79 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletetargetproject_string_sync] import com.google.cloud.vmmigration.v1.TargetProjectName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteTargetProjectString { 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 97% 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 index dc883a9..f324863 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deletetargetproject_targetprojectname_sync] import com.google.cloud.vmmigration.v1.TargetProjectName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteTargetProjectTargetprojectname { 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 98% 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 index a69eabc..d888c7f 100644 --- 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 @@ -20,6 +20,7 @@ import com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest; import com.google.cloud.vmmigration.v1.UtilizationReportName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteUtilizationReport { 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 97% 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 index 5f1f84b..c4cbd68 100644 --- 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 @@ -19,6 +19,7 @@ // [START vmmigration_v1_generated_vmmigrationclient_deleteutilizationreport_string_sync] import com.google.cloud.vmmigration.v1.UtilizationReportName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteUtilizationReportString { 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 85% 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 index 4486fac..cf0e840 100644 --- 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 @@ -16,10 +16,10 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_deleteutilizationreport_utilizationreportname_sync] +// [START vmmigration_v1_generated_vmmigrationclient_deleteutilizationreport_utilizationreportname_sync] import com.google.cloud.vmmigration.v1.UtilizationReportName; import com.google.cloud.vmmigration.v1.VmMigrationClient; +import com.google.protobuf.Empty; public class SyncDeleteUtilizationReportUtilizationreportname { @@ -37,5 +37,4 @@ public static void syncDeleteUtilizationReportUtilizationreportname() throws Exc } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_deleteutilizationreport_utilizationreportname_sync] +// [END vmmigration_v1_generated_vmmigrationclient_deleteutilizationreport_utilizationreportname_sync] 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 88% 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 index 526d493..199beef 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_getdatacenterconnector_datacenterconnectorname_sync] +// [START vmmigration_v1_generated_vmmigrationclient_getdatacenterconnector_datacenterconnectorname_sync] import com.google.cloud.vmmigration.v1.DatacenterConnector; import com.google.cloud.vmmigration.v1.DatacenterConnectorName; import com.google.cloud.vmmigration.v1.VmMigrationClient; @@ -39,5 +38,4 @@ public static void syncGetDatacenterConnectorDatacenterconnectorname() throws Ex } } } -// [END -// vmmigration_v1_generated_vmmigrationclient_getdatacenterconnector_datacenterconnectorname_sync] +// [END vmmigration_v1_generated_vmmigrationclient_getdatacenterconnector_datacenterconnectorname_sync] 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 100% 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 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 100% 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 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 94% 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 index fa497a0..9509cd6 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_getutilizationreport_utilizationreportname_sync] +// [START vmmigration_v1_generated_vmmigrationclient_getutilizationreport_utilizationreportname_sync] import com.google.cloud.vmmigration.v1.UtilizationReport; import com.google.cloud.vmmigration.v1.UtilizationReportName; import com.google.cloud.vmmigration.v1.VmMigrationClient; 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 100% 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 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 100% 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 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 100% 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 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 94% 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 index 284cddf..706d293 100644 --- 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 @@ -16,8 +16,7 @@ package com.google.cloud.vmmigration.v1.samples; -// [START -// vmmigration_v1_generated_vmmigrationclient_updatetargetproject_targetprojectfieldmask_sync] +// [START vmmigration_v1_generated_vmmigrationclient_updatetargetproject_targetprojectfieldmask_sync] import com.google.cloud.vmmigration.v1.TargetProject; import com.google.cloud.vmmigration.v1.VmMigrationClient; import com.google.protobuf.FieldMask; 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/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/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: Mon, 27 Jun 2022 20:52:28 +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 | 5341 +++++++++++++++++ .../cloud/vmmigration/v1/VmMigrationGrpc.java | 4007 ------------- .../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 | 29 - .../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 - .../vmmigration/v1/VmMigrationProto.java | 1785 ------ .../v1/AddGroupMigrationRequest.java | 421 +- .../v1/AddGroupMigrationRequestOrBuilder.java | 79 + .../v1/AddGroupMigrationResponse.java | 238 +- .../AddGroupMigrationResponseOrBuilder.java | 24 + .../cloud/vmmigration/v1/AppliedLicense.java | 436 +- .../v1/AppliedLicenseOrBuilder.java | 33 +- .../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 | 1064 ++-- .../cloud/vmmigration/v1/CloneJobName.java | 0 .../vmmigration/v1/CloneJobOrBuilder.java | 106 +- .../v1/ComputeEngineBootOption.java | 77 +- .../vmmigration/v1/ComputeEngineDiskType.java | 84 +- .../v1/ComputeEngineLicenseType.java | 77 +- .../v1/ComputeEngineTargetDefaults.java | 2010 ++++--- .../ComputeEngineTargetDefaultsOrBuilder.java | 224 +- .../v1/ComputeEngineTargetDetails.java | 1934 +++--- .../ComputeEngineTargetDetailsOrBuilder.java | 204 +- .../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 | 1175 ++-- .../cloud/vmmigration/v1/CutoverJobName.java | 0 .../vmmigration/v1/CutoverJobOrBuilder.java | 118 +- .../vmmigration/v1/DatacenterConnector.java | 1304 ++-- .../v1/DatacenterConnectorName.java | 0 .../v1/DatacenterConnectorOrBuilder.java | 136 +- .../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 | 573 +- .../v1/FetchInventoryResponseOrBuilder.java | 55 +- .../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 | 342 +- .../v1/GetMigratingVmRequestOrBuilder.java | 54 + .../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 | 615 +- .../v1/ListMigratingVmsRequestOrBuilder.java | 65 +- .../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 | 2245 ++++--- .../cloud/vmmigration/v1/MigratingVmName.java | 0 .../vmmigration/v1/MigratingVmOrBuilder.java | 246 +- .../cloud/vmmigration/v1/MigrationError.java | 1096 ++-- .../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 +- .../vmmigration/v1/UtilizationReport.java | 1388 +++-- .../vmmigration/v1/UtilizationReportName.java | 0 .../v1/UtilizationReportOrBuilder.java | 139 +- .../vmmigration/v1/UtilizationReportView.java | 77 +- .../vmmigration/v1/VmMigrationProto.java | 1988 ++++++ .../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 .../getsource/SyncGetSource.java | 0 429 files changed, 43910 insertions(+), 27114 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/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/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/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 (66%) 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 (68%) 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 (75%) 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 (68%) 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 (70%) 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 (71%) 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 (77%) 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 (64%) 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 (58%) 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 (64%) 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 (68%) 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 (71%) 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 (68%) 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 (66%) 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/MigrationError.java (64%) 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 (70%) 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/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 (72%) 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/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 63b8ab8..c51d8a0 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. *
* @@ -6062,7 +6062,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( @@ -6109,7 +6112,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) { @@ -6129,8 +6135,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< @@ -6152,7 +6161,9 @@ private ListUtilizationReportsPagedResponse(ListUtilizationReportsPage page) { public static class ListUtilizationReportsPage extends AbstractPage< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, UtilizationReport, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, + UtilizationReport, ListUtilizationReportsPage> { private ListUtilizationReportsPage( @@ -6188,8 +6199,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) { @@ -6209,12 +6223,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) { @@ -6233,12 +6251,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) { @@ -6252,7 +6273,8 @@ private static ListDatacenterConnectorsPage createEmptyPage() { @Override protected ListDatacenterConnectorsPage createPage( PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> context, ListDatacenterConnectorsResponse response) { @@ -6262,7 +6284,8 @@ protected ListDatacenterConnectorsPage createPage( @Override public ApiFuture createPageAsync( PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> context, ApiFuture futureResponse) { @@ -6272,8 +6295,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) { @@ -6293,7 +6319,10 @@ protected ListDatacenterConnectorsFixedSizeCollection createCollection( public static class ListMigratingVmsPagedResponse extends AbstractPagedListResponse< - ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, + ListMigratingVmsRequest, + ListMigratingVmsResponse, + MigratingVm, + ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6343,7 +6372,10 @@ public ApiFuture createPageAsync( public static class ListMigratingVmsFixedSizeCollection extends AbstractFixedSizeCollection< - ListMigratingVmsRequest, ListMigratingVmsResponse, MigratingVm, ListMigratingVmsPage, + ListMigratingVmsRequest, + ListMigratingVmsResponse, + MigratingVm, + ListMigratingVmsPage, ListMigratingVmsFixedSizeCollection> { private ListMigratingVmsFixedSizeCollection( @@ -6364,7 +6396,10 @@ protected ListMigratingVmsFixedSizeCollection createCollection( public static class ListCloneJobsPagedResponse extends AbstractPagedListResponse< - ListCloneJobsRequest, ListCloneJobsResponse, CloneJob, ListCloneJobsPage, + ListCloneJobsRequest, + ListCloneJobsResponse, + CloneJob, + ListCloneJobsPage, ListCloneJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6414,7 +6449,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) { @@ -6434,7 +6472,10 @@ protected ListCloneJobsFixedSizeCollection createCollection( public static class ListCutoverJobsPagedResponse extends AbstractPagedListResponse< - ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, + ListCutoverJobsRequest, + ListCutoverJobsResponse, + CutoverJob, + ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6484,7 +6525,10 @@ public ApiFuture createPageAsync( public static class ListCutoverJobsFixedSizeCollection extends AbstractFixedSizeCollection< - ListCutoverJobsRequest, ListCutoverJobsResponse, CutoverJob, ListCutoverJobsPage, + ListCutoverJobsRequest, + ListCutoverJobsResponse, + CutoverJob, + ListCutoverJobsPage, ListCutoverJobsFixedSizeCollection> { private ListCutoverJobsFixedSizeCollection( @@ -6505,7 +6549,10 @@ protected ListCutoverJobsFixedSizeCollection createCollection( public static class ListGroupsPagedResponse extends AbstractPagedListResponse< - ListGroupsRequest, ListGroupsResponse, Group, ListGroupsPage, + ListGroupsRequest, + ListGroupsResponse, + Group, + ListGroupsPage, ListGroupsFixedSizeCollection> { public static ApiFuture createAsync( @@ -6552,7 +6599,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) { @@ -6572,8 +6622,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, @@ -6593,7 +6646,9 @@ private ListTargetProjectsPagedResponse(ListTargetProjectsPage page) { public static class ListTargetProjectsPage extends AbstractPage< - ListTargetProjectsRequest, ListTargetProjectsResponse, TargetProject, + ListTargetProjectsRequest, + ListTargetProjectsResponse, + TargetProject, ListTargetProjectsPage> { private ListTargetProjectsPage( @@ -6623,8 +6678,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 9cc6ca1..8aa0228 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(); @@ -647,7 +648,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(); @@ -686,7 +688,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 29b7284..f4613a0 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 @@ -108,7 +108,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 7f0ab2f..54a968d 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 a9cf238..7deaf92 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 @@ -141,9 +141,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,7 +189,8 @@ public class VmMigrationStubSettings extends StubSettings fetchInventorySettings; private final PagedCallSettings< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings; private final UnaryCallSettings @@ -204,7 +205,8 @@ public class VmMigrationStubSettings extends StubSettings deleteUtilizationReportOperationSettings; private final PagedCallSettings< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings @@ -390,7 +392,8 @@ public Iterable extractResources( ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, DatacenterConnector> LIST_DATACENTER_CONNECTORS_PAGE_STR_DESC = new PagedListDescriptor< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector>() { @Override public String emptyToken() { @@ -641,11 +644,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( @@ -655,7 +660,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, UtilizationReport> pageContext = PageContext.create( @@ -665,11 +671,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( @@ -679,7 +687,8 @@ public ApiFuture getFuturePagedResponse( ApiCallContext context, ApiFuture futureResponse) { PageContext< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, DatacenterConnector> pageContext = PageContext.create( @@ -762,7 +771,8 @@ public ApiFuture getFuturePagedResponse( ListTargetProjectsRequest, ListTargetProjectsResponse, ListTargetProjectsPagedResponse> LIST_TARGET_PROJECTS_PAGE_STR_FACT = new PagedListResponseFactory< - ListTargetProjectsRequest, ListTargetProjectsResponse, + ListTargetProjectsRequest, + ListTargetProjectsResponse, ListTargetProjectsPagedResponse>() { @Override public ApiFuture getFuturePagedResponse( @@ -829,7 +839,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; @@ -867,7 +878,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; @@ -1383,7 +1395,8 @@ public static class Builder extends StubSettings.Builder fetchInventorySettings; private final PagedCallSettings.Builder< - ListUtilizationReportsRequest, ListUtilizationReportsResponse, + ListUtilizationReportsRequest, + ListUtilizationReportsResponse, ListUtilizationReportsPagedResponse> listUtilizationReportsSettings; private final UnaryCallSettings.Builder @@ -1399,7 +1412,8 @@ public static class Builder extends StubSettings.Builder deleteUtilizationReportOperationSettings; private final PagedCallSettings.Builder< - ListDatacenterConnectorsRequest, ListDatacenterConnectorsResponse, + ListDatacenterConnectorsRequest, + ListDatacenterConnectorsResponse, ListDatacenterConnectorsPagedResponse> listDatacenterConnectorsSettings; private final UnaryCallSettings.Builder @@ -2770,7 +2784,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; @@ -2813,7 +2828,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..5a50b1e --- /dev/null +++ b/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java @@ -0,0 +1,5341 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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/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 036a308..0000000 --- a/owl-bot-staging/v1/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java +++ /dev/null @@ -1,4007 +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 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); - } - - /** - *
-     * 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 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 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); - } - - /** - *
-     * 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_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) 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_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(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 39706cf..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.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 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/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/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 402f050..0000000 --- a/owl-bot-staging/v1/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java +++ /dev/null @@ -1,1785 +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_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 * 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/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/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 4807571..734677a 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,78 +80,91 @@ private CloneJob(
           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();
-            }
-
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
-
-            name_ = s;
-            break;
-          }
-          case 96: {
-            int rawValue = input.readEnum();
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            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();
+          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;
-          }
-          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) {
@@ -142,36 +172,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.
@@ -181,6 +216,8 @@ public enum State
      */
     STATE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The clone job has not yet started.
      * 
@@ -189,6 +226,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The clone job is active and running.
      * 
@@ -197,6 +236,8 @@ public enum State */ ACTIVE(2), /** + * + * *
      * The clone job finished with errors.
      * 
@@ -205,6 +246,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The clone job finished successfully.
      * 
@@ -213,6 +256,8 @@ public enum State */ SUCCEEDED(4), /** + * + * *
      * The clone job was cancelled.
      * 
@@ -221,6 +266,8 @@ public enum State */ CANCELLED(5), /** + * + * *
      * The clone job is being cancelled.
      * 
@@ -229,6 +276,8 @@ public enum State */ CANCELLING(6), /** + * + * *
      * OS adaptation is running as part of the clone job to generate license.
      * 
@@ -240,6 +289,8 @@ public enum State ; /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -249,6 +300,8 @@ public enum State
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The clone job has not yet started.
      * 
@@ -257,6 +310,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The clone job is active and running.
      * 
@@ -265,6 +320,8 @@ public enum State */ public static final int ACTIVE_VALUE = 2; /** + * + * *
      * The clone job finished with errors.
      * 
@@ -273,6 +330,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The clone job finished successfully.
      * 
@@ -281,6 +340,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 4; /** + * + * *
      * The clone job was cancelled.
      * 
@@ -289,6 +350,8 @@ public enum State */ public static final int CANCELLED_VALUE = 5; /** + * + * *
      * The clone job is being cancelled.
      * 
@@ -297,6 +360,8 @@ public enum State */ public static final int CANCELLING_VALUE = 6; /** + * + * *
      * OS adaptation is running as part of the clone job to generate license.
      * 
@@ -305,7 +370,6 @@ public enum State */ public static final int ADAPTING_OS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -330,54 +394,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; + 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() { + 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; @@ -396,12 +465,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; } @@ -417,29 +489,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 @@ -447,31 +526,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(); } @@ -479,12 +569,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 @@ -492,12 +586,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 @@ -505,12 +603,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() { @@ -520,11 +621,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int NAME_FIELD_NUMBER = 3; private volatile java.lang.Object name_; /** + * + * *
    * The name of the clone.
    * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -533,29 +637,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.
    * 
* * string name = 3; + * * @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 { @@ -566,38 +670,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 @@ -605,11 +726,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 @@ -617,11 +742,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() { @@ -631,11 +759,14 @@ 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 @@ -643,11 +774,14 @@ 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 @@ -655,6 +789,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.
    * 
@@ -667,6 +803,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -678,8 +815,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()); } @@ -696,7 +832,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_); } unknownFields.writeTo(output); } @@ -708,27 +845,24 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -738,7 +872,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); @@ -747,27 +881,23 @@ 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 (!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: @@ -812,97 +942,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
@@ -918,21 +1055,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()
@@ -940,16 +1079,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();
@@ -981,9 +1119,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
@@ -1002,7 +1140,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_;
@@ -1036,38 +1175,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;
@@ -1093,13 +1233,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();
@@ -1129,12 +1271,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() {
@@ -1144,15 +1286,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 @@ -1160,15 +1309,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_; @@ -1182,13 +1337,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(); @@ -1202,11 +1362,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) { @@ -1220,18 +1384,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; } @@ -1247,11 +1421,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) { @@ -1270,24 +1448,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 { @@ -1298,69 +1486,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) { @@ -1376,15 +1594,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(); @@ -1395,18 +1616,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; } @@ -1418,12 +1643,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) { @@ -1437,51 +1666,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_; @@ -1489,18 +1734,20 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { private java.lang.Object name_ = ""; /** + * + * *
      * The name of the clone.
      * 
* * string name = 3; + * * @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; @@ -1509,20 +1756,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the clone.
      * 
* * string name = 3; + * * @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 { @@ -1530,54 +1778,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the clone.
      * 
* * string name = 3; + * * @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.
      * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the clone.
      * 
* * string name = 3; + * * @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; @@ -1585,51 +1840,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. */ @@ -1637,21 +1914,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; @@ -1659,24 +1941,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() { @@ -1687,11 +1982,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) { @@ -1707,14 +2006,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(); @@ -1725,17 +2027,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; } @@ -1747,11 +2053,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) { @@ -1765,48 +2075,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_; @@ -1814,24 +2138,31 @@ 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() { @@ -1842,6 +2173,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details for the errors that led to the Clone Job's state.
      * 
@@ -1862,14 +2195,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.
      * 
* * .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(); @@ -1880,6 +2214,8 @@ public Builder setError( return this; } /** + * + * *
      * Output only. Provides details for the errors that led to the Clone Job's state.
      * 
@@ -1889,8 +2225,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; } @@ -1902,6 +2237,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.
      * 
@@ -1920,6 +2257,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Output only. Provides details for the errors that led to the Clone Job's state.
      * 
@@ -1927,11 +2266,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.
      * 
@@ -1942,11 +2283,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.
      * 
@@ -1954,21 +2296,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); } @@ -1978,12 +2320,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(); } @@ -1992,16 +2334,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; @@ -2016,6 +2358,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 66% 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 30f1b75..9e1d2b3 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,154 +1,230 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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(); /** + * + * *
    * The name of the clone.
    * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the clone.
    * 
* * string name = 3; + * * @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 a8d0a94..a5ff7dc 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(3); } @@ -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 82c2e70..fe8e44f 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(1);
   }
 
@@ -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 054215d..5027bd5 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(2); } @@ -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 68% 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 eb183f4..65fe076 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_ = "";
@@ -36,16 +54,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)
@@ -65,142 +82,165 @@ 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;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          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;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -208,8 +248,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();
@@ -221,41 +260,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 @@ -264,29 +308,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 { @@ -297,12 +341,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 @@ -311,30 +358,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 { @@ -345,11 +392,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 @@ -358,29 +408,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 { @@ -391,11 +441,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 @@ -404,29 +457,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 { @@ -437,11 +490,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 @@ -450,29 +506,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 { @@ -483,34 +539,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. */ @@ -518,22 +582,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.
    * 
@@ -541,10 +609,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.
    * 
@@ -552,11 +623,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.
    * 
@@ -568,6 +641,8 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -579,6 +654,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -594,11 +671,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 @@ -607,29 +687,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 { @@ -640,49 +720,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_; } @@ -691,28 +781,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.
    * 
@@ -720,11 +812,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.
    * 
@@ -732,16 +825,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.
    * 
@@ -749,12 +842,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(); } @@ -764,38 +856,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 @@ -803,23 +911,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() { @@ -829,11 +948,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 @@ -841,18 +963,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).
    * 
@@ -860,19 +989,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 @@ -883,49 +1016,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_; } @@ -934,28 +1081,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.
    * 
@@ -963,11 +1112,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.
    * 
@@ -975,16 +1125,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.
    * 
@@ -992,12 +1143,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(); } @@ -1005,6 +1155,7 @@ public java.lang.String getMetadataOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1016,8 +1167,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_); } @@ -1042,16 +1192,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) { @@ -1063,15 +1215,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); unknownFields.writeTo(output); } @@ -1105,55 +1256,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__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1163,48 +1317,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1253,8 +1395,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()) { @@ -1267,96 +1408,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.
@@ -1364,47 +1513,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()
@@ -1412,17 +1561,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();
@@ -1472,9 +1621,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
@@ -1493,7 +1642,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_;
@@ -1541,38 +1691,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;
@@ -1580,7 +1731,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();
@@ -1629,9 +1781,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_);
           }
@@ -1644,8 +1797,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());
       }
@@ -1661,8 +1813,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());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1682,7 +1833,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) {
@@ -1691,22 +1843,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; @@ -1715,20 +1870,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 { @@ -1736,54 +1892,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; @@ -1791,19 +1954,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; @@ -1812,21 +1977,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 { @@ -1834,57 +2000,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; @@ -1892,18 +2065,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; @@ -1912,20 +2087,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 { @@ -1933,54 +2109,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; @@ -1988,18 +2171,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; @@ -2008,20 +2193,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 { @@ -2029,54 +2215,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; @@ -2084,18 +2277,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; @@ -2104,20 +2299,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 { @@ -2125,95 +2321,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. */ @@ -2221,80 +2434,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() { @@ -2304,20 +2527,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(); @@ -2325,25 +2550,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 { @@ -2351,6 +2585,8 @@ public java.util.List getNetwo } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2365,6 +2601,8 @@ public int getNetworkInterfacesCount() { } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2379,6 +2617,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2400,6 +2640,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2418,6 +2660,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2438,6 +2682,8 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2459,6 +2705,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2477,6 +2725,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2495,6 +2745,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2505,8 +2757,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); @@ -2514,6 +2765,8 @@ public Builder addAllNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2531,6 +2784,8 @@ public Builder clearNetworkInterfaces() { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2548,6 +2803,8 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2559,6 +2816,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2568,19 +2827,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 { @@ -2588,6 +2850,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2595,10 +2859,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.
      * 
@@ -2607,26 +2873,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(), @@ -2638,18 +2912,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; @@ -2658,20 +2934,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 { @@ -2679,54 +2956,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; @@ -2734,51 +3018,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. */ @@ -2786,42 +3086,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(); @@ -2833,28 +3135,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.
      * 
@@ -2862,11 +3166,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.
      * 
@@ -2874,16 +3179,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.
      * 
@@ -2891,12 +3197,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(); } @@ -2904,114 +3209,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. */ @@ -3019,21 +3337,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; @@ -3041,39 +3362,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) { @@ -3089,11 +3429,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) { @@ -3107,17 +3451,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; } @@ -3129,11 +3479,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) { @@ -3147,48 +3501,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_; @@ -3196,34 +3566,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).
      * 
@@ -3244,6 +3627,8 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3262,6 +3647,8 @@ public Builder setComputeScheduling( return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3272,7 +3659,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; } @@ -3284,6 +3673,8 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3302,6 +3693,8 @@ public Builder clearComputeScheduling() { return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3309,26 +3702,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).
      * 
@@ -3336,27 +3735,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 @@ -3364,32 +3769,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; @@ -3397,51 +3808,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. */ @@ -3449,42 +3884,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(); @@ -3496,28 +3936,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.
      * 
@@ -3525,11 +3967,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.
      * 
@@ -3537,16 +3980,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.
      * 
@@ -3554,12 +3998,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(); } @@ -3567,69 +4010,66 @@ 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3639,12 +4079,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(); } @@ -3653,16 +4093,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; @@ -3677,6 +4117,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 75% 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 bf19766..61f0692 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,18 +551,18 @@ 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); } 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 919fb87..39e2c02 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_ = "";
@@ -36,16 +54,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)
@@ -65,142 +82,165 @@ 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;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          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;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -208,8 +248,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();
@@ -221,41 +260,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 @@ -264,29 +308,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 { @@ -297,11 +341,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 @@ -310,29 +357,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 { @@ -343,11 +390,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 @@ -356,29 +406,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 { @@ -389,11 +439,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 @@ -402,29 +455,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 { @@ -435,11 +488,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 @@ -448,29 +504,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 { @@ -481,34 +537,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. */ @@ -516,22 +580,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.
    * 
@@ -539,10 +607,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.
    * 
@@ -550,11 +621,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.
    * 
@@ -566,6 +639,8 @@ public int getNetworkInterfacesCount() { return networkInterfaces_.size(); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -577,6 +652,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int return networkInterfaces_.get(index); } /** + * + * *
    * List of NICs connected to this VM.
    * 
@@ -592,11 +669,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 @@ -605,29 +685,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 { @@ -638,49 +718,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_; } @@ -689,28 +779,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.
    * 
@@ -718,11 +810,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.
    * 
@@ -730,16 +823,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.
    * 
@@ -747,12 +840,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(); } @@ -762,38 +854,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 @@ -801,18 +907,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.
    * 
@@ -827,11 +940,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 @@ -839,18 +955,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).
    * 
@@ -858,19 +981,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 @@ -881,49 +1008,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_; } @@ -932,28 +1069,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.
    * 
@@ -961,11 +1100,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.
    * 
@@ -973,16 +1113,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.
    * 
@@ -990,12 +1131,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(); } @@ -1003,6 +1143,7 @@ public java.lang.String getMetadataOrThrow( } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1014,8 +1155,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_); } @@ -1040,16 +1180,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) { @@ -1061,15 +1203,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); unknownFields.writeTo(output); } @@ -1103,55 +1244,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__); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1161,48 +1305,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1251,8 +1383,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()) { @@ -1265,96 +1396,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.
@@ -1362,47 +1501,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()
@@ -1410,17 +1549,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();
@@ -1470,9 +1609,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
@@ -1491,7 +1630,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_;
@@ -1539,38 +1679,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;
@@ -1578,7 +1719,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();
@@ -1627,9 +1769,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_);
           }
@@ -1642,8 +1785,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());
       }
@@ -1659,8 +1801,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());
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
       return this;
@@ -1680,7 +1821,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) {
@@ -1689,22 +1831,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; @@ -1713,20 +1858,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 { @@ -1734,54 +1880,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; @@ -1789,18 +1942,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; @@ -1809,20 +1964,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 { @@ -1830,54 +1986,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; @@ -1885,18 +2048,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; @@ -1905,20 +2070,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 { @@ -1926,54 +2092,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; @@ -1981,18 +2154,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; @@ -2001,20 +2176,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 { @@ -2022,54 +2198,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; @@ -2077,18 +2260,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; @@ -2097,20 +2282,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 { @@ -2118,95 +2304,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. */ @@ -2214,80 +2417,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() { @@ -2297,20 +2510,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(); @@ -2318,25 +2533,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 { @@ -2344,6 +2568,8 @@ public java.util.List getNetwo } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2358,6 +2584,8 @@ public int getNetworkInterfacesCount() { } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2372,6 +2600,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface getNetworkInterfaces(int } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2393,6 +2623,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2411,6 +2643,8 @@ public Builder setNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2431,6 +2665,8 @@ public Builder addNetworkInterfaces(com.google.cloud.vmmigration.v1.NetworkInter return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2452,6 +2688,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2470,6 +2708,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2488,6 +2728,8 @@ public Builder addNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2498,8 +2740,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); @@ -2507,6 +2748,8 @@ public Builder addAllNetworkInterfaces( return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2524,6 +2767,8 @@ public Builder clearNetworkInterfaces() { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2541,6 +2786,8 @@ public Builder removeNetworkInterfaces(int index) { return this; } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2552,6 +2799,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterface.Builder getNetworkInterf return getNetworkInterfacesFieldBuilder().getBuilder(index); } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2561,19 +2810,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 { @@ -2581,6 +2833,8 @@ public com.google.cloud.vmmigration.v1.NetworkInterfaceOrBuilder getNetworkInter } } /** + * + * *
      * List of NICs connected to this VM.
      * 
@@ -2588,10 +2842,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.
      * 
@@ -2600,26 +2856,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(), @@ -2631,18 +2895,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; @@ -2651,20 +2917,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 { @@ -2672,54 +2939,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; @@ -2727,51 +3001,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. */ @@ -2779,42 +3069,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(); @@ -2826,28 +3118,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.
      * 
@@ -2855,11 +3149,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.
      * 
@@ -2867,16 +3162,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.
      * 
@@ -2884,12 +3180,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(); } @@ -2897,114 +3192,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. */ @@ -3012,21 +3320,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; @@ -3034,34 +3345,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.
      * 
@@ -3082,6 +3406,8 @@ public Builder setAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicense return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3100,6 +3426,8 @@ public Builder setAppliedLicense( return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3110,7 +3438,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; } @@ -3122,6 +3452,8 @@ public Builder mergeAppliedLicense(com.google.cloud.vmmigration.v1.AppliedLicens return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3140,6 +3472,8 @@ public Builder clearAppliedLicense() { return this; } /** + * + * *
      * The OS license returned from the adaptation module report.
      * 
@@ -3147,11 +3481,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.
      * 
@@ -3162,11 +3498,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.
      * 
@@ -3174,14 +3513,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_; @@ -3189,34 +3531,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).
      * 
@@ -3237,6 +3592,8 @@ public Builder setComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSched return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3255,6 +3612,8 @@ public Builder setComputeScheduling( return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3265,7 +3624,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; } @@ -3277,6 +3638,8 @@ public Builder mergeComputeScheduling(com.google.cloud.vmmigration.v1.ComputeSch return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3295,6 +3658,8 @@ public Builder clearComputeScheduling() { return this; } /** + * + * *
      * Compute instance scheduling information (if empty default is used).
      * 
@@ -3302,26 +3667,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).
      * 
@@ -3329,27 +3700,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 @@ -3357,32 +3734,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; @@ -3390,51 +3773,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. */ @@ -3442,42 +3841,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(); @@ -3489,28 +3891,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.
      * 
@@ -3518,11 +3922,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.
      * 
@@ -3530,16 +3935,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.
      * 
@@ -3547,12 +3953,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(); } @@ -3560,69 +3965,66 @@ 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; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3632,12 +4034,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(); } @@ -3646,16 +4048,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; @@ -3670,6 +4072,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 c997c05..7a9f0b5 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,18 +539,18 @@ 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); } 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 b6d03f0..4012b8b 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 7a951d9..1a1b5c4 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 68% 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 81b05b9..2f0a9aa 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,89 +74,103 @@ 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;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          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;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -147,36 +178,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.
@@ -186,6 +222,8 @@ public enum State
      */
     STATE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The cutover job has not yet started.
      * 
@@ -194,6 +232,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The cutover job finished with errors.
      * 
@@ -202,6 +242,8 @@ public enum State */ FAILED(2), /** + * + * *
      * The cutover job finished successfully.
      * 
@@ -210,6 +252,8 @@ public enum State */ SUCCEEDED(3), /** + * + * *
      * The cutover job was cancelled.
      * 
@@ -218,6 +262,8 @@ public enum State */ CANCELLED(4), /** + * + * *
      * The cutover job is being cancelled.
      * 
@@ -226,6 +272,8 @@ public enum State */ CANCELLING(5), /** + * + * *
      * The cutover job is active and running.
      * 
@@ -234,6 +282,8 @@ public enum State */ ACTIVE(6), /** + * + * *
      * OS adaptation is running as part of the cutover job to generate license.
      * 
@@ -245,6 +295,8 @@ public enum State ; /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -254,6 +306,8 @@ public enum State
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The cutover job has not yet started.
      * 
@@ -262,6 +316,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The cutover job finished with errors.
      * 
@@ -270,6 +326,8 @@ public enum State */ public static final int FAILED_VALUE = 2; /** + * + * *
      * The cutover job finished successfully.
      * 
@@ -278,6 +336,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 3; /** + * + * *
      * The cutover job was cancelled.
      * 
@@ -286,6 +346,8 @@ public enum State */ public static final int CANCELLED_VALUE = 4; /** + * + * *
      * The cutover job is being cancelled.
      * 
@@ -294,6 +356,8 @@ public enum State */ public static final int CANCELLING_VALUE = 5; /** + * + * *
      * The cutover job is active and running.
      * 
@@ -302,6 +366,8 @@ public enum State */ public static final int ACTIVE_VALUE = 6; /** + * + * *
      * OS adaptation is running as part of the cutover job to generate license.
      * 
@@ -310,7 +376,6 @@ public enum State */ public static final int ADAPTING_OS_VALUE = 7; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -335,54 +400,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; + 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() { + 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; @@ -401,12 +471,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; } @@ -422,29 +495,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 @@ -452,31 +532,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(); } @@ -484,12 +575,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 @@ -497,12 +592,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 @@ -510,12 +609,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() { @@ -525,11 +627,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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 @@ -538,29 +643,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 { @@ -571,38 +676,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 @@ -610,11 +732,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 @@ -622,11 +748,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() { @@ -636,11 +765,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 @@ -651,11 +783,14 @@ 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 @@ -663,11 +798,14 @@ 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 @@ -675,6 +813,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.
    * 
@@ -689,11 +829,14 @@ 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 @@ -702,29 +845,29 @@ 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 { @@ -733,6 +876,7 @@ public java.lang.String getStateMessage() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -744,8 +888,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()); } @@ -768,7 +911,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_); } unknownFields.writeTo(output); } @@ -780,34 +924,30 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -817,40 +957,35 @@ public int getSerializedSize() { @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 (!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: @@ -899,97 +1034,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
@@ -998,21 +1140,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()
@@ -1020,16 +1164,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();
@@ -1065,9 +1208,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
@@ -1086,7 +1229,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_;
@@ -1122,38 +1266,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;
@@ -1186,13 +1331,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();
@@ -1222,12 +1369,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() {
@@ -1237,15 +1384,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 @@ -1253,15 +1407,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_; @@ -1275,13 +1435,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(); @@ -1295,11 +1460,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) { @@ -1313,18 +1482,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; } @@ -1340,11 +1519,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) { @@ -1363,24 +1546,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 { @@ -1391,69 +1584,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) { @@ -1469,15 +1692,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(); @@ -1488,18 +1714,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; } @@ -1511,12 +1741,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) { @@ -1530,51 +1764,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_; @@ -1582,18 +1832,20 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { 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; @@ -1602,20 +1854,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 { @@ -1623,54 +1876,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; @@ -1678,51 +1938,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. */ @@ -1730,21 +2014,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; @@ -1752,24 +2041,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() { @@ -1780,11 +2080,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) { @@ -1800,14 +2103,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(); @@ -1818,17 +2123,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; } @@ -1840,11 +2148,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) { @@ -1858,60 +2169,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 @@ -1919,30 +2244,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; @@ -1950,24 +2281,31 @@ 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() { @@ -1978,6 +2316,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details for the errors that led to the Cutover Job's state.
      * 
@@ -1998,14 +2338,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.
      * 
* * .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(); @@ -2016,6 +2357,8 @@ public Builder setError( return this; } /** + * + * *
      * Output only. Provides details for the errors that led to the Cutover Job's state.
      * 
@@ -2025,8 +2368,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; } @@ -2038,6 +2380,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.
      * 
@@ -2056,6 +2400,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Output only. Provides details for the errors that led to the Cutover Job's state.
      * 
@@ -2063,11 +2409,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.
      * 
@@ -2078,11 +2426,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.
      * 
@@ -2090,14 +2439,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_; @@ -2105,18 +2454,20 @@ 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; @@ -2125,20 +2476,21 @@ 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 { @@ -2146,61 +2498,68 @@ 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); } @@ -2210,12 +2569,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(); } @@ -2224,16 +2583,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; @@ -2248,6 +2607,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 70% 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 c0774eb..43d6ec3 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,164 +1,243 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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 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.
    * 
@@ -168,24 +247,29 @@ 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 71% 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 8f10e55..26b1560 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_ = "";
@@ -32,16 +50,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)
@@ -60,101 +77,114 @@ 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();
-            }
-            updateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(updateTime_);
-              updateTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            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();
+              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;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              registrationId_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -162,36 +192,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.
@@ -201,6 +236,8 @@ public enum State
      */
     STATE_UNSPECIFIED(0),
     /**
+     *
+     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -209,6 +246,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The source was sampled by health checks and is not available.
      * 
@@ -217,6 +256,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
@@ -227,6 +268,8 @@ public enum State
      */
     FAILED(3),
     /**
+     *
+     *
      * 
      * The source exists and its credentials were verified.
      * 
@@ -238,6 +281,8 @@ public enum State ; /** + * + * *
      * The state is unknown. This is used for API compatibility only and is not
      * used by the system.
@@ -247,6 +292,8 @@ public enum State
      */
     public static final int STATE_UNSPECIFIED_VALUE = 0;
     /**
+     *
+     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -255,6 +302,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The source was sampled by health checks and is not available.
      * 
@@ -263,6 +312,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
@@ -273,6 +324,8 @@ public enum State
      */
     public static final int FAILED_VALUE = 3;
     /**
+     *
+     *
      * 
      * The source exists and its credentials were verified.
      * 
@@ -281,7 +334,6 @@ public enum State */ public static final int ACTIVE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -306,51 +358,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; @@ -370,12 +426,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 @@ -383,12 +443,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 @@ -396,12 +460,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() { @@ -411,11 +478,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 @@ -423,11 +494,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 @@ -435,11 +510,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() { @@ -449,11 +527,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 @@ -462,29 +543,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 { @@ -495,6 +576,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 and can
@@ -502,6 +585,7 @@ public java.lang.String getName() {
    * 
* * string registration_id = 12 [(.google.api.field_behavior) = IMMUTABLE]; + * * @return The registrationId. */ @java.lang.Override @@ -510,14 +594,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 and can
@@ -525,16 +610,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 { @@ -545,12 +629,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 @@ -559,30 +646,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 { @@ -593,12 +680,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 @@ -607,30 +697,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 { @@ -641,11 +731,14 @@ 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 @@ -654,29 +747,29 @@ 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 { @@ -687,38 +780,57 @@ 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 @@ -726,11 +838,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 @@ -738,11 +854,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() { @@ -752,12 +871,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 @@ -765,12 +887,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 @@ -778,6 +903,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.
@@ -791,6 +918,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -802,8 +930,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());
     }
@@ -819,7 +946,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) {
@@ -844,12 +973,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_);
@@ -860,20 +987,19 @@ 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_);
@@ -886,43 +1012,35 @@ public int getSerializedSize() {
   @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 (!unknownFields.equals(other.unknownFields)) return false;
     return true;
@@ -969,96 +1087,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)
@@ -1067,21 +1192,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()
@@ -1089,16 +1216,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();
@@ -1142,9 +1268,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
@@ -1163,7 +1289,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 {
@@ -1198,38 +1325,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;
@@ -1237,7 +1365,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());
       }
@@ -1292,7 +1421,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) {
@@ -1304,42 +1434,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) { @@ -1355,15 +1504,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(); @@ -1374,18 +1526,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; } @@ -1397,12 +1553,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) { @@ -1416,51 +1576,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_; @@ -1468,39 +1644,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) { @@ -1516,14 +1711,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(); @@ -1534,17 +1732,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; } @@ -1556,11 +1758,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) { @@ -1574,48 +1780,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_; @@ -1623,18 +1845,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; @@ -1643,20 +1867,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 { @@ -1664,54 +1889,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; @@ -1719,6 +1951,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 and can
@@ -1726,13 +1960,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; @@ -1741,6 +1975,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 and can
@@ -1748,15 +1984,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 { @@ -1764,6 +1999,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 and can
@@ -1771,20 +2008,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 and can
@@ -1792,15 +2031,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 and can
@@ -1808,16 +2050,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; @@ -1825,19 +2067,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; @@ -1846,21 +2090,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 { @@ -1868,57 +2113,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; @@ -1926,19 +2178,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; @@ -1947,21 +2201,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 { @@ -1969,57 +2224,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; @@ -2027,18 +2289,20 @@ 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; @@ -2047,20 +2311,21 @@ 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 { @@ -2068,54 +2333,61 @@ 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; @@ -2123,51 +2395,75 @@ 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. */ @@ -2175,21 +2471,26 @@ 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; @@ -2197,24 +2498,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() { @@ -2225,11 +2537,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) { @@ -2245,14 +2560,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(); @@ -2263,17 +2580,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; } @@ -2285,11 +2605,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) { @@ -2303,48 +2626,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_; @@ -2352,26 +2686,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() { @@ -2382,6 +2723,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details on the state of the Datacenter Connector in case of an
      * error.
@@ -2403,6 +2746,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.
@@ -2410,8 +2755,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();
@@ -2422,6 +2766,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in case of an
      * error.
@@ -2432,8 +2778,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;
         }
@@ -2445,6 +2790,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.
@@ -2464,6 +2811,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Datacenter Connector in case of an
      * error.
@@ -2472,11 +2821,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.
@@ -2488,11 +2839,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.
@@ -2501,21 +2853,21 @@ 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_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2525,12 +2877,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();
   }
@@ -2539,16 +2891,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;
@@ -2563,6 +2915,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 77%
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 03a142d..58516c0 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 and can
@@ -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 and can
@@ -103,142 +151,186 @@ 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.
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 64% 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 69a2f6e..eaa6a32 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,36 @@ 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.
    * 
* - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the vmwareVms field is set. */ @java.lang.Override @@ -167,31 +200,40 @@ public boolean hasVmwareVms() { return sourceVmsCase_ == 1; } /** + * + * *
    * 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]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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.
    * 
* - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @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 +241,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 +258,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 +275,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 +291,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -249,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 (sourceVmsCase_ == 1) { output.writeMessage(1, (com.google.cloud.vmmigration.v1.VmwareVmsDetails) sourceVms_); } @@ -267,12 +320,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 +335,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 +384,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 +489,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 +513,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 +537,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 +558,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 +581,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 +621,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 +656,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 +666,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 +681,22 @@ 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.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the vmwareVms field is set. */ @java.lang.Override @@ -630,11 +704,16 @@ public boolean hasVmwareVms() { return sourceVmsCase_ == 1; } /** + * + * *
      * 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]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The vmwareVms. */ @java.lang.Override @@ -652,11 +731,15 @@ public 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]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVmwareVms(com.google.cloud.vmmigration.v1.VmwareVmsDetails value) { if (vmwareVmsBuilder_ == null) { @@ -672,11 +755,15 @@ 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.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setVmwareVms( com.google.cloud.vmmigration.v1.VmwareVmsDetails.Builder builderForValue) { @@ -690,18 +777,26 @@ public Builder setVmwareVms( return this; } /** + * + * *
      * 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]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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,11 +812,15 @@ 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.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearVmwareVms() { if (vmwareVmsBuilder_ == null) { @@ -740,21 +839,29 @@ public Builder clearVmwareVms() { return this; } /** + * + * *
      * 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]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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.
      * 
* - * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrBuilder() { @@ -768,69 +875,98 @@ public com.google.cloud.vmmigration.v1.VmwareVmsDetailsOrBuilder getVmwareVmsOrB } } /** + * + * *
      * 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]; + * + * .google.cloud.vmmigration.v1.VmwareVmsDetails vmware_vms = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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 +982,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 +1004,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 +1031,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 +1054,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 +1131,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 +1145,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 +1169,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 58% 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 9928e3f..f1cab8f 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,66 +1,107 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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 { /** + * + * *
    * 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]; + * + * .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]; + * + * .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]; + * + * .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]; + * .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 64% 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 5b33721..08b3eb7 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,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 '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_ = ""; } @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) @@ -53,19 +70,20 @@ 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; + 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 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 @@ -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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -204,117 +231,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() @@ -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_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 @@ -362,7 +398,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_; onBuilt(); return result; @@ -372,38 +409,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; @@ -411,7 +449,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(); @@ -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.GetMigratingVmRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.GetMigratingVmRequest) 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.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(); } @@ -566,16 +626,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; @@ -590,6 +650,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..ab3c447 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/GetMigratingVmRequestOrBuilder.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 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/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 6e5f473..2a47059 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_;
   /**
+   *
+   *
    * 
    * The Group name.
    * 
* * string name = 1; + * * @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; } } /** + * + * *
    * The Group name.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -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_ = "";
     /**
+     *
+     *
      * 
      * The Group name.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -771,20 +832,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The Group name.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -792,54 +854,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The Group name.
      * 
* * string name = 1; + * * @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.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The Group name.
      * 
* * string name = 1; + * * @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 68% 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 12ecdc9..d424562 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 { /** + * + * *
    * The Group name.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The Group name.
    * 
* * string name = 1; + * * @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 0311dc0..6366d29 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 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 `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 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 clone jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 clone jobs 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 clone jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 clone jobs 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 `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 7cba65e..582ab14 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 be
@@ -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 580be6e..7076cf7 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 5d2d842..16cf164 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 a88b48b..4b5b7cc 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 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 `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 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 cutover jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 cutover jobs 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 cutover jobs to return. The service may return
      * fewer than this value. If unspecified, at most 500 cutover jobs 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 `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 85e7258..ea27b0a 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 be
@@ -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 9092b44..8bb2fe3 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 11a17e0..748116c 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 de854df..6eae49d 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 145c5b8..8246533 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 8319c0d..5317b31 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 d20a3e0..157913c 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 7379170..25120f0 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 23c02ff..1e4b687 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 71% 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 dfe6da7..41746a5 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_ = ""; @@ -28,16 +46,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) @@ -56,42 +73,46 @@ private ListMigratingVmsRequest( 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 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 @@ -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 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 { @@ -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 migrating VMs to return. The service may return
    * fewer than this value. If unspecified, at most 500 migrating VMs 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 `ListMigratingVms` 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 `ListMigratingVms` 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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -433,117 +470,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() @@ -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_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 @@ -599,7 +645,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_; @@ -613,38 +660,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; @@ -652,7 +700,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(); @@ -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.ListMigratingVmsRequest) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.vmmigration.v1.ListMigratingVmsRequest) 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 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; @@ -723,20 +777,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 { @@ -744,61 +801,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 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 migrating VMs to return. The service may return
      * fewer than this value. If unspecified, at most 500 migrating VMs 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 migrating VMs to return. The service may return
      * fewer than this value. If unspecified, at most 500 migrating VMs 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 `ListMigratingVms` 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 `ListMigratingVms` 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 `ListMigratingVms` 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 `ListMigratingVms` 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 `ListMigratingVms` 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.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(); } @@ -1177,16 +1286,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; @@ -1201,6 +1310,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 68% 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 f054d78..b1c4b35 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 will be
@@ -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,48 +94,58 @@ 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(); } 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 80a32b8..ab27d24 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 35943eb..4e73656 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 171269f..4cfda30 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 735f630..5682d84 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 78b6328..635c8cd 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 2a11f35..5d87df4 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 3ce89f3..73c5cde 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 b71bfe9..c2d64db 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 b33c6a8..076c201 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 14546ae..26f02e2 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 66% 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 319c4a6..059b3d9 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_ = "";
@@ -31,16 +49,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)
@@ -60,167 +77,197 @@ private MigratingVm(
           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();
+          case 10:
+            {
+              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 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();
+              group_ = s;
+              break;
             }
-            error_ = input.readMessage(com.google.rpc.Status.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          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();
 
-            break;
-          }
-          case 178: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (stateTime_ != null) {
-              subBuilder = stateTime_.toBuilder();
+              displayName_ = s;
+              break;
             }
-            stateTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(stateTime_);
-              stateTime_ = subBuilder.buildPartial();
+          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();
 
-            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) {
@@ -228,48 +275,52 @@ 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 {
       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;
+
+  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.
      * 
@@ -278,6 +329,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The VM in the source is being verified.
      * 
@@ -286,6 +339,8 @@ public enum State */ PENDING(1), /** + * + * *
      * The source VM was verified, and it's ready to start replication.
      * 
@@ -294,6 +349,8 @@ public enum State */ READY(2), /** + * + * *
      * Migration is going through the first sync cycle.
      * 
@@ -302,6 +359,8 @@ public enum State */ FIRST_SYNC(3), /** + * + * *
      * The replication is active, and it's running or scheduled to run.
      * 
@@ -310,6 +369,8 @@ public enum State */ ACTIVE(4), /** + * + * *
      * The source VM is being turned off, and a final replication is currently
      * running.
@@ -319,6 +380,8 @@ public enum State
      */
     CUTTING_OVER(7),
     /**
+     *
+     *
      * 
      * The source VM was stopped and replicated. The replication is currently
      * paused.
@@ -328,6 +391,8 @@ public enum State
      */
     CUTOVER(8),
     /**
+     *
+     *
      * 
      * A cutover job is active and replication cycle is running the final sync.
      * 
@@ -336,6 +401,8 @@ public enum State */ FINAL_SYNC(9), /** + * + * *
      * The replication was paused by the user and no cycles are scheduled to
      * run.
@@ -345,6 +412,8 @@ public enum State
      */
     PAUSED(10),
     /**
+     *
+     *
      * 
      * The migrating VM is being finalized and migration resources are being
      * removed.
@@ -354,6 +423,8 @@ public enum State
      */
     FINALIZING(11),
     /**
+     *
+     *
      * 
      * The replication process is done. The migrating VM is finalized and no
      * longer consumes billable resources.
@@ -363,6 +434,8 @@ public enum State
      */
     FINALIZED(12),
     /**
+     *
+     *
      * 
      * The replication process encountered an unrecoverable error and was
      * aborted.
@@ -375,6 +448,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state was not sampled by the health checks yet.
      * 
@@ -383,6 +458,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The VM in the source is being verified.
      * 
@@ -391,6 +468,8 @@ public enum State */ public static final int PENDING_VALUE = 1; /** + * + * *
      * The source VM was verified, and it's ready to start replication.
      * 
@@ -399,6 +478,8 @@ public enum State */ public static final int READY_VALUE = 2; /** + * + * *
      * Migration is going through the first sync cycle.
      * 
@@ -407,6 +488,8 @@ public enum State */ public static final int FIRST_SYNC_VALUE = 3; /** + * + * *
      * The replication is active, and it's running or scheduled to run.
      * 
@@ -415,6 +498,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.
@@ -424,6 +509,8 @@ public enum State
      */
     public static final int CUTTING_OVER_VALUE = 7;
     /**
+     *
+     *
      * 
      * The source VM was stopped and replicated. The replication is currently
      * paused.
@@ -433,6 +520,8 @@ public enum State
      */
     public static final int CUTOVER_VALUE = 8;
     /**
+     *
+     *
      * 
      * A cutover job is active and replication cycle is running the final sync.
      * 
@@ -441,6 +530,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.
@@ -450,6 +541,8 @@ public enum State
      */
     public static final int PAUSED_VALUE = 10;
     /**
+     *
+     *
      * 
      * The migrating VM is being finalized and migration resources are being
      * removed.
@@ -459,6 +552,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.
@@ -468,6 +563,8 @@ public enum State
      */
     public static final int FINALIZED_VALUE = 12;
     /**
+     *
+     *
      * 
      * The replication process encountered an unrecoverable error and was
      * aborted.
@@ -477,7 +574,6 @@ public enum State
      */
     public static final int ERROR_VALUE = 13;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -502,58 +598,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;
@@ -572,12 +677,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;
     }
@@ -593,29 +701,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 @@ -623,31 +738,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(); } @@ -655,11 +781,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 @@ -668,29 +797,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 { @@ -701,6 +830,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
@@ -708,6 +839,7 @@ public java.lang.String getName() {
    * 
* * string source_vm_id = 2; + * * @return The sourceVmId. */ @java.lang.Override @@ -716,14 +848,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
@@ -731,16 +864,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 { @@ -751,11 +883,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 @@ -764,29 +899,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 { @@ -797,11 +932,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 @@ -810,29 +948,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 { @@ -843,11 +981,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 @@ -855,18 +996,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.
    * 
@@ -881,12 +1029,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 @@ -894,12 +1046,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 @@ -907,12 +1063,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() { @@ -922,11 +1081,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 @@ -934,11 +1097,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 @@ -946,11 +1113,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() { @@ -960,12 +1130,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 @@ -973,25 +1148,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() { @@ -1001,38 +1187,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 @@ -1040,11 +1243,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 @@ -1052,11 +1259,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() { @@ -1066,11 +1276,16 @@ 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 @@ -1078,23 +1293,34 @@ 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() { @@ -1104,13 +1330,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 @@ -1119,31 +1350,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 { @@ -1152,24 +1385,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, - ""); - } - 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_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 com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } @@ -1178,28 +1410,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.
    * 
@@ -1207,11 +1441,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.
    * 
@@ -1219,16 +1454,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.
    * 
@@ -1236,12 +1471,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(); } @@ -1251,12 +1485,15 @@ public java.lang.String getLabelsOrThrow( 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 @@ -1264,12 +1501,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 @@ -1277,6 +1517,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.
@@ -1290,6 +1532,7 @@ public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1301,8 +1544,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_);
     }
@@ -1330,12 +1572,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);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 18, displayName_);
     }
@@ -1349,7 +1587,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);
   }
@@ -1370,56 +1609,49 @@ 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__);
     }
     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());
     }
     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;
@@ -1429,66 +1661,54 @@ public int getSerializedSize() {
   @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 (!getCurrentSyncInfo().equals(other.getCurrentSyncInfo())) return false;
     }
-    if (!getGroup()
-        .equals(other.getGroup())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) 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 (!getError().equals(other.getError())) 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:
@@ -1561,97 +1781,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.
@@ -1659,43 +1886,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()
@@ -1703,16 +1930,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();
@@ -1777,9 +2003,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
@@ -1798,7 +2024,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) {
@@ -1859,38 +2086,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;
@@ -1940,19 +2168,20 @@ public Builder mergeFrom(com.google.cloud.vmmigration.v1.MigratingVm other) {
         group_ = other.group_;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      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;
-        }
+        case COMPUTE_ENGINE_TARGET_DEFAULTS:
+          {
+            mergeComputeEngineTargetDefaults(other.getComputeEngineTargetDefaults());
+            break;
+          }
+        case TARGETVMDEFAULTS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.unknownFields);
       onChanged();
@@ -1982,12 +2211,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() {
@@ -2000,13 +2229,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 @@ -2014,15 +2251,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_; @@ -2036,13 +2279,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(); @@ -2056,11 +2304,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) { @@ -2074,18 +2326,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; } @@ -2101,11 +2364,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) { @@ -2124,24 +2391,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 { @@ -2152,45 +2429,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; @@ -2199,20 +2489,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 { @@ -2220,54 +2511,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; @@ -2275,6 +2573,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
@@ -2282,13 +2582,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; @@ -2297,6 +2597,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
@@ -2304,15 +2606,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 { @@ -2320,6 +2621,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
@@ -2327,20 +2630,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
@@ -2348,15 +2653,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
@@ -2364,16 +2672,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; @@ -2381,18 +2689,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; @@ -2401,20 +2711,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 { @@ -2422,54 +2733,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; @@ -2477,18 +2795,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; @@ -2497,20 +2817,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 { @@ -2518,54 +2839,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; @@ -2573,34 +2901,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.
      * 
@@ -2621,6 +2962,8 @@ public Builder setPolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) { return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2639,6 +2982,8 @@ public Builder setPolicy( return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2649,7 +2994,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; } @@ -2661,6 +3008,8 @@ public Builder mergePolicy(com.google.cloud.vmmigration.v1.SchedulePolicy value) return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2679,6 +3028,8 @@ public Builder clearPolicy() { return this; } /** + * + * *
      * The replication schedule policy.
      * 
@@ -2686,11 +3037,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.
      * 
@@ -2701,11 +3054,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.
      * 
@@ -2713,14 +3069,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_; @@ -2728,42 +3087,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) { @@ -2779,15 +3157,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(); @@ -2798,18 +3179,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; } @@ -2821,12 +3206,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) { @@ -2840,51 +3229,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_; @@ -2892,39 +3297,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) { @@ -2940,14 +3364,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(); @@ -2958,17 +3385,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; } @@ -2980,11 +3411,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) { @@ -2998,48 +3433,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_; @@ -3047,42 +3498,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) { @@ -3098,12 +3568,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) { @@ -3117,18 +3591,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; } @@ -3140,12 +3620,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) { @@ -3159,51 +3643,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_; @@ -3211,51 +3711,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. */ @@ -3263,21 +3787,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; @@ -3285,24 +3814,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() { @@ -3313,11 +3855,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) { @@ -3333,14 +3879,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(); @@ -3351,17 +3900,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; } @@ -3373,11 +3926,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) { @@ -3391,48 +3948,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_; @@ -3440,39 +4011,58 @@ 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) { @@ -3488,11 +4078,15 @@ 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) { @@ -3506,17 +4100,23 @@ 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; } @@ -3528,11 +4128,15 @@ 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) { @@ -3546,48 +4150,64 @@ 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_; @@ -3595,20 +4215,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; @@ -3617,22 +4241,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 { @@ -3640,81 +4267,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(); @@ -3726,28 +4365,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.
      * 
@@ -3755,11 +4396,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.
      * 
@@ -3767,16 +4409,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.
      * 
@@ -3784,12 +4427,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(); } @@ -3797,89 +4439,93 @@ 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 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() { @@ -3890,6 +4536,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.
@@ -3911,6 +4559,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.
@@ -3918,8 +4568,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();
@@ -3930,6 +4579,8 @@ public Builder setError(
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of an
      * error in replication.
@@ -3940,8 +4591,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;
         }
@@ -3953,6 +4603,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.
@@ -3972,6 +4624,8 @@ public Builder clearError() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Output only. Provides details on the state of the Migrating VM in case of an
      * error in replication.
@@ -3980,11 +4634,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.
@@ -3996,11 +4652,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.
@@ -4009,21 +4666,21 @@ 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_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -4033,12 +4690,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();
   }
@@ -4047,16 +4704,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;
@@ -4071,6 +4728,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 584084f..4263561 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,190 +205,272 @@ 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.
    * 
@@ -338,30 +479,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.
    * 
@@ -370,42 +512,50 @@ 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. 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.
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 64%
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 b042693..143b192 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.
@@ -235,6 +281,8 @@ public enum ErrorCode
     ;
 
     /**
+     *
+     *
      * 
      * Default value. This value is not used.
      * 
@@ -243,6 +291,8 @@ public enum ErrorCode */ public static final int ERROR_CODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Migrate for Compute encountered an unknown error.
      * 
@@ -251,6 +301,8 @@ public enum ErrorCode */ public static final int UNKNOWN_ERROR_VALUE = 1; /** + * + * *
      * Migrate for Compute encountered an error while validating replication
      * source health.
@@ -260,6 +312,8 @@ public enum ErrorCode
      */
     public static final int SOURCE_VALIDATION_ERROR_VALUE = 2;
     /**
+     *
+     *
      * 
      * Migrate for Compute encountered an error during source data operation.
      * 
@@ -268,6 +322,8 @@ public enum ErrorCode */ public static final int SOURCE_REPLICATION_ERROR_VALUE = 3; /** + * + * *
      * Migrate for Compute encountered an error during target data operation.
      * 
@@ -276,6 +332,8 @@ public enum ErrorCode */ public static final int TARGET_REPLICATION_ERROR_VALUE = 4; /** + * + * *
      * Migrate for Compute encountered an error during OS adaptation.
      * 
@@ -284,6 +342,8 @@ public enum ErrorCode */ public static final int OS_ADAPTATION_ERROR_VALUE = 5; /** + * + * *
      * Migrate for Compute encountered an error in clone operation.
      * 
@@ -292,6 +352,8 @@ public enum ErrorCode */ public static final int CLONE_ERROR_VALUE = 6; /** + * + * *
      * Migrate for Compute encountered an error in cutover operation.
      * 
@@ -300,6 +362,8 @@ public enum ErrorCode */ public static final int CUTOVER_ERROR_VALUE = 7; /** + * + * *
      * Migrate for Compute encountered an error during utilization report
      * creation.
@@ -309,7 +373,6 @@ public enum ErrorCode
      */
     public static final int UTILIZATION_REPORT_ERROR_VALUE = 8;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -334,55 +397,61 @@ 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;
+        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;
@@ -402,38 +471,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 @@ -441,23 +530,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() { @@ -467,11 +567,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 @@ -479,11 +584,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 @@ -491,11 +601,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() { @@ -505,71 +619,93 @@ 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 @@ -577,11 +713,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 @@ -589,11 +729,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() { @@ -601,6 +744,7 @@ public com.google.protobuf.TimestampOrBuilder getErrorTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -612,9 +756,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) { @@ -638,25 +783,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; @@ -666,30 +808,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; @@ -725,97 +864,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
@@ -824,21 +970,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()
@@ -846,17 +994,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();
@@ -890,9 +1038,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
@@ -911,7 +1059,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) {
@@ -946,38 +1095,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;
@@ -1013,9 +1163,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_);
           }
@@ -1052,55 +1203,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. */ @@ -1108,21 +1284,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; @@ -1130,39 +1311,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) { @@ -1178,14 +1378,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(); @@ -1196,17 +1399,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; } @@ -1218,11 +1427,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) { @@ -1236,48 +1449,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_; @@ -1285,39 +1514,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) { @@ -1333,14 +1581,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(); @@ -1351,17 +1602,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; } @@ -1373,11 +1630,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) { @@ -1391,71 +1652,94 @@ 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) { @@ -1465,11 +1749,15 @@ 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) { @@ -1479,11 +1767,15 @@ 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) { @@ -1493,14 +1785,17 @@ 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(); @@ -1514,14 +1809,17 @@ 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()); @@ -1532,11 +1830,15 @@ 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) { @@ -1552,14 +1854,17 @@ 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(); @@ -1573,14 +1878,17 @@ 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()); @@ -1591,14 +1899,17 @@ 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()); @@ -1609,18 +1920,20 @@ 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); @@ -1628,11 +1941,15 @@ 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) { @@ -1645,11 +1962,15 @@ 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) { @@ -1662,39 +1983,49 @@ 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 { @@ -1702,49 +2033,61 @@ 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_; @@ -1752,24 +2095,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() { @@ -1780,11 +2134,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) { @@ -1800,14 +2157,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(); @@ -1818,17 +2177,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; } @@ -1840,11 +2202,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) { @@ -1858,55 +2223,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); } @@ -1916,12 +2292,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(); } @@ -1930,16 +2306,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; @@ -1954,6 +2330,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 e2d474a..6ef81ea 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,153 +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 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 0a8fc37..27d5af2 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
@@ -370,6 +430,7 @@ public java.lang.String getStatusMessage() {
    * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -380,11 +441,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 @@ -393,29 +457,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 { @@ -424,6 +488,7 @@ public java.lang.String getApiVersion() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -435,8 +500,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()); } @@ -468,12 +532,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_); @@ -485,8 +547,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_); @@ -499,33 +560,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; } @@ -552,8 +607,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(); @@ -562,117 +616,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() @@ -680,16 +743,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(); @@ -719,9 +781,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 @@ -740,7 +802,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 { @@ -764,38 +827,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; @@ -803,7 +867,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()); } @@ -848,7 +913,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) { @@ -860,39 +926,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) { @@ -908,14 +993,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(); @@ -926,17 +1014,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; } @@ -948,11 +1040,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) { @@ -966,48 +1062,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_; @@ -1015,24 +1127,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() { @@ -1043,11 +1166,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) { @@ -1063,14 +1189,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(); @@ -1081,17 +1209,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; } @@ -1103,11 +1234,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) { @@ -1121,48 +1255,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_; @@ -1170,18 +1315,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; @@ -1190,20 +1337,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 { @@ -1211,54 +1359,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; @@ -1266,18 +1421,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; @@ -1286,20 +1443,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 { @@ -1307,54 +1465,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; @@ -1362,18 +1527,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; @@ -1382,20 +1549,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 { @@ -1403,61 +1571,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
@@ -1466,6 +1643,7 @@ public Builder setStatusMessageBytes(
      * 
* * bool requested_cancellation = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The requestedCancellation. */ @java.lang.Override @@ -1473,6 +1651,8 @@ public boolean getRequestedCancellation() { return requestedCancellation_; } /** + * + * *
      * Output only. Identifies whether the user has requested cancellation
      * of the operation. Operations that have successfully been cancelled
@@ -1481,16 +1661,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
@@ -1499,10 +1682,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; @@ -1510,18 +1694,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; @@ -1530,20 +1716,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 { @@ -1551,61 +1738,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); } @@ -1615,12 +1809,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(); } @@ -1629,16 +1823,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; @@ -1653,6 +1847,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 715f2e9..ee6e8d0 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
@@ -130,27 +185,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 418cadf..c1e7337 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_;
   /**
+   *
+   *
    * 
    * The name of the target project.
    * 
* * string name = 1; + * * @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; } } /** + * + * *
    * The name of the target project.
    * 
* * string name = 1; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -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_ = "";
     /**
+     *
+     *
      * 
      * The name of the target project.
      * 
* * string name = 1; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -774,20 +837,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the target project.
      * 
* * string name = 1; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -795,54 +859,61 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the target project.
      * 
* * string name = 1; + * * @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.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * The name of the target project.
      * 
* * string name = 1; + * * @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 70% 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 2cdf054..e410927 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 { /** + * + * *
    * The name of the target project.
    * 
* * string name = 1; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * The name of the target project.
    * 
* * string name = 1; + * * @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/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 e6ea8fb..e98fe89 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,11 +773,14 @@ 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 @@ -682,11 +788,14 @@ 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 @@ -694,6 +803,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.
    * 
@@ -708,12 +819,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 @@ -721,12 +836,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 @@ -734,12 +853,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() { @@ -749,33 +871,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 is
@@ -783,7 +918,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 @@ -791,6 +929,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 is
@@ -798,14 +938,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 is
@@ -813,7 +960,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() { @@ -823,11 +972,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 @@ -838,6 +990,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
@@ -852,6 +1006,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
@@ -862,11 +1018,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
@@ -881,6 +1039,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
@@ -895,6 +1055,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
@@ -905,12 +1067,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;
@@ -922,15 +1084,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) {
@@ -942,7 +1104,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) {
@@ -969,37 +1133,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;
@@ -1009,43 +1168,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;
   }
@@ -1093,96 +1245,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.
@@ -1190,21 +1349,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()
@@ -1212,17 +1373,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();
@@ -1270,9 +1431,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
@@ -1291,7 +1452,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_;
@@ -1335,38 +1497,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;
@@ -1374,7 +1537,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();
@@ -1422,9 +1586,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_);
           }
@@ -1449,7 +1614,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) {
@@ -1458,22 +1624,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; @@ -1482,20 +1651,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 { @@ -1503,54 +1673,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; @@ -1558,18 +1735,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; @@ -1578,20 +1757,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 { @@ -1599,54 +1779,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; @@ -1654,51 +1841,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. */ @@ -1706,21 +1917,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; @@ -1728,24 +1944,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() { @@ -1756,11 +1983,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) { @@ -1776,14 +2006,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(); @@ -1794,17 +2026,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; } @@ -1816,11 +2051,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) { @@ -1834,48 +2072,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_; @@ -1883,24 +2132,31 @@ 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() { @@ -1911,6 +2167,8 @@ public com.google.rpc.Status getError() { } } /** + * + * *
      * Output only. Provides details on the state of the report in case of an error.
      * 
@@ -1931,14 +2189,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.
      * 
* * .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(); @@ -1949,6 +2208,8 @@ public Builder setError( return this; } /** + * + * *
      * Output only. Provides details on the state of the report in case of an error.
      * 
@@ -1958,8 +2219,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; } @@ -1971,6 +2231,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.
      * 
@@ -1989,6 +2251,8 @@ public Builder clearError() { return this; } /** + * + * *
      * Output only. Provides details on the state of the report in case of an error.
      * 
@@ -1996,11 +2260,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.
      * 
@@ -2011,11 +2277,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.
      * 
@@ -2023,14 +2290,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_; @@ -2038,42 +2305,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) { @@ -2089,15 +2375,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(); @@ -2108,18 +2397,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; } @@ -2131,12 +2424,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) { @@ -2150,51 +2447,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_; @@ -2202,51 +2515,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. */ @@ -2254,21 +2583,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; @@ -2276,8 +2608,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 is
@@ -2285,13 +2622,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 is
@@ -2299,17 +2641,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 is
@@ -2317,7 +2666,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) { @@ -2333,6 +2684,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 is
@@ -2340,10 +2693,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(); @@ -2354,6 +2708,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 is
@@ -2361,13 +2717,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; } @@ -2379,6 +2739,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 is
@@ -2386,7 +2748,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) { @@ -2400,6 +2764,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 is
@@ -2407,14 +2773,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 is
@@ -2422,17 +2792,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 is
@@ -2440,29 +2815,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 @@ -2470,48 +2853,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
@@ -2529,6 +2924,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
@@ -2546,6 +2943,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
@@ -2563,6 +2962,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
@@ -2572,8 +2973,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();
@@ -2587,6 +2987,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
@@ -2608,6 +3010,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
@@ -2631,6 +3035,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
@@ -2640,8 +3046,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();
@@ -2655,6 +3060,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
@@ -2676,6 +3083,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
@@ -2697,6 +3106,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
@@ -2710,8 +3121,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);
@@ -2719,6 +3129,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
@@ -2739,6 +3151,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
@@ -2759,6 +3173,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
@@ -2768,11 +3184,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
@@ -2782,14 +3199,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
@@ -2799,8 +3218,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 {
@@ -2808,6 +3227,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
@@ -2818,10 +3239,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
@@ -2831,12 +3254,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
@@ -2846,27 +3271,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);
     }
 
@@ -2876,12 +3304,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();
   }
@@ -2890,16 +3318,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;
@@ -2914,6 +3342,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 2d925f9..e2e3d8c 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,117 +1,172 @@
+/*
+ * Copyright 2020 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under 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.
    * 
@@ -121,55 +176,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 is
@@ -177,11 +251,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 is
@@ -189,11 +268,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 is
@@ -201,21 +285,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
@@ -225,9 +316,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
@@ -239,6 +331,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
@@ -250,6 +344,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
@@ -259,9 +355,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
@@ -271,6 +369,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..60952a2 --- /dev/null +++ b/proto-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationProto.java @@ -0,0 +1,1988 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under 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 * 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 273b65e..2cc15bc 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 ed48c14..76fc6eb 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 72% 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 a01677d..9ca188b 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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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 daa8c82..b595a4a 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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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://pubs.vmware.com/vi-sdk/visdk250/ReferenceGuide/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/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