int id = 1; // 这里的1就是Field numbers
Field numbers are an important part of Protobuf. They're used to identify fields in the binary encoded data, which means they can't change from version to version of your service. The advantage is that backward compatibility and forward compatibility are possible.
我的理解:为了兼容性