Skip to content

Instantly share code, notes, and snippets.

@nvinayshetty
Created April 4, 2021 05:21
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
A simple proto file
syntax = "proto3";
message Person{
string first_name = 1;
string last_name = 2;
int32 age = 3;
float weight = 4;
repeated string addresses = 5;
enum Gender{
Unknown = 0;
FeMale = 1;
Male =2;
}
Gender gender = 6;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment