Generate wrapper classes for all thrift structs in api.thrift.

Reviewed at https://reviews.apache.org/r/22998/