I have been using Protobuf3 to define PB messages:
syntax = “proto3”;
package vioozer_protobuf ;
message Update
{
string sensor_id = 1;
…
} In my system, The sensor has a unique id format
I have been using Protobuf3 to define PB messages:
syntax = “proto3”;
package vioozer_protobuf ;
message Update
{
string sensor_id = 1;
…
} In my system, The sensor has a unique id format
Official documentation about map type says:
map map_field = N ;
…where the key_type can be any integral or string type (so, any
scalar type except for floating point types and bytes).