A judgment is the final determination of the rights of the parties in an action or proceeding.
Ca. Civ. Proc. Code § 577