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