How to Convert XSD to Proto File with Camel Casing Naming Strategy?
I’m working on a project where I need to convert an XML Schema Definition (XSD) file into a Protocol Buffers (proto) file. One of the requirements is to use camel casing for the naming of fields and message types in the proto file. I’m looking for a structured approach or any existing tools/scripts that could assist with this conversion.
get protobuf over-the-wire size in bytes
is there a way in java to get the size of a protobuf in bytes? I know there exists the getSerializedSize
function, but I believe that will include field names, etc. Is there a way to actually get the size of what is going to be transferred over the wire?