1syntax = "proto2"; 2 3package kotlinx.serialization.protobuf.schema.generator; 4 5// serial name 'kotlinx.serialization.protobuf.schema.GenerationTest.NestedCollections' 6message NestedCollections { 7 repeated NestedCollections_intList intList = 1; 8 repeated NestedCollections_messageList messageList = 2; 9 repeated NestedCollections_mapInList mapInList = 3; 10 map<string, NestedCollections_listInMap> listInMap = 4; 11} 12 13// This message was generated to support nested collection in list and does not present in Kotlin. 14// Containing message 'NestedCollections', field 'intList' 15message NestedCollections_intList { 16 repeated int32 value = 1; 17} 18 19// This message was generated to support nested collection in list and does not present in Kotlin. 20// Containing message 'NestedCollections', field 'messageList' 21message NestedCollections_messageList { 22 repeated OptionsClass value = 1; 23} 24 25// This message was generated to support nested collection in list and does not present in Kotlin. 26// Containing message 'NestedCollections', field 'mapInList' 27message NestedCollections_mapInList { 28 map<string, OptionsClass> value = 1; 29} 30 31// This message was generated to support nested collection in map value and does not present in Kotlin. 32// Containing message 'NestedCollections', field 'listInMap' 33message NestedCollections_listInMap { 34 repeated int32 value = 1; 35} 36 37// serial name 'kotlinx.serialization.protobuf.schema.GenerationTest.OptionsClass' 38message OptionsClass { 39 required int32 i = 1; 40} 41