I think what you are basically asking for is a ‘blob’, or just raw binary that your app can parse as it sees fit. If so, than one ‘bytes’ field in a protobuf message is what you are looking for. Your app can parse the raw binary however it sees fit.
On Wed, Sep 15, 2021 at 1:15 PM '[email protected]' via grpc.io < [email protected]> wrote: > Which language do you want to do this in? > > On Sunday, September 12, 2021 at 9:39:16 PM UTC-7 [email protected] > wrote: > >> Hi All! >> >> How can we send a Dynamic gRPC message without defining the model of >> message in proto? >> >> >> Say, for example, I want to send an int data type server to a client - >> But I don't want to define the Message with int property within it. I >> wanted to serialise Int data to binary format from Business Logic and write >> directly to the gRPC stream. >> >> Please let me know if you have inputs related to the same. >> Thanks in Advance. >> > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" 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/grpc-io/6d35fecb-96f0-442f-9295-26309adf9d44n%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/6d35fecb-96f0-442f-9295-26309adf9d44n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "grpc.io" 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/grpc-io/CAA-WHukBkhWxGR3%3DfLYXL0_P9YjqnvJ2Uti%3DSRMTh_eGMRV%2BfA%40mail.gmail.com.
