If the cancer is not particularly fast-spreading and aggressive, and is confined to only one part of the bladder wall, then a partial or "segmental" cystectomy could be carried out.
However, if the cancer has spread more, "radical" cystectomy is carried out, and the entire bladder is taken out, along with any nearby organs that bladder cancer cells may have spread to.