Those are cerith snail eggs. If you want the snails then do nothing. However one day you will see a large amount of them all over the glass at night and you will think you have a new pest to deal with. Otherwise scrap them off and the fish will eat them. I have a starry blenny who relishes the find.