[Sync] Add auto-generated ModelType in Java.
The new ModelType is just represented by integer constants.
ModelTypeHelper uses JNI to convert the constants to strings
for the invalidation code and will replace the logic in the old ModelType.
BUG=
509788
Committed:
https://crrev.com/a909f56705b64f3cd067fdba76225b330f8bca48
Cr-Commit-Position: refs/heads/master@{#342260}