[proto] Classes generated from diagram