Re: [protobuf] binary compatibility between versions 2.x and 3.x

2019-10-07 Thread André Pinto
I have the same question. protobuf-java 3.7.1 seems to be compatible with Protobuf generated with protoc 2.5.0. Is there any official statement about the compatibility of the protobuf-java library against different protobuf versions? On Tuesday, June 5, 2018 at 1:44:02 AM UTC+1, madhav goyal

[protobuf] Style guide question: Keep the line length to 80 characters.

2019-10-07 Thread Vishwanath Jayaraman
Per https://developers.google.com/protocol-buffers/docs/style#standard-file-formatting, the suggestion is to "keep the line length to 80 characters". I am using https://github.com/yoheimuta/protolint to do style validation. How should I format a line that exceeds the 80 character length and

[protobuf] Re: Style guide question: Keep the line length to 80 characters.

2019-10-07 Thread Vishwanath Jayaraman
Got some tips at https://gitter.im/grpc/grpc and got the linter to pass. Below is an example: ``` rpc VeryLongMethodThatExceedsStyleGuideLength( VeryLongMethodThatExceedsStyleGuideLengthRequest) returns (VeryLongMethodThatExceedsStyleGuideLengthReply) ; ``` On Monday, October 7,

Re: [protobuf] binary compatibility between versions 2.x and 3.x

2019-10-07 Thread 'Adam Cozzette' via Protocol Buffers
Any mixing of 2.x and 3.x is not supported; you might get lucky and have it work, but I wouldn't recommend doing that because no one has attempted to make that work safely. As long as all your code is at 3.0 or higher, you can freely mix 3.x versions as long as you follow the rule that the runtime