Created
April 8, 2019 21:32
-
-
Save ErFUN-KH/3c31c711685c924cef9423ef000f2859 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// The syntax for this file is proto3 | |
syntax = "proto3"; | |
/* Person is used to identify users | |
* across our system */ | |
message Person { | |
// the age as of the person's creation | |
int32 age = 1; | |
// the first name as documented in the signup form | |
string first_name = 2; | |
string last_name = 3; // last name as documented in the signup form | |
// small_picture represents a small .jpg file | |
bytes small_picture = 4; | |
bool is_profile_verified = 5; | |
// height of the person in cm | |
float height = 6; | |
// a list of phone numbers that is optional to provide at signup | |
repeated string phone_numbers = 7; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment