xref: /tonic/interop/proto/grpc/testing/empty.proto (revision d9a481ba)
1// Copyright 2015 gRPC authors.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto3";
16
17package grpc.testing;
18
19// An empty message that you can re-use to avoid defining duplicated empty
20// messages in your project. A typical example is to use it as argument or the
21// return value of a service API. For instance:
22//
23//   service Foo {
24//     rpc Bar (grpc.testing.Empty) returns (grpc.testing.Empty) { };
25//   };
26//
27message Empty {}