This is a protobuf question and not gRPC specific. Please ask in the protobuf mailing list.
FWIW, `repeated` sounds appropriate for your use case. You can have have a `repeated` field of scalar types or custom types. On Wednesday, January 26, 2022 at 2:44:14 PM UTC-8 veneree.ran...@gmail.com wrote: > Hi, > I'd like to define a typedef as in C/C++, e.g: > typedef list<double> DoubleVector > > How can I declare that in a proto3 file ? > > I know I can use: > message ListOfDouble { > repeated double value = 1; > } > > But I'd like not to use that if possible in order to have a container of > some type. > Thanks. > -- 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 grpc-io+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/7dfdfa32-eda0-4730-b2bf-859b5930fd3bn%40googlegroups.com.