• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Protocol Buffers - Google's data interchange format
2// Copyright 2008 Google Inc.  All rights reserved.
3//
4// Use of this source code is governed by a BSD-style
5// license that can be found in the LICENSE file or at
6// https://developers.google.com/open-source/licenses/bsd
7
8// Author: kenton@google.com (Kenton Varda)
9
10syntax = "proto2";
11
12package protobuf_unittest.no_generic_services_test;
13
14
15// *_generic_services are false by default.
16
17message TestMessage {
18  optional int32 a = 1;
19  extensions 1000 to max;
20}
21
22enum TestEnum {
23  FOO = 1;
24}
25
26extend TestMessage {
27  optional int32 test_extension = 1000;
28}
29
30service TestService {
31  rpc Foo(TestMessage) returns (TestMessage);
32}
33