mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
620 B
20 lines
620 B
10 years ago
|
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) { };
|
||
|
// };
|
||
|
//
|
||
|
// BEGIN GOOGLE-INTERNAL
|
||
|
// The difference between this one and net/rpc/empty-message.proto is that
|
||
|
// 1) The generated message here is in proto2 C++ API.
|
||
|
// 2) The proto2.Empty has minimum dependencies
|
||
|
// (no message_set or net/rpc dependencies)
|
||
|
// END GOOGLE-INTERNAL
|
||
|
message Empty {}
|