Changing the flight altitude

There are two methods of gaining altitude
SET_ATTITUDE_TARGET and MAV_CMD_CONDITION_CHANGE_ALT, but on web the SET_ATTITUDE_TARGET command is under Copter Commands.
Is it acutal for Plane?
If not, what command can be used to gain altitude without GPS?