Java class has a List<Object> Property ,
how definition List<Object> in protocol buffers proto file,as google protocol buffers no support Object of java world
?
Java class has a List<Object> Property , how definition List<Object> in protocol buffers proto
Share
In general, protocol buffer message types exist independently of standard Java value types, or sometimes Java value types are implemented as wrappers around protocol buffers.
In this specific case, however, the protocol buffer compiler compiles
repeatedfields to JavaLists. Of course, you’ll need to figure out how to protobuffify the objects in the list, but your question doesn’t give us enough information to help with that.