Independent Enums

Enum ProtocolVersionMajor

Values

      PROTOCOL_VERSION_MAJOR = 2

     Major number change is required in the next cases (new ‘proto’ file is necessary):

1.  Protocol is not binary backward compatible with previous versions.

2.  Protocol has lots of changes which affect clients compilation.

Enum ProtocolVersionMinor

Values

      PROTOCOL_VERSION_MINOR = 271

     Minor number is increased for binary backward compatible protocol versions when new messages and / or fields are added without removing / changing any existing messages and fields (new ‘proto’ file is not created)