// accesses to variables.
optional bool packed_struct = 5 [default = false];
+ // Add 'packed' attribute to generated enums.
+ optional bool packed_enum = 10 [default = false];
+
// Skip this message
optional bool skip_message = 6 [default = false];
// Generate oneof fields as normal optional fields instead of union.
optional bool no_unions = 8 [default = false];
+
+ // integer type tag for a message
+ optional uint32 msgid = 9;
+
+ // decode oneof as anonymous union
+ optional bool anonymous_oneof = 11 [default = false];
}
// Extensions to protoc 'Descriptor' type in order to define options