If I understand it correctly, the Java end needs the respective .proto file. However, it is unclear to me how to generate one from the RuntimeTypeModel instance (protobuf-net v2) used on the server side.
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
At current, it simply hasn’t been re-written; there is a v1 version of
GetProto(), however it won’t apply to v2 as it needs to be heavily refactored to work fromRuntimeTypeModel. It is simply a case of finding time to put the code together.If the model is moderately sized, I can probably help hook it together manually.
Note also that protobuf-net offers some features that will not map very nicely into .proto, since they have no definition at all in core .proto (these are usually clearly documented as extension), such as:
Additionally, some of the BCL core types do not have direct .proto counterparts, including:
these can be interpreted, but require a little more shuffling