BenchmarkMessage1Proto3.cs 61 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980
  1. // <auto-generated>
  2. // Generated by the protocol buffer compiler. DO NOT EDIT!
  3. // source: datasets/google_message1/proto3/benchmark_message1_proto3.proto
  4. // </auto-generated>
  5. #pragma warning disable 1591, 0612, 3021
  6. #region Designer generated code
  7. using pb = global::Google.Protobuf;
  8. using pbc = global::Google.Protobuf.Collections;
  9. using pbr = global::Google.Protobuf.Reflection;
  10. using scg = global::System.Collections.Generic;
  11. namespace Benchmarks.Proto3 {
  12. /// <summary>Holder for reflection information generated from datasets/google_message1/proto3/benchmark_message1_proto3.proto</summary>
  13. public static partial class BenchmarkMessage1Proto3Reflection {
  14. #region Descriptor
  15. /// <summary>File descriptor for datasets/google_message1/proto3/benchmark_message1_proto3.proto</summary>
  16. public static pbr::FileDescriptor Descriptor {
  17. get { return descriptor; }
  18. }
  19. private static pbr::FileDescriptor descriptor;
  20. static BenchmarkMessage1Proto3Reflection() {
  21. byte[] descriptorData = global::System.Convert.FromBase64String(
  22. string.Concat(
  23. "Cj9kYXRhc2V0cy9nb29nbGVfbWVzc2FnZTEvcHJvdG8zL2JlbmNobWFya19t",
  24. "ZXNzYWdlMV9wcm90bzMucHJvdG8SEWJlbmNobWFya3MucHJvdG8zIoMGCg5H",
  25. "b29nbGVNZXNzYWdlMRIOCgZmaWVsZDEYASABKAkSDgoGZmllbGQ5GAkgASgJ",
  26. "Eg8KB2ZpZWxkMTgYEiABKAkSDwoHZmllbGQ4MBhQIAEoCBIPCgdmaWVsZDgx",
  27. "GFEgASgIEg4KBmZpZWxkMhgCIAEoBRIOCgZmaWVsZDMYAyABKAUSEQoIZmll",
  28. "bGQyODAYmAIgASgFEg4KBmZpZWxkNhgGIAEoBRIPCgdmaWVsZDIyGBYgASgD",
  29. "Eg4KBmZpZWxkNBgEIAEoCRIOCgZmaWVsZDUYBSADKAYSDwoHZmllbGQ1ORg7",
  30. "IAEoCBIOCgZmaWVsZDcYByABKAkSDwoHZmllbGQxNhgQIAEoBRIRCghmaWVs",
  31. "ZDEzMBiCASABKAUSDwoHZmllbGQxMhgMIAEoCBIPCgdmaWVsZDE3GBEgASgI",
  32. "Eg8KB2ZpZWxkMTMYDSABKAgSDwoHZmllbGQxNBgOIAEoCBIQCghmaWVsZDEw",
  33. "NBhoIAEoBRIQCghmaWVsZDEwMBhkIAEoBRIQCghmaWVsZDEwMRhlIAEoBRIQ",
  34. "CghmaWVsZDEwMhhmIAEoCRIQCghmaWVsZDEwMxhnIAEoCRIPCgdmaWVsZDI5",
  35. "GB0gASgFEg8KB2ZpZWxkMzAYHiABKAgSDwoHZmllbGQ2MBg8IAEoBRIRCghm",
  36. "aWVsZDI3MRiPAiABKAUSEQoIZmllbGQyNzIYkAIgASgFEhEKCGZpZWxkMTUw",
  37. "GJYBIAEoBRIPCgdmaWVsZDIzGBcgASgFEg8KB2ZpZWxkMjQYGCABKAgSDwoH",
  38. "ZmllbGQyNRgZIAEoBRI8CgdmaWVsZDE1GA8gASgLMisuYmVuY2htYXJrcy5w",
  39. "cm90bzMuR29vZ2xlTWVzc2FnZTFTdWJNZXNzYWdlEg8KB2ZpZWxkNzgYTiAB",
  40. "KAgSDwoHZmllbGQ2NxhDIAEoBRIPCgdmaWVsZDY4GEQgASgFEhEKCGZpZWxk",
  41. "MTI4GIABIAEoBRIRCghmaWVsZDEyORiBASABKAkSEQoIZmllbGQxMzEYgwEg",
  42. "ASgFIvcCChhHb29nbGVNZXNzYWdlMVN1Yk1lc3NhZ2USDgoGZmllbGQxGAEg",
  43. "ASgFEg4KBmZpZWxkMhgCIAEoBRIOCgZmaWVsZDMYAyABKAUSDwoHZmllbGQx",
  44. "NRgPIAEoCRIPCgdmaWVsZDEyGAwgASgIEg8KB2ZpZWxkMTMYDSABKAMSDwoH",
  45. "ZmllbGQxNBgOIAEoAxIPCgdmaWVsZDE2GBAgASgFEg8KB2ZpZWxkMTkYEyAB",
  46. "KAUSDwoHZmllbGQyMBgUIAEoCBIPCgdmaWVsZDI4GBwgASgIEg8KB2ZpZWxk",
  47. "MjEYFSABKAYSDwoHZmllbGQyMhgWIAEoBRIPCgdmaWVsZDIzGBcgASgIEhEK",
  48. "CGZpZWxkMjA2GM4BIAEoCBIRCghmaWVsZDIwMxjLASABKAcSEQoIZmllbGQy",
  49. "MDQYzAEgASgFEhEKCGZpZWxkMjA1GM0BIAEoCRIRCghmaWVsZDIwNxjPASAB",
  50. "KAQSEQoIZmllbGQzMDAYrAIgASgEQiUKHmNvbS5nb29nbGUucHJvdG9idWYu",
  51. "YmVuY2htYXJrc0gB+AEBYgZwcm90bzM="));
  52. descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
  53. new pbr::FileDescriptor[] { },
  54. new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
  55. new pbr::GeneratedClrTypeInfo(typeof(global::Benchmarks.Proto3.GoogleMessage1), global::Benchmarks.Proto3.GoogleMessage1.Parser, new[]{ "Field1", "Field9", "Field18", "Field80", "Field81", "Field2", "Field3", "Field280", "Field6", "Field22", "Field4", "Field5", "Field59", "Field7", "Field16", "Field130", "Field12", "Field17", "Field13", "Field14", "Field104", "Field100", "Field101", "Field102", "Field103", "Field29", "Field30", "Field60", "Field271", "Field272", "Field150", "Field23", "Field24", "Field25", "Field15", "Field78", "Field67", "Field68", "Field128", "Field129", "Field131" }, null, null, null, null),
  56. new pbr::GeneratedClrTypeInfo(typeof(global::Benchmarks.Proto3.GoogleMessage1SubMessage), global::Benchmarks.Proto3.GoogleMessage1SubMessage.Parser, new[]{ "Field1", "Field2", "Field3", "Field15", "Field12", "Field13", "Field14", "Field16", "Field19", "Field20", "Field28", "Field21", "Field22", "Field23", "Field206", "Field203", "Field204", "Field205", "Field207", "Field300" }, null, null, null, null)
  57. }));
  58. }
  59. #endregion
  60. }
  61. #region Messages
  62. public sealed partial class GoogleMessage1 : pb::IMessage<GoogleMessage1> {
  63. private static readonly pb::MessageParser<GoogleMessage1> _parser = new pb::MessageParser<GoogleMessage1>(() => new GoogleMessage1());
  64. private pb::UnknownFieldSet _unknownFields;
  65. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  66. public static pb::MessageParser<GoogleMessage1> Parser { get { return _parser; } }
  67. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  68. public static pbr::MessageDescriptor Descriptor {
  69. get { return global::Benchmarks.Proto3.BenchmarkMessage1Proto3Reflection.Descriptor.MessageTypes[0]; }
  70. }
  71. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  72. pbr::MessageDescriptor pb::IMessage.Descriptor {
  73. get { return Descriptor; }
  74. }
  75. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  76. public GoogleMessage1() {
  77. OnConstruction();
  78. }
  79. partial void OnConstruction();
  80. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  81. public GoogleMessage1(GoogleMessage1 other) : this() {
  82. field1_ = other.field1_;
  83. field9_ = other.field9_;
  84. field18_ = other.field18_;
  85. field80_ = other.field80_;
  86. field81_ = other.field81_;
  87. field2_ = other.field2_;
  88. field3_ = other.field3_;
  89. field280_ = other.field280_;
  90. field6_ = other.field6_;
  91. field22_ = other.field22_;
  92. field4_ = other.field4_;
  93. field5_ = other.field5_.Clone();
  94. field59_ = other.field59_;
  95. field7_ = other.field7_;
  96. field16_ = other.field16_;
  97. field130_ = other.field130_;
  98. field12_ = other.field12_;
  99. field17_ = other.field17_;
  100. field13_ = other.field13_;
  101. field14_ = other.field14_;
  102. field104_ = other.field104_;
  103. field100_ = other.field100_;
  104. field101_ = other.field101_;
  105. field102_ = other.field102_;
  106. field103_ = other.field103_;
  107. field29_ = other.field29_;
  108. field30_ = other.field30_;
  109. field60_ = other.field60_;
  110. field271_ = other.field271_;
  111. field272_ = other.field272_;
  112. field150_ = other.field150_;
  113. field23_ = other.field23_;
  114. field24_ = other.field24_;
  115. field25_ = other.field25_;
  116. field15_ = other.field15_ != null ? other.field15_.Clone() : null;
  117. field78_ = other.field78_;
  118. field67_ = other.field67_;
  119. field68_ = other.field68_;
  120. field128_ = other.field128_;
  121. field129_ = other.field129_;
  122. field131_ = other.field131_;
  123. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  124. }
  125. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  126. public GoogleMessage1 Clone() {
  127. return new GoogleMessage1(this);
  128. }
  129. /// <summary>Field number for the "field1" field.</summary>
  130. public const int Field1FieldNumber = 1;
  131. private string field1_ = "";
  132. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  133. public string Field1 {
  134. get { return field1_; }
  135. set {
  136. field1_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  137. }
  138. }
  139. /// <summary>Field number for the "field9" field.</summary>
  140. public const int Field9FieldNumber = 9;
  141. private string field9_ = "";
  142. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  143. public string Field9 {
  144. get { return field9_; }
  145. set {
  146. field9_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  147. }
  148. }
  149. /// <summary>Field number for the "field18" field.</summary>
  150. public const int Field18FieldNumber = 18;
  151. private string field18_ = "";
  152. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  153. public string Field18 {
  154. get { return field18_; }
  155. set {
  156. field18_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  157. }
  158. }
  159. /// <summary>Field number for the "field80" field.</summary>
  160. public const int Field80FieldNumber = 80;
  161. private bool field80_;
  162. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  163. public bool Field80 {
  164. get { return field80_; }
  165. set {
  166. field80_ = value;
  167. }
  168. }
  169. /// <summary>Field number for the "field81" field.</summary>
  170. public const int Field81FieldNumber = 81;
  171. private bool field81_;
  172. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  173. public bool Field81 {
  174. get { return field81_; }
  175. set {
  176. field81_ = value;
  177. }
  178. }
  179. /// <summary>Field number for the "field2" field.</summary>
  180. public const int Field2FieldNumber = 2;
  181. private int field2_;
  182. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  183. public int Field2 {
  184. get { return field2_; }
  185. set {
  186. field2_ = value;
  187. }
  188. }
  189. /// <summary>Field number for the "field3" field.</summary>
  190. public const int Field3FieldNumber = 3;
  191. private int field3_;
  192. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  193. public int Field3 {
  194. get { return field3_; }
  195. set {
  196. field3_ = value;
  197. }
  198. }
  199. /// <summary>Field number for the "field280" field.</summary>
  200. public const int Field280FieldNumber = 280;
  201. private int field280_;
  202. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  203. public int Field280 {
  204. get { return field280_; }
  205. set {
  206. field280_ = value;
  207. }
  208. }
  209. /// <summary>Field number for the "field6" field.</summary>
  210. public const int Field6FieldNumber = 6;
  211. private int field6_;
  212. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  213. public int Field6 {
  214. get { return field6_; }
  215. set {
  216. field6_ = value;
  217. }
  218. }
  219. /// <summary>Field number for the "field22" field.</summary>
  220. public const int Field22FieldNumber = 22;
  221. private long field22_;
  222. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  223. public long Field22 {
  224. get { return field22_; }
  225. set {
  226. field22_ = value;
  227. }
  228. }
  229. /// <summary>Field number for the "field4" field.</summary>
  230. public const int Field4FieldNumber = 4;
  231. private string field4_ = "";
  232. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  233. public string Field4 {
  234. get { return field4_; }
  235. set {
  236. field4_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  237. }
  238. }
  239. /// <summary>Field number for the "field5" field.</summary>
  240. public const int Field5FieldNumber = 5;
  241. private static readonly pb::FieldCodec<ulong> _repeated_field5_codec
  242. = pb::FieldCodec.ForFixed64(42);
  243. private readonly pbc::RepeatedField<ulong> field5_ = new pbc::RepeatedField<ulong>();
  244. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  245. public pbc::RepeatedField<ulong> Field5 {
  246. get { return field5_; }
  247. }
  248. /// <summary>Field number for the "field59" field.</summary>
  249. public const int Field59FieldNumber = 59;
  250. private bool field59_;
  251. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  252. public bool Field59 {
  253. get { return field59_; }
  254. set {
  255. field59_ = value;
  256. }
  257. }
  258. /// <summary>Field number for the "field7" field.</summary>
  259. public const int Field7FieldNumber = 7;
  260. private string field7_ = "";
  261. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  262. public string Field7 {
  263. get { return field7_; }
  264. set {
  265. field7_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  266. }
  267. }
  268. /// <summary>Field number for the "field16" field.</summary>
  269. public const int Field16FieldNumber = 16;
  270. private int field16_;
  271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  272. public int Field16 {
  273. get { return field16_; }
  274. set {
  275. field16_ = value;
  276. }
  277. }
  278. /// <summary>Field number for the "field130" field.</summary>
  279. public const int Field130FieldNumber = 130;
  280. private int field130_;
  281. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  282. public int Field130 {
  283. get { return field130_; }
  284. set {
  285. field130_ = value;
  286. }
  287. }
  288. /// <summary>Field number for the "field12" field.</summary>
  289. public const int Field12FieldNumber = 12;
  290. private bool field12_;
  291. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  292. public bool Field12 {
  293. get { return field12_; }
  294. set {
  295. field12_ = value;
  296. }
  297. }
  298. /// <summary>Field number for the "field17" field.</summary>
  299. public const int Field17FieldNumber = 17;
  300. private bool field17_;
  301. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  302. public bool Field17 {
  303. get { return field17_; }
  304. set {
  305. field17_ = value;
  306. }
  307. }
  308. /// <summary>Field number for the "field13" field.</summary>
  309. public const int Field13FieldNumber = 13;
  310. private bool field13_;
  311. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  312. public bool Field13 {
  313. get { return field13_; }
  314. set {
  315. field13_ = value;
  316. }
  317. }
  318. /// <summary>Field number for the "field14" field.</summary>
  319. public const int Field14FieldNumber = 14;
  320. private bool field14_;
  321. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  322. public bool Field14 {
  323. get { return field14_; }
  324. set {
  325. field14_ = value;
  326. }
  327. }
  328. /// <summary>Field number for the "field104" field.</summary>
  329. public const int Field104FieldNumber = 104;
  330. private int field104_;
  331. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  332. public int Field104 {
  333. get { return field104_; }
  334. set {
  335. field104_ = value;
  336. }
  337. }
  338. /// <summary>Field number for the "field100" field.</summary>
  339. public const int Field100FieldNumber = 100;
  340. private int field100_;
  341. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  342. public int Field100 {
  343. get { return field100_; }
  344. set {
  345. field100_ = value;
  346. }
  347. }
  348. /// <summary>Field number for the "field101" field.</summary>
  349. public const int Field101FieldNumber = 101;
  350. private int field101_;
  351. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  352. public int Field101 {
  353. get { return field101_; }
  354. set {
  355. field101_ = value;
  356. }
  357. }
  358. /// <summary>Field number for the "field102" field.</summary>
  359. public const int Field102FieldNumber = 102;
  360. private string field102_ = "";
  361. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  362. public string Field102 {
  363. get { return field102_; }
  364. set {
  365. field102_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  366. }
  367. }
  368. /// <summary>Field number for the "field103" field.</summary>
  369. public const int Field103FieldNumber = 103;
  370. private string field103_ = "";
  371. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  372. public string Field103 {
  373. get { return field103_; }
  374. set {
  375. field103_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  376. }
  377. }
  378. /// <summary>Field number for the "field29" field.</summary>
  379. public const int Field29FieldNumber = 29;
  380. private int field29_;
  381. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  382. public int Field29 {
  383. get { return field29_; }
  384. set {
  385. field29_ = value;
  386. }
  387. }
  388. /// <summary>Field number for the "field30" field.</summary>
  389. public const int Field30FieldNumber = 30;
  390. private bool field30_;
  391. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  392. public bool Field30 {
  393. get { return field30_; }
  394. set {
  395. field30_ = value;
  396. }
  397. }
  398. /// <summary>Field number for the "field60" field.</summary>
  399. public const int Field60FieldNumber = 60;
  400. private int field60_;
  401. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  402. public int Field60 {
  403. get { return field60_; }
  404. set {
  405. field60_ = value;
  406. }
  407. }
  408. /// <summary>Field number for the "field271" field.</summary>
  409. public const int Field271FieldNumber = 271;
  410. private int field271_;
  411. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  412. public int Field271 {
  413. get { return field271_; }
  414. set {
  415. field271_ = value;
  416. }
  417. }
  418. /// <summary>Field number for the "field272" field.</summary>
  419. public const int Field272FieldNumber = 272;
  420. private int field272_;
  421. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  422. public int Field272 {
  423. get { return field272_; }
  424. set {
  425. field272_ = value;
  426. }
  427. }
  428. /// <summary>Field number for the "field150" field.</summary>
  429. public const int Field150FieldNumber = 150;
  430. private int field150_;
  431. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  432. public int Field150 {
  433. get { return field150_; }
  434. set {
  435. field150_ = value;
  436. }
  437. }
  438. /// <summary>Field number for the "field23" field.</summary>
  439. public const int Field23FieldNumber = 23;
  440. private int field23_;
  441. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  442. public int Field23 {
  443. get { return field23_; }
  444. set {
  445. field23_ = value;
  446. }
  447. }
  448. /// <summary>Field number for the "field24" field.</summary>
  449. public const int Field24FieldNumber = 24;
  450. private bool field24_;
  451. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  452. public bool Field24 {
  453. get { return field24_; }
  454. set {
  455. field24_ = value;
  456. }
  457. }
  458. /// <summary>Field number for the "field25" field.</summary>
  459. public const int Field25FieldNumber = 25;
  460. private int field25_;
  461. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  462. public int Field25 {
  463. get { return field25_; }
  464. set {
  465. field25_ = value;
  466. }
  467. }
  468. /// <summary>Field number for the "field15" field.</summary>
  469. public const int Field15FieldNumber = 15;
  470. private global::Benchmarks.Proto3.GoogleMessage1SubMessage field15_;
  471. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  472. public global::Benchmarks.Proto3.GoogleMessage1SubMessage Field15 {
  473. get { return field15_; }
  474. set {
  475. field15_ = value;
  476. }
  477. }
  478. /// <summary>Field number for the "field78" field.</summary>
  479. public const int Field78FieldNumber = 78;
  480. private bool field78_;
  481. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  482. public bool Field78 {
  483. get { return field78_; }
  484. set {
  485. field78_ = value;
  486. }
  487. }
  488. /// <summary>Field number for the "field67" field.</summary>
  489. public const int Field67FieldNumber = 67;
  490. private int field67_;
  491. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  492. public int Field67 {
  493. get { return field67_; }
  494. set {
  495. field67_ = value;
  496. }
  497. }
  498. /// <summary>Field number for the "field68" field.</summary>
  499. public const int Field68FieldNumber = 68;
  500. private int field68_;
  501. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  502. public int Field68 {
  503. get { return field68_; }
  504. set {
  505. field68_ = value;
  506. }
  507. }
  508. /// <summary>Field number for the "field128" field.</summary>
  509. public const int Field128FieldNumber = 128;
  510. private int field128_;
  511. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  512. public int Field128 {
  513. get { return field128_; }
  514. set {
  515. field128_ = value;
  516. }
  517. }
  518. /// <summary>Field number for the "field129" field.</summary>
  519. public const int Field129FieldNumber = 129;
  520. private string field129_ = "";
  521. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  522. public string Field129 {
  523. get { return field129_; }
  524. set {
  525. field129_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  526. }
  527. }
  528. /// <summary>Field number for the "field131" field.</summary>
  529. public const int Field131FieldNumber = 131;
  530. private int field131_;
  531. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  532. public int Field131 {
  533. get { return field131_; }
  534. set {
  535. field131_ = value;
  536. }
  537. }
  538. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  539. public override bool Equals(object other) {
  540. return Equals(other as GoogleMessage1);
  541. }
  542. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  543. public bool Equals(GoogleMessage1 other) {
  544. if (ReferenceEquals(other, null)) {
  545. return false;
  546. }
  547. if (ReferenceEquals(other, this)) {
  548. return true;
  549. }
  550. if (Field1 != other.Field1) return false;
  551. if (Field9 != other.Field9) return false;
  552. if (Field18 != other.Field18) return false;
  553. if (Field80 != other.Field80) return false;
  554. if (Field81 != other.Field81) return false;
  555. if (Field2 != other.Field2) return false;
  556. if (Field3 != other.Field3) return false;
  557. if (Field280 != other.Field280) return false;
  558. if (Field6 != other.Field6) return false;
  559. if (Field22 != other.Field22) return false;
  560. if (Field4 != other.Field4) return false;
  561. if(!field5_.Equals(other.field5_)) return false;
  562. if (Field59 != other.Field59) return false;
  563. if (Field7 != other.Field7) return false;
  564. if (Field16 != other.Field16) return false;
  565. if (Field130 != other.Field130) return false;
  566. if (Field12 != other.Field12) return false;
  567. if (Field17 != other.Field17) return false;
  568. if (Field13 != other.Field13) return false;
  569. if (Field14 != other.Field14) return false;
  570. if (Field104 != other.Field104) return false;
  571. if (Field100 != other.Field100) return false;
  572. if (Field101 != other.Field101) return false;
  573. if (Field102 != other.Field102) return false;
  574. if (Field103 != other.Field103) return false;
  575. if (Field29 != other.Field29) return false;
  576. if (Field30 != other.Field30) return false;
  577. if (Field60 != other.Field60) return false;
  578. if (Field271 != other.Field271) return false;
  579. if (Field272 != other.Field272) return false;
  580. if (Field150 != other.Field150) return false;
  581. if (Field23 != other.Field23) return false;
  582. if (Field24 != other.Field24) return false;
  583. if (Field25 != other.Field25) return false;
  584. if (!object.Equals(Field15, other.Field15)) return false;
  585. if (Field78 != other.Field78) return false;
  586. if (Field67 != other.Field67) return false;
  587. if (Field68 != other.Field68) return false;
  588. if (Field128 != other.Field128) return false;
  589. if (Field129 != other.Field129) return false;
  590. if (Field131 != other.Field131) return false;
  591. return Equals(_unknownFields, other._unknownFields);
  592. }
  593. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  594. public override int GetHashCode() {
  595. int hash = 1;
  596. if (Field1.Length != 0) hash ^= Field1.GetHashCode();
  597. if (Field9.Length != 0) hash ^= Field9.GetHashCode();
  598. if (Field18.Length != 0) hash ^= Field18.GetHashCode();
  599. if (Field80 != false) hash ^= Field80.GetHashCode();
  600. if (Field81 != false) hash ^= Field81.GetHashCode();
  601. if (Field2 != 0) hash ^= Field2.GetHashCode();
  602. if (Field3 != 0) hash ^= Field3.GetHashCode();
  603. if (Field280 != 0) hash ^= Field280.GetHashCode();
  604. if (Field6 != 0) hash ^= Field6.GetHashCode();
  605. if (Field22 != 0L) hash ^= Field22.GetHashCode();
  606. if (Field4.Length != 0) hash ^= Field4.GetHashCode();
  607. hash ^= field5_.GetHashCode();
  608. if (Field59 != false) hash ^= Field59.GetHashCode();
  609. if (Field7.Length != 0) hash ^= Field7.GetHashCode();
  610. if (Field16 != 0) hash ^= Field16.GetHashCode();
  611. if (Field130 != 0) hash ^= Field130.GetHashCode();
  612. if (Field12 != false) hash ^= Field12.GetHashCode();
  613. if (Field17 != false) hash ^= Field17.GetHashCode();
  614. if (Field13 != false) hash ^= Field13.GetHashCode();
  615. if (Field14 != false) hash ^= Field14.GetHashCode();
  616. if (Field104 != 0) hash ^= Field104.GetHashCode();
  617. if (Field100 != 0) hash ^= Field100.GetHashCode();
  618. if (Field101 != 0) hash ^= Field101.GetHashCode();
  619. if (Field102.Length != 0) hash ^= Field102.GetHashCode();
  620. if (Field103.Length != 0) hash ^= Field103.GetHashCode();
  621. if (Field29 != 0) hash ^= Field29.GetHashCode();
  622. if (Field30 != false) hash ^= Field30.GetHashCode();
  623. if (Field60 != 0) hash ^= Field60.GetHashCode();
  624. if (Field271 != 0) hash ^= Field271.GetHashCode();
  625. if (Field272 != 0) hash ^= Field272.GetHashCode();
  626. if (Field150 != 0) hash ^= Field150.GetHashCode();
  627. if (Field23 != 0) hash ^= Field23.GetHashCode();
  628. if (Field24 != false) hash ^= Field24.GetHashCode();
  629. if (Field25 != 0) hash ^= Field25.GetHashCode();
  630. if (field15_ != null) hash ^= Field15.GetHashCode();
  631. if (Field78 != false) hash ^= Field78.GetHashCode();
  632. if (Field67 != 0) hash ^= Field67.GetHashCode();
  633. if (Field68 != 0) hash ^= Field68.GetHashCode();
  634. if (Field128 != 0) hash ^= Field128.GetHashCode();
  635. if (Field129.Length != 0) hash ^= Field129.GetHashCode();
  636. if (Field131 != 0) hash ^= Field131.GetHashCode();
  637. if (_unknownFields != null) {
  638. hash ^= _unknownFields.GetHashCode();
  639. }
  640. return hash;
  641. }
  642. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  643. public override string ToString() {
  644. return pb::JsonFormatter.ToDiagnosticString(this);
  645. }
  646. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  647. public void WriteTo(pb::CodedOutputStream output) {
  648. if (Field1.Length != 0) {
  649. output.WriteRawTag(10);
  650. output.WriteString(Field1);
  651. }
  652. if (Field2 != 0) {
  653. output.WriteRawTag(16);
  654. output.WriteInt32(Field2);
  655. }
  656. if (Field3 != 0) {
  657. output.WriteRawTag(24);
  658. output.WriteInt32(Field3);
  659. }
  660. if (Field4.Length != 0) {
  661. output.WriteRawTag(34);
  662. output.WriteString(Field4);
  663. }
  664. field5_.WriteTo(output, _repeated_field5_codec);
  665. if (Field6 != 0) {
  666. output.WriteRawTag(48);
  667. output.WriteInt32(Field6);
  668. }
  669. if (Field7.Length != 0) {
  670. output.WriteRawTag(58);
  671. output.WriteString(Field7);
  672. }
  673. if (Field9.Length != 0) {
  674. output.WriteRawTag(74);
  675. output.WriteString(Field9);
  676. }
  677. if (Field12 != false) {
  678. output.WriteRawTag(96);
  679. output.WriteBool(Field12);
  680. }
  681. if (Field13 != false) {
  682. output.WriteRawTag(104);
  683. output.WriteBool(Field13);
  684. }
  685. if (Field14 != false) {
  686. output.WriteRawTag(112);
  687. output.WriteBool(Field14);
  688. }
  689. if (field15_ != null) {
  690. output.WriteRawTag(122);
  691. output.WriteMessage(Field15);
  692. }
  693. if (Field16 != 0) {
  694. output.WriteRawTag(128, 1);
  695. output.WriteInt32(Field16);
  696. }
  697. if (Field17 != false) {
  698. output.WriteRawTag(136, 1);
  699. output.WriteBool(Field17);
  700. }
  701. if (Field18.Length != 0) {
  702. output.WriteRawTag(146, 1);
  703. output.WriteString(Field18);
  704. }
  705. if (Field22 != 0L) {
  706. output.WriteRawTag(176, 1);
  707. output.WriteInt64(Field22);
  708. }
  709. if (Field23 != 0) {
  710. output.WriteRawTag(184, 1);
  711. output.WriteInt32(Field23);
  712. }
  713. if (Field24 != false) {
  714. output.WriteRawTag(192, 1);
  715. output.WriteBool(Field24);
  716. }
  717. if (Field25 != 0) {
  718. output.WriteRawTag(200, 1);
  719. output.WriteInt32(Field25);
  720. }
  721. if (Field29 != 0) {
  722. output.WriteRawTag(232, 1);
  723. output.WriteInt32(Field29);
  724. }
  725. if (Field30 != false) {
  726. output.WriteRawTag(240, 1);
  727. output.WriteBool(Field30);
  728. }
  729. if (Field59 != false) {
  730. output.WriteRawTag(216, 3);
  731. output.WriteBool(Field59);
  732. }
  733. if (Field60 != 0) {
  734. output.WriteRawTag(224, 3);
  735. output.WriteInt32(Field60);
  736. }
  737. if (Field67 != 0) {
  738. output.WriteRawTag(152, 4);
  739. output.WriteInt32(Field67);
  740. }
  741. if (Field68 != 0) {
  742. output.WriteRawTag(160, 4);
  743. output.WriteInt32(Field68);
  744. }
  745. if (Field78 != false) {
  746. output.WriteRawTag(240, 4);
  747. output.WriteBool(Field78);
  748. }
  749. if (Field80 != false) {
  750. output.WriteRawTag(128, 5);
  751. output.WriteBool(Field80);
  752. }
  753. if (Field81 != false) {
  754. output.WriteRawTag(136, 5);
  755. output.WriteBool(Field81);
  756. }
  757. if (Field100 != 0) {
  758. output.WriteRawTag(160, 6);
  759. output.WriteInt32(Field100);
  760. }
  761. if (Field101 != 0) {
  762. output.WriteRawTag(168, 6);
  763. output.WriteInt32(Field101);
  764. }
  765. if (Field102.Length != 0) {
  766. output.WriteRawTag(178, 6);
  767. output.WriteString(Field102);
  768. }
  769. if (Field103.Length != 0) {
  770. output.WriteRawTag(186, 6);
  771. output.WriteString(Field103);
  772. }
  773. if (Field104 != 0) {
  774. output.WriteRawTag(192, 6);
  775. output.WriteInt32(Field104);
  776. }
  777. if (Field128 != 0) {
  778. output.WriteRawTag(128, 8);
  779. output.WriteInt32(Field128);
  780. }
  781. if (Field129.Length != 0) {
  782. output.WriteRawTag(138, 8);
  783. output.WriteString(Field129);
  784. }
  785. if (Field130 != 0) {
  786. output.WriteRawTag(144, 8);
  787. output.WriteInt32(Field130);
  788. }
  789. if (Field131 != 0) {
  790. output.WriteRawTag(152, 8);
  791. output.WriteInt32(Field131);
  792. }
  793. if (Field150 != 0) {
  794. output.WriteRawTag(176, 9);
  795. output.WriteInt32(Field150);
  796. }
  797. if (Field271 != 0) {
  798. output.WriteRawTag(248, 16);
  799. output.WriteInt32(Field271);
  800. }
  801. if (Field272 != 0) {
  802. output.WriteRawTag(128, 17);
  803. output.WriteInt32(Field272);
  804. }
  805. if (Field280 != 0) {
  806. output.WriteRawTag(192, 17);
  807. output.WriteInt32(Field280);
  808. }
  809. if (_unknownFields != null) {
  810. _unknownFields.WriteTo(output);
  811. }
  812. }
  813. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  814. public int CalculateSize() {
  815. int size = 0;
  816. if (Field1.Length != 0) {
  817. size += 1 + pb::CodedOutputStream.ComputeStringSize(Field1);
  818. }
  819. if (Field9.Length != 0) {
  820. size += 1 + pb::CodedOutputStream.ComputeStringSize(Field9);
  821. }
  822. if (Field18.Length != 0) {
  823. size += 2 + pb::CodedOutputStream.ComputeStringSize(Field18);
  824. }
  825. if (Field80 != false) {
  826. size += 2 + 1;
  827. }
  828. if (Field81 != false) {
  829. size += 2 + 1;
  830. }
  831. if (Field2 != 0) {
  832. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2);
  833. }
  834. if (Field3 != 0) {
  835. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field3);
  836. }
  837. if (Field280 != 0) {
  838. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field280);
  839. }
  840. if (Field6 != 0) {
  841. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field6);
  842. }
  843. if (Field22 != 0L) {
  844. size += 2 + pb::CodedOutputStream.ComputeInt64Size(Field22);
  845. }
  846. if (Field4.Length != 0) {
  847. size += 1 + pb::CodedOutputStream.ComputeStringSize(Field4);
  848. }
  849. size += field5_.CalculateSize(_repeated_field5_codec);
  850. if (Field59 != false) {
  851. size += 2 + 1;
  852. }
  853. if (Field7.Length != 0) {
  854. size += 1 + pb::CodedOutputStream.ComputeStringSize(Field7);
  855. }
  856. if (Field16 != 0) {
  857. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16);
  858. }
  859. if (Field130 != 0) {
  860. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field130);
  861. }
  862. if (Field12 != false) {
  863. size += 1 + 1;
  864. }
  865. if (Field17 != false) {
  866. size += 2 + 1;
  867. }
  868. if (Field13 != false) {
  869. size += 1 + 1;
  870. }
  871. if (Field14 != false) {
  872. size += 1 + 1;
  873. }
  874. if (Field104 != 0) {
  875. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field104);
  876. }
  877. if (Field100 != 0) {
  878. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field100);
  879. }
  880. if (Field101 != 0) {
  881. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field101);
  882. }
  883. if (Field102.Length != 0) {
  884. size += 2 + pb::CodedOutputStream.ComputeStringSize(Field102);
  885. }
  886. if (Field103.Length != 0) {
  887. size += 2 + pb::CodedOutputStream.ComputeStringSize(Field103);
  888. }
  889. if (Field29 != 0) {
  890. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field29);
  891. }
  892. if (Field30 != false) {
  893. size += 2 + 1;
  894. }
  895. if (Field60 != 0) {
  896. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field60);
  897. }
  898. if (Field271 != 0) {
  899. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field271);
  900. }
  901. if (Field272 != 0) {
  902. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field272);
  903. }
  904. if (Field150 != 0) {
  905. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field150);
  906. }
  907. if (Field23 != 0) {
  908. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field23);
  909. }
  910. if (Field24 != false) {
  911. size += 2 + 1;
  912. }
  913. if (Field25 != 0) {
  914. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field25);
  915. }
  916. if (field15_ != null) {
  917. size += 1 + pb::CodedOutputStream.ComputeMessageSize(Field15);
  918. }
  919. if (Field78 != false) {
  920. size += 2 + 1;
  921. }
  922. if (Field67 != 0) {
  923. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field67);
  924. }
  925. if (Field68 != 0) {
  926. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field68);
  927. }
  928. if (Field128 != 0) {
  929. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field128);
  930. }
  931. if (Field129.Length != 0) {
  932. size += 2 + pb::CodedOutputStream.ComputeStringSize(Field129);
  933. }
  934. if (Field131 != 0) {
  935. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field131);
  936. }
  937. if (_unknownFields != null) {
  938. size += _unknownFields.CalculateSize();
  939. }
  940. return size;
  941. }
  942. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  943. public void MergeFrom(GoogleMessage1 other) {
  944. if (other == null) {
  945. return;
  946. }
  947. if (other.Field1.Length != 0) {
  948. Field1 = other.Field1;
  949. }
  950. if (other.Field9.Length != 0) {
  951. Field9 = other.Field9;
  952. }
  953. if (other.Field18.Length != 0) {
  954. Field18 = other.Field18;
  955. }
  956. if (other.Field80 != false) {
  957. Field80 = other.Field80;
  958. }
  959. if (other.Field81 != false) {
  960. Field81 = other.Field81;
  961. }
  962. if (other.Field2 != 0) {
  963. Field2 = other.Field2;
  964. }
  965. if (other.Field3 != 0) {
  966. Field3 = other.Field3;
  967. }
  968. if (other.Field280 != 0) {
  969. Field280 = other.Field280;
  970. }
  971. if (other.Field6 != 0) {
  972. Field6 = other.Field6;
  973. }
  974. if (other.Field22 != 0L) {
  975. Field22 = other.Field22;
  976. }
  977. if (other.Field4.Length != 0) {
  978. Field4 = other.Field4;
  979. }
  980. field5_.Add(other.field5_);
  981. if (other.Field59 != false) {
  982. Field59 = other.Field59;
  983. }
  984. if (other.Field7.Length != 0) {
  985. Field7 = other.Field7;
  986. }
  987. if (other.Field16 != 0) {
  988. Field16 = other.Field16;
  989. }
  990. if (other.Field130 != 0) {
  991. Field130 = other.Field130;
  992. }
  993. if (other.Field12 != false) {
  994. Field12 = other.Field12;
  995. }
  996. if (other.Field17 != false) {
  997. Field17 = other.Field17;
  998. }
  999. if (other.Field13 != false) {
  1000. Field13 = other.Field13;
  1001. }
  1002. if (other.Field14 != false) {
  1003. Field14 = other.Field14;
  1004. }
  1005. if (other.Field104 != 0) {
  1006. Field104 = other.Field104;
  1007. }
  1008. if (other.Field100 != 0) {
  1009. Field100 = other.Field100;
  1010. }
  1011. if (other.Field101 != 0) {
  1012. Field101 = other.Field101;
  1013. }
  1014. if (other.Field102.Length != 0) {
  1015. Field102 = other.Field102;
  1016. }
  1017. if (other.Field103.Length != 0) {
  1018. Field103 = other.Field103;
  1019. }
  1020. if (other.Field29 != 0) {
  1021. Field29 = other.Field29;
  1022. }
  1023. if (other.Field30 != false) {
  1024. Field30 = other.Field30;
  1025. }
  1026. if (other.Field60 != 0) {
  1027. Field60 = other.Field60;
  1028. }
  1029. if (other.Field271 != 0) {
  1030. Field271 = other.Field271;
  1031. }
  1032. if (other.Field272 != 0) {
  1033. Field272 = other.Field272;
  1034. }
  1035. if (other.Field150 != 0) {
  1036. Field150 = other.Field150;
  1037. }
  1038. if (other.Field23 != 0) {
  1039. Field23 = other.Field23;
  1040. }
  1041. if (other.Field24 != false) {
  1042. Field24 = other.Field24;
  1043. }
  1044. if (other.Field25 != 0) {
  1045. Field25 = other.Field25;
  1046. }
  1047. if (other.field15_ != null) {
  1048. if (field15_ == null) {
  1049. Field15 = new global::Benchmarks.Proto3.GoogleMessage1SubMessage();
  1050. }
  1051. Field15.MergeFrom(other.Field15);
  1052. }
  1053. if (other.Field78 != false) {
  1054. Field78 = other.Field78;
  1055. }
  1056. if (other.Field67 != 0) {
  1057. Field67 = other.Field67;
  1058. }
  1059. if (other.Field68 != 0) {
  1060. Field68 = other.Field68;
  1061. }
  1062. if (other.Field128 != 0) {
  1063. Field128 = other.Field128;
  1064. }
  1065. if (other.Field129.Length != 0) {
  1066. Field129 = other.Field129;
  1067. }
  1068. if (other.Field131 != 0) {
  1069. Field131 = other.Field131;
  1070. }
  1071. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1072. }
  1073. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1074. public void MergeFrom(pb::CodedInputStream input) {
  1075. uint tag;
  1076. while ((tag = input.ReadTag()) != 0) {
  1077. switch(tag) {
  1078. default:
  1079. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1080. break;
  1081. case 10: {
  1082. Field1 = input.ReadString();
  1083. break;
  1084. }
  1085. case 16: {
  1086. Field2 = input.ReadInt32();
  1087. break;
  1088. }
  1089. case 24: {
  1090. Field3 = input.ReadInt32();
  1091. break;
  1092. }
  1093. case 34: {
  1094. Field4 = input.ReadString();
  1095. break;
  1096. }
  1097. case 42:
  1098. case 41: {
  1099. field5_.AddEntriesFrom(input, _repeated_field5_codec);
  1100. break;
  1101. }
  1102. case 48: {
  1103. Field6 = input.ReadInt32();
  1104. break;
  1105. }
  1106. case 58: {
  1107. Field7 = input.ReadString();
  1108. break;
  1109. }
  1110. case 74: {
  1111. Field9 = input.ReadString();
  1112. break;
  1113. }
  1114. case 96: {
  1115. Field12 = input.ReadBool();
  1116. break;
  1117. }
  1118. case 104: {
  1119. Field13 = input.ReadBool();
  1120. break;
  1121. }
  1122. case 112: {
  1123. Field14 = input.ReadBool();
  1124. break;
  1125. }
  1126. case 122: {
  1127. if (field15_ == null) {
  1128. Field15 = new global::Benchmarks.Proto3.GoogleMessage1SubMessage();
  1129. }
  1130. input.ReadMessage(Field15);
  1131. break;
  1132. }
  1133. case 128: {
  1134. Field16 = input.ReadInt32();
  1135. break;
  1136. }
  1137. case 136: {
  1138. Field17 = input.ReadBool();
  1139. break;
  1140. }
  1141. case 146: {
  1142. Field18 = input.ReadString();
  1143. break;
  1144. }
  1145. case 176: {
  1146. Field22 = input.ReadInt64();
  1147. break;
  1148. }
  1149. case 184: {
  1150. Field23 = input.ReadInt32();
  1151. break;
  1152. }
  1153. case 192: {
  1154. Field24 = input.ReadBool();
  1155. break;
  1156. }
  1157. case 200: {
  1158. Field25 = input.ReadInt32();
  1159. break;
  1160. }
  1161. case 232: {
  1162. Field29 = input.ReadInt32();
  1163. break;
  1164. }
  1165. case 240: {
  1166. Field30 = input.ReadBool();
  1167. break;
  1168. }
  1169. case 472: {
  1170. Field59 = input.ReadBool();
  1171. break;
  1172. }
  1173. case 480: {
  1174. Field60 = input.ReadInt32();
  1175. break;
  1176. }
  1177. case 536: {
  1178. Field67 = input.ReadInt32();
  1179. break;
  1180. }
  1181. case 544: {
  1182. Field68 = input.ReadInt32();
  1183. break;
  1184. }
  1185. case 624: {
  1186. Field78 = input.ReadBool();
  1187. break;
  1188. }
  1189. case 640: {
  1190. Field80 = input.ReadBool();
  1191. break;
  1192. }
  1193. case 648: {
  1194. Field81 = input.ReadBool();
  1195. break;
  1196. }
  1197. case 800: {
  1198. Field100 = input.ReadInt32();
  1199. break;
  1200. }
  1201. case 808: {
  1202. Field101 = input.ReadInt32();
  1203. break;
  1204. }
  1205. case 818: {
  1206. Field102 = input.ReadString();
  1207. break;
  1208. }
  1209. case 826: {
  1210. Field103 = input.ReadString();
  1211. break;
  1212. }
  1213. case 832: {
  1214. Field104 = input.ReadInt32();
  1215. break;
  1216. }
  1217. case 1024: {
  1218. Field128 = input.ReadInt32();
  1219. break;
  1220. }
  1221. case 1034: {
  1222. Field129 = input.ReadString();
  1223. break;
  1224. }
  1225. case 1040: {
  1226. Field130 = input.ReadInt32();
  1227. break;
  1228. }
  1229. case 1048: {
  1230. Field131 = input.ReadInt32();
  1231. break;
  1232. }
  1233. case 1200: {
  1234. Field150 = input.ReadInt32();
  1235. break;
  1236. }
  1237. case 2168: {
  1238. Field271 = input.ReadInt32();
  1239. break;
  1240. }
  1241. case 2176: {
  1242. Field272 = input.ReadInt32();
  1243. break;
  1244. }
  1245. case 2240: {
  1246. Field280 = input.ReadInt32();
  1247. break;
  1248. }
  1249. }
  1250. }
  1251. }
  1252. }
  1253. public sealed partial class GoogleMessage1SubMessage : pb::IMessage<GoogleMessage1SubMessage> {
  1254. private static readonly pb::MessageParser<GoogleMessage1SubMessage> _parser = new pb::MessageParser<GoogleMessage1SubMessage>(() => new GoogleMessage1SubMessage());
  1255. private pb::UnknownFieldSet _unknownFields;
  1256. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1257. public static pb::MessageParser<GoogleMessage1SubMessage> Parser { get { return _parser; } }
  1258. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1259. public static pbr::MessageDescriptor Descriptor {
  1260. get { return global::Benchmarks.Proto3.BenchmarkMessage1Proto3Reflection.Descriptor.MessageTypes[1]; }
  1261. }
  1262. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1263. pbr::MessageDescriptor pb::IMessage.Descriptor {
  1264. get { return Descriptor; }
  1265. }
  1266. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1267. public GoogleMessage1SubMessage() {
  1268. OnConstruction();
  1269. }
  1270. partial void OnConstruction();
  1271. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1272. public GoogleMessage1SubMessage(GoogleMessage1SubMessage other) : this() {
  1273. field1_ = other.field1_;
  1274. field2_ = other.field2_;
  1275. field3_ = other.field3_;
  1276. field15_ = other.field15_;
  1277. field12_ = other.field12_;
  1278. field13_ = other.field13_;
  1279. field14_ = other.field14_;
  1280. field16_ = other.field16_;
  1281. field19_ = other.field19_;
  1282. field20_ = other.field20_;
  1283. field28_ = other.field28_;
  1284. field21_ = other.field21_;
  1285. field22_ = other.field22_;
  1286. field23_ = other.field23_;
  1287. field206_ = other.field206_;
  1288. field203_ = other.field203_;
  1289. field204_ = other.field204_;
  1290. field205_ = other.field205_;
  1291. field207_ = other.field207_;
  1292. field300_ = other.field300_;
  1293. _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
  1294. }
  1295. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1296. public GoogleMessage1SubMessage Clone() {
  1297. return new GoogleMessage1SubMessage(this);
  1298. }
  1299. /// <summary>Field number for the "field1" field.</summary>
  1300. public const int Field1FieldNumber = 1;
  1301. private int field1_;
  1302. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1303. public int Field1 {
  1304. get { return field1_; }
  1305. set {
  1306. field1_ = value;
  1307. }
  1308. }
  1309. /// <summary>Field number for the "field2" field.</summary>
  1310. public const int Field2FieldNumber = 2;
  1311. private int field2_;
  1312. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1313. public int Field2 {
  1314. get { return field2_; }
  1315. set {
  1316. field2_ = value;
  1317. }
  1318. }
  1319. /// <summary>Field number for the "field3" field.</summary>
  1320. public const int Field3FieldNumber = 3;
  1321. private int field3_;
  1322. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1323. public int Field3 {
  1324. get { return field3_; }
  1325. set {
  1326. field3_ = value;
  1327. }
  1328. }
  1329. /// <summary>Field number for the "field15" field.</summary>
  1330. public const int Field15FieldNumber = 15;
  1331. private string field15_ = "";
  1332. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1333. public string Field15 {
  1334. get { return field15_; }
  1335. set {
  1336. field15_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1337. }
  1338. }
  1339. /// <summary>Field number for the "field12" field.</summary>
  1340. public const int Field12FieldNumber = 12;
  1341. private bool field12_;
  1342. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1343. public bool Field12 {
  1344. get { return field12_; }
  1345. set {
  1346. field12_ = value;
  1347. }
  1348. }
  1349. /// <summary>Field number for the "field13" field.</summary>
  1350. public const int Field13FieldNumber = 13;
  1351. private long field13_;
  1352. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1353. public long Field13 {
  1354. get { return field13_; }
  1355. set {
  1356. field13_ = value;
  1357. }
  1358. }
  1359. /// <summary>Field number for the "field14" field.</summary>
  1360. public const int Field14FieldNumber = 14;
  1361. private long field14_;
  1362. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1363. public long Field14 {
  1364. get { return field14_; }
  1365. set {
  1366. field14_ = value;
  1367. }
  1368. }
  1369. /// <summary>Field number for the "field16" field.</summary>
  1370. public const int Field16FieldNumber = 16;
  1371. private int field16_;
  1372. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1373. public int Field16 {
  1374. get { return field16_; }
  1375. set {
  1376. field16_ = value;
  1377. }
  1378. }
  1379. /// <summary>Field number for the "field19" field.</summary>
  1380. public const int Field19FieldNumber = 19;
  1381. private int field19_;
  1382. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1383. public int Field19 {
  1384. get { return field19_; }
  1385. set {
  1386. field19_ = value;
  1387. }
  1388. }
  1389. /// <summary>Field number for the "field20" field.</summary>
  1390. public const int Field20FieldNumber = 20;
  1391. private bool field20_;
  1392. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1393. public bool Field20 {
  1394. get { return field20_; }
  1395. set {
  1396. field20_ = value;
  1397. }
  1398. }
  1399. /// <summary>Field number for the "field28" field.</summary>
  1400. public const int Field28FieldNumber = 28;
  1401. private bool field28_;
  1402. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1403. public bool Field28 {
  1404. get { return field28_; }
  1405. set {
  1406. field28_ = value;
  1407. }
  1408. }
  1409. /// <summary>Field number for the "field21" field.</summary>
  1410. public const int Field21FieldNumber = 21;
  1411. private ulong field21_;
  1412. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1413. public ulong Field21 {
  1414. get { return field21_; }
  1415. set {
  1416. field21_ = value;
  1417. }
  1418. }
  1419. /// <summary>Field number for the "field22" field.</summary>
  1420. public const int Field22FieldNumber = 22;
  1421. private int field22_;
  1422. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1423. public int Field22 {
  1424. get { return field22_; }
  1425. set {
  1426. field22_ = value;
  1427. }
  1428. }
  1429. /// <summary>Field number for the "field23" field.</summary>
  1430. public const int Field23FieldNumber = 23;
  1431. private bool field23_;
  1432. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1433. public bool Field23 {
  1434. get { return field23_; }
  1435. set {
  1436. field23_ = value;
  1437. }
  1438. }
  1439. /// <summary>Field number for the "field206" field.</summary>
  1440. public const int Field206FieldNumber = 206;
  1441. private bool field206_;
  1442. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1443. public bool Field206 {
  1444. get { return field206_; }
  1445. set {
  1446. field206_ = value;
  1447. }
  1448. }
  1449. /// <summary>Field number for the "field203" field.</summary>
  1450. public const int Field203FieldNumber = 203;
  1451. private uint field203_;
  1452. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1453. public uint Field203 {
  1454. get { return field203_; }
  1455. set {
  1456. field203_ = value;
  1457. }
  1458. }
  1459. /// <summary>Field number for the "field204" field.</summary>
  1460. public const int Field204FieldNumber = 204;
  1461. private int field204_;
  1462. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1463. public int Field204 {
  1464. get { return field204_; }
  1465. set {
  1466. field204_ = value;
  1467. }
  1468. }
  1469. /// <summary>Field number for the "field205" field.</summary>
  1470. public const int Field205FieldNumber = 205;
  1471. private string field205_ = "";
  1472. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1473. public string Field205 {
  1474. get { return field205_; }
  1475. set {
  1476. field205_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
  1477. }
  1478. }
  1479. /// <summary>Field number for the "field207" field.</summary>
  1480. public const int Field207FieldNumber = 207;
  1481. private ulong field207_;
  1482. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1483. public ulong Field207 {
  1484. get { return field207_; }
  1485. set {
  1486. field207_ = value;
  1487. }
  1488. }
  1489. /// <summary>Field number for the "field300" field.</summary>
  1490. public const int Field300FieldNumber = 300;
  1491. private ulong field300_;
  1492. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1493. public ulong Field300 {
  1494. get { return field300_; }
  1495. set {
  1496. field300_ = value;
  1497. }
  1498. }
  1499. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1500. public override bool Equals(object other) {
  1501. return Equals(other as GoogleMessage1SubMessage);
  1502. }
  1503. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1504. public bool Equals(GoogleMessage1SubMessage other) {
  1505. if (ReferenceEquals(other, null)) {
  1506. return false;
  1507. }
  1508. if (ReferenceEquals(other, this)) {
  1509. return true;
  1510. }
  1511. if (Field1 != other.Field1) return false;
  1512. if (Field2 != other.Field2) return false;
  1513. if (Field3 != other.Field3) return false;
  1514. if (Field15 != other.Field15) return false;
  1515. if (Field12 != other.Field12) return false;
  1516. if (Field13 != other.Field13) return false;
  1517. if (Field14 != other.Field14) return false;
  1518. if (Field16 != other.Field16) return false;
  1519. if (Field19 != other.Field19) return false;
  1520. if (Field20 != other.Field20) return false;
  1521. if (Field28 != other.Field28) return false;
  1522. if (Field21 != other.Field21) return false;
  1523. if (Field22 != other.Field22) return false;
  1524. if (Field23 != other.Field23) return false;
  1525. if (Field206 != other.Field206) return false;
  1526. if (Field203 != other.Field203) return false;
  1527. if (Field204 != other.Field204) return false;
  1528. if (Field205 != other.Field205) return false;
  1529. if (Field207 != other.Field207) return false;
  1530. if (Field300 != other.Field300) return false;
  1531. return Equals(_unknownFields, other._unknownFields);
  1532. }
  1533. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1534. public override int GetHashCode() {
  1535. int hash = 1;
  1536. if (Field1 != 0) hash ^= Field1.GetHashCode();
  1537. if (Field2 != 0) hash ^= Field2.GetHashCode();
  1538. if (Field3 != 0) hash ^= Field3.GetHashCode();
  1539. if (Field15.Length != 0) hash ^= Field15.GetHashCode();
  1540. if (Field12 != false) hash ^= Field12.GetHashCode();
  1541. if (Field13 != 0L) hash ^= Field13.GetHashCode();
  1542. if (Field14 != 0L) hash ^= Field14.GetHashCode();
  1543. if (Field16 != 0) hash ^= Field16.GetHashCode();
  1544. if (Field19 != 0) hash ^= Field19.GetHashCode();
  1545. if (Field20 != false) hash ^= Field20.GetHashCode();
  1546. if (Field28 != false) hash ^= Field28.GetHashCode();
  1547. if (Field21 != 0UL) hash ^= Field21.GetHashCode();
  1548. if (Field22 != 0) hash ^= Field22.GetHashCode();
  1549. if (Field23 != false) hash ^= Field23.GetHashCode();
  1550. if (Field206 != false) hash ^= Field206.GetHashCode();
  1551. if (Field203 != 0) hash ^= Field203.GetHashCode();
  1552. if (Field204 != 0) hash ^= Field204.GetHashCode();
  1553. if (Field205.Length != 0) hash ^= Field205.GetHashCode();
  1554. if (Field207 != 0UL) hash ^= Field207.GetHashCode();
  1555. if (Field300 != 0UL) hash ^= Field300.GetHashCode();
  1556. if (_unknownFields != null) {
  1557. hash ^= _unknownFields.GetHashCode();
  1558. }
  1559. return hash;
  1560. }
  1561. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1562. public override string ToString() {
  1563. return pb::JsonFormatter.ToDiagnosticString(this);
  1564. }
  1565. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1566. public void WriteTo(pb::CodedOutputStream output) {
  1567. if (Field1 != 0) {
  1568. output.WriteRawTag(8);
  1569. output.WriteInt32(Field1);
  1570. }
  1571. if (Field2 != 0) {
  1572. output.WriteRawTag(16);
  1573. output.WriteInt32(Field2);
  1574. }
  1575. if (Field3 != 0) {
  1576. output.WriteRawTag(24);
  1577. output.WriteInt32(Field3);
  1578. }
  1579. if (Field12 != false) {
  1580. output.WriteRawTag(96);
  1581. output.WriteBool(Field12);
  1582. }
  1583. if (Field13 != 0L) {
  1584. output.WriteRawTag(104);
  1585. output.WriteInt64(Field13);
  1586. }
  1587. if (Field14 != 0L) {
  1588. output.WriteRawTag(112);
  1589. output.WriteInt64(Field14);
  1590. }
  1591. if (Field15.Length != 0) {
  1592. output.WriteRawTag(122);
  1593. output.WriteString(Field15);
  1594. }
  1595. if (Field16 != 0) {
  1596. output.WriteRawTag(128, 1);
  1597. output.WriteInt32(Field16);
  1598. }
  1599. if (Field19 != 0) {
  1600. output.WriteRawTag(152, 1);
  1601. output.WriteInt32(Field19);
  1602. }
  1603. if (Field20 != false) {
  1604. output.WriteRawTag(160, 1);
  1605. output.WriteBool(Field20);
  1606. }
  1607. if (Field21 != 0UL) {
  1608. output.WriteRawTag(169, 1);
  1609. output.WriteFixed64(Field21);
  1610. }
  1611. if (Field22 != 0) {
  1612. output.WriteRawTag(176, 1);
  1613. output.WriteInt32(Field22);
  1614. }
  1615. if (Field23 != false) {
  1616. output.WriteRawTag(184, 1);
  1617. output.WriteBool(Field23);
  1618. }
  1619. if (Field28 != false) {
  1620. output.WriteRawTag(224, 1);
  1621. output.WriteBool(Field28);
  1622. }
  1623. if (Field203 != 0) {
  1624. output.WriteRawTag(221, 12);
  1625. output.WriteFixed32(Field203);
  1626. }
  1627. if (Field204 != 0) {
  1628. output.WriteRawTag(224, 12);
  1629. output.WriteInt32(Field204);
  1630. }
  1631. if (Field205.Length != 0) {
  1632. output.WriteRawTag(234, 12);
  1633. output.WriteString(Field205);
  1634. }
  1635. if (Field206 != false) {
  1636. output.WriteRawTag(240, 12);
  1637. output.WriteBool(Field206);
  1638. }
  1639. if (Field207 != 0UL) {
  1640. output.WriteRawTag(248, 12);
  1641. output.WriteUInt64(Field207);
  1642. }
  1643. if (Field300 != 0UL) {
  1644. output.WriteRawTag(224, 18);
  1645. output.WriteUInt64(Field300);
  1646. }
  1647. if (_unknownFields != null) {
  1648. _unknownFields.WriteTo(output);
  1649. }
  1650. }
  1651. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1652. public int CalculateSize() {
  1653. int size = 0;
  1654. if (Field1 != 0) {
  1655. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field1);
  1656. }
  1657. if (Field2 != 0) {
  1658. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field2);
  1659. }
  1660. if (Field3 != 0) {
  1661. size += 1 + pb::CodedOutputStream.ComputeInt32Size(Field3);
  1662. }
  1663. if (Field15.Length != 0) {
  1664. size += 1 + pb::CodedOutputStream.ComputeStringSize(Field15);
  1665. }
  1666. if (Field12 != false) {
  1667. size += 1 + 1;
  1668. }
  1669. if (Field13 != 0L) {
  1670. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Field13);
  1671. }
  1672. if (Field14 != 0L) {
  1673. size += 1 + pb::CodedOutputStream.ComputeInt64Size(Field14);
  1674. }
  1675. if (Field16 != 0) {
  1676. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field16);
  1677. }
  1678. if (Field19 != 0) {
  1679. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field19);
  1680. }
  1681. if (Field20 != false) {
  1682. size += 2 + 1;
  1683. }
  1684. if (Field28 != false) {
  1685. size += 2 + 1;
  1686. }
  1687. if (Field21 != 0UL) {
  1688. size += 2 + 8;
  1689. }
  1690. if (Field22 != 0) {
  1691. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field22);
  1692. }
  1693. if (Field23 != false) {
  1694. size += 2 + 1;
  1695. }
  1696. if (Field206 != false) {
  1697. size += 2 + 1;
  1698. }
  1699. if (Field203 != 0) {
  1700. size += 2 + 4;
  1701. }
  1702. if (Field204 != 0) {
  1703. size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field204);
  1704. }
  1705. if (Field205.Length != 0) {
  1706. size += 2 + pb::CodedOutputStream.ComputeStringSize(Field205);
  1707. }
  1708. if (Field207 != 0UL) {
  1709. size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Field207);
  1710. }
  1711. if (Field300 != 0UL) {
  1712. size += 2 + pb::CodedOutputStream.ComputeUInt64Size(Field300);
  1713. }
  1714. if (_unknownFields != null) {
  1715. size += _unknownFields.CalculateSize();
  1716. }
  1717. return size;
  1718. }
  1719. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1720. public void MergeFrom(GoogleMessage1SubMessage other) {
  1721. if (other == null) {
  1722. return;
  1723. }
  1724. if (other.Field1 != 0) {
  1725. Field1 = other.Field1;
  1726. }
  1727. if (other.Field2 != 0) {
  1728. Field2 = other.Field2;
  1729. }
  1730. if (other.Field3 != 0) {
  1731. Field3 = other.Field3;
  1732. }
  1733. if (other.Field15.Length != 0) {
  1734. Field15 = other.Field15;
  1735. }
  1736. if (other.Field12 != false) {
  1737. Field12 = other.Field12;
  1738. }
  1739. if (other.Field13 != 0L) {
  1740. Field13 = other.Field13;
  1741. }
  1742. if (other.Field14 != 0L) {
  1743. Field14 = other.Field14;
  1744. }
  1745. if (other.Field16 != 0) {
  1746. Field16 = other.Field16;
  1747. }
  1748. if (other.Field19 != 0) {
  1749. Field19 = other.Field19;
  1750. }
  1751. if (other.Field20 != false) {
  1752. Field20 = other.Field20;
  1753. }
  1754. if (other.Field28 != false) {
  1755. Field28 = other.Field28;
  1756. }
  1757. if (other.Field21 != 0UL) {
  1758. Field21 = other.Field21;
  1759. }
  1760. if (other.Field22 != 0) {
  1761. Field22 = other.Field22;
  1762. }
  1763. if (other.Field23 != false) {
  1764. Field23 = other.Field23;
  1765. }
  1766. if (other.Field206 != false) {
  1767. Field206 = other.Field206;
  1768. }
  1769. if (other.Field203 != 0) {
  1770. Field203 = other.Field203;
  1771. }
  1772. if (other.Field204 != 0) {
  1773. Field204 = other.Field204;
  1774. }
  1775. if (other.Field205.Length != 0) {
  1776. Field205 = other.Field205;
  1777. }
  1778. if (other.Field207 != 0UL) {
  1779. Field207 = other.Field207;
  1780. }
  1781. if (other.Field300 != 0UL) {
  1782. Field300 = other.Field300;
  1783. }
  1784. _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
  1785. }
  1786. [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
  1787. public void MergeFrom(pb::CodedInputStream input) {
  1788. uint tag;
  1789. while ((tag = input.ReadTag()) != 0) {
  1790. switch(tag) {
  1791. default:
  1792. _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
  1793. break;
  1794. case 8: {
  1795. Field1 = input.ReadInt32();
  1796. break;
  1797. }
  1798. case 16: {
  1799. Field2 = input.ReadInt32();
  1800. break;
  1801. }
  1802. case 24: {
  1803. Field3 = input.ReadInt32();
  1804. break;
  1805. }
  1806. case 96: {
  1807. Field12 = input.ReadBool();
  1808. break;
  1809. }
  1810. case 104: {
  1811. Field13 = input.ReadInt64();
  1812. break;
  1813. }
  1814. case 112: {
  1815. Field14 = input.ReadInt64();
  1816. break;
  1817. }
  1818. case 122: {
  1819. Field15 = input.ReadString();
  1820. break;
  1821. }
  1822. case 128: {
  1823. Field16 = input.ReadInt32();
  1824. break;
  1825. }
  1826. case 152: {
  1827. Field19 = input.ReadInt32();
  1828. break;
  1829. }
  1830. case 160: {
  1831. Field20 = input.ReadBool();
  1832. break;
  1833. }
  1834. case 169: {
  1835. Field21 = input.ReadFixed64();
  1836. break;
  1837. }
  1838. case 176: {
  1839. Field22 = input.ReadInt32();
  1840. break;
  1841. }
  1842. case 184: {
  1843. Field23 = input.ReadBool();
  1844. break;
  1845. }
  1846. case 224: {
  1847. Field28 = input.ReadBool();
  1848. break;
  1849. }
  1850. case 1629: {
  1851. Field203 = input.ReadFixed32();
  1852. break;
  1853. }
  1854. case 1632: {
  1855. Field204 = input.ReadInt32();
  1856. break;
  1857. }
  1858. case 1642: {
  1859. Field205 = input.ReadString();
  1860. break;
  1861. }
  1862. case 1648: {
  1863. Field206 = input.ReadBool();
  1864. break;
  1865. }
  1866. case 1656: {
  1867. Field207 = input.ReadUInt64();
  1868. break;
  1869. }
  1870. case 2400: {
  1871. Field300 = input.ReadUInt64();
  1872. break;
  1873. }
  1874. }
  1875. }
  1876. }
  1877. }
  1878. #endregion
  1879. }
  1880. #endregion Designer generated code