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