Last active
April 4, 2021 10:11
-
-
Save nvinayshetty/c7b25a0b734c2fa3a9fb30328e4067b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
message Person{ | |
//string name =1; <-- reserve both tag and name to deprecate a field | |
reserved 1; | |
reserved "name"; | |
string first_name = 2; | |
string last_name = 3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment