Hi,
I currently have enum and EnumValueOptions defined as follows:
extend proto2.EnumValueOptions {
optional string gslb_name = 40033178;
}
enum CostType {
WEB_MUSTANG = 1 [ (gslb_name) = "WEB_MUSTANG" ];
IMAGES_BATCH = 35 [ (gslb_name) = "WEB_MUSTANG" ];
IMAGES_INTERNAL = 36 [ (gslb_name) = "WEB_MUSTANG" ];
}
But it will be ideal if I could define gslb_name of type CostType instead
of string and set the extension value as gslb_name: WEB_MUSTANG for the
enum entries.
Is it possible to achieve this in some way? I ran into errors as gslb_name
was then being constructed as <EnumValueOption, CostType>.
-Nandhini
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.