But actually, the unit tests make me think otherwise. They use a variety of different messages in the tests.
On Monday, July 12, 2021 at 3:24:17 PM UTC-7 Sanjana Gupta wrote: > I actually found this in the comments: > "This implementation uses a google.protobuf.Type for tag and name lookup." > > Which implies I can write my own extension similar to this for my own > message type it seems. > > On Monday, July 12, 2021 at 3:14:21 PM UTC-7 Sanjana Gupta wrote: > >> Hi, >> >> I want to use ProtobufStreamObjectSource in a project. >> I am a little confused about the type.pb.h and type_info.h files. >> Is this an example class (ProtobufStreamObjectSource) that uses type.pb.h >> and type_info.h as example case and I should implement my own extension of >> the ObjectSource class for my own protobuff message or is the generic and >> can consume and protobuf message. >> >> Thanks, >> Sanjana >> > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/d64a8cae-c8ee-49d3-8e13-4c494e327e66n%40googlegroups.com.
