Currently, the .proto files are written literally. However, there is the com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, which can be used to create a Protobuf Specification programmatically, which were easier to understand and safer to use. Changes this would improve maintainability of the Protobuf generator. The generated Protobuf metamodel could then also be used in the other generators.
Currently, the .proto files are written literally. However, there is the com.google.protobuf.DescriptorProtos.DescriptorProto.Builder, which can be used to create a Protobuf Specification programmatically, which were easier to understand and safer to use. Changes this would improve maintainability of the Protobuf generator. The generated Protobuf metamodel could then also be used in the other generators.