Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmi3coder/aeb8d65488e7356aaba22c2f638f5042 to your computer and use it in GitHub Desktop.
Save dmi3coder/aeb8d65488e7356aaba22c2f638f5042 to your computer and use it in GitHub Desktop.
Envelope protobuf structure
message Envelope {
enum Type {
GET_ALL_NOTES = 0;
SAVE_NOTE = 1;
DELETE_NOTE = 2;
}
Type type = 1;
int64 arrivalTime = 2;
int64 id = 3;
repeated Note note = 4;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment