version

abstract val version: Int

The current version number of the entity.

Versions are monotonically increasing and start from INITIAL_VERSION for initialized entities. UNINITIALIZED_VERSION indicates an uninitialized state.