API for library generating protobuf data classes