What language does this apply to?
If it's a proto syntax change, is it for proto2 or proto3?
proto3
If it's about generated code change, what programming language?
no
Describe the problem you are trying to solve.
Our team has a tool to convert excel (has specific struct )to .proto. After analyze the structure, currently we just use "fmt.print" style to get a .proto . Better way may be construct descriptorpb.FileDescriptorProto, and let protolib do the rest staff.
Describe the solution you'd like
Add a function input the descriptorpb.FileDescriptorProto and return the proto file content. This functionaily may help many tool that adjust content of .proto file
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.
What language does this apply to? If it's a proto syntax change, is it for proto2 or proto3? proto3 If it's about generated code change, what programming language? no
Describe the problem you are trying to solve. Our team has a tool to convert excel (has specific struct )to .proto. After analyze the structure, currently we just use "fmt.print" style to get a .proto . Better way may be construct
descriptorpb.FileDescriptorProto
, and let protolib do the rest staff.Describe the solution you'd like Add a function input the
descriptorpb.FileDescriptorProto
and return the proto file content. This functionaily may help many tool that adjust content of .proto file Describe alternatives you've consideredAdditional context Add any other context or screenshots about the feature request here.