Hello All
I am using unary rpc call to send & recieve data at client -server .
syntax = "proto3";
import "google/protobuf/empty.proto";
message Dummy {
string foo = 1;
repeated int bar = 2;
}
message DummyList {
Dummy dummy = 1;
}
service DummyService {
rpc getDummyListWithRepeated(google.protobuf.Empty) returns (DummyList) {}
}
Want to know how can I use the DummyList in a c++ project to copy the value from a vector of integer values into bar field of Dummy message.
Would be grateful if someone can share some useful reference links of pseudocode.
Regards,
Rohit