use plugin create code when use protobuf