[protobuf] Protocol Buffers Version 24.4 is Released!

2023-10-04 Thread 'Mike Kruskal' via Protocol Buffers
This version includes the following non-breaking changes: C++ - Add dependency on absl::layout, and explicitly include absl layout includes (#14042 ) (96c1a7d

Re: [protobuf] Parse .proto files

2023-10-04 Thread 'Ran Volkovich' via Protocol Buffers
thanks ill take a look also on that On Wednesday, October 4, 2023 at 5:01:54 PM UTC+3 Gary Peck wrote: > It's not Java/Scala, but another option is buf's proto parser written in > Go: https://github.com/bufbuild/protocompile. > > Gary > > > On Wednesday, October 4, 2023 at 4:04:56 AM UTC-7 Ran

Re: [protobuf] Parse .proto files

2023-10-04 Thread 'Gary Peck' via Protocol Buffers
It's not Java/Scala, but another option is buf's proto parser written in Go: https://github.com/bufbuild/protocompile. Gary On Wednesday, October 4, 2023 at 4:04:56 AM UTC-7 Ran Volkovich wrote: > Hi, > thanks for the the answer. > this is great if i wont find any scala/java lib that does thi

Re: [protobuf] Parse .proto files

2023-10-04 Thread 'Ran Volkovich' via Protocol Buffers
Hi, thanks for the the answer. this is great if i wont find any scala/java lib that does this i might use it thanks On Wednesday, October 4, 2023 at 1:42:06 PM UTC+3 Marc Gravell wrote: > If .NET is an option, protobuf-net has this (in the > protobuf-net.Reflection package): > > var schema =

Re: [protobuf] Parse .proto files

2023-10-04 Thread Marc Gravell
If .NET is an option, protobuf-net has this (in the protobuf-net.Reflection package): var schema = """ syntax = "proto3"; package helloworld; // My cool new message message MyMessage { string some_string = 1; repeated int64 some_numbers = 2; } """; var set = n

[protobuf] Parse .proto files

2023-10-04 Thread 'Ran Volkovich' via Protocol Buffers
Hi, There is a way to transform .proto file like syntax = "proto3"; package helloworld; // My cool new message. message MyMessage { string some_string = 1; repeated int64 some_numbers = 2; } to FileDescriptorProto class from com.google.protobuf jar (or any other proto lib that can represent th