Re: [protobuf] Can an enum value be composed of another enum value?

2020-08-31 Thread 'Adam Cozzette' via Protocol Buffers
I'm afraid this is not possible, because enum values can't reference other enum values. On Sun, Aug 30, 2020 at 11:42 PM Phani Deepak Parasuramuni < phani...@gmail.com> wrote: > i have a use case where a first level of proto file declares a set of enum > values and the secondary proto file that

[protobuf] Can an enum value be composed of another enum value?

2020-08-31 Thread Phani Deepak Parasuramuni
i have a use case where a first level of proto file declares a set of enum values and the secondary proto file that imports the primary level proto file, declares another set of enum values composed using the enum values from first level proto file. *first.proto*: syntax = "proto3"; enum Type