xref: /aosp_15_r20/external/protobuf/php/tests/proto/test_prefix.proto (revision 1b3f573f81763fcece89efc2b6a5209149e44ab8)
1syntax = "proto3";
2
3option php_class_prefix = "Prefix";
4
5message TestPrefix {
6  int32 a = 1;
7  NestedMessage nested_message = 2;
8  NestedEnum nested_enum = 3;
9  message NestedMessage {
10    int32 a = 1;
11  }
12  enum NestedEnum {
13      ZERO = 0;
14  };
15}
16
17// Test prefix for reserved words.
18message Empty {
19  int32 a = 1;
20}
21