I have one proto file in client and one in server, but the field numbers in client protobuf for a particular attribute has to be same in server proto.
message Foo_client {
string foo_has = 1;
string bar_has = 3;
}
message Foo_server {
string bar_true = 1;
string foo_true = 2;
string bar_has = 3;
}
since in server proto file attribute "bar_has" had tag=3 ,so in client it has to be 3
why?? and is there any other solution that we can use to remove this ambiguity