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/a2a1a155-f4e6-4654-9f1e-2a968f9cf6b6n%40googlegroups.com.

Reply via email to