1
0
mirror of https://github.com/helix-editor/helix synced 2026-07-28 11:30:52 +02:00
Files
2026-06-20 14:42:38 +09:00

22 lines
306 B
Protocol Buffer

syntax = "proto3";
message Person {
string name = 1;
enum PhoneType {
MOBILE = 0;
HOME = 1;
}
oneof contact {
string email = 3;
string phone = 4;
}
}
service AddressBook {
rpc GetPerson(PersonRequest) returns (Person) {
option idempotency_level = NO_SIDE_EFFECTS;
}
}