I have a proto with the following definitions.
import "google/protobuf/descriptor.proto";
extend google.protobuf.FieldOptions{
optional bool is_key = 50002;
}
message Foo{
int64 id = 1 [(is_key) = true];
}
I generated a .desc file for the above. I was able to access all the Fields
and
protoc compiler itself can be enhanced for this, by taking input
the previous version(s) of the .proto file.
Does anybody know of such tools?
thanks
Suresh
--
You received this message because you are subscribed to the Google Groups
"Protocol Buffers" group.
To unsubscribe from this
Dear experts,
Greetings!! I have the following host machine: 32-Bit Dell computer with
32-Bit Ubuntu 12.04 LTS. I was successfully use the GPB for native system,
compile and execute some applications without any problems. I want to cross
compile GPM for an ARM platform. I tried the following
essageFactory::generated_factory()->GetPrototype(d)->New()
;
msg->ParseFromString("Message data") ;
This seems to work for me well.
But I'm not able to find the equivalent implementation in Java. Is it
possible to do the same in Java ?
- Suresh
--~--~-~--~~--