1syntax = "proto2"; 2 3package kotlinx.serialization.protobuf.schema.generator; 4 5// serial name 'kotlinx.serialization.protobuf.schema.GenerationTest.NullableNestedCollections' 6message NullableNestedCollections { 7 repeated NullableNestedCollections_nullableIntList nullableIntList = 1; 8 // WARNING: nullable map values can not be represented in protobuf 9 map<string, NullableNestedCollections_nullableIntMap> nullableIntMap = 2; 10 map<string, NullableNestedCollections_intMap> intMap = 3; 11 repeated NullableNestedCollections_intList intList = 4; 12 repeated NullableNestedCollections_legacyMap legacyMap = 5; 13} 14 15// This message was generated to support nested collection in list and does not present in Kotlin. 16// Containing message 'NullableNestedCollections', field 'nullableIntList' 17message NullableNestedCollections_nullableIntList { 18 repeated int32 value = 1; 19} 20 21// This message was generated to support nested collection in map value and does not present in Kotlin. 22// Containing message 'NullableNestedCollections', field 'nullableIntMap' 23message NullableNestedCollections_nullableIntMap { 24 repeated int32 value = 1; 25} 26 27// This message was generated to support nested collection in map value and does not present in Kotlin. 28// Containing message 'NullableNestedCollections', field 'intMap' 29message NullableNestedCollections_intMap { 30 // WARNING: nullable elements of collections can not be represented in protobuf 31 repeated int32 value = 1; 32} 33 34// This message was generated to support nested collection in list and does not present in Kotlin. 35// Containing message 'NullableNestedCollections', field 'intList' 36message NullableNestedCollections_intList { 37 // WARNING: nullable elements of collections can not be represented in protobuf 38 repeated int32 value = 1; 39} 40 41// This message was generated to support legacy map and does not present in Kotlin. 42// Containing message 'NullableNestedCollections', field 'legacyMap' 43message NullableNestedCollections_legacyMap { 44 repeated int32 key = 1; 45 repeated int32 value = 2; 46} 47