Skip to content

Instantly share code, notes, and snippets.

@nvinayshetty
Last active April 4, 2021 10:11
Show Gist options
  • Save nvinayshetty/c7b25a0b734c2fa3a9fb30328e4067b5 to your computer and use it in GitHub Desktop.
Save nvinayshetty/c7b25a0b734c2fa3a9fb30328e4067b5 to your computer and use it in GitHub Desktop.
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