Files
openidea/fixtures/polyglot/proto/notes.proto

23 lines
329 B
Protocol Buffer

syntax = "proto3";
package acme.notes.v1;
message Note {
int64 id = 1;
string title = 2;
string body = 3;
}
message ListNotesRequest {
string query = 1;
int32 page_size = 2;
}
message ListNotesResponse {
repeated Note notes = 1;
}
service Notes {
rpc ListNotes(ListNotesRequest) returns (ListNotesResponse);
}