Monthly Archives: June 2016

Default enum field value in protobuf

Enums in protobuf seem pretty obvious. However some of the behaviors are not that simple. Lets say we have proto: enum Type { ADMIN = 0; REGULAR = 1; } message User { optional Type type = 1; } And … Continue reading

Posted in Development, Uncategorized | Tagged , | Leave a comment