0

I am using protobuf for my project. If its possible to create a message that have something like this.

message GenericType{
    T value = 1;
}
Yogesh
  • 273
  • 1
  • 3
  • 10

1 Answers1

0

You can use google.protobuf.Any type for serialization, but you have to be aware that each application who works with your data should to know how to pack/unpack these messages.

Vadim Kharitonov
  • 970
  • 6
  • 14