1syntax = "proto2"; 2 3option java_multiple_files = true; 4option java_package = "com.google.protobuf"; 5 6import "google/protobuf/nano/unittest_extension_nano.proto"; 7 8// Must be compiled separately due to extension number reuse. 9// The reuse is deliberate, for testing wire compatibility. 10 11message RepeatedExtensions { 12 extend ExtendableMessage { 13 repeated int32 repeated_int32 = 10; 14 repeated uint32 repeated_uint32 = 11; 15 repeated sint32 repeated_sint32 = 12; 16 repeated int64 repeated_int64 = 13; 17 repeated uint64 repeated_uint64 = 14; 18 repeated sint64 repeated_sint64 = 15; 19 repeated fixed32 repeated_fixed32 = 16; 20 repeated sfixed32 repeated_sfixed32 = 17; 21 repeated fixed64 repeated_fixed64 = 18; 22 repeated sfixed64 repeated_sfixed64 = 19; 23 repeated bool repeated_bool = 20; 24 repeated float repeated_float = 21; 25 repeated double repeated_double = 22; 26 repeated AnEnum repeated_enum = 23; 27 repeated string repeated_string = 24; 28 repeated bytes repeated_bytes = 25; 29 repeated AnotherMessage repeated_message = 26; 30 repeated group RepeatedGroup = 27 { 31 optional int32 a = 1; 32 } 33 } 34} 35