syntax = "proto3";

message request {
    object message = {"source": [1,2,3,4,5], "target": [1,2,3,4,5]}

message response {
    object message = {"source": [1,2,3,4,5], "target": [1,2,3,4,5]}
}

service fetch {
    rpc calculate (request) returns (response) {}
}

I have data input format mentioned up there. 
Can anyone write me a .proto file which will accept such data json from 
client, process it and send it back in the same format?

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/5b9dbcac-2fa0-47df-be94-fdd78d1d7f41o%40googlegroups.com.

Reply via email to