Chen Wang | 86af8cf | 2015-01-21 18:05:40 -0800 | [diff] [blame] | 1 | syntax = "proto2"; |
2 | |||||
3 | package proto2; | ||||
4 | |||||
5 | // An empty message that you can re-use to avoid defining duplicated empty | ||||
6 | // messages in your project. A typical example is to use it as argument or the | ||||
7 | // return value of a service API. For instance: | ||||
8 | // | ||||
9 | // service Foo { | ||||
10 | // rpc Bar (proto2.Empty) returns (proto2.Empty) { }; | ||||
11 | // }; | ||||
12 | // | ||||
Chen Wang | 86af8cf | 2015-01-21 18:05:40 -0800 | [diff] [blame] | 13 | message Empty {} |