aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/tips/empty.proto
blob: 86aaa846a2451acce5c2f1232c8a140e1a50acfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This file will be moved to a new location.

syntax = "proto2";

package proto2;

// An empty message that you can re-use to avoid defining duplicated empty
// messages in your project. A typical example is to use it as argument or the
// return value of a service API. For instance:
//
//   service Foo {
//     rpc Bar (proto2.Empty) returns (proto2.Empty) { };
//   };
//
message Empty {}