• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1syntax = "proto3";
2
3package protobuf_mutator;
4
5import "google/protobuf/any.proto";
6
7message Msg3 {
8  enum Enum {
9    ENUM_0 = 0;
10    ENUM_1 = 1;
11    ENUM_2 = 2;
12    ENUM_3 = 3;
13    ENUM_4 = 4;
14    ENUM_5 = 5;
15    ENUM_6 = 6;
16    ENUM_7 = 7;
17    ENUM_8 = 8;
18    ENUM_9 = 9;
19  }
20
21  message SubMsg {
22    int64 optional_int64 = 1;
23  }
24
25  double optional_double = 18;
26  float optional_float = 19;
27  int32 optional_int32 = 20;
28  int64 optional_int64 = 21;
29  uint32 optional_uint32 = 22;
30  uint64 optional_uint64 = 23;
31  sint32 optional_sint32 = 24;
32  sint64 optional_sint64 = 25;
33  fixed32 optional_fixed32 = 26;
34  fixed64 optional_fixed64 = 27;
35  sfixed32 optional_sfixed32 = 28;
36  sfixed64 optional_sfixed64 = 29;
37  bool optional_bool = 30;
38  string optional_string = 31;
39  bytes optional_bytes = 32;
40  Enum optional_enum = 33;
41  Msg3 optional_msg = 34;
42
43  repeated double repeated_double = 35;
44  repeated float repeated_float = 36;
45  repeated int32 repeated_int32 = 37;
46  repeated int64 repeated_int64 = 38;
47  repeated uint32 repeated_uint32 = 39;
48  repeated uint64 repeated_uint64 = 40;
49  repeated sint32 repeated_sint32 = 41;
50  repeated sint64 repeated_sint64 = 42;
51  repeated fixed32 repeated_fixed32 = 43;
52  repeated fixed64 repeated_fixed64 = 44;
53  repeated sfixed32 repeated_sfixed32 = 45;
54  repeated sfixed64 repeated_sfixed64 = 46;
55  repeated bool repeated_bool = 47;
56  repeated string repeated_string = 48;
57  repeated bytes repeated_bytes = 49;
58  repeated Enum repeated_enum = 50;
59  repeated Msg3 repeated_msg = 51;
60
61  oneof OneOf {
62    double oneof_double = 52;
63    float oneof_float = 53;
64    int32 oneof_int32 = 54;
65    int64 oneof_int64 = 55;
66    uint32 oneof_uint32 = 56;
67    uint64 oneof_uint64 = 57;
68    sint32 oneof_sint32 = 58;
69    sint64 oneof_sint64 = 59;
70    fixed32 oneof_fixed32 = 60;
71    fixed64 oneof_fixed64 = 61;
72    sfixed32 oneof_sfixed32 = 62;
73    sfixed64 oneof_sfixed64 = 63;
74    bool oneof_bool = 64;
75    string oneof_string = 65;
76    bytes oneof_bytes = 66;
77    Enum oneof_enum = 67;
78    Msg3 oneof_msg = 68;
79  }
80
81  SubMsg sub_message = 69;
82
83  message EmptyMessage {}
84
85  message RegressionMessage {
86    enum SingleValueEnum { ENUM_0 = 0; }
87    SingleValueEnum enum = 2;
88  }
89
90  message SmallMessage {
91    enum Enum {
92      ENUM_0 = 0;
93      ENUM_1 = 1;
94      ENUM_2 = 2;
95      ENUM_3 = 3;
96    }
97
98    bool opt_bool = 1;
99    Enum opt_enum = 2;
100  }
101
102  message MapMessage {
103    map<string, int32> map1 = 1;
104    map<int32, Msg3> map2 = 2;
105  }
106
107  google.protobuf.Any any = 90;
108}
109