1// Copyright 2016 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 15// File detached comment 1 16 17// File detached comment 2 18 19// File leading comment 1 20syntax = "proto3"; 21 22// Ignored detached comment 23 24// Ignored package leading comment 25package grpc.testing; 26 27message Request { 28} 29message Response { 30} 31 32// ServiceA detached comment 1 33 34// ServiceA detached comment 2 35 36// ServiceA leading comment 1 37service ServiceA { 38 // MethodA1 leading comment 1 39 rpc MethodA1(Request) returns (Response); // MethodA1 trailing comment 1 40 41 // MethodA2 detached leading comment 1 42 43 // Method A2 leading comment 1 44 // Method A2 leading comment 2 45 rpc MethodA2(stream Request) returns (Response); 46 // MethodA2 trailing comment 1 47 48 // Method A3 leading comment 1 49 rpc MethodA3(Request) returns (stream Response); 50 // Method A3 trailing comment 1 51 52 // Method A4 leading comment 1 53 rpc MethodA4(stream Request) returns (stream Response); 54 // Method A4 trailing comment 1 55} 56// Ignored ServiceA trailing comment 1 57 58// ServiceB leading comment 1 59service ServiceB { 60 // ServiceB trailing comment 1 61 62 // MethodB1 leading comment 1 63 rpc MethodB1(Request) returns (Response); 64 // MethodB1 trailing comment 1 65} 66// Ignored ServiceB trailing comment 2 67 68// Ignored file trailing comment 69