Hi all,
I have a strange behavior with java release 2.3.0 and I need your help:
Protos.proto:
...
message Request {
required Api api_call = 1;
extensions 100 to 200;
}
message RefundRequest {
extend Request {
optional RefundRequest refund_request = 100;
}
required
to make it simple, here is one proto file and two jUnits tests. The
first one passes through and the second one fails. See the comments for
details.
Protos.proto:
enum Api {
REFUND = 1;
}
message Request {
required Api api_call = 1;
extensions 100 to 200;
}
I might be wrong but I thing that protobuf does not implement any
networking at all. Think about it as a framework for extend-able in time
custom protocols implementation. It can serialize and deserialize
objects by predefined by you structure. That's all.
Of course, protobuf can be used for