[protobuf] How to use a different protoc version?

2018-04-26 Thread elmer
Hi there, When I want use the gRPC and make the C++ files, I got the following error: error: This file was generated by an older version of protoc which is error: incompatible with your Protocol Buffer headers. Please error: regenerate this file with a newer version of protoc. It seems that I

Re: [protobuf] Default value not accessible in proto3

2018-04-26 Thread 'Feng Xiao' via Protocol Buffers
On Thu, Apr 26, 2018 at 2:12 AM love sidhu wrote: > Hi, > > This is how my response message is defined in proto file. > > message Response{ > bool isOk = 1; > } > > > When I set this bool value in gRPC server to false, I'm not receiving it > on client side > If you

[protobuf] Default value not accessible in proto3

2018-04-26 Thread love sidhu
Hi, This is how my response message is defined in proto file. message Response{ bool isOk = 1; } When I set this bool value in gRPC server to false, I'm not receiving it on client side but If I set this bool value to true I receive it on client side. I read this link: