1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved.
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
10 package objc.protobuf.tests.proto3_preserve_unknown_enum;
11 option objc_class_prefix = "UnknownEnums";
19 enum MyEnumPlusExtra {
28 repeated MyEnum repeated_e = 2;
29 repeated MyEnum repeated_packed_e = 3 [packed=true];
30 repeated MyEnumPlusExtra repeated_packed_unexpected_e = 4; // not packed
37 message MyMessagePlusExtra {
38 MyEnumPlusExtra e = 1;
39 repeated MyEnumPlusExtra repeated_e = 2;
40 repeated MyEnumPlusExtra repeated_packed_e = 3 [packed=true];
41 repeated MyEnumPlusExtra repeated_packed_unexpected_e = 4 [packed=true];
43 MyEnumPlusExtra oneof_e_1 = 5;
44 MyEnumPlusExtra oneof_e_2 = 6;