
Prior to this commit, `LivenessState` and `ReadinessState` were immutable classes. This was done in order to have additional behavior and information in those classes. Because the current implementation doesn't need this, this commit turns those classes into simple enums. Additional state and information can be added to the `*StateChangedEvent` classes. See gh-19593