Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(821)

Side by Side Diff: third_party/protobuf/csharp/src/Google.Protobuf.Test/TestProtos/MapUnittestProto3.cs

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/map_unittest_proto3.proto 2 // source: google/protobuf/map_unittest_proto3.proto
3 #pragma warning disable 1591, 0612, 3021 3 #pragma warning disable 1591, 0612, 3021
4 #region Designer generated code 4 #region Designer generated code
5 5
6 using pb = global::Google.Protobuf; 6 using pb = global::Google.Protobuf;
7 using pbc = global::Google.Protobuf.Collections; 7 using pbc = global::Google.Protobuf.Collections;
8 using pbr = global::Google.Protobuf.Reflection; 8 using pbr = global::Google.Protobuf.Reflection;
9 using scg = global::System.Collections.Generic; 9 using scg = global::System.Collections.Generic;
10 namespace Google.Protobuf.TestProtos { 10 namespace Google.Protobuf.TestProtos {
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 "KAsyMi5wcm90b2J1Zl91bml0dGVzdC5NZXNzYWdlQ29udGFpbmluZ0VudW1D", 142 "KAsyMi5wcm90b2J1Zl91bml0dGVzdC5NZXNzYWdlQ29udGFpbmluZ0VudW1D",
143 "YWxsZWRUeXBlOgI4ASIUCgRUeXBlEgwKCFRZUEVfRk9PEAAinQEKH01lc3Nh", 143 "YWxsZWRUeXBlOgI4ASIUCgRUeXBlEgwKCFRZUEVfRk9PEAAinQEKH01lc3Nh",
144 "Z2VDb250YWluaW5nTWFwQ2FsbGVkRW50cnkSTAoFZW50cnkYASADKAsyPS5w", 144 "Z2VDb250YWluaW5nTWFwQ2FsbGVkRW50cnkSTAoFZW50cnkYASADKAsyPS5w",
145 "cm90b2J1Zl91bml0dGVzdC5NZXNzYWdlQ29udGFpbmluZ01hcENhbGxlZEVu", 145 "cm90b2J1Zl91bml0dGVzdC5NZXNzYWdlQ29udGFpbmluZ01hcENhbGxlZEVu",
146 "dHJ5LkVudHJ5RW50cnkaLAoKRW50cnlFbnRyeRILCgNrZXkYASABKAUSDQoF", 146 "dHJ5LkVudHJ5RW50cnkaLAoKRW50cnlFbnRyeRILCgNrZXkYASABKAUSDQoF",
147 "dmFsdWUYAiABKAU6AjgBKj8KB01hcEVudW0SEAoMTUFQX0VOVU1fRk9PEAAS", 147 "dmFsdWUYAiABKAU6AjgBKj8KB01hcEVudW0SEAoMTUFQX0VOVU1fRk9PEAAS",
148 "EAoMTUFQX0VOVU1fQkFSEAESEAoMTUFQX0VOVU1fQkFaEAJCIPgBAaoCGkdv", 148 "EAoMTUFQX0VOVU1fQkFSEAESEAoMTUFQX0VOVU1fQkFaEAJCIPgBAaoCGkdv",
149 "b2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zYgZwcm90bzM=")); 149 "b2dsZS5Qcm90b2J1Zi5UZXN0UHJvdG9zYgZwcm90bzM="));
150 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 150 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
151 new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.Unittes tProto3Reflection.Descriptor, }, 151 new pbr::FileDescriptor[] { global::Google.Protobuf.TestProtos.Unittes tProto3Reflection.Descriptor, },
152 new pbr::GeneratedCodeInfo(new[] {typeof(global::Google.Protobuf.TestP rotos.MapEnum), }, new pbr::GeneratedCodeInfo[] { 152 new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Google.Protobuf.Te stProtos.MapEnum), }, new pbr::GeneratedClrTypeInfo[] {
153 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.TestProtos .TestMap), global::Google.Protobuf.TestProtos.TestMap.Parser, new[]{ "MapInt32In t32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed3 2", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "Ma pStringString", "MapInt32Bytes", "MapInt32Enum", "MapInt32ForeignMessage" }, nul l, null, new pbr::GeneratedCodeInfo[] { null, null, null, null, null, null, null , null, null, null, null, null, null, null, null, null, null, }), 153 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro tos.TestMap), global::Google.Protobuf.TestProtos.TestMap.Parser, new[]{ "MapInt3 2Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32 ", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfix ed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapInt32Bytes", "MapInt32Enum", "MapInt32ForeignMessage" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, null, null, null, null, null , null, null, null, null, null, null, null, null, null, null, null, }),
154 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.TestProtos .TestMapSubmessage), global::Google.Protobuf.TestProtos.TestMapSubmessage.Parser , new[]{ "TestMap" }, null, null, null), 154 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro tos.TestMapSubmessage), global::Google.Protobuf.TestProtos.TestMapSubmessage.Par ser, new[]{ "TestMap" }, null, null, null),
155 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.TestProtos .TestMessageMap), global::Google.Protobuf.TestProtos.TestMessageMap.Parser, new[ ]{ "MapInt32Message" }, null, null, new pbr::GeneratedCodeInfo[] { null, }), 155 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro tos.TestMessageMap), global::Google.Protobuf.TestProtos.TestMessageMap.Parser, n ew[]{ "MapInt32Message" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, } ),
156 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.TestProtos .TestSameTypeMap), global::Google.Protobuf.TestProtos.TestSameTypeMap.Parser, ne w[]{ "Map1", "Map2" }, null, null, new pbr::GeneratedCodeInfo[] { null, null, }) , 156 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro tos.TestSameTypeMap), global::Google.Protobuf.TestProtos.TestSameTypeMap.Parser, new[]{ "Map1", "Map2" }, null, null, new pbr::GeneratedClrTypeInfo[] { null, nu ll, }),
157 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.TestProtos .TestArenaMap), global::Google.Protobuf.TestProtos.TestArenaMap.Parser, new[]{ " MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint3 2Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixe d32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBool Bool", "MapInt32Enum", "MapInt32ForeignMessage" }, null, null, new pbr::Generate dCodeInfo[] { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, }), 157 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro tos.TestArenaMap), global::Google.Protobuf.TestProtos.TestArenaMap.Parser, new[] { "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSi nt32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSf ixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapB oolBool", "MapInt32Enum", "MapInt32ForeignMessage" }, null, null, new pbr::Gener atedClrTypeInfo[] { null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, }),
158 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.TestProtos .MessageContainingEnumCalledType), global::Google.Protobuf.TestProtos.MessageCon tainingEnumCalledType.Parser, new[]{ "Type" }, null, new[]{ typeof(global::Googl e.Protobuf.TestProtos.MessageContainingEnumCalledType.Types.Type) }, new pbr::Ge neratedCodeInfo[] { null, }), 158 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro tos.MessageContainingEnumCalledType), global::Google.Protobuf.TestProtos.Message ContainingEnumCalledType.Parser, new[]{ "Type" }, null, new[]{ typeof(global::Go ogle.Protobuf.TestProtos.MessageContainingEnumCalledType.Types.Type) }, new pbr: :GeneratedClrTypeInfo[] { null, }),
159 new pbr::GeneratedCodeInfo(typeof(global::Google.Protobuf.TestProtos .MessageContainingMapCalledEntry), global::Google.Protobuf.TestProtos.MessageCon tainingMapCalledEntry.Parser, new[]{ "Entry" }, null, null, new pbr::GeneratedCo deInfo[] { null, }) 159 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.TestPro tos.MessageContainingMapCalledEntry), global::Google.Protobuf.TestProtos.Message ContainingMapCalledEntry.Parser, new[]{ "Entry" }, null, null, new pbr::Generate dClrTypeInfo[] { null, })
160 })); 160 }));
161 } 161 }
162 #endregion 162 #endregion
163 163
164 } 164 }
165 #region Enums 165 #region Enums
166 public enum MapEnum { 166 public enum MapEnum {
167 MAP_ENUM_FOO = 0, 167 [pbr::OriginalName("MAP_ENUM_FOO")] Foo = 0,
168 MAP_ENUM_BAR = 1, 168 [pbr::OriginalName("MAP_ENUM_BAR")] Bar = 1,
169 MAP_ENUM_BAZ = 2, 169 [pbr::OriginalName("MAP_ENUM_BAZ")] Baz = 2,
170 } 170 }
171 171
172 #endregion 172 #endregion
173 173
174 #region Messages 174 #region Messages
175 /// <summary> 175 /// <summary>
176 /// Tests maps. 176 /// Tests maps.
177 /// </summary> 177 /// </summary>
178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 178 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
179 public sealed partial class TestMap : pb::IMessage<TestMap> { 179 public sealed partial class TestMap : pb::IMessage<TestMap> {
(...skipping 1171 matching lines...) Expand 10 before | Expand all | Expand 10 after
1351 } 1351 }
1352 } 1352 }
1353 } 1353 }
1354 } 1354 }
1355 1355
1356 #region Nested types 1356 #region Nested types
1357 /// <summary>Container for nested types declared in the MessageContainingEnu mCalledType message type.</summary> 1357 /// <summary>Container for nested types declared in the MessageContainingEnu mCalledType message type.</summary>
1358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1358 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1359 public static partial class Types { 1359 public static partial class Types {
1360 public enum Type { 1360 public enum Type {
1361 TYPE_FOO = 0, 1361 [pbr::OriginalName("TYPE_FOO")] Foo = 0,
1362 } 1362 }
1363 1363
1364 } 1364 }
1365 #endregion 1365 #endregion
1366 1366
1367 } 1367 }
1368 1368
1369 /// <summary> 1369 /// <summary>
1370 /// Previously, message cannot contain map field called "entry". 1370 /// Previously, message cannot contain map field called "entry".
1371 /// </summary> 1371 /// </summary>
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
1462 } 1462 }
1463 } 1463 }
1464 1464
1465 } 1465 }
1466 1466
1467 #endregion 1467 #endregion
1468 1468
1469 } 1469 }
1470 1470
1471 #endregion Designer generated code 1471 #endregion Designer generated code
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698