@java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        case METHODID_LIST_SOURCES:
          serviceImpl.listSources(
              (com.google.cloud.vmmigration.v1.ListSourcesRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.ListSourcesResponse>)
                  responseObserver);
          break;
        case METHODID_GET_SOURCE:
          serviceImpl.getSource(
              (com.google.cloud.vmmigration.v1.GetSourceRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.Source>)
                  responseObserver);
          break;
        case METHODID_CREATE_SOURCE:
          serviceImpl.createSource(
              (com.google.cloud.vmmigration.v1.CreateSourceRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_UPDATE_SOURCE:
          serviceImpl.updateSource(
              (com.google.cloud.vmmigration.v1.UpdateSourceRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_SOURCE:
          serviceImpl.deleteSource(
              (com.google.cloud.vmmigration.v1.DeleteSourceRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_FETCH_INVENTORY:
          serviceImpl.fetchInventory(
              (com.google.cloud.vmmigration.v1.FetchInventoryRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.FetchInventoryResponse>)
                  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<com.google.cloud.vmmigration.v1.UtilizationReport>)
                  responseObserver);
          break;
        case METHODID_CREATE_UTILIZATION_REPORT:
          serviceImpl.createUtilizationReport(
              (com.google.cloud.vmmigration.v1.CreateUtilizationReportRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_UTILIZATION_REPORT:
          serviceImpl.deleteUtilizationReport(
              (com.google.cloud.vmmigration.v1.DeleteUtilizationReportRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) 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<com.google.cloud.vmmigration.v1.DatacenterConnector>)
                  responseObserver);
          break;
        case METHODID_CREATE_DATACENTER_CONNECTOR:
          serviceImpl.createDatacenterConnector(
              (com.google.cloud.vmmigration.v1.CreateDatacenterConnectorRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_DATACENTER_CONNECTOR:
          serviceImpl.deleteDatacenterConnector(
              (com.google.cloud.vmmigration.v1.DeleteDatacenterConnectorRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_UPGRADE_APPLIANCE:
          serviceImpl.upgradeAppliance(
              (com.google.cloud.vmmigration.v1.UpgradeApplianceRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_CREATE_MIGRATING_VM:
          serviceImpl.createMigratingVm(
              (com.google.cloud.vmmigration.v1.CreateMigratingVmRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) 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<com.google.cloud.vmmigration.v1.MigratingVm>)
                  responseObserver);
          break;
        case METHODID_UPDATE_MIGRATING_VM:
          serviceImpl.updateMigratingVm(
              (com.google.cloud.vmmigration.v1.UpdateMigratingVmRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_MIGRATING_VM:
          serviceImpl.deleteMigratingVm(
              (com.google.cloud.vmmigration.v1.DeleteMigratingVmRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_START_MIGRATION:
          serviceImpl.startMigration(
              (com.google.cloud.vmmigration.v1.StartMigrationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_RESUME_MIGRATION:
          serviceImpl.resumeMigration(
              (com.google.cloud.vmmigration.v1.ResumeMigrationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_PAUSE_MIGRATION:
          serviceImpl.pauseMigration(
              (com.google.cloud.vmmigration.v1.PauseMigrationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_FINALIZE_MIGRATION:
          serviceImpl.finalizeMigration(
              (com.google.cloud.vmmigration.v1.FinalizeMigrationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_CREATE_CLONE_JOB:
          serviceImpl.createCloneJob(
              (com.google.cloud.vmmigration.v1.CreateCloneJobRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_CANCEL_CLONE_JOB:
          serviceImpl.cancelCloneJob(
              (com.google.cloud.vmmigration.v1.CancelCloneJobRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_LIST_CLONE_JOBS:
          serviceImpl.listCloneJobs(
              (com.google.cloud.vmmigration.v1.ListCloneJobsRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.ListCloneJobsResponse>)
                  responseObserver);
          break;
        case METHODID_GET_CLONE_JOB:
          serviceImpl.getCloneJob(
              (com.google.cloud.vmmigration.v1.GetCloneJobRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.CloneJob>)
                  responseObserver);
          break;
        case METHODID_CREATE_CUTOVER_JOB:
          serviceImpl.createCutoverJob(
              (com.google.cloud.vmmigration.v1.CreateCutoverJobRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_CANCEL_CUTOVER_JOB:
          serviceImpl.cancelCutoverJob(
              (com.google.cloud.vmmigration.v1.CancelCutoverJobRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_LIST_CUTOVER_JOBS:
          serviceImpl.listCutoverJobs(
              (com.google.cloud.vmmigration.v1.ListCutoverJobsRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.ListCutoverJobsResponse>)
                  responseObserver);
          break;
        case METHODID_GET_CUTOVER_JOB:
          serviceImpl.getCutoverJob(
              (com.google.cloud.vmmigration.v1.GetCutoverJobRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.CutoverJob>)
                  responseObserver);
          break;
        case METHODID_LIST_GROUPS:
          serviceImpl.listGroups(
              (com.google.cloud.vmmigration.v1.ListGroupsRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.ListGroupsResponse>)
                  responseObserver);
          break;
        case METHODID_GET_GROUP:
          serviceImpl.getGroup(
              (com.google.cloud.vmmigration.v1.GetGroupRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.Group>)
                  responseObserver);
          break;
        case METHODID_CREATE_GROUP:
          serviceImpl.createGroup(
              (com.google.cloud.vmmigration.v1.CreateGroupRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_UPDATE_GROUP:
          serviceImpl.updateGroup(
              (com.google.cloud.vmmigration.v1.UpdateGroupRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_GROUP:
          serviceImpl.deleteGroup(
              (com.google.cloud.vmmigration.v1.DeleteGroupRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_ADD_GROUP_MIGRATION:
          serviceImpl.addGroupMigration(
              (com.google.cloud.vmmigration.v1.AddGroupMigrationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_REMOVE_GROUP_MIGRATION:
          serviceImpl.removeGroupMigration(
              (com.google.cloud.vmmigration.v1.RemoveGroupMigrationRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) 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<com.google.cloud.vmmigration.v1.TargetProject>)
                  responseObserver);
          break;
        case METHODID_CREATE_TARGET_PROJECT:
          serviceImpl.createTargetProject(
              (com.google.cloud.vmmigration.v1.CreateTargetProjectRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_UPDATE_TARGET_PROJECT:
          serviceImpl.updateTargetProject(
              (com.google.cloud.vmmigration.v1.UpdateTargetProjectRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_TARGET_PROJECT:
          serviceImpl.deleteTargetProject(
              (com.google.cloud.vmmigration.v1.DeleteTargetProjectRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_LIST_REPLICATION_CYCLES:
          serviceImpl.listReplicationCycles(
              (com.google.cloud.vmmigration.v1.ListReplicationCyclesRequest) request,
              (io.grpc.stub.StreamObserver<
                      com.google.cloud.vmmigration.v1.ListReplicationCyclesResponse>)
                  responseObserver);
          break;
        case METHODID_GET_REPLICATION_CYCLE:
          serviceImpl.getReplicationCycle(
              (com.google.cloud.vmmigration.v1.GetReplicationCycleRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.vmmigration.v1.ReplicationCycle>)
                  responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }
<pre>
Gets details of a single ReplicationCycle.
</pre>
java-vmmigration/grpc-google-cloud-vmmigration-v1/src/main/java/com/google/cloud/vmmigration/v1/VmMigrationGrpc.java