We are planning to move our existing services to move grpc service. so need to convert the services to proto Defined Message Type. In the reponse, we have map with customize object as key.
eg response:
//java
Map<key_object, Project>
//proto
map<key_object_not_supported, Project> projects = 3;
In the official doc, they mentioned,
where the key_type can be any integral or string type (so, any scalar type except for floating point types and bytes). The value_type can be any type
Is it any alternative ways to achieve customise object key map in the proto3 ?
#get
semantics you'd expect from anymap
, and thus it offers O(n) instead of O(1) access performance. – Witchcraft