• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: conformance.proto
3 #pragma warning disable 1591, 0612, 3021
4 #region Designer generated code
5 
6 using pb = global::Google.Protobuf;
7 using pbc = global::Google.Protobuf.Collections;
8 using pbr = global::Google.Protobuf.Reflection;
9 using scg = global::System.Collections.Generic;
10 namespace Conformance {
11 
12   /// <summary>Holder for reflection information generated from conformance.proto</summary>
13   public static partial class ConformanceReflection {
14 
15     #region Descriptor
16     /// <summary>File descriptor for conformance.proto</summary>
17     public static pbr::FileDescriptor Descriptor {
18       get { return descriptor; }
19     }
20     private static pbr::FileDescriptor descriptor;
21 
ConformanceReflection()22     static ConformanceReflection() {
23       byte[] descriptorData = global::System.Convert.FromBase64String(
24           string.Concat(
25             "ChFjb25mb3JtYW5jZS5wcm90bxILY29uZm9ybWFuY2UaGWdvb2dsZS9wcm90",
26             "b2J1Zi9hbnkucHJvdG8aHmdvb2dsZS9wcm90b2J1Zi9kdXJhdGlvbi5wcm90",
27             "bxogZ29vZ2xlL3Byb3RvYnVmL2ZpZWxkX21hc2sucHJvdG8aHGdvb2dsZS9w",
28             "cm90b2J1Zi9zdHJ1Y3QucHJvdG8aH2dvb2dsZS9wcm90b2J1Zi90aW1lc3Rh",
29             "bXAucHJvdG8aHmdvb2dsZS9wcm90b2J1Zi93cmFwcGVycy5wcm90byKNAQoS",
30             "Q29uZm9ybWFuY2VSZXF1ZXN0EhoKEHByb3RvYnVmX3BheWxvYWQYASABKAxI",
31             "ABIWCgxqc29uX3BheWxvYWQYAiABKAlIABI4ChdyZXF1ZXN0ZWRfb3V0cHV0",
32             "X2Zvcm1hdBgDIAEoDjIXLmNvbmZvcm1hbmNlLldpcmVGb3JtYXRCCQoHcGF5",
33             "bG9hZCKxAQoTQ29uZm9ybWFuY2VSZXNwb25zZRIVCgtwYXJzZV9lcnJvchgB",
34             "IAEoCUgAEhkKD3NlcmlhbGl6ZV9lcnJvchgGIAEoCUgAEhcKDXJ1bnRpbWVf",
35             "ZXJyb3IYAiABKAlIABIaChBwcm90b2J1Zl9wYXlsb2FkGAMgASgMSAASFgoM",
36             "anNvbl9wYXlsb2FkGAQgASgJSAASEQoHc2tpcHBlZBgFIAEoCUgAQggKBnJl",
37             "c3VsdCLVMgoMVGVzdEFsbFR5cGVzEhYKDm9wdGlvbmFsX2ludDMyGAEgASgF",
38             "EhYKDm9wdGlvbmFsX2ludDY0GAIgASgDEhcKD29wdGlvbmFsX3VpbnQzMhgD",
39             "IAEoDRIXCg9vcHRpb25hbF91aW50NjQYBCABKAQSFwoPb3B0aW9uYWxfc2lu",
40             "dDMyGAUgASgREhcKD29wdGlvbmFsX3NpbnQ2NBgGIAEoEhIYChBvcHRpb25h",
41             "bF9maXhlZDMyGAcgASgHEhgKEG9wdGlvbmFsX2ZpeGVkNjQYCCABKAYSGQoR",
42             "b3B0aW9uYWxfc2ZpeGVkMzIYCSABKA8SGQoRb3B0aW9uYWxfc2ZpeGVkNjQY",
43             "CiABKBASFgoOb3B0aW9uYWxfZmxvYXQYCyABKAISFwoPb3B0aW9uYWxfZG91",
44             "YmxlGAwgASgBEhUKDW9wdGlvbmFsX2Jvb2wYDSABKAgSFwoPb3B0aW9uYWxf",
45             "c3RyaW5nGA4gASgJEhYKDm9wdGlvbmFsX2J5dGVzGA8gASgMEkgKF29wdGlv",
46             "bmFsX25lc3RlZF9tZXNzYWdlGBIgASgLMicuY29uZm9ybWFuY2UuVGVzdEFs",
47             "bFR5cGVzLk5lc3RlZE1lc3NhZ2USPQoYb3B0aW9uYWxfZm9yZWlnbl9tZXNz",
48             "YWdlGBMgASgLMhsuY29uZm9ybWFuY2UuRm9yZWlnbk1lc3NhZ2USQgoUb3B0",
49             "aW9uYWxfbmVzdGVkX2VudW0YFSABKA4yJC5jb25mb3JtYW5jZS5UZXN0QWxs",
50             "VHlwZXMuTmVzdGVkRW51bRI3ChVvcHRpb25hbF9mb3JlaWduX2VudW0YFiAB",
51             "KA4yGC5jb25mb3JtYW5jZS5Gb3JlaWduRW51bRIhChVvcHRpb25hbF9zdHJp",
52             "bmdfcGllY2UYGCABKAlCAggCEhkKDW9wdGlvbmFsX2NvcmQYGSABKAlCAggB",
53             "EjQKEXJlY3Vyc2l2ZV9tZXNzYWdlGBsgASgLMhkuY29uZm9ybWFuY2UuVGVz",
54             "dEFsbFR5cGVzEhYKDnJlcGVhdGVkX2ludDMyGB8gAygFEhYKDnJlcGVhdGVk",
55             "X2ludDY0GCAgAygDEhcKD3JlcGVhdGVkX3VpbnQzMhghIAMoDRIXCg9yZXBl",
56             "YXRlZF91aW50NjQYIiADKAQSFwoPcmVwZWF0ZWRfc2ludDMyGCMgAygREhcK",
57             "D3JlcGVhdGVkX3NpbnQ2NBgkIAMoEhIYChByZXBlYXRlZF9maXhlZDMyGCUg",
58             "AygHEhgKEHJlcGVhdGVkX2ZpeGVkNjQYJiADKAYSGQoRcmVwZWF0ZWRfc2Zp",
59             "eGVkMzIYJyADKA8SGQoRcmVwZWF0ZWRfc2ZpeGVkNjQYKCADKBASFgoOcmVw",
60             "ZWF0ZWRfZmxvYXQYKSADKAISFwoPcmVwZWF0ZWRfZG91YmxlGCogAygBEhUK",
61             "DXJlcGVhdGVkX2Jvb2wYKyADKAgSFwoPcmVwZWF0ZWRfc3RyaW5nGCwgAygJ",
62             "EhYKDnJlcGVhdGVkX2J5dGVzGC0gAygMEkgKF3JlcGVhdGVkX25lc3RlZF9t",
63             "ZXNzYWdlGDAgAygLMicuY29uZm9ybWFuY2UuVGVzdEFsbFR5cGVzLk5lc3Rl",
64             "ZE1lc3NhZ2USPQoYcmVwZWF0ZWRfZm9yZWlnbl9tZXNzYWdlGDEgAygLMhsu",
65             "Y29uZm9ybWFuY2UuRm9yZWlnbk1lc3NhZ2USQgoUcmVwZWF0ZWRfbmVzdGVk",
66             "X2VudW0YMyADKA4yJC5jb25mb3JtYW5jZS5UZXN0QWxsVHlwZXMuTmVzdGVk",
67             "RW51bRI3ChVyZXBlYXRlZF9mb3JlaWduX2VudW0YNCADKA4yGC5jb25mb3Jt",
68             "YW5jZS5Gb3JlaWduRW51bRIhChVyZXBlYXRlZF9zdHJpbmdfcGllY2UYNiAD",
69             "KAlCAggCEhkKDXJlcGVhdGVkX2NvcmQYNyADKAlCAggBEkUKD21hcF9pbnQz",
70             "Ml9pbnQzMhg4IAMoCzIsLmNvbmZvcm1hbmNlLlRlc3RBbGxUeXBlcy5NYXBJ",
71             "bnQzMkludDMyRW50cnkSRQoPbWFwX2ludDY0X2ludDY0GDkgAygLMiwuY29u",
72             "Zm9ybWFuY2UuVGVzdEFsbFR5cGVzLk1hcEludDY0SW50NjRFbnRyeRJJChFt",
73             "YXBfdWludDMyX3VpbnQzMhg6IAMoCzIuLmNvbmZvcm1hbmNlLlRlc3RBbGxU",
74             "eXBlcy5NYXBVaW50MzJVaW50MzJFbnRyeRJJChFtYXBfdWludDY0X3VpbnQ2",
75             "NBg7IAMoCzIuLmNvbmZvcm1hbmNlLlRlc3RBbGxUeXBlcy5NYXBVaW50NjRV",
76             "aW50NjRFbnRyeRJJChFtYXBfc2ludDMyX3NpbnQzMhg8IAMoCzIuLmNvbmZv",
77             "cm1hbmNlLlRlc3RBbGxUeXBlcy5NYXBTaW50MzJTaW50MzJFbnRyeRJJChFt",
78             "YXBfc2ludDY0X3NpbnQ2NBg9IAMoCzIuLmNvbmZvcm1hbmNlLlRlc3RBbGxU",
79             "eXBlcy5NYXBTaW50NjRTaW50NjRFbnRyeRJNChNtYXBfZml4ZWQzMl9maXhl",
80             "ZDMyGD4gAygLMjAuY29uZm9ybWFuY2UuVGVzdEFsbFR5cGVzLk1hcEZpeGVk",
81             "MzJGaXhlZDMyRW50cnkSTQoTbWFwX2ZpeGVkNjRfZml4ZWQ2NBg/IAMoCzIw",
82             "LmNvbmZvcm1hbmNlLlRlc3RBbGxUeXBlcy5NYXBGaXhlZDY0Rml4ZWQ2NEVu",
83             "dHJ5ElEKFW1hcF9zZml4ZWQzMl9zZml4ZWQzMhhAIAMoCzIyLmNvbmZvcm1h",
84             "bmNlLlRlc3RBbGxUeXBlcy5NYXBTZml4ZWQzMlNmaXhlZDMyRW50cnkSUQoV",
85             "bWFwX3NmaXhlZDY0X3NmaXhlZDY0GEEgAygLMjIuY29uZm9ybWFuY2UuVGVz",
86             "dEFsbFR5cGVzLk1hcFNmaXhlZDY0U2ZpeGVkNjRFbnRyeRJFCg9tYXBfaW50",
87             "MzJfZmxvYXQYQiADKAsyLC5jb25mb3JtYW5jZS5UZXN0QWxsVHlwZXMuTWFw",
88             "SW50MzJGbG9hdEVudHJ5EkcKEG1hcF9pbnQzMl9kb3VibGUYQyADKAsyLS5j",
89             "b25mb3JtYW5jZS5UZXN0QWxsVHlwZXMuTWFwSW50MzJEb3VibGVFbnRyeRJB",
90             "Cg1tYXBfYm9vbF9ib29sGEQgAygLMiouY29uZm9ybWFuY2UuVGVzdEFsbFR5",
91             "cGVzLk1hcEJvb2xCb29sRW50cnkSSQoRbWFwX3N0cmluZ19zdHJpbmcYRSAD",
92             "KAsyLi5jb25mb3JtYW5jZS5UZXN0QWxsVHlwZXMuTWFwU3RyaW5nU3RyaW5n",
93             "RW50cnkSRwoQbWFwX3N0cmluZ19ieXRlcxhGIAMoCzItLmNvbmZvcm1hbmNl",
94             "LlRlc3RBbGxUeXBlcy5NYXBTdHJpbmdCeXRlc0VudHJ5ElgKGW1hcF9zdHJp",
95             "bmdfbmVzdGVkX21lc3NhZ2UYRyADKAsyNS5jb25mb3JtYW5jZS5UZXN0QWxs",
96             "VHlwZXMuTWFwU3RyaW5nTmVzdGVkTWVzc2FnZUVudHJ5EloKGm1hcF9zdHJp",
97             "bmdfZm9yZWlnbl9tZXNzYWdlGEggAygLMjYuY29uZm9ybWFuY2UuVGVzdEFs",
98             "bFR5cGVzLk1hcFN0cmluZ0ZvcmVpZ25NZXNzYWdlRW50cnkSUgoWbWFwX3N0",
99             "cmluZ19uZXN0ZWRfZW51bRhJIAMoCzIyLmNvbmZvcm1hbmNlLlRlc3RBbGxU",
100             "eXBlcy5NYXBTdHJpbmdOZXN0ZWRFbnVtRW50cnkSVAoXbWFwX3N0cmluZ19m",
101             "b3JlaWduX2VudW0YSiADKAsyMy5jb25mb3JtYW5jZS5UZXN0QWxsVHlwZXMu",
102             "TWFwU3RyaW5nRm9yZWlnbkVudW1FbnRyeRIWCgxvbmVvZl91aW50MzIYbyAB",
103             "KA1IABJHChRvbmVvZl9uZXN0ZWRfbWVzc2FnZRhwIAEoCzInLmNvbmZvcm1h",
104             "bmNlLlRlc3RBbGxUeXBlcy5OZXN0ZWRNZXNzYWdlSAASFgoMb25lb2Zfc3Ry",
105             "aW5nGHEgASgJSAASFQoLb25lb2ZfYnl0ZXMYciABKAxIABI6ChVvcHRpb25h",
106             "bF9ib29sX3dyYXBwZXIYyQEgASgLMhouZ29vZ2xlLnByb3RvYnVmLkJvb2xW",
107             "YWx1ZRI8ChZvcHRpb25hbF9pbnQzMl93cmFwcGVyGMoBIAEoCzIbLmdvb2ds",
108             "ZS5wcm90b2J1Zi5JbnQzMlZhbHVlEjwKFm9wdGlvbmFsX2ludDY0X3dyYXBw",
109             "ZXIYywEgASgLMhsuZ29vZ2xlLnByb3RvYnVmLkludDY0VmFsdWUSPgoXb3B0",
110             "aW9uYWxfdWludDMyX3dyYXBwZXIYzAEgASgLMhwuZ29vZ2xlLnByb3RvYnVm",
111             "LlVJbnQzMlZhbHVlEj4KF29wdGlvbmFsX3VpbnQ2NF93cmFwcGVyGM0BIAEo",
112             "CzIcLmdvb2dsZS5wcm90b2J1Zi5VSW50NjRWYWx1ZRI8ChZvcHRpb25hbF9m",
113             "bG9hdF93cmFwcGVyGM4BIAEoCzIbLmdvb2dsZS5wcm90b2J1Zi5GbG9hdFZh",
114             "bHVlEj4KF29wdGlvbmFsX2RvdWJsZV93cmFwcGVyGM8BIAEoCzIcLmdvb2ds",
115             "ZS5wcm90b2J1Zi5Eb3VibGVWYWx1ZRI+ChdvcHRpb25hbF9zdHJpbmdfd3Jh",
116             "cHBlchjQASABKAsyHC5nb29nbGUucHJvdG9idWYuU3RyaW5nVmFsdWUSPAoW",
117             "b3B0aW9uYWxfYnl0ZXNfd3JhcHBlchjRASABKAsyGy5nb29nbGUucHJvdG9i",
118             "dWYuQnl0ZXNWYWx1ZRI6ChVyZXBlYXRlZF9ib29sX3dyYXBwZXIY0wEgAygL",
119             "MhouZ29vZ2xlLnByb3RvYnVmLkJvb2xWYWx1ZRI8ChZyZXBlYXRlZF9pbnQz",
120             "Ml93cmFwcGVyGNQBIAMoCzIbLmdvb2dsZS5wcm90b2J1Zi5JbnQzMlZhbHVl",
121             "EjwKFnJlcGVhdGVkX2ludDY0X3dyYXBwZXIY1QEgAygLMhsuZ29vZ2xlLnBy",
122             "b3RvYnVmLkludDY0VmFsdWUSPgoXcmVwZWF0ZWRfdWludDMyX3dyYXBwZXIY",
123             "1gEgAygLMhwuZ29vZ2xlLnByb3RvYnVmLlVJbnQzMlZhbHVlEj4KF3JlcGVh",
124             "dGVkX3VpbnQ2NF93cmFwcGVyGNcBIAMoCzIcLmdvb2dsZS5wcm90b2J1Zi5V",
125             "SW50NjRWYWx1ZRI8ChZyZXBlYXRlZF9mbG9hdF93cmFwcGVyGNgBIAMoCzIb",
126             "Lmdvb2dsZS5wcm90b2J1Zi5GbG9hdFZhbHVlEj4KF3JlcGVhdGVkX2RvdWJs",
127             "ZV93cmFwcGVyGNkBIAMoCzIcLmdvb2dsZS5wcm90b2J1Zi5Eb3VibGVWYWx1",
128             "ZRI+ChdyZXBlYXRlZF9zdHJpbmdfd3JhcHBlchjaASADKAsyHC5nb29nbGUu",
129             "cHJvdG9idWYuU3RyaW5nVmFsdWUSPAoWcmVwZWF0ZWRfYnl0ZXNfd3JhcHBl",
130             "chjbASADKAsyGy5nb29nbGUucHJvdG9idWYuQnl0ZXNWYWx1ZRI1ChFvcHRp",
131             "b25hbF9kdXJhdGlvbhitAiABKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRp",
132             "b24SNwoSb3B0aW9uYWxfdGltZXN0YW1wGK4CIAEoCzIaLmdvb2dsZS5wcm90",
133             "b2J1Zi5UaW1lc3RhbXASOAoTb3B0aW9uYWxfZmllbGRfbWFzaxivAiABKAsy",
134             "Gi5nb29nbGUucHJvdG9idWYuRmllbGRNYXNrEjEKD29wdGlvbmFsX3N0cnVj",
135             "dBiwAiABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0EisKDG9wdGlvbmFs",
136             "X2FueRixAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55Ei8KDm9wdGlvbmFs",
137             "X3ZhbHVlGLICIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZRI1ChFyZXBl",
138             "YXRlZF9kdXJhdGlvbhi3AiADKAsyGS5nb29nbGUucHJvdG9idWYuRHVyYXRp",
139             "b24SNwoScmVwZWF0ZWRfdGltZXN0YW1wGLgCIAMoCzIaLmdvb2dsZS5wcm90",
140             "b2J1Zi5UaW1lc3RhbXASNwoScmVwZWF0ZWRfZmllbGRtYXNrGLkCIAMoCzIa",
141             "Lmdvb2dsZS5wcm90b2J1Zi5GaWVsZE1hc2sSMQoPcmVwZWF0ZWRfc3RydWN0",
142             "GMQCIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSKwoMcmVwZWF0ZWRf",
143             "YW55GLsCIAMoCzIULmdvb2dsZS5wcm90b2J1Zi5BbnkSLwoOcmVwZWF0ZWRf",
144             "dmFsdWUYvAIgAygLMhYuZ29vZ2xlLnByb3RvYnVmLlZhbHVlEhMKCmZpZWxk",
145             "bmFtZTEYkQMgASgFEhQKC2ZpZWxkX25hbWUyGJIDIAEoBRIVCgxfZmllbGRf",
146             "bmFtZTMYkwMgASgFEhYKDWZpZWxkX19uYW1lNF8YlAMgASgFEhQKC2ZpZWxk",
147             "MG5hbWU1GJUDIAEoBRIWCg1maWVsZF8wX25hbWU2GJYDIAEoBRITCgpmaWVs",
148             "ZE5hbWU3GJcDIAEoBRITCgpGaWVsZE5hbWU4GJgDIAEoBRIUCgtmaWVsZF9O",
149             "YW1lORiZAyABKAUSFQoMRmllbGRfTmFtZTEwGJoDIAEoBRIVCgxGSUVMRF9O",
150             "QU1FMTEYmwMgASgFEhUKDEZJRUxEX25hbWUxMhicAyABKAUaSgoNTmVzdGVk",
151             "TWVzc2FnZRIJCgFhGAEgASgFEi4KC2NvcmVjdXJzaXZlGAIgASgLMhkuY29u",
152             "Zm9ybWFuY2UuVGVzdEFsbFR5cGVzGjQKEk1hcEludDMySW50MzJFbnRyeRIL",
153             "CgNrZXkYASABKAUSDQoFdmFsdWUYAiABKAU6AjgBGjQKEk1hcEludDY0SW50",
154             "NjRFbnRyeRILCgNrZXkYASABKAMSDQoFdmFsdWUYAiABKAM6AjgBGjYKFE1h",
155             "cFVpbnQzMlVpbnQzMkVudHJ5EgsKA2tleRgBIAEoDRINCgV2YWx1ZRgCIAEo",
156             "DToCOAEaNgoUTWFwVWludDY0VWludDY0RW50cnkSCwoDa2V5GAEgASgEEg0K",
157             "BXZhbHVlGAIgASgEOgI4ARo2ChRNYXBTaW50MzJTaW50MzJFbnRyeRILCgNr",
158             "ZXkYASABKBESDQoFdmFsdWUYAiABKBE6AjgBGjYKFE1hcFNpbnQ2NFNpbnQ2",
159             "NEVudHJ5EgsKA2tleRgBIAEoEhINCgV2YWx1ZRgCIAEoEjoCOAEaOAoWTWFw",
160             "Rml4ZWQzMkZpeGVkMzJFbnRyeRILCgNrZXkYASABKAcSDQoFdmFsdWUYAiAB",
161             "KAc6AjgBGjgKFk1hcEZpeGVkNjRGaXhlZDY0RW50cnkSCwoDa2V5GAEgASgG",
162             "Eg0KBXZhbHVlGAIgASgGOgI4ARo6ChhNYXBTZml4ZWQzMlNmaXhlZDMyRW50",
163             "cnkSCwoDa2V5GAEgASgPEg0KBXZhbHVlGAIgASgPOgI4ARo6ChhNYXBTZml4",
164             "ZWQ2NFNmaXhlZDY0RW50cnkSCwoDa2V5GAEgASgQEg0KBXZhbHVlGAIgASgQ",
165             "OgI4ARo0ChJNYXBJbnQzMkZsb2F0RW50cnkSCwoDa2V5GAEgASgFEg0KBXZh",
166             "bHVlGAIgASgCOgI4ARo1ChNNYXBJbnQzMkRvdWJsZUVudHJ5EgsKA2tleRgB",
167             "IAEoBRINCgV2YWx1ZRgCIAEoAToCOAEaMgoQTWFwQm9vbEJvb2xFbnRyeRIL",
168             "CgNrZXkYASABKAgSDQoFdmFsdWUYAiABKAg6AjgBGjYKFE1hcFN0cmluZ1N0",
169             "cmluZ0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEaNQoT",
170             "TWFwU3RyaW5nQnl0ZXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiAB",
171             "KAw6AjgBGmYKG01hcFN0cmluZ05lc3RlZE1lc3NhZ2VFbnRyeRILCgNrZXkY",
172             "ASABKAkSNgoFdmFsdWUYAiABKAsyJy5jb25mb3JtYW5jZS5UZXN0QWxsVHlw",
173             "ZXMuTmVzdGVkTWVzc2FnZToCOAEaWwocTWFwU3RyaW5nRm9yZWlnbk1lc3Nh",
174             "Z2VFbnRyeRILCgNrZXkYASABKAkSKgoFdmFsdWUYAiABKAsyGy5jb25mb3Jt",
175             "YW5jZS5Gb3JlaWduTWVzc2FnZToCOAEaYAoYTWFwU3RyaW5nTmVzdGVkRW51",
176             "bUVudHJ5EgsKA2tleRgBIAEoCRIzCgV2YWx1ZRgCIAEoDjIkLmNvbmZvcm1h",
177             "bmNlLlRlc3RBbGxUeXBlcy5OZXN0ZWRFbnVtOgI4ARpVChlNYXBTdHJpbmdG",
178             "b3JlaWduRW51bUVudHJ5EgsKA2tleRgBIAEoCRInCgV2YWx1ZRgCIAEoDjIY",
179             "LmNvbmZvcm1hbmNlLkZvcmVpZ25FbnVtOgI4ASI5CgpOZXN0ZWRFbnVtEgcK",
180             "A0ZPTxAAEgcKA0JBUhABEgcKA0JBWhACEhAKA05FRxD///////////8BQg0K",
181             "C29uZW9mX2ZpZWxkIhsKDkZvcmVpZ25NZXNzYWdlEgkKAWMYASABKAUqNQoK",
182             "V2lyZUZvcm1hdBIPCgtVTlNQRUNJRklFRBAAEgwKCFBST1RPQlVGEAESCAoE",
183             "SlNPThACKkAKC0ZvcmVpZ25FbnVtEg8KC0ZPUkVJR05fRk9PEAASDwoLRk9S",
184             "RUlHTl9CQVIQARIPCgtGT1JFSUdOX0JBWhACQiEKH2NvbS5nb29nbGUucHJv",
185             "dG9idWYuY29uZm9ybWFuY2ViBnByb3RvMw=="));
186       descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
187           new pbr::FileDescriptor[] { global::Google.Protobuf.WellKnownTypes.AnyReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.DurationReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.FieldMaskReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.StructReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.TimestampReflection.Descriptor, global::Google.Protobuf.WellKnownTypes.WrappersReflection.Descriptor, },
188           new pbr::GeneratedClrTypeInfo(new[] {typeof(global::Conformance.WireFormat), typeof(global::Conformance.ForeignEnum), }, new pbr::GeneratedClrTypeInfo[] {
189             new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceRequest), global::Conformance.ConformanceRequest.Parser, new[]{ "ProtobufPayload", "JsonPayload", "RequestedOutputFormat" }, new[]{ "Payload" }, null, null),
190             new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ConformanceResponse), global::Conformance.ConformanceResponse.Parser, new[]{ "ParseError", "SerializeError", "RuntimeError", "ProtobufPayload", "JsonPayload", "Skipped" }, new[]{ "Result" }, null, null),
191             new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.TestAllTypes), global::Conformance.TestAllTypes.Parser, new[]{ "OptionalInt32", "OptionalInt64", "OptionalUint32", "OptionalUint64", "OptionalSint32", "OptionalSint64", "OptionalFixed32", "OptionalFixed64", "OptionalSfixed32", "OptionalSfixed64", "OptionalFloat", "OptionalDouble", "OptionalBool", "OptionalString", "OptionalBytes", "OptionalNestedMessage", "OptionalForeignMessage", "OptionalNestedEnum", "OptionalForeignEnum", "OptionalStringPiece", "OptionalCord", "RecursiveMessage", "RepeatedInt32", "RepeatedInt64", "RepeatedUint32", "RepeatedUint64", "RepeatedSint32", "RepeatedSint64", "RepeatedFixed32", "RepeatedFixed64", "RepeatedSfixed32", "RepeatedSfixed64", "RepeatedFloat", "RepeatedDouble", "RepeatedBool", "RepeatedString", "RepeatedBytes", "RepeatedNestedMessage", "RepeatedForeignMessage", "RepeatedNestedEnum", "RepeatedForeignEnum", "RepeatedStringPiece", "RepeatedCord", "MapInt32Int32", "MapInt64Int64", "MapUint32Uint32", "MapUint64Uint64", "MapSint32Sint32", "MapSint64Sint64", "MapFixed32Fixed32", "MapFixed64Fixed64", "MapSfixed32Sfixed32", "MapSfixed64Sfixed64", "MapInt32Float", "MapInt32Double", "MapBoolBool", "MapStringString", "MapStringBytes", "MapStringNestedMessage", "MapStringForeignMessage", "MapStringNestedEnum", "MapStringForeignEnum", "OneofUint32", "OneofNestedMessage", "OneofString", "OneofBytes", "OptionalBoolWrapper", "OptionalInt32Wrapper", "OptionalInt64Wrapper", "OptionalUint32Wrapper", "OptionalUint64Wrapper", "OptionalFloatWrapper", "OptionalDoubleWrapper", "OptionalStringWrapper", "OptionalBytesWrapper", "RepeatedBoolWrapper", "RepeatedInt32Wrapper", "RepeatedInt64Wrapper", "RepeatedUint32Wrapper", "RepeatedUint64Wrapper", "RepeatedFloatWrapper", "RepeatedDoubleWrapper", "RepeatedStringWrapper", "RepeatedBytesWrapper", "OptionalDuration", "OptionalTimestamp", "OptionalFieldMask", "OptionalStruct", "OptionalAny", "OptionalValue", "RepeatedDuration", "RepeatedTimestamp", "RepeatedFieldmask", "RepeatedStruct", "RepeatedAny", "RepeatedValue", "Fieldname1", "FieldName2", "FieldName3", "FieldName4", "Field0Name5", "Field0Name6", "FieldName7", "FieldName8", "FieldName9", "FieldName10", "FIELDNAME11", "FIELDName12" }, new[]{ "OneofField" }, new[]{ typeof(global::Conformance.TestAllTypes.Types.NestedEnum) }, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.TestAllTypes.Types.NestedMessage), global::Conformance.TestAllTypes.Types.NestedMessage.Parser, new[]{ "A", "Corecursive" }, null, null, null),
192             null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, }),
193             new pbr::GeneratedClrTypeInfo(typeof(global::Conformance.ForeignMessage), global::Conformance.ForeignMessage.Parser, new[]{ "C" }, null, null, null)
194           }));
195     }
196     #endregion
197 
198   }
199   #region Enums
200   public enum WireFormat {
201     [pbr::OriginalName("UNSPECIFIED")] Unspecified = 0,
202     [pbr::OriginalName("PROTOBUF")] Protobuf = 1,
203     [pbr::OriginalName("JSON")] Json = 2,
204   }
205 
206   public enum ForeignEnum {
207     [pbr::OriginalName("FOREIGN_FOO")] ForeignFoo = 0,
208     [pbr::OriginalName("FOREIGN_BAR")] ForeignBar = 1,
209     [pbr::OriginalName("FOREIGN_BAZ")] ForeignBaz = 2,
210   }
211 
212   #endregion
213 
214   #region Messages
215   /// <summary>
216   ///  Represents a single test case's input.  The testee should:
217   ///
218   ///    1. parse this proto (which should always succeed)
219   ///    2. parse the protobuf or JSON payload in "payload" (which may fail)
220   ///    3. if the parse succeeded, serialize the message in the requested format.
221   /// </summary>
222   public sealed partial class ConformanceRequest : pb::IMessage<ConformanceRequest> {
223     private static readonly pb::MessageParser<ConformanceRequest> _parser = new pb::MessageParser<ConformanceRequest>(() => new ConformanceRequest());
224     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
225     public static pb::MessageParser<ConformanceRequest> Parser { get { return _parser; } }
226 
227     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
228     public static pbr::MessageDescriptor Descriptor {
229       get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[0]; }
230     }
231 
232     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
233     pbr::MessageDescriptor pb::IMessage.Descriptor {
234       get { return Descriptor; }
235     }
236 
237     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ConformanceRequest()238     public ConformanceRequest() {
239       OnConstruction();
240     }
241 
OnConstruction()242     partial void OnConstruction();
243 
244     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ConformanceRequest(ConformanceRequest other)245     public ConformanceRequest(ConformanceRequest other) : this() {
246       requestedOutputFormat_ = other.requestedOutputFormat_;
247       switch (other.PayloadCase) {
248         case PayloadOneofCase.ProtobufPayload:
249           ProtobufPayload = other.ProtobufPayload;
250           break;
251         case PayloadOneofCase.JsonPayload:
252           JsonPayload = other.JsonPayload;
253           break;
254       }
255 
256     }
257 
258     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()259     public ConformanceRequest Clone() {
260       return new ConformanceRequest(this);
261     }
262 
263     /// <summary>Field number for the "protobuf_payload" field.</summary>
264     public const int ProtobufPayloadFieldNumber = 1;
265     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
266     public pb::ByteString ProtobufPayload {
267       get { return payloadCase_ == PayloadOneofCase.ProtobufPayload ? (pb::ByteString) payload_ : pb::ByteString.Empty; }
268       set {
269         payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
270         payloadCase_ = PayloadOneofCase.ProtobufPayload;
271       }
272     }
273 
274     /// <summary>Field number for the "json_payload" field.</summary>
275     public const int JsonPayloadFieldNumber = 2;
276     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
277     public string JsonPayload {
278       get { return payloadCase_ == PayloadOneofCase.JsonPayload ? (string) payload_ : ""; }
279       set {
280         payload_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
281         payloadCase_ = PayloadOneofCase.JsonPayload;
282       }
283     }
284 
285     /// <summary>Field number for the "requested_output_format" field.</summary>
286     public const int RequestedOutputFormatFieldNumber = 3;
287     private global::Conformance.WireFormat requestedOutputFormat_ = 0;
288     /// <summary>
289     ///  Which format should the testee serialize its message to?
290     /// </summary>
291     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
292     public global::Conformance.WireFormat RequestedOutputFormat {
293       get { return requestedOutputFormat_; }
294       set {
295         requestedOutputFormat_ = value;
296       }
297     }
298 
299     private object payload_;
300     /// <summary>Enum of possible cases for the "payload" oneof.</summary>
301     public enum PayloadOneofCase {
302       None = 0,
303       ProtobufPayload = 1,
304       JsonPayload = 2,
305     }
306     private PayloadOneofCase payloadCase_ = PayloadOneofCase.None;
307     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
308     public PayloadOneofCase PayloadCase {
309       get { return payloadCase_; }
310     }
311 
312     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ClearPayload()313     public void ClearPayload() {
314       payloadCase_ = PayloadOneofCase.None;
315       payload_ = null;
316     }
317 
318     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)319     public override bool Equals(object other) {
320       return Equals(other as ConformanceRequest);
321     }
322 
323     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ConformanceRequest other)324     public bool Equals(ConformanceRequest other) {
325       if (ReferenceEquals(other, null)) {
326         return false;
327       }
328       if (ReferenceEquals(other, this)) {
329         return true;
330       }
331       if (ProtobufPayload != other.ProtobufPayload) return false;
332       if (JsonPayload != other.JsonPayload) return false;
333       if (RequestedOutputFormat != other.RequestedOutputFormat) return false;
334       if (PayloadCase != other.PayloadCase) return false;
335       return true;
336     }
337 
338     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()339     public override int GetHashCode() {
340       int hash = 1;
341       if (payloadCase_ == PayloadOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode();
342       if (payloadCase_ == PayloadOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode();
343       if (RequestedOutputFormat != 0) hash ^= RequestedOutputFormat.GetHashCode();
344       hash ^= (int) payloadCase_;
345       return hash;
346     }
347 
348     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()349     public override string ToString() {
350       return pb::JsonFormatter.ToDiagnosticString(this);
351     }
352 
353     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)354     public void WriteTo(pb::CodedOutputStream output) {
355       if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
356         output.WriteRawTag(10);
357         output.WriteBytes(ProtobufPayload);
358       }
359       if (payloadCase_ == PayloadOneofCase.JsonPayload) {
360         output.WriteRawTag(18);
361         output.WriteString(JsonPayload);
362       }
363       if (RequestedOutputFormat != 0) {
364         output.WriteRawTag(24);
365         output.WriteEnum((int) RequestedOutputFormat);
366       }
367     }
368 
369     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()370     public int CalculateSize() {
371       int size = 0;
372       if (payloadCase_ == PayloadOneofCase.ProtobufPayload) {
373         size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
374       }
375       if (payloadCase_ == PayloadOneofCase.JsonPayload) {
376         size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
377       }
378       if (RequestedOutputFormat != 0) {
379         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) RequestedOutputFormat);
380       }
381       return size;
382     }
383 
384     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ConformanceRequest other)385     public void MergeFrom(ConformanceRequest other) {
386       if (other == null) {
387         return;
388       }
389       if (other.RequestedOutputFormat != 0) {
390         RequestedOutputFormat = other.RequestedOutputFormat;
391       }
392       switch (other.PayloadCase) {
393         case PayloadOneofCase.ProtobufPayload:
394           ProtobufPayload = other.ProtobufPayload;
395           break;
396         case PayloadOneofCase.JsonPayload:
397           JsonPayload = other.JsonPayload;
398           break;
399       }
400 
401     }
402 
403     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)404     public void MergeFrom(pb::CodedInputStream input) {
405       uint tag;
406       while ((tag = input.ReadTag()) != 0) {
407         switch(tag) {
408           default:
409             input.SkipLastField();
410             break;
411           case 10: {
412             ProtobufPayload = input.ReadBytes();
413             break;
414           }
415           case 18: {
416             JsonPayload = input.ReadString();
417             break;
418           }
419           case 24: {
420             requestedOutputFormat_ = (global::Conformance.WireFormat) input.ReadEnum();
421             break;
422           }
423         }
424       }
425     }
426 
427   }
428 
429   /// <summary>
430   ///  Represents a single test case's output.
431   /// </summary>
432   public sealed partial class ConformanceResponse : pb::IMessage<ConformanceResponse> {
433     private static readonly pb::MessageParser<ConformanceResponse> _parser = new pb::MessageParser<ConformanceResponse>(() => new ConformanceResponse());
434     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
435     public static pb::MessageParser<ConformanceResponse> Parser { get { return _parser; } }
436 
437     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
438     public static pbr::MessageDescriptor Descriptor {
439       get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[1]; }
440     }
441 
442     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
443     pbr::MessageDescriptor pb::IMessage.Descriptor {
444       get { return Descriptor; }
445     }
446 
447     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ConformanceResponse()448     public ConformanceResponse() {
449       OnConstruction();
450     }
451 
OnConstruction()452     partial void OnConstruction();
453 
454     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ConformanceResponse(ConformanceResponse other)455     public ConformanceResponse(ConformanceResponse other) : this() {
456       switch (other.ResultCase) {
457         case ResultOneofCase.ParseError:
458           ParseError = other.ParseError;
459           break;
460         case ResultOneofCase.SerializeError:
461           SerializeError = other.SerializeError;
462           break;
463         case ResultOneofCase.RuntimeError:
464           RuntimeError = other.RuntimeError;
465           break;
466         case ResultOneofCase.ProtobufPayload:
467           ProtobufPayload = other.ProtobufPayload;
468           break;
469         case ResultOneofCase.JsonPayload:
470           JsonPayload = other.JsonPayload;
471           break;
472         case ResultOneofCase.Skipped:
473           Skipped = other.Skipped;
474           break;
475       }
476 
477     }
478 
479     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()480     public ConformanceResponse Clone() {
481       return new ConformanceResponse(this);
482     }
483 
484     /// <summary>Field number for the "parse_error" field.</summary>
485     public const int ParseErrorFieldNumber = 1;
486     /// <summary>
487     ///  This string should be set to indicate parsing failed.  The string can
488     ///  provide more information about the parse error if it is available.
489     ///
490     ///  Setting this string does not necessarily mean the testee failed the
491     ///  test.  Some of the test cases are intentionally invalid input.
492     /// </summary>
493     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
494     public string ParseError {
495       get { return resultCase_ == ResultOneofCase.ParseError ? (string) result_ : ""; }
496       set {
497         result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
498         resultCase_ = ResultOneofCase.ParseError;
499       }
500     }
501 
502     /// <summary>Field number for the "serialize_error" field.</summary>
503     public const int SerializeErrorFieldNumber = 6;
504     /// <summary>
505     ///  If the input was successfully parsed but errors occurred when
506     ///  serializing it to the requested output format, set the error message in
507     ///  this field.
508     /// </summary>
509     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
510     public string SerializeError {
511       get { return resultCase_ == ResultOneofCase.SerializeError ? (string) result_ : ""; }
512       set {
513         result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
514         resultCase_ = ResultOneofCase.SerializeError;
515       }
516     }
517 
518     /// <summary>Field number for the "runtime_error" field.</summary>
519     public const int RuntimeErrorFieldNumber = 2;
520     /// <summary>
521     ///  This should be set if some other error occurred.  This will always
522     ///  indicate that the test failed.  The string can provide more information
523     ///  about the failure.
524     /// </summary>
525     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
526     public string RuntimeError {
527       get { return resultCase_ == ResultOneofCase.RuntimeError ? (string) result_ : ""; }
528       set {
529         result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
530         resultCase_ = ResultOneofCase.RuntimeError;
531       }
532     }
533 
534     /// <summary>Field number for the "protobuf_payload" field.</summary>
535     public const int ProtobufPayloadFieldNumber = 3;
536     /// <summary>
537     ///  If the input was successfully parsed and the requested output was
538     ///  protobuf, serialize it to protobuf and set it in this field.
539     /// </summary>
540     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
541     public pb::ByteString ProtobufPayload {
542       get { return resultCase_ == ResultOneofCase.ProtobufPayload ? (pb::ByteString) result_ : pb::ByteString.Empty; }
543       set {
544         result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
545         resultCase_ = ResultOneofCase.ProtobufPayload;
546       }
547     }
548 
549     /// <summary>Field number for the "json_payload" field.</summary>
550     public const int JsonPayloadFieldNumber = 4;
551     /// <summary>
552     ///  If the input was successfully parsed and the requested output was JSON,
553     ///  serialize to JSON and set it in this field.
554     /// </summary>
555     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
556     public string JsonPayload {
557       get { return resultCase_ == ResultOneofCase.JsonPayload ? (string) result_ : ""; }
558       set {
559         result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
560         resultCase_ = ResultOneofCase.JsonPayload;
561       }
562     }
563 
564     /// <summary>Field number for the "skipped" field.</summary>
565     public const int SkippedFieldNumber = 5;
566     /// <summary>
567     ///  For when the testee skipped the test, likely because a certain feature
568     ///  wasn't supported, like JSON input/output.
569     /// </summary>
570     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
571     public string Skipped {
572       get { return resultCase_ == ResultOneofCase.Skipped ? (string) result_ : ""; }
573       set {
574         result_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
575         resultCase_ = ResultOneofCase.Skipped;
576       }
577     }
578 
579     private object result_;
580     /// <summary>Enum of possible cases for the "result" oneof.</summary>
581     public enum ResultOneofCase {
582       None = 0,
583       ParseError = 1,
584       SerializeError = 6,
585       RuntimeError = 2,
586       ProtobufPayload = 3,
587       JsonPayload = 4,
588       Skipped = 5,
589     }
590     private ResultOneofCase resultCase_ = ResultOneofCase.None;
591     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
592     public ResultOneofCase ResultCase {
593       get { return resultCase_; }
594     }
595 
596     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ClearResult()597     public void ClearResult() {
598       resultCase_ = ResultOneofCase.None;
599       result_ = null;
600     }
601 
602     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)603     public override bool Equals(object other) {
604       return Equals(other as ConformanceResponse);
605     }
606 
607     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ConformanceResponse other)608     public bool Equals(ConformanceResponse other) {
609       if (ReferenceEquals(other, null)) {
610         return false;
611       }
612       if (ReferenceEquals(other, this)) {
613         return true;
614       }
615       if (ParseError != other.ParseError) return false;
616       if (SerializeError != other.SerializeError) return false;
617       if (RuntimeError != other.RuntimeError) return false;
618       if (ProtobufPayload != other.ProtobufPayload) return false;
619       if (JsonPayload != other.JsonPayload) return false;
620       if (Skipped != other.Skipped) return false;
621       if (ResultCase != other.ResultCase) return false;
622       return true;
623     }
624 
625     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()626     public override int GetHashCode() {
627       int hash = 1;
628       if (resultCase_ == ResultOneofCase.ParseError) hash ^= ParseError.GetHashCode();
629       if (resultCase_ == ResultOneofCase.SerializeError) hash ^= SerializeError.GetHashCode();
630       if (resultCase_ == ResultOneofCase.RuntimeError) hash ^= RuntimeError.GetHashCode();
631       if (resultCase_ == ResultOneofCase.ProtobufPayload) hash ^= ProtobufPayload.GetHashCode();
632       if (resultCase_ == ResultOneofCase.JsonPayload) hash ^= JsonPayload.GetHashCode();
633       if (resultCase_ == ResultOneofCase.Skipped) hash ^= Skipped.GetHashCode();
634       hash ^= (int) resultCase_;
635       return hash;
636     }
637 
638     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()639     public override string ToString() {
640       return pb::JsonFormatter.ToDiagnosticString(this);
641     }
642 
643     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)644     public void WriteTo(pb::CodedOutputStream output) {
645       if (resultCase_ == ResultOneofCase.ParseError) {
646         output.WriteRawTag(10);
647         output.WriteString(ParseError);
648       }
649       if (resultCase_ == ResultOneofCase.RuntimeError) {
650         output.WriteRawTag(18);
651         output.WriteString(RuntimeError);
652       }
653       if (resultCase_ == ResultOneofCase.ProtobufPayload) {
654         output.WriteRawTag(26);
655         output.WriteBytes(ProtobufPayload);
656       }
657       if (resultCase_ == ResultOneofCase.JsonPayload) {
658         output.WriteRawTag(34);
659         output.WriteString(JsonPayload);
660       }
661       if (resultCase_ == ResultOneofCase.Skipped) {
662         output.WriteRawTag(42);
663         output.WriteString(Skipped);
664       }
665       if (resultCase_ == ResultOneofCase.SerializeError) {
666         output.WriteRawTag(50);
667         output.WriteString(SerializeError);
668       }
669     }
670 
671     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()672     public int CalculateSize() {
673       int size = 0;
674       if (resultCase_ == ResultOneofCase.ParseError) {
675         size += 1 + pb::CodedOutputStream.ComputeStringSize(ParseError);
676       }
677       if (resultCase_ == ResultOneofCase.SerializeError) {
678         size += 1 + pb::CodedOutputStream.ComputeStringSize(SerializeError);
679       }
680       if (resultCase_ == ResultOneofCase.RuntimeError) {
681         size += 1 + pb::CodedOutputStream.ComputeStringSize(RuntimeError);
682       }
683       if (resultCase_ == ResultOneofCase.ProtobufPayload) {
684         size += 1 + pb::CodedOutputStream.ComputeBytesSize(ProtobufPayload);
685       }
686       if (resultCase_ == ResultOneofCase.JsonPayload) {
687         size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonPayload);
688       }
689       if (resultCase_ == ResultOneofCase.Skipped) {
690         size += 1 + pb::CodedOutputStream.ComputeStringSize(Skipped);
691       }
692       return size;
693     }
694 
695     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ConformanceResponse other)696     public void MergeFrom(ConformanceResponse other) {
697       if (other == null) {
698         return;
699       }
700       switch (other.ResultCase) {
701         case ResultOneofCase.ParseError:
702           ParseError = other.ParseError;
703           break;
704         case ResultOneofCase.SerializeError:
705           SerializeError = other.SerializeError;
706           break;
707         case ResultOneofCase.RuntimeError:
708           RuntimeError = other.RuntimeError;
709           break;
710         case ResultOneofCase.ProtobufPayload:
711           ProtobufPayload = other.ProtobufPayload;
712           break;
713         case ResultOneofCase.JsonPayload:
714           JsonPayload = other.JsonPayload;
715           break;
716         case ResultOneofCase.Skipped:
717           Skipped = other.Skipped;
718           break;
719       }
720 
721     }
722 
723     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)724     public void MergeFrom(pb::CodedInputStream input) {
725       uint tag;
726       while ((tag = input.ReadTag()) != 0) {
727         switch(tag) {
728           default:
729             input.SkipLastField();
730             break;
731           case 10: {
732             ParseError = input.ReadString();
733             break;
734           }
735           case 18: {
736             RuntimeError = input.ReadString();
737             break;
738           }
739           case 26: {
740             ProtobufPayload = input.ReadBytes();
741             break;
742           }
743           case 34: {
744             JsonPayload = input.ReadString();
745             break;
746           }
747           case 42: {
748             Skipped = input.ReadString();
749             break;
750           }
751           case 50: {
752             SerializeError = input.ReadString();
753             break;
754           }
755         }
756       }
757     }
758 
759   }
760 
761   /// <summary>
762   ///  This proto includes every type of field in both singular and repeated
763   ///  forms.
764   /// </summary>
765   public sealed partial class TestAllTypes : pb::IMessage<TestAllTypes> {
766     private static readonly pb::MessageParser<TestAllTypes> _parser = new pb::MessageParser<TestAllTypes>(() => new TestAllTypes());
767     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
768     public static pb::MessageParser<TestAllTypes> Parser { get { return _parser; } }
769 
770     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
771     public static pbr::MessageDescriptor Descriptor {
772       get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[2]; }
773     }
774 
775     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
776     pbr::MessageDescriptor pb::IMessage.Descriptor {
777       get { return Descriptor; }
778     }
779 
780     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
TestAllTypes()781     public TestAllTypes() {
782       OnConstruction();
783     }
784 
OnConstruction()785     partial void OnConstruction();
786 
787     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
TestAllTypes(TestAllTypes other)788     public TestAllTypes(TestAllTypes other) : this() {
789       optionalInt32_ = other.optionalInt32_;
790       optionalInt64_ = other.optionalInt64_;
791       optionalUint32_ = other.optionalUint32_;
792       optionalUint64_ = other.optionalUint64_;
793       optionalSint32_ = other.optionalSint32_;
794       optionalSint64_ = other.optionalSint64_;
795       optionalFixed32_ = other.optionalFixed32_;
796       optionalFixed64_ = other.optionalFixed64_;
797       optionalSfixed32_ = other.optionalSfixed32_;
798       optionalSfixed64_ = other.optionalSfixed64_;
799       optionalFloat_ = other.optionalFloat_;
800       optionalDouble_ = other.optionalDouble_;
801       optionalBool_ = other.optionalBool_;
802       optionalString_ = other.optionalString_;
803       optionalBytes_ = other.optionalBytes_;
804       OptionalNestedMessage = other.optionalNestedMessage_ != null ? other.OptionalNestedMessage.Clone() : null;
805       OptionalForeignMessage = other.optionalForeignMessage_ != null ? other.OptionalForeignMessage.Clone() : null;
806       optionalNestedEnum_ = other.optionalNestedEnum_;
807       optionalForeignEnum_ = other.optionalForeignEnum_;
808       optionalStringPiece_ = other.optionalStringPiece_;
809       optionalCord_ = other.optionalCord_;
810       RecursiveMessage = other.recursiveMessage_ != null ? other.RecursiveMessage.Clone() : null;
811       repeatedInt32_ = other.repeatedInt32_.Clone();
812       repeatedInt64_ = other.repeatedInt64_.Clone();
813       repeatedUint32_ = other.repeatedUint32_.Clone();
814       repeatedUint64_ = other.repeatedUint64_.Clone();
815       repeatedSint32_ = other.repeatedSint32_.Clone();
816       repeatedSint64_ = other.repeatedSint64_.Clone();
817       repeatedFixed32_ = other.repeatedFixed32_.Clone();
818       repeatedFixed64_ = other.repeatedFixed64_.Clone();
819       repeatedSfixed32_ = other.repeatedSfixed32_.Clone();
820       repeatedSfixed64_ = other.repeatedSfixed64_.Clone();
821       repeatedFloat_ = other.repeatedFloat_.Clone();
822       repeatedDouble_ = other.repeatedDouble_.Clone();
823       repeatedBool_ = other.repeatedBool_.Clone();
824       repeatedString_ = other.repeatedString_.Clone();
825       repeatedBytes_ = other.repeatedBytes_.Clone();
826       repeatedNestedMessage_ = other.repeatedNestedMessage_.Clone();
827       repeatedForeignMessage_ = other.repeatedForeignMessage_.Clone();
828       repeatedNestedEnum_ = other.repeatedNestedEnum_.Clone();
829       repeatedForeignEnum_ = other.repeatedForeignEnum_.Clone();
830       repeatedStringPiece_ = other.repeatedStringPiece_.Clone();
831       repeatedCord_ = other.repeatedCord_.Clone();
832       mapInt32Int32_ = other.mapInt32Int32_.Clone();
833       mapInt64Int64_ = other.mapInt64Int64_.Clone();
834       mapUint32Uint32_ = other.mapUint32Uint32_.Clone();
835       mapUint64Uint64_ = other.mapUint64Uint64_.Clone();
836       mapSint32Sint32_ = other.mapSint32Sint32_.Clone();
837       mapSint64Sint64_ = other.mapSint64Sint64_.Clone();
838       mapFixed32Fixed32_ = other.mapFixed32Fixed32_.Clone();
839       mapFixed64Fixed64_ = other.mapFixed64Fixed64_.Clone();
840       mapSfixed32Sfixed32_ = other.mapSfixed32Sfixed32_.Clone();
841       mapSfixed64Sfixed64_ = other.mapSfixed64Sfixed64_.Clone();
842       mapInt32Float_ = other.mapInt32Float_.Clone();
843       mapInt32Double_ = other.mapInt32Double_.Clone();
844       mapBoolBool_ = other.mapBoolBool_.Clone();
845       mapStringString_ = other.mapStringString_.Clone();
846       mapStringBytes_ = other.mapStringBytes_.Clone();
847       mapStringNestedMessage_ = other.mapStringNestedMessage_.Clone();
848       mapStringForeignMessage_ = other.mapStringForeignMessage_.Clone();
849       mapStringNestedEnum_ = other.mapStringNestedEnum_.Clone();
850       mapStringForeignEnum_ = other.mapStringForeignEnum_.Clone();
851       OptionalBoolWrapper = other.OptionalBoolWrapper;
852       OptionalInt32Wrapper = other.OptionalInt32Wrapper;
853       OptionalInt64Wrapper = other.OptionalInt64Wrapper;
854       OptionalUint32Wrapper = other.OptionalUint32Wrapper;
855       OptionalUint64Wrapper = other.OptionalUint64Wrapper;
856       OptionalFloatWrapper = other.OptionalFloatWrapper;
857       OptionalDoubleWrapper = other.OptionalDoubleWrapper;
858       OptionalStringWrapper = other.OptionalStringWrapper;
859       OptionalBytesWrapper = other.OptionalBytesWrapper;
860       repeatedBoolWrapper_ = other.repeatedBoolWrapper_.Clone();
861       repeatedInt32Wrapper_ = other.repeatedInt32Wrapper_.Clone();
862       repeatedInt64Wrapper_ = other.repeatedInt64Wrapper_.Clone();
863       repeatedUint32Wrapper_ = other.repeatedUint32Wrapper_.Clone();
864       repeatedUint64Wrapper_ = other.repeatedUint64Wrapper_.Clone();
865       repeatedFloatWrapper_ = other.repeatedFloatWrapper_.Clone();
866       repeatedDoubleWrapper_ = other.repeatedDoubleWrapper_.Clone();
867       repeatedStringWrapper_ = other.repeatedStringWrapper_.Clone();
868       repeatedBytesWrapper_ = other.repeatedBytesWrapper_.Clone();
869       OptionalDuration = other.optionalDuration_ != null ? other.OptionalDuration.Clone() : null;
870       OptionalTimestamp = other.optionalTimestamp_ != null ? other.OptionalTimestamp.Clone() : null;
871       OptionalFieldMask = other.optionalFieldMask_ != null ? other.OptionalFieldMask.Clone() : null;
872       OptionalStruct = other.optionalStruct_ != null ? other.OptionalStruct.Clone() : null;
873       OptionalAny = other.optionalAny_ != null ? other.OptionalAny.Clone() : null;
874       OptionalValue = other.optionalValue_ != null ? other.OptionalValue.Clone() : null;
875       repeatedDuration_ = other.repeatedDuration_.Clone();
876       repeatedTimestamp_ = other.repeatedTimestamp_.Clone();
877       repeatedFieldmask_ = other.repeatedFieldmask_.Clone();
878       repeatedStruct_ = other.repeatedStruct_.Clone();
879       repeatedAny_ = other.repeatedAny_.Clone();
880       repeatedValue_ = other.repeatedValue_.Clone();
881       fieldname1_ = other.fieldname1_;
882       fieldName2_ = other.fieldName2_;
883       FieldName3_ = other.FieldName3_;
884       fieldName4_ = other.fieldName4_;
885       field0Name5_ = other.field0Name5_;
886       field0Name6_ = other.field0Name6_;
887       fieldName7_ = other.fieldName7_;
888       fieldName8_ = other.fieldName8_;
889       fieldName9_ = other.fieldName9_;
890       fieldName10_ = other.fieldName10_;
891       fIELDNAME11_ = other.fIELDNAME11_;
892       fIELDName12_ = other.fIELDName12_;
893       switch (other.OneofFieldCase) {
894         case OneofFieldOneofCase.OneofUint32:
895           OneofUint32 = other.OneofUint32;
896           break;
897         case OneofFieldOneofCase.OneofNestedMessage:
898           OneofNestedMessage = other.OneofNestedMessage.Clone();
899           break;
900         case OneofFieldOneofCase.OneofString:
901           OneofString = other.OneofString;
902           break;
903         case OneofFieldOneofCase.OneofBytes:
904           OneofBytes = other.OneofBytes;
905           break;
906       }
907 
908     }
909 
910     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()911     public TestAllTypes Clone() {
912       return new TestAllTypes(this);
913     }
914 
915     /// <summary>Field number for the "optional_int32" field.</summary>
916     public const int OptionalInt32FieldNumber = 1;
917     private int optionalInt32_;
918     /// <summary>
919     ///  Singular
920     /// </summary>
921     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
922     public int OptionalInt32 {
923       get { return optionalInt32_; }
924       set {
925         optionalInt32_ = value;
926       }
927     }
928 
929     /// <summary>Field number for the "optional_int64" field.</summary>
930     public const int OptionalInt64FieldNumber = 2;
931     private long optionalInt64_;
932     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
933     public long OptionalInt64 {
934       get { return optionalInt64_; }
935       set {
936         optionalInt64_ = value;
937       }
938     }
939 
940     /// <summary>Field number for the "optional_uint32" field.</summary>
941     public const int OptionalUint32FieldNumber = 3;
942     private uint optionalUint32_;
943     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
944     public uint OptionalUint32 {
945       get { return optionalUint32_; }
946       set {
947         optionalUint32_ = value;
948       }
949     }
950 
951     /// <summary>Field number for the "optional_uint64" field.</summary>
952     public const int OptionalUint64FieldNumber = 4;
953     private ulong optionalUint64_;
954     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
955     public ulong OptionalUint64 {
956       get { return optionalUint64_; }
957       set {
958         optionalUint64_ = value;
959       }
960     }
961 
962     /// <summary>Field number for the "optional_sint32" field.</summary>
963     public const int OptionalSint32FieldNumber = 5;
964     private int optionalSint32_;
965     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
966     public int OptionalSint32 {
967       get { return optionalSint32_; }
968       set {
969         optionalSint32_ = value;
970       }
971     }
972 
973     /// <summary>Field number for the "optional_sint64" field.</summary>
974     public const int OptionalSint64FieldNumber = 6;
975     private long optionalSint64_;
976     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
977     public long OptionalSint64 {
978       get { return optionalSint64_; }
979       set {
980         optionalSint64_ = value;
981       }
982     }
983 
984     /// <summary>Field number for the "optional_fixed32" field.</summary>
985     public const int OptionalFixed32FieldNumber = 7;
986     private uint optionalFixed32_;
987     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
988     public uint OptionalFixed32 {
989       get { return optionalFixed32_; }
990       set {
991         optionalFixed32_ = value;
992       }
993     }
994 
995     /// <summary>Field number for the "optional_fixed64" field.</summary>
996     public const int OptionalFixed64FieldNumber = 8;
997     private ulong optionalFixed64_;
998     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
999     public ulong OptionalFixed64 {
1000       get { return optionalFixed64_; }
1001       set {
1002         optionalFixed64_ = value;
1003       }
1004     }
1005 
1006     /// <summary>Field number for the "optional_sfixed32" field.</summary>
1007     public const int OptionalSfixed32FieldNumber = 9;
1008     private int optionalSfixed32_;
1009     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1010     public int OptionalSfixed32 {
1011       get { return optionalSfixed32_; }
1012       set {
1013         optionalSfixed32_ = value;
1014       }
1015     }
1016 
1017     /// <summary>Field number for the "optional_sfixed64" field.</summary>
1018     public const int OptionalSfixed64FieldNumber = 10;
1019     private long optionalSfixed64_;
1020     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1021     public long OptionalSfixed64 {
1022       get { return optionalSfixed64_; }
1023       set {
1024         optionalSfixed64_ = value;
1025       }
1026     }
1027 
1028     /// <summary>Field number for the "optional_float" field.</summary>
1029     public const int OptionalFloatFieldNumber = 11;
1030     private float optionalFloat_;
1031     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1032     public float OptionalFloat {
1033       get { return optionalFloat_; }
1034       set {
1035         optionalFloat_ = value;
1036       }
1037     }
1038 
1039     /// <summary>Field number for the "optional_double" field.</summary>
1040     public const int OptionalDoubleFieldNumber = 12;
1041     private double optionalDouble_;
1042     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1043     public double OptionalDouble {
1044       get { return optionalDouble_; }
1045       set {
1046         optionalDouble_ = value;
1047       }
1048     }
1049 
1050     /// <summary>Field number for the "optional_bool" field.</summary>
1051     public const int OptionalBoolFieldNumber = 13;
1052     private bool optionalBool_;
1053     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1054     public bool OptionalBool {
1055       get { return optionalBool_; }
1056       set {
1057         optionalBool_ = value;
1058       }
1059     }
1060 
1061     /// <summary>Field number for the "optional_string" field.</summary>
1062     public const int OptionalStringFieldNumber = 14;
1063     private string optionalString_ = "";
1064     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1065     public string OptionalString {
1066       get { return optionalString_; }
1067       set {
1068         optionalString_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1069       }
1070     }
1071 
1072     /// <summary>Field number for the "optional_bytes" field.</summary>
1073     public const int OptionalBytesFieldNumber = 15;
1074     private pb::ByteString optionalBytes_ = pb::ByteString.Empty;
1075     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1076     public pb::ByteString OptionalBytes {
1077       get { return optionalBytes_; }
1078       set {
1079         optionalBytes_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1080       }
1081     }
1082 
1083     /// <summary>Field number for the "optional_nested_message" field.</summary>
1084     public const int OptionalNestedMessageFieldNumber = 18;
1085     private global::Conformance.TestAllTypes.Types.NestedMessage optionalNestedMessage_;
1086     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1087     public global::Conformance.TestAllTypes.Types.NestedMessage OptionalNestedMessage {
1088       get { return optionalNestedMessage_; }
1089       set {
1090         optionalNestedMessage_ = value;
1091       }
1092     }
1093 
1094     /// <summary>Field number for the "optional_foreign_message" field.</summary>
1095     public const int OptionalForeignMessageFieldNumber = 19;
1096     private global::Conformance.ForeignMessage optionalForeignMessage_;
1097     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1098     public global::Conformance.ForeignMessage OptionalForeignMessage {
1099       get { return optionalForeignMessage_; }
1100       set {
1101         optionalForeignMessage_ = value;
1102       }
1103     }
1104 
1105     /// <summary>Field number for the "optional_nested_enum" field.</summary>
1106     public const int OptionalNestedEnumFieldNumber = 21;
1107     private global::Conformance.TestAllTypes.Types.NestedEnum optionalNestedEnum_ = 0;
1108     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1109     public global::Conformance.TestAllTypes.Types.NestedEnum OptionalNestedEnum {
1110       get { return optionalNestedEnum_; }
1111       set {
1112         optionalNestedEnum_ = value;
1113       }
1114     }
1115 
1116     /// <summary>Field number for the "optional_foreign_enum" field.</summary>
1117     public const int OptionalForeignEnumFieldNumber = 22;
1118     private global::Conformance.ForeignEnum optionalForeignEnum_ = 0;
1119     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1120     public global::Conformance.ForeignEnum OptionalForeignEnum {
1121       get { return optionalForeignEnum_; }
1122       set {
1123         optionalForeignEnum_ = value;
1124       }
1125     }
1126 
1127     /// <summary>Field number for the "optional_string_piece" field.</summary>
1128     public const int OptionalStringPieceFieldNumber = 24;
1129     private string optionalStringPiece_ = "";
1130     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1131     public string OptionalStringPiece {
1132       get { return optionalStringPiece_; }
1133       set {
1134         optionalStringPiece_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1135       }
1136     }
1137 
1138     /// <summary>Field number for the "optional_cord" field.</summary>
1139     public const int OptionalCordFieldNumber = 25;
1140     private string optionalCord_ = "";
1141     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1142     public string OptionalCord {
1143       get { return optionalCord_; }
1144       set {
1145         optionalCord_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1146       }
1147     }
1148 
1149     /// <summary>Field number for the "recursive_message" field.</summary>
1150     public const int RecursiveMessageFieldNumber = 27;
1151     private global::Conformance.TestAllTypes recursiveMessage_;
1152     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1153     public global::Conformance.TestAllTypes RecursiveMessage {
1154       get { return recursiveMessage_; }
1155       set {
1156         recursiveMessage_ = value;
1157       }
1158     }
1159 
1160     /// <summary>Field number for the "repeated_int32" field.</summary>
1161     public const int RepeatedInt32FieldNumber = 31;
1162     private static readonly pb::FieldCodec<int> _repeated_repeatedInt32_codec
1163         = pb::FieldCodec.ForInt32(250);
1164     private readonly pbc::RepeatedField<int> repeatedInt32_ = new pbc::RepeatedField<int>();
1165     /// <summary>
1166     ///  Repeated
1167     /// </summary>
1168     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1169     public pbc::RepeatedField<int> RepeatedInt32 {
1170       get { return repeatedInt32_; }
1171     }
1172 
1173     /// <summary>Field number for the "repeated_int64" field.</summary>
1174     public const int RepeatedInt64FieldNumber = 32;
1175     private static readonly pb::FieldCodec<long> _repeated_repeatedInt64_codec
1176         = pb::FieldCodec.ForInt64(258);
1177     private readonly pbc::RepeatedField<long> repeatedInt64_ = new pbc::RepeatedField<long>();
1178     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1179     public pbc::RepeatedField<long> RepeatedInt64 {
1180       get { return repeatedInt64_; }
1181     }
1182 
1183     /// <summary>Field number for the "repeated_uint32" field.</summary>
1184     public const int RepeatedUint32FieldNumber = 33;
1185     private static readonly pb::FieldCodec<uint> _repeated_repeatedUint32_codec
1186         = pb::FieldCodec.ForUInt32(266);
1187     private readonly pbc::RepeatedField<uint> repeatedUint32_ = new pbc::RepeatedField<uint>();
1188     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1189     public pbc::RepeatedField<uint> RepeatedUint32 {
1190       get { return repeatedUint32_; }
1191     }
1192 
1193     /// <summary>Field number for the "repeated_uint64" field.</summary>
1194     public const int RepeatedUint64FieldNumber = 34;
1195     private static readonly pb::FieldCodec<ulong> _repeated_repeatedUint64_codec
1196         = pb::FieldCodec.ForUInt64(274);
1197     private readonly pbc::RepeatedField<ulong> repeatedUint64_ = new pbc::RepeatedField<ulong>();
1198     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1199     public pbc::RepeatedField<ulong> RepeatedUint64 {
1200       get { return repeatedUint64_; }
1201     }
1202 
1203     /// <summary>Field number for the "repeated_sint32" field.</summary>
1204     public const int RepeatedSint32FieldNumber = 35;
1205     private static readonly pb::FieldCodec<int> _repeated_repeatedSint32_codec
1206         = pb::FieldCodec.ForSInt32(282);
1207     private readonly pbc::RepeatedField<int> repeatedSint32_ = new pbc::RepeatedField<int>();
1208     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1209     public pbc::RepeatedField<int> RepeatedSint32 {
1210       get { return repeatedSint32_; }
1211     }
1212 
1213     /// <summary>Field number for the "repeated_sint64" field.</summary>
1214     public const int RepeatedSint64FieldNumber = 36;
1215     private static readonly pb::FieldCodec<long> _repeated_repeatedSint64_codec
1216         = pb::FieldCodec.ForSInt64(290);
1217     private readonly pbc::RepeatedField<long> repeatedSint64_ = new pbc::RepeatedField<long>();
1218     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1219     public pbc::RepeatedField<long> RepeatedSint64 {
1220       get { return repeatedSint64_; }
1221     }
1222 
1223     /// <summary>Field number for the "repeated_fixed32" field.</summary>
1224     public const int RepeatedFixed32FieldNumber = 37;
1225     private static readonly pb::FieldCodec<uint> _repeated_repeatedFixed32_codec
1226         = pb::FieldCodec.ForFixed32(298);
1227     private readonly pbc::RepeatedField<uint> repeatedFixed32_ = new pbc::RepeatedField<uint>();
1228     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1229     public pbc::RepeatedField<uint> RepeatedFixed32 {
1230       get { return repeatedFixed32_; }
1231     }
1232 
1233     /// <summary>Field number for the "repeated_fixed64" field.</summary>
1234     public const int RepeatedFixed64FieldNumber = 38;
1235     private static readonly pb::FieldCodec<ulong> _repeated_repeatedFixed64_codec
1236         = pb::FieldCodec.ForFixed64(306);
1237     private readonly pbc::RepeatedField<ulong> repeatedFixed64_ = new pbc::RepeatedField<ulong>();
1238     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1239     public pbc::RepeatedField<ulong> RepeatedFixed64 {
1240       get { return repeatedFixed64_; }
1241     }
1242 
1243     /// <summary>Field number for the "repeated_sfixed32" field.</summary>
1244     public const int RepeatedSfixed32FieldNumber = 39;
1245     private static readonly pb::FieldCodec<int> _repeated_repeatedSfixed32_codec
1246         = pb::FieldCodec.ForSFixed32(314);
1247     private readonly pbc::RepeatedField<int> repeatedSfixed32_ = new pbc::RepeatedField<int>();
1248     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1249     public pbc::RepeatedField<int> RepeatedSfixed32 {
1250       get { return repeatedSfixed32_; }
1251     }
1252 
1253     /// <summary>Field number for the "repeated_sfixed64" field.</summary>
1254     public const int RepeatedSfixed64FieldNumber = 40;
1255     private static readonly pb::FieldCodec<long> _repeated_repeatedSfixed64_codec
1256         = pb::FieldCodec.ForSFixed64(322);
1257     private readonly pbc::RepeatedField<long> repeatedSfixed64_ = new pbc::RepeatedField<long>();
1258     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1259     public pbc::RepeatedField<long> RepeatedSfixed64 {
1260       get { return repeatedSfixed64_; }
1261     }
1262 
1263     /// <summary>Field number for the "repeated_float" field.</summary>
1264     public const int RepeatedFloatFieldNumber = 41;
1265     private static readonly pb::FieldCodec<float> _repeated_repeatedFloat_codec
1266         = pb::FieldCodec.ForFloat(330);
1267     private readonly pbc::RepeatedField<float> repeatedFloat_ = new pbc::RepeatedField<float>();
1268     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1269     public pbc::RepeatedField<float> RepeatedFloat {
1270       get { return repeatedFloat_; }
1271     }
1272 
1273     /// <summary>Field number for the "repeated_double" field.</summary>
1274     public const int RepeatedDoubleFieldNumber = 42;
1275     private static readonly pb::FieldCodec<double> _repeated_repeatedDouble_codec
1276         = pb::FieldCodec.ForDouble(338);
1277     private readonly pbc::RepeatedField<double> repeatedDouble_ = new pbc::RepeatedField<double>();
1278     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1279     public pbc::RepeatedField<double> RepeatedDouble {
1280       get { return repeatedDouble_; }
1281     }
1282 
1283     /// <summary>Field number for the "repeated_bool" field.</summary>
1284     public const int RepeatedBoolFieldNumber = 43;
1285     private static readonly pb::FieldCodec<bool> _repeated_repeatedBool_codec
1286         = pb::FieldCodec.ForBool(346);
1287     private readonly pbc::RepeatedField<bool> repeatedBool_ = new pbc::RepeatedField<bool>();
1288     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1289     public pbc::RepeatedField<bool> RepeatedBool {
1290       get { return repeatedBool_; }
1291     }
1292 
1293     /// <summary>Field number for the "repeated_string" field.</summary>
1294     public const int RepeatedStringFieldNumber = 44;
1295     private static readonly pb::FieldCodec<string> _repeated_repeatedString_codec
1296         = pb::FieldCodec.ForString(354);
1297     private readonly pbc::RepeatedField<string> repeatedString_ = new pbc::RepeatedField<string>();
1298     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1299     public pbc::RepeatedField<string> RepeatedString {
1300       get { return repeatedString_; }
1301     }
1302 
1303     /// <summary>Field number for the "repeated_bytes" field.</summary>
1304     public const int RepeatedBytesFieldNumber = 45;
1305     private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytes_codec
1306         = pb::FieldCodec.ForBytes(362);
1307     private readonly pbc::RepeatedField<pb::ByteString> repeatedBytes_ = new pbc::RepeatedField<pb::ByteString>();
1308     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1309     public pbc::RepeatedField<pb::ByteString> RepeatedBytes {
1310       get { return repeatedBytes_; }
1311     }
1312 
1313     /// <summary>Field number for the "repeated_nested_message" field.</summary>
1314     public const int RepeatedNestedMessageFieldNumber = 48;
1315     private static readonly pb::FieldCodec<global::Conformance.TestAllTypes.Types.NestedMessage> _repeated_repeatedNestedMessage_codec
1316         = pb::FieldCodec.ForMessage(386, global::Conformance.TestAllTypes.Types.NestedMessage.Parser);
1317     private readonly pbc::RepeatedField<global::Conformance.TestAllTypes.Types.NestedMessage> repeatedNestedMessage_ = new pbc::RepeatedField<global::Conformance.TestAllTypes.Types.NestedMessage>();
1318     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1319     public pbc::RepeatedField<global::Conformance.TestAllTypes.Types.NestedMessage> RepeatedNestedMessage {
1320       get { return repeatedNestedMessage_; }
1321     }
1322 
1323     /// <summary>Field number for the "repeated_foreign_message" field.</summary>
1324     public const int RepeatedForeignMessageFieldNumber = 49;
1325     private static readonly pb::FieldCodec<global::Conformance.ForeignMessage> _repeated_repeatedForeignMessage_codec
1326         = pb::FieldCodec.ForMessage(394, global::Conformance.ForeignMessage.Parser);
1327     private readonly pbc::RepeatedField<global::Conformance.ForeignMessage> repeatedForeignMessage_ = new pbc::RepeatedField<global::Conformance.ForeignMessage>();
1328     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1329     public pbc::RepeatedField<global::Conformance.ForeignMessage> RepeatedForeignMessage {
1330       get { return repeatedForeignMessage_; }
1331     }
1332 
1333     /// <summary>Field number for the "repeated_nested_enum" field.</summary>
1334     public const int RepeatedNestedEnumFieldNumber = 51;
1335     private static readonly pb::FieldCodec<global::Conformance.TestAllTypes.Types.NestedEnum> _repeated_repeatedNestedEnum_codec
1336         = pb::FieldCodec.ForEnum(410, x => (int) x, x => (global::Conformance.TestAllTypes.Types.NestedEnum) x);
1337     private readonly pbc::RepeatedField<global::Conformance.TestAllTypes.Types.NestedEnum> repeatedNestedEnum_ = new pbc::RepeatedField<global::Conformance.TestAllTypes.Types.NestedEnum>();
1338     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1339     public pbc::RepeatedField<global::Conformance.TestAllTypes.Types.NestedEnum> RepeatedNestedEnum {
1340       get { return repeatedNestedEnum_; }
1341     }
1342 
1343     /// <summary>Field number for the "repeated_foreign_enum" field.</summary>
1344     public const int RepeatedForeignEnumFieldNumber = 52;
1345     private static readonly pb::FieldCodec<global::Conformance.ForeignEnum> _repeated_repeatedForeignEnum_codec
1346         = pb::FieldCodec.ForEnum(418, x => (int) x, x => (global::Conformance.ForeignEnum) x);
1347     private readonly pbc::RepeatedField<global::Conformance.ForeignEnum> repeatedForeignEnum_ = new pbc::RepeatedField<global::Conformance.ForeignEnum>();
1348     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1349     public pbc::RepeatedField<global::Conformance.ForeignEnum> RepeatedForeignEnum {
1350       get { return repeatedForeignEnum_; }
1351     }
1352 
1353     /// <summary>Field number for the "repeated_string_piece" field.</summary>
1354     public const int RepeatedStringPieceFieldNumber = 54;
1355     private static readonly pb::FieldCodec<string> _repeated_repeatedStringPiece_codec
1356         = pb::FieldCodec.ForString(434);
1357     private readonly pbc::RepeatedField<string> repeatedStringPiece_ = new pbc::RepeatedField<string>();
1358     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1359     public pbc::RepeatedField<string> RepeatedStringPiece {
1360       get { return repeatedStringPiece_; }
1361     }
1362 
1363     /// <summary>Field number for the "repeated_cord" field.</summary>
1364     public const int RepeatedCordFieldNumber = 55;
1365     private static readonly pb::FieldCodec<string> _repeated_repeatedCord_codec
1366         = pb::FieldCodec.ForString(442);
1367     private readonly pbc::RepeatedField<string> repeatedCord_ = new pbc::RepeatedField<string>();
1368     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1369     public pbc::RepeatedField<string> RepeatedCord {
1370       get { return repeatedCord_; }
1371     }
1372 
1373     /// <summary>Field number for the "map_int32_int32" field.</summary>
1374     public const int MapInt32Int32FieldNumber = 56;
1375     private static readonly pbc::MapField<int, int>.Codec _map_mapInt32Int32_codec
1376         = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForInt32(16), 450);
1377     private readonly pbc::MapField<int, int> mapInt32Int32_ = new pbc::MapField<int, int>();
1378     /// <summary>
1379     ///  Map
1380     /// </summary>
1381     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1382     public pbc::MapField<int, int> MapInt32Int32 {
1383       get { return mapInt32Int32_; }
1384     }
1385 
1386     /// <summary>Field number for the "map_int64_int64" field.</summary>
1387     public const int MapInt64Int64FieldNumber = 57;
1388     private static readonly pbc::MapField<long, long>.Codec _map_mapInt64Int64_codec
1389         = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForInt64(8), pb::FieldCodec.ForInt64(16), 458);
1390     private readonly pbc::MapField<long, long> mapInt64Int64_ = new pbc::MapField<long, long>();
1391     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1392     public pbc::MapField<long, long> MapInt64Int64 {
1393       get { return mapInt64Int64_; }
1394     }
1395 
1396     /// <summary>Field number for the "map_uint32_uint32" field.</summary>
1397     public const int MapUint32Uint32FieldNumber = 58;
1398     private static readonly pbc::MapField<uint, uint>.Codec _map_mapUint32Uint32_codec
1399         = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForUInt32(8), pb::FieldCodec.ForUInt32(16), 466);
1400     private readonly pbc::MapField<uint, uint> mapUint32Uint32_ = new pbc::MapField<uint, uint>();
1401     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1402     public pbc::MapField<uint, uint> MapUint32Uint32 {
1403       get { return mapUint32Uint32_; }
1404     }
1405 
1406     /// <summary>Field number for the "map_uint64_uint64" field.</summary>
1407     public const int MapUint64Uint64FieldNumber = 59;
1408     private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapUint64Uint64_codec
1409         = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForUInt64(8), pb::FieldCodec.ForUInt64(16), 474);
1410     private readonly pbc::MapField<ulong, ulong> mapUint64Uint64_ = new pbc::MapField<ulong, ulong>();
1411     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1412     public pbc::MapField<ulong, ulong> MapUint64Uint64 {
1413       get { return mapUint64Uint64_; }
1414     }
1415 
1416     /// <summary>Field number for the "map_sint32_sint32" field.</summary>
1417     public const int MapSint32Sint32FieldNumber = 60;
1418     private static readonly pbc::MapField<int, int>.Codec _map_mapSint32Sint32_codec
1419         = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSInt32(8), pb::FieldCodec.ForSInt32(16), 482);
1420     private readonly pbc::MapField<int, int> mapSint32Sint32_ = new pbc::MapField<int, int>();
1421     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1422     public pbc::MapField<int, int> MapSint32Sint32 {
1423       get { return mapSint32Sint32_; }
1424     }
1425 
1426     /// <summary>Field number for the "map_sint64_sint64" field.</summary>
1427     public const int MapSint64Sint64FieldNumber = 61;
1428     private static readonly pbc::MapField<long, long>.Codec _map_mapSint64Sint64_codec
1429         = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSInt64(8), pb::FieldCodec.ForSInt64(16), 490);
1430     private readonly pbc::MapField<long, long> mapSint64Sint64_ = new pbc::MapField<long, long>();
1431     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1432     public pbc::MapField<long, long> MapSint64Sint64 {
1433       get { return mapSint64Sint64_; }
1434     }
1435 
1436     /// <summary>Field number for the "map_fixed32_fixed32" field.</summary>
1437     public const int MapFixed32Fixed32FieldNumber = 62;
1438     private static readonly pbc::MapField<uint, uint>.Codec _map_mapFixed32Fixed32_codec
1439         = new pbc::MapField<uint, uint>.Codec(pb::FieldCodec.ForFixed32(13), pb::FieldCodec.ForFixed32(21), 498);
1440     private readonly pbc::MapField<uint, uint> mapFixed32Fixed32_ = new pbc::MapField<uint, uint>();
1441     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1442     public pbc::MapField<uint, uint> MapFixed32Fixed32 {
1443       get { return mapFixed32Fixed32_; }
1444     }
1445 
1446     /// <summary>Field number for the "map_fixed64_fixed64" field.</summary>
1447     public const int MapFixed64Fixed64FieldNumber = 63;
1448     private static readonly pbc::MapField<ulong, ulong>.Codec _map_mapFixed64Fixed64_codec
1449         = new pbc::MapField<ulong, ulong>.Codec(pb::FieldCodec.ForFixed64(9), pb::FieldCodec.ForFixed64(17), 506);
1450     private readonly pbc::MapField<ulong, ulong> mapFixed64Fixed64_ = new pbc::MapField<ulong, ulong>();
1451     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1452     public pbc::MapField<ulong, ulong> MapFixed64Fixed64 {
1453       get { return mapFixed64Fixed64_; }
1454     }
1455 
1456     /// <summary>Field number for the "map_sfixed32_sfixed32" field.</summary>
1457     public const int MapSfixed32Sfixed32FieldNumber = 64;
1458     private static readonly pbc::MapField<int, int>.Codec _map_mapSfixed32Sfixed32_codec
1459         = new pbc::MapField<int, int>.Codec(pb::FieldCodec.ForSFixed32(13), pb::FieldCodec.ForSFixed32(21), 514);
1460     private readonly pbc::MapField<int, int> mapSfixed32Sfixed32_ = new pbc::MapField<int, int>();
1461     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1462     public pbc::MapField<int, int> MapSfixed32Sfixed32 {
1463       get { return mapSfixed32Sfixed32_; }
1464     }
1465 
1466     /// <summary>Field number for the "map_sfixed64_sfixed64" field.</summary>
1467     public const int MapSfixed64Sfixed64FieldNumber = 65;
1468     private static readonly pbc::MapField<long, long>.Codec _map_mapSfixed64Sfixed64_codec
1469         = new pbc::MapField<long, long>.Codec(pb::FieldCodec.ForSFixed64(9), pb::FieldCodec.ForSFixed64(17), 522);
1470     private readonly pbc::MapField<long, long> mapSfixed64Sfixed64_ = new pbc::MapField<long, long>();
1471     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1472     public pbc::MapField<long, long> MapSfixed64Sfixed64 {
1473       get { return mapSfixed64Sfixed64_; }
1474     }
1475 
1476     /// <summary>Field number for the "map_int32_float" field.</summary>
1477     public const int MapInt32FloatFieldNumber = 66;
1478     private static readonly pbc::MapField<int, float>.Codec _map_mapInt32Float_codec
1479         = new pbc::MapField<int, float>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForFloat(21), 530);
1480     private readonly pbc::MapField<int, float> mapInt32Float_ = new pbc::MapField<int, float>();
1481     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1482     public pbc::MapField<int, float> MapInt32Float {
1483       get { return mapInt32Float_; }
1484     }
1485 
1486     /// <summary>Field number for the "map_int32_double" field.</summary>
1487     public const int MapInt32DoubleFieldNumber = 67;
1488     private static readonly pbc::MapField<int, double>.Codec _map_mapInt32Double_codec
1489         = new pbc::MapField<int, double>.Codec(pb::FieldCodec.ForInt32(8), pb::FieldCodec.ForDouble(17), 538);
1490     private readonly pbc::MapField<int, double> mapInt32Double_ = new pbc::MapField<int, double>();
1491     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1492     public pbc::MapField<int, double> MapInt32Double {
1493       get { return mapInt32Double_; }
1494     }
1495 
1496     /// <summary>Field number for the "map_bool_bool" field.</summary>
1497     public const int MapBoolBoolFieldNumber = 68;
1498     private static readonly pbc::MapField<bool, bool>.Codec _map_mapBoolBool_codec
1499         = new pbc::MapField<bool, bool>.Codec(pb::FieldCodec.ForBool(8), pb::FieldCodec.ForBool(16), 546);
1500     private readonly pbc::MapField<bool, bool> mapBoolBool_ = new pbc::MapField<bool, bool>();
1501     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1502     public pbc::MapField<bool, bool> MapBoolBool {
1503       get { return mapBoolBool_; }
1504     }
1505 
1506     /// <summary>Field number for the "map_string_string" field.</summary>
1507     public const int MapStringStringFieldNumber = 69;
1508     private static readonly pbc::MapField<string, string>.Codec _map_mapStringString_codec
1509         = new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForString(18), 554);
1510     private readonly pbc::MapField<string, string> mapStringString_ = new pbc::MapField<string, string>();
1511     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1512     public pbc::MapField<string, string> MapStringString {
1513       get { return mapStringString_; }
1514     }
1515 
1516     /// <summary>Field number for the "map_string_bytes" field.</summary>
1517     public const int MapStringBytesFieldNumber = 70;
1518     private static readonly pbc::MapField<string, pb::ByteString>.Codec _map_mapStringBytes_codec
1519         = new pbc::MapField<string, pb::ByteString>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForBytes(18), 562);
1520     private readonly pbc::MapField<string, pb::ByteString> mapStringBytes_ = new pbc::MapField<string, pb::ByteString>();
1521     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1522     public pbc::MapField<string, pb::ByteString> MapStringBytes {
1523       get { return mapStringBytes_; }
1524     }
1525 
1526     /// <summary>Field number for the "map_string_nested_message" field.</summary>
1527     public const int MapStringNestedMessageFieldNumber = 71;
1528     private static readonly pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedMessage>.Codec _map_mapStringNestedMessage_codec
1529         = new pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::Conformance.TestAllTypes.Types.NestedMessage.Parser), 570);
1530     private readonly pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedMessage> mapStringNestedMessage_ = new pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedMessage>();
1531     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1532     public pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedMessage> MapStringNestedMessage {
1533       get { return mapStringNestedMessage_; }
1534     }
1535 
1536     /// <summary>Field number for the "map_string_foreign_message" field.</summary>
1537     public const int MapStringForeignMessageFieldNumber = 72;
1538     private static readonly pbc::MapField<string, global::Conformance.ForeignMessage>.Codec _map_mapStringForeignMessage_codec
1539         = new pbc::MapField<string, global::Conformance.ForeignMessage>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForMessage(18, global::Conformance.ForeignMessage.Parser), 578);
1540     private readonly pbc::MapField<string, global::Conformance.ForeignMessage> mapStringForeignMessage_ = new pbc::MapField<string, global::Conformance.ForeignMessage>();
1541     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1542     public pbc::MapField<string, global::Conformance.ForeignMessage> MapStringForeignMessage {
1543       get { return mapStringForeignMessage_; }
1544     }
1545 
1546     /// <summary>Field number for the "map_string_nested_enum" field.</summary>
1547     public const int MapStringNestedEnumFieldNumber = 73;
1548     private static readonly pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedEnum>.Codec _map_mapStringNestedEnum_codec
1549         = new pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedEnum>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Conformance.TestAllTypes.Types.NestedEnum) x), 586);
1550     private readonly pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedEnum> mapStringNestedEnum_ = new pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedEnum>();
1551     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1552     public pbc::MapField<string, global::Conformance.TestAllTypes.Types.NestedEnum> MapStringNestedEnum {
1553       get { return mapStringNestedEnum_; }
1554     }
1555 
1556     /// <summary>Field number for the "map_string_foreign_enum" field.</summary>
1557     public const int MapStringForeignEnumFieldNumber = 74;
1558     private static readonly pbc::MapField<string, global::Conformance.ForeignEnum>.Codec _map_mapStringForeignEnum_codec
1559         = new pbc::MapField<string, global::Conformance.ForeignEnum>.Codec(pb::FieldCodec.ForString(10), pb::FieldCodec.ForEnum(16, x => (int) x, x => (global::Conformance.ForeignEnum) x), 594);
1560     private readonly pbc::MapField<string, global::Conformance.ForeignEnum> mapStringForeignEnum_ = new pbc::MapField<string, global::Conformance.ForeignEnum>();
1561     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1562     public pbc::MapField<string, global::Conformance.ForeignEnum> MapStringForeignEnum {
1563       get { return mapStringForeignEnum_; }
1564     }
1565 
1566     /// <summary>Field number for the "oneof_uint32" field.</summary>
1567     public const int OneofUint32FieldNumber = 111;
1568     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1569     public uint OneofUint32 {
1570       get { return oneofFieldCase_ == OneofFieldOneofCase.OneofUint32 ? (uint) oneofField_ : 0; }
1571       set {
1572         oneofField_ = value;
1573         oneofFieldCase_ = OneofFieldOneofCase.OneofUint32;
1574       }
1575     }
1576 
1577     /// <summary>Field number for the "oneof_nested_message" field.</summary>
1578     public const int OneofNestedMessageFieldNumber = 112;
1579     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1580     public global::Conformance.TestAllTypes.Types.NestedMessage OneofNestedMessage {
1581       get { return oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage ? (global::Conformance.TestAllTypes.Types.NestedMessage) oneofField_ : null; }
1582       set {
1583         oneofField_ = value;
1584         oneofFieldCase_ = value == null ? OneofFieldOneofCase.None : OneofFieldOneofCase.OneofNestedMessage;
1585       }
1586     }
1587 
1588     /// <summary>Field number for the "oneof_string" field.</summary>
1589     public const int OneofStringFieldNumber = 113;
1590     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1591     public string OneofString {
1592       get { return oneofFieldCase_ == OneofFieldOneofCase.OneofString ? (string) oneofField_ : ""; }
1593       set {
1594         oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1595         oneofFieldCase_ = OneofFieldOneofCase.OneofString;
1596       }
1597     }
1598 
1599     /// <summary>Field number for the "oneof_bytes" field.</summary>
1600     public const int OneofBytesFieldNumber = 114;
1601     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1602     public pb::ByteString OneofBytes {
1603       get { return oneofFieldCase_ == OneofFieldOneofCase.OneofBytes ? (pb::ByteString) oneofField_ : pb::ByteString.Empty; }
1604       set {
1605         oneofField_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1606         oneofFieldCase_ = OneofFieldOneofCase.OneofBytes;
1607       }
1608     }
1609 
1610     /// <summary>Field number for the "optional_bool_wrapper" field.</summary>
1611     public const int OptionalBoolWrapperFieldNumber = 201;
1612     private static readonly pb::FieldCodec<bool?> _single_optionalBoolWrapper_codec = pb::FieldCodec.ForStructWrapper<bool>(1610);
1613     private bool? optionalBoolWrapper_;
1614     /// <summary>
1615     ///  Well-known types
1616     /// </summary>
1617     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1618     public bool? OptionalBoolWrapper {
1619       get { return optionalBoolWrapper_; }
1620       set {
1621         optionalBoolWrapper_ = value;
1622       }
1623     }
1624 
1625     /// <summary>Field number for the "optional_int32_wrapper" field.</summary>
1626     public const int OptionalInt32WrapperFieldNumber = 202;
1627     private static readonly pb::FieldCodec<int?> _single_optionalInt32Wrapper_codec = pb::FieldCodec.ForStructWrapper<int>(1618);
1628     private int? optionalInt32Wrapper_;
1629     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1630     public int? OptionalInt32Wrapper {
1631       get { return optionalInt32Wrapper_; }
1632       set {
1633         optionalInt32Wrapper_ = value;
1634       }
1635     }
1636 
1637     /// <summary>Field number for the "optional_int64_wrapper" field.</summary>
1638     public const int OptionalInt64WrapperFieldNumber = 203;
1639     private static readonly pb::FieldCodec<long?> _single_optionalInt64Wrapper_codec = pb::FieldCodec.ForStructWrapper<long>(1626);
1640     private long? optionalInt64Wrapper_;
1641     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1642     public long? OptionalInt64Wrapper {
1643       get { return optionalInt64Wrapper_; }
1644       set {
1645         optionalInt64Wrapper_ = value;
1646       }
1647     }
1648 
1649     /// <summary>Field number for the "optional_uint32_wrapper" field.</summary>
1650     public const int OptionalUint32WrapperFieldNumber = 204;
1651     private static readonly pb::FieldCodec<uint?> _single_optionalUint32Wrapper_codec = pb::FieldCodec.ForStructWrapper<uint>(1634);
1652     private uint? optionalUint32Wrapper_;
1653     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1654     public uint? OptionalUint32Wrapper {
1655       get { return optionalUint32Wrapper_; }
1656       set {
1657         optionalUint32Wrapper_ = value;
1658       }
1659     }
1660 
1661     /// <summary>Field number for the "optional_uint64_wrapper" field.</summary>
1662     public const int OptionalUint64WrapperFieldNumber = 205;
1663     private static readonly pb::FieldCodec<ulong?> _single_optionalUint64Wrapper_codec = pb::FieldCodec.ForStructWrapper<ulong>(1642);
1664     private ulong? optionalUint64Wrapper_;
1665     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1666     public ulong? OptionalUint64Wrapper {
1667       get { return optionalUint64Wrapper_; }
1668       set {
1669         optionalUint64Wrapper_ = value;
1670       }
1671     }
1672 
1673     /// <summary>Field number for the "optional_float_wrapper" field.</summary>
1674     public const int OptionalFloatWrapperFieldNumber = 206;
1675     private static readonly pb::FieldCodec<float?> _single_optionalFloatWrapper_codec = pb::FieldCodec.ForStructWrapper<float>(1650);
1676     private float? optionalFloatWrapper_;
1677     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1678     public float? OptionalFloatWrapper {
1679       get { return optionalFloatWrapper_; }
1680       set {
1681         optionalFloatWrapper_ = value;
1682       }
1683     }
1684 
1685     /// <summary>Field number for the "optional_double_wrapper" field.</summary>
1686     public const int OptionalDoubleWrapperFieldNumber = 207;
1687     private static readonly pb::FieldCodec<double?> _single_optionalDoubleWrapper_codec = pb::FieldCodec.ForStructWrapper<double>(1658);
1688     private double? optionalDoubleWrapper_;
1689     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1690     public double? OptionalDoubleWrapper {
1691       get { return optionalDoubleWrapper_; }
1692       set {
1693         optionalDoubleWrapper_ = value;
1694       }
1695     }
1696 
1697     /// <summary>Field number for the "optional_string_wrapper" field.</summary>
1698     public const int OptionalStringWrapperFieldNumber = 208;
1699     private static readonly pb::FieldCodec<string> _single_optionalStringWrapper_codec = pb::FieldCodec.ForClassWrapper<string>(1666);
1700     private string optionalStringWrapper_;
1701     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1702     public string OptionalStringWrapper {
1703       get { return optionalStringWrapper_; }
1704       set {
1705         optionalStringWrapper_ = value;
1706       }
1707     }
1708 
1709     /// <summary>Field number for the "optional_bytes_wrapper" field.</summary>
1710     public const int OptionalBytesWrapperFieldNumber = 209;
1711     private static readonly pb::FieldCodec<pb::ByteString> _single_optionalBytesWrapper_codec = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1674);
1712     private pb::ByteString optionalBytesWrapper_;
1713     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1714     public pb::ByteString OptionalBytesWrapper {
1715       get { return optionalBytesWrapper_; }
1716       set {
1717         optionalBytesWrapper_ = value;
1718       }
1719     }
1720 
1721     /// <summary>Field number for the "repeated_bool_wrapper" field.</summary>
1722     public const int RepeatedBoolWrapperFieldNumber = 211;
1723     private static readonly pb::FieldCodec<bool?> _repeated_repeatedBoolWrapper_codec
1724         = pb::FieldCodec.ForStructWrapper<bool>(1690);
1725     private readonly pbc::RepeatedField<bool?> repeatedBoolWrapper_ = new pbc::RepeatedField<bool?>();
1726     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1727     public pbc::RepeatedField<bool?> RepeatedBoolWrapper {
1728       get { return repeatedBoolWrapper_; }
1729     }
1730 
1731     /// <summary>Field number for the "repeated_int32_wrapper" field.</summary>
1732     public const int RepeatedInt32WrapperFieldNumber = 212;
1733     private static readonly pb::FieldCodec<int?> _repeated_repeatedInt32Wrapper_codec
1734         = pb::FieldCodec.ForStructWrapper<int>(1698);
1735     private readonly pbc::RepeatedField<int?> repeatedInt32Wrapper_ = new pbc::RepeatedField<int?>();
1736     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1737     public pbc::RepeatedField<int?> RepeatedInt32Wrapper {
1738       get { return repeatedInt32Wrapper_; }
1739     }
1740 
1741     /// <summary>Field number for the "repeated_int64_wrapper" field.</summary>
1742     public const int RepeatedInt64WrapperFieldNumber = 213;
1743     private static readonly pb::FieldCodec<long?> _repeated_repeatedInt64Wrapper_codec
1744         = pb::FieldCodec.ForStructWrapper<long>(1706);
1745     private readonly pbc::RepeatedField<long?> repeatedInt64Wrapper_ = new pbc::RepeatedField<long?>();
1746     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1747     public pbc::RepeatedField<long?> RepeatedInt64Wrapper {
1748       get { return repeatedInt64Wrapper_; }
1749     }
1750 
1751     /// <summary>Field number for the "repeated_uint32_wrapper" field.</summary>
1752     public const int RepeatedUint32WrapperFieldNumber = 214;
1753     private static readonly pb::FieldCodec<uint?> _repeated_repeatedUint32Wrapper_codec
1754         = pb::FieldCodec.ForStructWrapper<uint>(1714);
1755     private readonly pbc::RepeatedField<uint?> repeatedUint32Wrapper_ = new pbc::RepeatedField<uint?>();
1756     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1757     public pbc::RepeatedField<uint?> RepeatedUint32Wrapper {
1758       get { return repeatedUint32Wrapper_; }
1759     }
1760 
1761     /// <summary>Field number for the "repeated_uint64_wrapper" field.</summary>
1762     public const int RepeatedUint64WrapperFieldNumber = 215;
1763     private static readonly pb::FieldCodec<ulong?> _repeated_repeatedUint64Wrapper_codec
1764         = pb::FieldCodec.ForStructWrapper<ulong>(1722);
1765     private readonly pbc::RepeatedField<ulong?> repeatedUint64Wrapper_ = new pbc::RepeatedField<ulong?>();
1766     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1767     public pbc::RepeatedField<ulong?> RepeatedUint64Wrapper {
1768       get { return repeatedUint64Wrapper_; }
1769     }
1770 
1771     /// <summary>Field number for the "repeated_float_wrapper" field.</summary>
1772     public const int RepeatedFloatWrapperFieldNumber = 216;
1773     private static readonly pb::FieldCodec<float?> _repeated_repeatedFloatWrapper_codec
1774         = pb::FieldCodec.ForStructWrapper<float>(1730);
1775     private readonly pbc::RepeatedField<float?> repeatedFloatWrapper_ = new pbc::RepeatedField<float?>();
1776     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1777     public pbc::RepeatedField<float?> RepeatedFloatWrapper {
1778       get { return repeatedFloatWrapper_; }
1779     }
1780 
1781     /// <summary>Field number for the "repeated_double_wrapper" field.</summary>
1782     public const int RepeatedDoubleWrapperFieldNumber = 217;
1783     private static readonly pb::FieldCodec<double?> _repeated_repeatedDoubleWrapper_codec
1784         = pb::FieldCodec.ForStructWrapper<double>(1738);
1785     private readonly pbc::RepeatedField<double?> repeatedDoubleWrapper_ = new pbc::RepeatedField<double?>();
1786     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1787     public pbc::RepeatedField<double?> RepeatedDoubleWrapper {
1788       get { return repeatedDoubleWrapper_; }
1789     }
1790 
1791     /// <summary>Field number for the "repeated_string_wrapper" field.</summary>
1792     public const int RepeatedStringWrapperFieldNumber = 218;
1793     private static readonly pb::FieldCodec<string> _repeated_repeatedStringWrapper_codec
1794         = pb::FieldCodec.ForClassWrapper<string>(1746);
1795     private readonly pbc::RepeatedField<string> repeatedStringWrapper_ = new pbc::RepeatedField<string>();
1796     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1797     public pbc::RepeatedField<string> RepeatedStringWrapper {
1798       get { return repeatedStringWrapper_; }
1799     }
1800 
1801     /// <summary>Field number for the "repeated_bytes_wrapper" field.</summary>
1802     public const int RepeatedBytesWrapperFieldNumber = 219;
1803     private static readonly pb::FieldCodec<pb::ByteString> _repeated_repeatedBytesWrapper_codec
1804         = pb::FieldCodec.ForClassWrapper<pb::ByteString>(1754);
1805     private readonly pbc::RepeatedField<pb::ByteString> repeatedBytesWrapper_ = new pbc::RepeatedField<pb::ByteString>();
1806     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1807     public pbc::RepeatedField<pb::ByteString> RepeatedBytesWrapper {
1808       get { return repeatedBytesWrapper_; }
1809     }
1810 
1811     /// <summary>Field number for the "optional_duration" field.</summary>
1812     public const int OptionalDurationFieldNumber = 301;
1813     private global::Google.Protobuf.WellKnownTypes.Duration optionalDuration_;
1814     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1815     public global::Google.Protobuf.WellKnownTypes.Duration OptionalDuration {
1816       get { return optionalDuration_; }
1817       set {
1818         optionalDuration_ = value;
1819       }
1820     }
1821 
1822     /// <summary>Field number for the "optional_timestamp" field.</summary>
1823     public const int OptionalTimestampFieldNumber = 302;
1824     private global::Google.Protobuf.WellKnownTypes.Timestamp optionalTimestamp_;
1825     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1826     public global::Google.Protobuf.WellKnownTypes.Timestamp OptionalTimestamp {
1827       get { return optionalTimestamp_; }
1828       set {
1829         optionalTimestamp_ = value;
1830       }
1831     }
1832 
1833     /// <summary>Field number for the "optional_field_mask" field.</summary>
1834     public const int OptionalFieldMaskFieldNumber = 303;
1835     private global::Google.Protobuf.WellKnownTypes.FieldMask optionalFieldMask_;
1836     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1837     public global::Google.Protobuf.WellKnownTypes.FieldMask OptionalFieldMask {
1838       get { return optionalFieldMask_; }
1839       set {
1840         optionalFieldMask_ = value;
1841       }
1842     }
1843 
1844     /// <summary>Field number for the "optional_struct" field.</summary>
1845     public const int OptionalStructFieldNumber = 304;
1846     private global::Google.Protobuf.WellKnownTypes.Struct optionalStruct_;
1847     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1848     public global::Google.Protobuf.WellKnownTypes.Struct OptionalStruct {
1849       get { return optionalStruct_; }
1850       set {
1851         optionalStruct_ = value;
1852       }
1853     }
1854 
1855     /// <summary>Field number for the "optional_any" field.</summary>
1856     public const int OptionalAnyFieldNumber = 305;
1857     private global::Google.Protobuf.WellKnownTypes.Any optionalAny_;
1858     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1859     public global::Google.Protobuf.WellKnownTypes.Any OptionalAny {
1860       get { return optionalAny_; }
1861       set {
1862         optionalAny_ = value;
1863       }
1864     }
1865 
1866     /// <summary>Field number for the "optional_value" field.</summary>
1867     public const int OptionalValueFieldNumber = 306;
1868     private global::Google.Protobuf.WellKnownTypes.Value optionalValue_;
1869     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1870     public global::Google.Protobuf.WellKnownTypes.Value OptionalValue {
1871       get { return optionalValue_; }
1872       set {
1873         optionalValue_ = value;
1874       }
1875     }
1876 
1877     /// <summary>Field number for the "repeated_duration" field.</summary>
1878     public const int RepeatedDurationFieldNumber = 311;
1879     private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Duration> _repeated_repeatedDuration_codec
1880         = pb::FieldCodec.ForMessage(2490, global::Google.Protobuf.WellKnownTypes.Duration.Parser);
1881     private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> repeatedDuration_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration>();
1882     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1883     public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Duration> RepeatedDuration {
1884       get { return repeatedDuration_; }
1885     }
1886 
1887     /// <summary>Field number for the "repeated_timestamp" field.</summary>
1888     public const int RepeatedTimestampFieldNumber = 312;
1889     private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Timestamp> _repeated_repeatedTimestamp_codec
1890         = pb::FieldCodec.ForMessage(2498, global::Google.Protobuf.WellKnownTypes.Timestamp.Parser);
1891     private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> repeatedTimestamp_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp>();
1892     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1893     public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Timestamp> RepeatedTimestamp {
1894       get { return repeatedTimestamp_; }
1895     }
1896 
1897     /// <summary>Field number for the "repeated_fieldmask" field.</summary>
1898     public const int RepeatedFieldmaskFieldNumber = 313;
1899     private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.FieldMask> _repeated_repeatedFieldmask_codec
1900         = pb::FieldCodec.ForMessage(2506, global::Google.Protobuf.WellKnownTypes.FieldMask.Parser);
1901     private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> repeatedFieldmask_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask>();
1902     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1903     public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.FieldMask> RepeatedFieldmask {
1904       get { return repeatedFieldmask_; }
1905     }
1906 
1907     /// <summary>Field number for the "repeated_struct" field.</summary>
1908     public const int RepeatedStructFieldNumber = 324;
1909     private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Struct> _repeated_repeatedStruct_codec
1910         = pb::FieldCodec.ForMessage(2594, global::Google.Protobuf.WellKnownTypes.Struct.Parser);
1911     private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> repeatedStruct_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct>();
1912     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1913     public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Struct> RepeatedStruct {
1914       get { return repeatedStruct_; }
1915     }
1916 
1917     /// <summary>Field number for the "repeated_any" field.</summary>
1918     public const int RepeatedAnyFieldNumber = 315;
1919     private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Any> _repeated_repeatedAny_codec
1920         = pb::FieldCodec.ForMessage(2522, global::Google.Protobuf.WellKnownTypes.Any.Parser);
1921     private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> repeatedAny_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any>();
1922     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1923     public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Any> RepeatedAny {
1924       get { return repeatedAny_; }
1925     }
1926 
1927     /// <summary>Field number for the "repeated_value" field.</summary>
1928     public const int RepeatedValueFieldNumber = 316;
1929     private static readonly pb::FieldCodec<global::Google.Protobuf.WellKnownTypes.Value> _repeated_repeatedValue_codec
1930         = pb::FieldCodec.ForMessage(2530, global::Google.Protobuf.WellKnownTypes.Value.Parser);
1931     private readonly pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> repeatedValue_ = new pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value>();
1932     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1933     public pbc::RepeatedField<global::Google.Protobuf.WellKnownTypes.Value> RepeatedValue {
1934       get { return repeatedValue_; }
1935     }
1936 
1937     /// <summary>Field number for the "fieldname1" field.</summary>
1938     public const int Fieldname1FieldNumber = 401;
1939     private int fieldname1_;
1940     /// <summary>
1941     ///  Test field-name-to-JSON-name convention.
1942     /// </summary>
1943     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1944     public int Fieldname1 {
1945       get { return fieldname1_; }
1946       set {
1947         fieldname1_ = value;
1948       }
1949     }
1950 
1951     /// <summary>Field number for the "field_name2" field.</summary>
1952     public const int FieldName2FieldNumber = 402;
1953     private int fieldName2_;
1954     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1955     public int FieldName2 {
1956       get { return fieldName2_; }
1957       set {
1958         fieldName2_ = value;
1959       }
1960     }
1961 
1962     /// <summary>Field number for the "_field_name3" field.</summary>
1963     public const int FieldName3FieldNumber = 403;
1964     private int FieldName3_;
1965     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1966     public int FieldName3 {
1967       get { return FieldName3_; }
1968       set {
1969         FieldName3_ = value;
1970       }
1971     }
1972 
1973     /// <summary>Field number for the "field__name4_" field.</summary>
1974     public const int FieldName4FieldNumber = 404;
1975     private int fieldName4_;
1976     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1977     public int FieldName4 {
1978       get { return fieldName4_; }
1979       set {
1980         fieldName4_ = value;
1981       }
1982     }
1983 
1984     /// <summary>Field number for the "field0name5" field.</summary>
1985     public const int Field0Name5FieldNumber = 405;
1986     private int field0Name5_;
1987     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1988     public int Field0Name5 {
1989       get { return field0Name5_; }
1990       set {
1991         field0Name5_ = value;
1992       }
1993     }
1994 
1995     /// <summary>Field number for the "field_0_name6" field.</summary>
1996     public const int Field0Name6FieldNumber = 406;
1997     private int field0Name6_;
1998     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1999     public int Field0Name6 {
2000       get { return field0Name6_; }
2001       set {
2002         field0Name6_ = value;
2003       }
2004     }
2005 
2006     /// <summary>Field number for the "fieldName7" field.</summary>
2007     public const int FieldName7FieldNumber = 407;
2008     private int fieldName7_;
2009     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2010     public int FieldName7 {
2011       get { return fieldName7_; }
2012       set {
2013         fieldName7_ = value;
2014       }
2015     }
2016 
2017     /// <summary>Field number for the "FieldName8" field.</summary>
2018     public const int FieldName8FieldNumber = 408;
2019     private int fieldName8_;
2020     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2021     public int FieldName8 {
2022       get { return fieldName8_; }
2023       set {
2024         fieldName8_ = value;
2025       }
2026     }
2027 
2028     /// <summary>Field number for the "field_Name9" field.</summary>
2029     public const int FieldName9FieldNumber = 409;
2030     private int fieldName9_;
2031     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2032     public int FieldName9 {
2033       get { return fieldName9_; }
2034       set {
2035         fieldName9_ = value;
2036       }
2037     }
2038 
2039     /// <summary>Field number for the "Field_Name10" field.</summary>
2040     public const int FieldName10FieldNumber = 410;
2041     private int fieldName10_;
2042     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2043     public int FieldName10 {
2044       get { return fieldName10_; }
2045       set {
2046         fieldName10_ = value;
2047       }
2048     }
2049 
2050     /// <summary>Field number for the "FIELD_NAME11" field.</summary>
2051     public const int FIELDNAME11FieldNumber = 411;
2052     private int fIELDNAME11_;
2053     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2054     public int FIELDNAME11 {
2055       get { return fIELDNAME11_; }
2056       set {
2057         fIELDNAME11_ = value;
2058       }
2059     }
2060 
2061     /// <summary>Field number for the "FIELD_name12" field.</summary>
2062     public const int FIELDName12FieldNumber = 412;
2063     private int fIELDName12_;
2064     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2065     public int FIELDName12 {
2066       get { return fIELDName12_; }
2067       set {
2068         fIELDName12_ = value;
2069       }
2070     }
2071 
2072     private object oneofField_;
2073     /// <summary>Enum of possible cases for the "oneof_field" oneof.</summary>
2074     public enum OneofFieldOneofCase {
2075       None = 0,
2076       OneofUint32 = 111,
2077       OneofNestedMessage = 112,
2078       OneofString = 113,
2079       OneofBytes = 114,
2080     }
2081     private OneofFieldOneofCase oneofFieldCase_ = OneofFieldOneofCase.None;
2082     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2083     public OneofFieldOneofCase OneofFieldCase {
2084       get { return oneofFieldCase_; }
2085     }
2086 
2087     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ClearOneofField()2088     public void ClearOneofField() {
2089       oneofFieldCase_ = OneofFieldOneofCase.None;
2090       oneofField_ = null;
2091     }
2092 
2093     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)2094     public override bool Equals(object other) {
2095       return Equals(other as TestAllTypes);
2096     }
2097 
2098     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(TestAllTypes other)2099     public bool Equals(TestAllTypes other) {
2100       if (ReferenceEquals(other, null)) {
2101         return false;
2102       }
2103       if (ReferenceEquals(other, this)) {
2104         return true;
2105       }
2106       if (OptionalInt32 != other.OptionalInt32) return false;
2107       if (OptionalInt64 != other.OptionalInt64) return false;
2108       if (OptionalUint32 != other.OptionalUint32) return false;
2109       if (OptionalUint64 != other.OptionalUint64) return false;
2110       if (OptionalSint32 != other.OptionalSint32) return false;
2111       if (OptionalSint64 != other.OptionalSint64) return false;
2112       if (OptionalFixed32 != other.OptionalFixed32) return false;
2113       if (OptionalFixed64 != other.OptionalFixed64) return false;
2114       if (OptionalSfixed32 != other.OptionalSfixed32) return false;
2115       if (OptionalSfixed64 != other.OptionalSfixed64) return false;
2116       if (OptionalFloat != other.OptionalFloat) return false;
2117       if (OptionalDouble != other.OptionalDouble) return false;
2118       if (OptionalBool != other.OptionalBool) return false;
2119       if (OptionalString != other.OptionalString) return false;
2120       if (OptionalBytes != other.OptionalBytes) return false;
2121       if (!object.Equals(OptionalNestedMessage, other.OptionalNestedMessage)) return false;
2122       if (!object.Equals(OptionalForeignMessage, other.OptionalForeignMessage)) return false;
2123       if (OptionalNestedEnum != other.OptionalNestedEnum) return false;
2124       if (OptionalForeignEnum != other.OptionalForeignEnum) return false;
2125       if (OptionalStringPiece != other.OptionalStringPiece) return false;
2126       if (OptionalCord != other.OptionalCord) return false;
2127       if (!object.Equals(RecursiveMessage, other.RecursiveMessage)) return false;
2128       if(!repeatedInt32_.Equals(other.repeatedInt32_)) return false;
2129       if(!repeatedInt64_.Equals(other.repeatedInt64_)) return false;
2130       if(!repeatedUint32_.Equals(other.repeatedUint32_)) return false;
2131       if(!repeatedUint64_.Equals(other.repeatedUint64_)) return false;
2132       if(!repeatedSint32_.Equals(other.repeatedSint32_)) return false;
2133       if(!repeatedSint64_.Equals(other.repeatedSint64_)) return false;
2134       if(!repeatedFixed32_.Equals(other.repeatedFixed32_)) return false;
2135       if(!repeatedFixed64_.Equals(other.repeatedFixed64_)) return false;
2136       if(!repeatedSfixed32_.Equals(other.repeatedSfixed32_)) return false;
2137       if(!repeatedSfixed64_.Equals(other.repeatedSfixed64_)) return false;
2138       if(!repeatedFloat_.Equals(other.repeatedFloat_)) return false;
2139       if(!repeatedDouble_.Equals(other.repeatedDouble_)) return false;
2140       if(!repeatedBool_.Equals(other.repeatedBool_)) return false;
2141       if(!repeatedString_.Equals(other.repeatedString_)) return false;
2142       if(!repeatedBytes_.Equals(other.repeatedBytes_)) return false;
2143       if(!repeatedNestedMessage_.Equals(other.repeatedNestedMessage_)) return false;
2144       if(!repeatedForeignMessage_.Equals(other.repeatedForeignMessage_)) return false;
2145       if(!repeatedNestedEnum_.Equals(other.repeatedNestedEnum_)) return false;
2146       if(!repeatedForeignEnum_.Equals(other.repeatedForeignEnum_)) return false;
2147       if(!repeatedStringPiece_.Equals(other.repeatedStringPiece_)) return false;
2148       if(!repeatedCord_.Equals(other.repeatedCord_)) return false;
2149       if (!MapInt32Int32.Equals(other.MapInt32Int32)) return false;
2150       if (!MapInt64Int64.Equals(other.MapInt64Int64)) return false;
2151       if (!MapUint32Uint32.Equals(other.MapUint32Uint32)) return false;
2152       if (!MapUint64Uint64.Equals(other.MapUint64Uint64)) return false;
2153       if (!MapSint32Sint32.Equals(other.MapSint32Sint32)) return false;
2154       if (!MapSint64Sint64.Equals(other.MapSint64Sint64)) return false;
2155       if (!MapFixed32Fixed32.Equals(other.MapFixed32Fixed32)) return false;
2156       if (!MapFixed64Fixed64.Equals(other.MapFixed64Fixed64)) return false;
2157       if (!MapSfixed32Sfixed32.Equals(other.MapSfixed32Sfixed32)) return false;
2158       if (!MapSfixed64Sfixed64.Equals(other.MapSfixed64Sfixed64)) return false;
2159       if (!MapInt32Float.Equals(other.MapInt32Float)) return false;
2160       if (!MapInt32Double.Equals(other.MapInt32Double)) return false;
2161       if (!MapBoolBool.Equals(other.MapBoolBool)) return false;
2162       if (!MapStringString.Equals(other.MapStringString)) return false;
2163       if (!MapStringBytes.Equals(other.MapStringBytes)) return false;
2164       if (!MapStringNestedMessage.Equals(other.MapStringNestedMessage)) return false;
2165       if (!MapStringForeignMessage.Equals(other.MapStringForeignMessage)) return false;
2166       if (!MapStringNestedEnum.Equals(other.MapStringNestedEnum)) return false;
2167       if (!MapStringForeignEnum.Equals(other.MapStringForeignEnum)) return false;
2168       if (OneofUint32 != other.OneofUint32) return false;
2169       if (!object.Equals(OneofNestedMessage, other.OneofNestedMessage)) return false;
2170       if (OneofString != other.OneofString) return false;
2171       if (OneofBytes != other.OneofBytes) return false;
2172       if (OptionalBoolWrapper != other.OptionalBoolWrapper) return false;
2173       if (OptionalInt32Wrapper != other.OptionalInt32Wrapper) return false;
2174       if (OptionalInt64Wrapper != other.OptionalInt64Wrapper) return false;
2175       if (OptionalUint32Wrapper != other.OptionalUint32Wrapper) return false;
2176       if (OptionalUint64Wrapper != other.OptionalUint64Wrapper) return false;
2177       if (OptionalFloatWrapper != other.OptionalFloatWrapper) return false;
2178       if (OptionalDoubleWrapper != other.OptionalDoubleWrapper) return false;
2179       if (OptionalStringWrapper != other.OptionalStringWrapper) return false;
2180       if (OptionalBytesWrapper != other.OptionalBytesWrapper) return false;
2181       if(!repeatedBoolWrapper_.Equals(other.repeatedBoolWrapper_)) return false;
2182       if(!repeatedInt32Wrapper_.Equals(other.repeatedInt32Wrapper_)) return false;
2183       if(!repeatedInt64Wrapper_.Equals(other.repeatedInt64Wrapper_)) return false;
2184       if(!repeatedUint32Wrapper_.Equals(other.repeatedUint32Wrapper_)) return false;
2185       if(!repeatedUint64Wrapper_.Equals(other.repeatedUint64Wrapper_)) return false;
2186       if(!repeatedFloatWrapper_.Equals(other.repeatedFloatWrapper_)) return false;
2187       if(!repeatedDoubleWrapper_.Equals(other.repeatedDoubleWrapper_)) return false;
2188       if(!repeatedStringWrapper_.Equals(other.repeatedStringWrapper_)) return false;
2189       if(!repeatedBytesWrapper_.Equals(other.repeatedBytesWrapper_)) return false;
2190       if (!object.Equals(OptionalDuration, other.OptionalDuration)) return false;
2191       if (!object.Equals(OptionalTimestamp, other.OptionalTimestamp)) return false;
2192       if (!object.Equals(OptionalFieldMask, other.OptionalFieldMask)) return false;
2193       if (!object.Equals(OptionalStruct, other.OptionalStruct)) return false;
2194       if (!object.Equals(OptionalAny, other.OptionalAny)) return false;
2195       if (!object.Equals(OptionalValue, other.OptionalValue)) return false;
2196       if(!repeatedDuration_.Equals(other.repeatedDuration_)) return false;
2197       if(!repeatedTimestamp_.Equals(other.repeatedTimestamp_)) return false;
2198       if(!repeatedFieldmask_.Equals(other.repeatedFieldmask_)) return false;
2199       if(!repeatedStruct_.Equals(other.repeatedStruct_)) return false;
2200       if(!repeatedAny_.Equals(other.repeatedAny_)) return false;
2201       if(!repeatedValue_.Equals(other.repeatedValue_)) return false;
2202       if (Fieldname1 != other.Fieldname1) return false;
2203       if (FieldName2 != other.FieldName2) return false;
2204       if (FieldName3 != other.FieldName3) return false;
2205       if (FieldName4 != other.FieldName4) return false;
2206       if (Field0Name5 != other.Field0Name5) return false;
2207       if (Field0Name6 != other.Field0Name6) return false;
2208       if (FieldName7 != other.FieldName7) return false;
2209       if (FieldName8 != other.FieldName8) return false;
2210       if (FieldName9 != other.FieldName9) return false;
2211       if (FieldName10 != other.FieldName10) return false;
2212       if (FIELDNAME11 != other.FIELDNAME11) return false;
2213       if (FIELDName12 != other.FIELDName12) return false;
2214       if (OneofFieldCase != other.OneofFieldCase) return false;
2215       return true;
2216     }
2217 
2218     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()2219     public override int GetHashCode() {
2220       int hash = 1;
2221       if (OptionalInt32 != 0) hash ^= OptionalInt32.GetHashCode();
2222       if (OptionalInt64 != 0L) hash ^= OptionalInt64.GetHashCode();
2223       if (OptionalUint32 != 0) hash ^= OptionalUint32.GetHashCode();
2224       if (OptionalUint64 != 0UL) hash ^= OptionalUint64.GetHashCode();
2225       if (OptionalSint32 != 0) hash ^= OptionalSint32.GetHashCode();
2226       if (OptionalSint64 != 0L) hash ^= OptionalSint64.GetHashCode();
2227       if (OptionalFixed32 != 0) hash ^= OptionalFixed32.GetHashCode();
2228       if (OptionalFixed64 != 0UL) hash ^= OptionalFixed64.GetHashCode();
2229       if (OptionalSfixed32 != 0) hash ^= OptionalSfixed32.GetHashCode();
2230       if (OptionalSfixed64 != 0L) hash ^= OptionalSfixed64.GetHashCode();
2231       if (OptionalFloat != 0F) hash ^= OptionalFloat.GetHashCode();
2232       if (OptionalDouble != 0D) hash ^= OptionalDouble.GetHashCode();
2233       if (OptionalBool != false) hash ^= OptionalBool.GetHashCode();
2234       if (OptionalString.Length != 0) hash ^= OptionalString.GetHashCode();
2235       if (OptionalBytes.Length != 0) hash ^= OptionalBytes.GetHashCode();
2236       if (optionalNestedMessage_ != null) hash ^= OptionalNestedMessage.GetHashCode();
2237       if (optionalForeignMessage_ != null) hash ^= OptionalForeignMessage.GetHashCode();
2238       if (OptionalNestedEnum != 0) hash ^= OptionalNestedEnum.GetHashCode();
2239       if (OptionalForeignEnum != 0) hash ^= OptionalForeignEnum.GetHashCode();
2240       if (OptionalStringPiece.Length != 0) hash ^= OptionalStringPiece.GetHashCode();
2241       if (OptionalCord.Length != 0) hash ^= OptionalCord.GetHashCode();
2242       if (recursiveMessage_ != null) hash ^= RecursiveMessage.GetHashCode();
2243       hash ^= repeatedInt32_.GetHashCode();
2244       hash ^= repeatedInt64_.GetHashCode();
2245       hash ^= repeatedUint32_.GetHashCode();
2246       hash ^= repeatedUint64_.GetHashCode();
2247       hash ^= repeatedSint32_.GetHashCode();
2248       hash ^= repeatedSint64_.GetHashCode();
2249       hash ^= repeatedFixed32_.GetHashCode();
2250       hash ^= repeatedFixed64_.GetHashCode();
2251       hash ^= repeatedSfixed32_.GetHashCode();
2252       hash ^= repeatedSfixed64_.GetHashCode();
2253       hash ^= repeatedFloat_.GetHashCode();
2254       hash ^= repeatedDouble_.GetHashCode();
2255       hash ^= repeatedBool_.GetHashCode();
2256       hash ^= repeatedString_.GetHashCode();
2257       hash ^= repeatedBytes_.GetHashCode();
2258       hash ^= repeatedNestedMessage_.GetHashCode();
2259       hash ^= repeatedForeignMessage_.GetHashCode();
2260       hash ^= repeatedNestedEnum_.GetHashCode();
2261       hash ^= repeatedForeignEnum_.GetHashCode();
2262       hash ^= repeatedStringPiece_.GetHashCode();
2263       hash ^= repeatedCord_.GetHashCode();
2264       hash ^= MapInt32Int32.GetHashCode();
2265       hash ^= MapInt64Int64.GetHashCode();
2266       hash ^= MapUint32Uint32.GetHashCode();
2267       hash ^= MapUint64Uint64.GetHashCode();
2268       hash ^= MapSint32Sint32.GetHashCode();
2269       hash ^= MapSint64Sint64.GetHashCode();
2270       hash ^= MapFixed32Fixed32.GetHashCode();
2271       hash ^= MapFixed64Fixed64.GetHashCode();
2272       hash ^= MapSfixed32Sfixed32.GetHashCode();
2273       hash ^= MapSfixed64Sfixed64.GetHashCode();
2274       hash ^= MapInt32Float.GetHashCode();
2275       hash ^= MapInt32Double.GetHashCode();
2276       hash ^= MapBoolBool.GetHashCode();
2277       hash ^= MapStringString.GetHashCode();
2278       hash ^= MapStringBytes.GetHashCode();
2279       hash ^= MapStringNestedMessage.GetHashCode();
2280       hash ^= MapStringForeignMessage.GetHashCode();
2281       hash ^= MapStringNestedEnum.GetHashCode();
2282       hash ^= MapStringForeignEnum.GetHashCode();
2283       if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) hash ^= OneofUint32.GetHashCode();
2284       if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) hash ^= OneofNestedMessage.GetHashCode();
2285       if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) hash ^= OneofString.GetHashCode();
2286       if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) hash ^= OneofBytes.GetHashCode();
2287       if (optionalBoolWrapper_ != null) hash ^= OptionalBoolWrapper.GetHashCode();
2288       if (optionalInt32Wrapper_ != null) hash ^= OptionalInt32Wrapper.GetHashCode();
2289       if (optionalInt64Wrapper_ != null) hash ^= OptionalInt64Wrapper.GetHashCode();
2290       if (optionalUint32Wrapper_ != null) hash ^= OptionalUint32Wrapper.GetHashCode();
2291       if (optionalUint64Wrapper_ != null) hash ^= OptionalUint64Wrapper.GetHashCode();
2292       if (optionalFloatWrapper_ != null) hash ^= OptionalFloatWrapper.GetHashCode();
2293       if (optionalDoubleWrapper_ != null) hash ^= OptionalDoubleWrapper.GetHashCode();
2294       if (optionalStringWrapper_ != null) hash ^= OptionalStringWrapper.GetHashCode();
2295       if (optionalBytesWrapper_ != null) hash ^= OptionalBytesWrapper.GetHashCode();
2296       hash ^= repeatedBoolWrapper_.GetHashCode();
2297       hash ^= repeatedInt32Wrapper_.GetHashCode();
2298       hash ^= repeatedInt64Wrapper_.GetHashCode();
2299       hash ^= repeatedUint32Wrapper_.GetHashCode();
2300       hash ^= repeatedUint64Wrapper_.GetHashCode();
2301       hash ^= repeatedFloatWrapper_.GetHashCode();
2302       hash ^= repeatedDoubleWrapper_.GetHashCode();
2303       hash ^= repeatedStringWrapper_.GetHashCode();
2304       hash ^= repeatedBytesWrapper_.GetHashCode();
2305       if (optionalDuration_ != null) hash ^= OptionalDuration.GetHashCode();
2306       if (optionalTimestamp_ != null) hash ^= OptionalTimestamp.GetHashCode();
2307       if (optionalFieldMask_ != null) hash ^= OptionalFieldMask.GetHashCode();
2308       if (optionalStruct_ != null) hash ^= OptionalStruct.GetHashCode();
2309       if (optionalAny_ != null) hash ^= OptionalAny.GetHashCode();
2310       if (optionalValue_ != null) hash ^= OptionalValue.GetHashCode();
2311       hash ^= repeatedDuration_.GetHashCode();
2312       hash ^= repeatedTimestamp_.GetHashCode();
2313       hash ^= repeatedFieldmask_.GetHashCode();
2314       hash ^= repeatedStruct_.GetHashCode();
2315       hash ^= repeatedAny_.GetHashCode();
2316       hash ^= repeatedValue_.GetHashCode();
2317       if (Fieldname1 != 0) hash ^= Fieldname1.GetHashCode();
2318       if (FieldName2 != 0) hash ^= FieldName2.GetHashCode();
2319       if (FieldName3 != 0) hash ^= FieldName3.GetHashCode();
2320       if (FieldName4 != 0) hash ^= FieldName4.GetHashCode();
2321       if (Field0Name5 != 0) hash ^= Field0Name5.GetHashCode();
2322       if (Field0Name6 != 0) hash ^= Field0Name6.GetHashCode();
2323       if (FieldName7 != 0) hash ^= FieldName7.GetHashCode();
2324       if (FieldName8 != 0) hash ^= FieldName8.GetHashCode();
2325       if (FieldName9 != 0) hash ^= FieldName9.GetHashCode();
2326       if (FieldName10 != 0) hash ^= FieldName10.GetHashCode();
2327       if (FIELDNAME11 != 0) hash ^= FIELDNAME11.GetHashCode();
2328       if (FIELDName12 != 0) hash ^= FIELDName12.GetHashCode();
2329       hash ^= (int) oneofFieldCase_;
2330       return hash;
2331     }
2332 
2333     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()2334     public override string ToString() {
2335       return pb::JsonFormatter.ToDiagnosticString(this);
2336     }
2337 
2338     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)2339     public void WriteTo(pb::CodedOutputStream output) {
2340       if (OptionalInt32 != 0) {
2341         output.WriteRawTag(8);
2342         output.WriteInt32(OptionalInt32);
2343       }
2344       if (OptionalInt64 != 0L) {
2345         output.WriteRawTag(16);
2346         output.WriteInt64(OptionalInt64);
2347       }
2348       if (OptionalUint32 != 0) {
2349         output.WriteRawTag(24);
2350         output.WriteUInt32(OptionalUint32);
2351       }
2352       if (OptionalUint64 != 0UL) {
2353         output.WriteRawTag(32);
2354         output.WriteUInt64(OptionalUint64);
2355       }
2356       if (OptionalSint32 != 0) {
2357         output.WriteRawTag(40);
2358         output.WriteSInt32(OptionalSint32);
2359       }
2360       if (OptionalSint64 != 0L) {
2361         output.WriteRawTag(48);
2362         output.WriteSInt64(OptionalSint64);
2363       }
2364       if (OptionalFixed32 != 0) {
2365         output.WriteRawTag(61);
2366         output.WriteFixed32(OptionalFixed32);
2367       }
2368       if (OptionalFixed64 != 0UL) {
2369         output.WriteRawTag(65);
2370         output.WriteFixed64(OptionalFixed64);
2371       }
2372       if (OptionalSfixed32 != 0) {
2373         output.WriteRawTag(77);
2374         output.WriteSFixed32(OptionalSfixed32);
2375       }
2376       if (OptionalSfixed64 != 0L) {
2377         output.WriteRawTag(81);
2378         output.WriteSFixed64(OptionalSfixed64);
2379       }
2380       if (OptionalFloat != 0F) {
2381         output.WriteRawTag(93);
2382         output.WriteFloat(OptionalFloat);
2383       }
2384       if (OptionalDouble != 0D) {
2385         output.WriteRawTag(97);
2386         output.WriteDouble(OptionalDouble);
2387       }
2388       if (OptionalBool != false) {
2389         output.WriteRawTag(104);
2390         output.WriteBool(OptionalBool);
2391       }
2392       if (OptionalString.Length != 0) {
2393         output.WriteRawTag(114);
2394         output.WriteString(OptionalString);
2395       }
2396       if (OptionalBytes.Length != 0) {
2397         output.WriteRawTag(122);
2398         output.WriteBytes(OptionalBytes);
2399       }
2400       if (optionalNestedMessage_ != null) {
2401         output.WriteRawTag(146, 1);
2402         output.WriteMessage(OptionalNestedMessage);
2403       }
2404       if (optionalForeignMessage_ != null) {
2405         output.WriteRawTag(154, 1);
2406         output.WriteMessage(OptionalForeignMessage);
2407       }
2408       if (OptionalNestedEnum != 0) {
2409         output.WriteRawTag(168, 1);
2410         output.WriteEnum((int) OptionalNestedEnum);
2411       }
2412       if (OptionalForeignEnum != 0) {
2413         output.WriteRawTag(176, 1);
2414         output.WriteEnum((int) OptionalForeignEnum);
2415       }
2416       if (OptionalStringPiece.Length != 0) {
2417         output.WriteRawTag(194, 1);
2418         output.WriteString(OptionalStringPiece);
2419       }
2420       if (OptionalCord.Length != 0) {
2421         output.WriteRawTag(202, 1);
2422         output.WriteString(OptionalCord);
2423       }
2424       if (recursiveMessage_ != null) {
2425         output.WriteRawTag(218, 1);
2426         output.WriteMessage(RecursiveMessage);
2427       }
2428       repeatedInt32_.WriteTo(output, _repeated_repeatedInt32_codec);
2429       repeatedInt64_.WriteTo(output, _repeated_repeatedInt64_codec);
2430       repeatedUint32_.WriteTo(output, _repeated_repeatedUint32_codec);
2431       repeatedUint64_.WriteTo(output, _repeated_repeatedUint64_codec);
2432       repeatedSint32_.WriteTo(output, _repeated_repeatedSint32_codec);
2433       repeatedSint64_.WriteTo(output, _repeated_repeatedSint64_codec);
2434       repeatedFixed32_.WriteTo(output, _repeated_repeatedFixed32_codec);
2435       repeatedFixed64_.WriteTo(output, _repeated_repeatedFixed64_codec);
2436       repeatedSfixed32_.WriteTo(output, _repeated_repeatedSfixed32_codec);
2437       repeatedSfixed64_.WriteTo(output, _repeated_repeatedSfixed64_codec);
2438       repeatedFloat_.WriteTo(output, _repeated_repeatedFloat_codec);
2439       repeatedDouble_.WriteTo(output, _repeated_repeatedDouble_codec);
2440       repeatedBool_.WriteTo(output, _repeated_repeatedBool_codec);
2441       repeatedString_.WriteTo(output, _repeated_repeatedString_codec);
2442       repeatedBytes_.WriteTo(output, _repeated_repeatedBytes_codec);
2443       repeatedNestedMessage_.WriteTo(output, _repeated_repeatedNestedMessage_codec);
2444       repeatedForeignMessage_.WriteTo(output, _repeated_repeatedForeignMessage_codec);
2445       repeatedNestedEnum_.WriteTo(output, _repeated_repeatedNestedEnum_codec);
2446       repeatedForeignEnum_.WriteTo(output, _repeated_repeatedForeignEnum_codec);
2447       repeatedStringPiece_.WriteTo(output, _repeated_repeatedStringPiece_codec);
2448       repeatedCord_.WriteTo(output, _repeated_repeatedCord_codec);
2449       mapInt32Int32_.WriteTo(output, _map_mapInt32Int32_codec);
2450       mapInt64Int64_.WriteTo(output, _map_mapInt64Int64_codec);
2451       mapUint32Uint32_.WriteTo(output, _map_mapUint32Uint32_codec);
2452       mapUint64Uint64_.WriteTo(output, _map_mapUint64Uint64_codec);
2453       mapSint32Sint32_.WriteTo(output, _map_mapSint32Sint32_codec);
2454       mapSint64Sint64_.WriteTo(output, _map_mapSint64Sint64_codec);
2455       mapFixed32Fixed32_.WriteTo(output, _map_mapFixed32Fixed32_codec);
2456       mapFixed64Fixed64_.WriteTo(output, _map_mapFixed64Fixed64_codec);
2457       mapSfixed32Sfixed32_.WriteTo(output, _map_mapSfixed32Sfixed32_codec);
2458       mapSfixed64Sfixed64_.WriteTo(output, _map_mapSfixed64Sfixed64_codec);
2459       mapInt32Float_.WriteTo(output, _map_mapInt32Float_codec);
2460       mapInt32Double_.WriteTo(output, _map_mapInt32Double_codec);
2461       mapBoolBool_.WriteTo(output, _map_mapBoolBool_codec);
2462       mapStringString_.WriteTo(output, _map_mapStringString_codec);
2463       mapStringBytes_.WriteTo(output, _map_mapStringBytes_codec);
2464       mapStringNestedMessage_.WriteTo(output, _map_mapStringNestedMessage_codec);
2465       mapStringForeignMessage_.WriteTo(output, _map_mapStringForeignMessage_codec);
2466       mapStringNestedEnum_.WriteTo(output, _map_mapStringNestedEnum_codec);
2467       mapStringForeignEnum_.WriteTo(output, _map_mapStringForeignEnum_codec);
2468       if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) {
2469         output.WriteRawTag(248, 6);
2470         output.WriteUInt32(OneofUint32);
2471       }
2472       if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
2473         output.WriteRawTag(130, 7);
2474         output.WriteMessage(OneofNestedMessage);
2475       }
2476       if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) {
2477         output.WriteRawTag(138, 7);
2478         output.WriteString(OneofString);
2479       }
2480       if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) {
2481         output.WriteRawTag(146, 7);
2482         output.WriteBytes(OneofBytes);
2483       }
2484       if (optionalBoolWrapper_ != null) {
2485         _single_optionalBoolWrapper_codec.WriteTagAndValue(output, OptionalBoolWrapper);
2486       }
2487       if (optionalInt32Wrapper_ != null) {
2488         _single_optionalInt32Wrapper_codec.WriteTagAndValue(output, OptionalInt32Wrapper);
2489       }
2490       if (optionalInt64Wrapper_ != null) {
2491         _single_optionalInt64Wrapper_codec.WriteTagAndValue(output, OptionalInt64Wrapper);
2492       }
2493       if (optionalUint32Wrapper_ != null) {
2494         _single_optionalUint32Wrapper_codec.WriteTagAndValue(output, OptionalUint32Wrapper);
2495       }
2496       if (optionalUint64Wrapper_ != null) {
2497         _single_optionalUint64Wrapper_codec.WriteTagAndValue(output, OptionalUint64Wrapper);
2498       }
2499       if (optionalFloatWrapper_ != null) {
2500         _single_optionalFloatWrapper_codec.WriteTagAndValue(output, OptionalFloatWrapper);
2501       }
2502       if (optionalDoubleWrapper_ != null) {
2503         _single_optionalDoubleWrapper_codec.WriteTagAndValue(output, OptionalDoubleWrapper);
2504       }
2505       if (optionalStringWrapper_ != null) {
2506         _single_optionalStringWrapper_codec.WriteTagAndValue(output, OptionalStringWrapper);
2507       }
2508       if (optionalBytesWrapper_ != null) {
2509         _single_optionalBytesWrapper_codec.WriteTagAndValue(output, OptionalBytesWrapper);
2510       }
2511       repeatedBoolWrapper_.WriteTo(output, _repeated_repeatedBoolWrapper_codec);
2512       repeatedInt32Wrapper_.WriteTo(output, _repeated_repeatedInt32Wrapper_codec);
2513       repeatedInt64Wrapper_.WriteTo(output, _repeated_repeatedInt64Wrapper_codec);
2514       repeatedUint32Wrapper_.WriteTo(output, _repeated_repeatedUint32Wrapper_codec);
2515       repeatedUint64Wrapper_.WriteTo(output, _repeated_repeatedUint64Wrapper_codec);
2516       repeatedFloatWrapper_.WriteTo(output, _repeated_repeatedFloatWrapper_codec);
2517       repeatedDoubleWrapper_.WriteTo(output, _repeated_repeatedDoubleWrapper_codec);
2518       repeatedStringWrapper_.WriteTo(output, _repeated_repeatedStringWrapper_codec);
2519       repeatedBytesWrapper_.WriteTo(output, _repeated_repeatedBytesWrapper_codec);
2520       if (optionalDuration_ != null) {
2521         output.WriteRawTag(234, 18);
2522         output.WriteMessage(OptionalDuration);
2523       }
2524       if (optionalTimestamp_ != null) {
2525         output.WriteRawTag(242, 18);
2526         output.WriteMessage(OptionalTimestamp);
2527       }
2528       if (optionalFieldMask_ != null) {
2529         output.WriteRawTag(250, 18);
2530         output.WriteMessage(OptionalFieldMask);
2531       }
2532       if (optionalStruct_ != null) {
2533         output.WriteRawTag(130, 19);
2534         output.WriteMessage(OptionalStruct);
2535       }
2536       if (optionalAny_ != null) {
2537         output.WriteRawTag(138, 19);
2538         output.WriteMessage(OptionalAny);
2539       }
2540       if (optionalValue_ != null) {
2541         output.WriteRawTag(146, 19);
2542         output.WriteMessage(OptionalValue);
2543       }
2544       repeatedDuration_.WriteTo(output, _repeated_repeatedDuration_codec);
2545       repeatedTimestamp_.WriteTo(output, _repeated_repeatedTimestamp_codec);
2546       repeatedFieldmask_.WriteTo(output, _repeated_repeatedFieldmask_codec);
2547       repeatedAny_.WriteTo(output, _repeated_repeatedAny_codec);
2548       repeatedValue_.WriteTo(output, _repeated_repeatedValue_codec);
2549       repeatedStruct_.WriteTo(output, _repeated_repeatedStruct_codec);
2550       if (Fieldname1 != 0) {
2551         output.WriteRawTag(136, 25);
2552         output.WriteInt32(Fieldname1);
2553       }
2554       if (FieldName2 != 0) {
2555         output.WriteRawTag(144, 25);
2556         output.WriteInt32(FieldName2);
2557       }
2558       if (FieldName3 != 0) {
2559         output.WriteRawTag(152, 25);
2560         output.WriteInt32(FieldName3);
2561       }
2562       if (FieldName4 != 0) {
2563         output.WriteRawTag(160, 25);
2564         output.WriteInt32(FieldName4);
2565       }
2566       if (Field0Name5 != 0) {
2567         output.WriteRawTag(168, 25);
2568         output.WriteInt32(Field0Name5);
2569       }
2570       if (Field0Name6 != 0) {
2571         output.WriteRawTag(176, 25);
2572         output.WriteInt32(Field0Name6);
2573       }
2574       if (FieldName7 != 0) {
2575         output.WriteRawTag(184, 25);
2576         output.WriteInt32(FieldName7);
2577       }
2578       if (FieldName8 != 0) {
2579         output.WriteRawTag(192, 25);
2580         output.WriteInt32(FieldName8);
2581       }
2582       if (FieldName9 != 0) {
2583         output.WriteRawTag(200, 25);
2584         output.WriteInt32(FieldName9);
2585       }
2586       if (FieldName10 != 0) {
2587         output.WriteRawTag(208, 25);
2588         output.WriteInt32(FieldName10);
2589       }
2590       if (FIELDNAME11 != 0) {
2591         output.WriteRawTag(216, 25);
2592         output.WriteInt32(FIELDNAME11);
2593       }
2594       if (FIELDName12 != 0) {
2595         output.WriteRawTag(224, 25);
2596         output.WriteInt32(FIELDName12);
2597       }
2598     }
2599 
2600     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()2601     public int CalculateSize() {
2602       int size = 0;
2603       if (OptionalInt32 != 0) {
2604         size += 1 + pb::CodedOutputStream.ComputeInt32Size(OptionalInt32);
2605       }
2606       if (OptionalInt64 != 0L) {
2607         size += 1 + pb::CodedOutputStream.ComputeInt64Size(OptionalInt64);
2608       }
2609       if (OptionalUint32 != 0) {
2610         size += 1 + pb::CodedOutputStream.ComputeUInt32Size(OptionalUint32);
2611       }
2612       if (OptionalUint64 != 0UL) {
2613         size += 1 + pb::CodedOutputStream.ComputeUInt64Size(OptionalUint64);
2614       }
2615       if (OptionalSint32 != 0) {
2616         size += 1 + pb::CodedOutputStream.ComputeSInt32Size(OptionalSint32);
2617       }
2618       if (OptionalSint64 != 0L) {
2619         size += 1 + pb::CodedOutputStream.ComputeSInt64Size(OptionalSint64);
2620       }
2621       if (OptionalFixed32 != 0) {
2622         size += 1 + 4;
2623       }
2624       if (OptionalFixed64 != 0UL) {
2625         size += 1 + 8;
2626       }
2627       if (OptionalSfixed32 != 0) {
2628         size += 1 + 4;
2629       }
2630       if (OptionalSfixed64 != 0L) {
2631         size += 1 + 8;
2632       }
2633       if (OptionalFloat != 0F) {
2634         size += 1 + 4;
2635       }
2636       if (OptionalDouble != 0D) {
2637         size += 1 + 8;
2638       }
2639       if (OptionalBool != false) {
2640         size += 1 + 1;
2641       }
2642       if (OptionalString.Length != 0) {
2643         size += 1 + pb::CodedOutputStream.ComputeStringSize(OptionalString);
2644       }
2645       if (OptionalBytes.Length != 0) {
2646         size += 1 + pb::CodedOutputStream.ComputeBytesSize(OptionalBytes);
2647       }
2648       if (optionalNestedMessage_ != null) {
2649         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalNestedMessage);
2650       }
2651       if (optionalForeignMessage_ != null) {
2652         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalForeignMessage);
2653       }
2654       if (OptionalNestedEnum != 0) {
2655         size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalNestedEnum);
2656       }
2657       if (OptionalForeignEnum != 0) {
2658         size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) OptionalForeignEnum);
2659       }
2660       if (OptionalStringPiece.Length != 0) {
2661         size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalStringPiece);
2662       }
2663       if (OptionalCord.Length != 0) {
2664         size += 2 + pb::CodedOutputStream.ComputeStringSize(OptionalCord);
2665       }
2666       if (recursiveMessage_ != null) {
2667         size += 2 + pb::CodedOutputStream.ComputeMessageSize(RecursiveMessage);
2668       }
2669       size += repeatedInt32_.CalculateSize(_repeated_repeatedInt32_codec);
2670       size += repeatedInt64_.CalculateSize(_repeated_repeatedInt64_codec);
2671       size += repeatedUint32_.CalculateSize(_repeated_repeatedUint32_codec);
2672       size += repeatedUint64_.CalculateSize(_repeated_repeatedUint64_codec);
2673       size += repeatedSint32_.CalculateSize(_repeated_repeatedSint32_codec);
2674       size += repeatedSint64_.CalculateSize(_repeated_repeatedSint64_codec);
2675       size += repeatedFixed32_.CalculateSize(_repeated_repeatedFixed32_codec);
2676       size += repeatedFixed64_.CalculateSize(_repeated_repeatedFixed64_codec);
2677       size += repeatedSfixed32_.CalculateSize(_repeated_repeatedSfixed32_codec);
2678       size += repeatedSfixed64_.CalculateSize(_repeated_repeatedSfixed64_codec);
2679       size += repeatedFloat_.CalculateSize(_repeated_repeatedFloat_codec);
2680       size += repeatedDouble_.CalculateSize(_repeated_repeatedDouble_codec);
2681       size += repeatedBool_.CalculateSize(_repeated_repeatedBool_codec);
2682       size += repeatedString_.CalculateSize(_repeated_repeatedString_codec);
2683       size += repeatedBytes_.CalculateSize(_repeated_repeatedBytes_codec);
2684       size += repeatedNestedMessage_.CalculateSize(_repeated_repeatedNestedMessage_codec);
2685       size += repeatedForeignMessage_.CalculateSize(_repeated_repeatedForeignMessage_codec);
2686       size += repeatedNestedEnum_.CalculateSize(_repeated_repeatedNestedEnum_codec);
2687       size += repeatedForeignEnum_.CalculateSize(_repeated_repeatedForeignEnum_codec);
2688       size += repeatedStringPiece_.CalculateSize(_repeated_repeatedStringPiece_codec);
2689       size += repeatedCord_.CalculateSize(_repeated_repeatedCord_codec);
2690       size += mapInt32Int32_.CalculateSize(_map_mapInt32Int32_codec);
2691       size += mapInt64Int64_.CalculateSize(_map_mapInt64Int64_codec);
2692       size += mapUint32Uint32_.CalculateSize(_map_mapUint32Uint32_codec);
2693       size += mapUint64Uint64_.CalculateSize(_map_mapUint64Uint64_codec);
2694       size += mapSint32Sint32_.CalculateSize(_map_mapSint32Sint32_codec);
2695       size += mapSint64Sint64_.CalculateSize(_map_mapSint64Sint64_codec);
2696       size += mapFixed32Fixed32_.CalculateSize(_map_mapFixed32Fixed32_codec);
2697       size += mapFixed64Fixed64_.CalculateSize(_map_mapFixed64Fixed64_codec);
2698       size += mapSfixed32Sfixed32_.CalculateSize(_map_mapSfixed32Sfixed32_codec);
2699       size += mapSfixed64Sfixed64_.CalculateSize(_map_mapSfixed64Sfixed64_codec);
2700       size += mapInt32Float_.CalculateSize(_map_mapInt32Float_codec);
2701       size += mapInt32Double_.CalculateSize(_map_mapInt32Double_codec);
2702       size += mapBoolBool_.CalculateSize(_map_mapBoolBool_codec);
2703       size += mapStringString_.CalculateSize(_map_mapStringString_codec);
2704       size += mapStringBytes_.CalculateSize(_map_mapStringBytes_codec);
2705       size += mapStringNestedMessage_.CalculateSize(_map_mapStringNestedMessage_codec);
2706       size += mapStringForeignMessage_.CalculateSize(_map_mapStringForeignMessage_codec);
2707       size += mapStringNestedEnum_.CalculateSize(_map_mapStringNestedEnum_codec);
2708       size += mapStringForeignEnum_.CalculateSize(_map_mapStringForeignEnum_codec);
2709       if (oneofFieldCase_ == OneofFieldOneofCase.OneofUint32) {
2710         size += 2 + pb::CodedOutputStream.ComputeUInt32Size(OneofUint32);
2711       }
2712       if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
2713         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OneofNestedMessage);
2714       }
2715       if (oneofFieldCase_ == OneofFieldOneofCase.OneofString) {
2716         size += 2 + pb::CodedOutputStream.ComputeStringSize(OneofString);
2717       }
2718       if (oneofFieldCase_ == OneofFieldOneofCase.OneofBytes) {
2719         size += 2 + pb::CodedOutputStream.ComputeBytesSize(OneofBytes);
2720       }
2721       if (optionalBoolWrapper_ != null) {
2722         size += _single_optionalBoolWrapper_codec.CalculateSizeWithTag(OptionalBoolWrapper);
2723       }
2724       if (optionalInt32Wrapper_ != null) {
2725         size += _single_optionalInt32Wrapper_codec.CalculateSizeWithTag(OptionalInt32Wrapper);
2726       }
2727       if (optionalInt64Wrapper_ != null) {
2728         size += _single_optionalInt64Wrapper_codec.CalculateSizeWithTag(OptionalInt64Wrapper);
2729       }
2730       if (optionalUint32Wrapper_ != null) {
2731         size += _single_optionalUint32Wrapper_codec.CalculateSizeWithTag(OptionalUint32Wrapper);
2732       }
2733       if (optionalUint64Wrapper_ != null) {
2734         size += _single_optionalUint64Wrapper_codec.CalculateSizeWithTag(OptionalUint64Wrapper);
2735       }
2736       if (optionalFloatWrapper_ != null) {
2737         size += _single_optionalFloatWrapper_codec.CalculateSizeWithTag(OptionalFloatWrapper);
2738       }
2739       if (optionalDoubleWrapper_ != null) {
2740         size += _single_optionalDoubleWrapper_codec.CalculateSizeWithTag(OptionalDoubleWrapper);
2741       }
2742       if (optionalStringWrapper_ != null) {
2743         size += _single_optionalStringWrapper_codec.CalculateSizeWithTag(OptionalStringWrapper);
2744       }
2745       if (optionalBytesWrapper_ != null) {
2746         size += _single_optionalBytesWrapper_codec.CalculateSizeWithTag(OptionalBytesWrapper);
2747       }
2748       size += repeatedBoolWrapper_.CalculateSize(_repeated_repeatedBoolWrapper_codec);
2749       size += repeatedInt32Wrapper_.CalculateSize(_repeated_repeatedInt32Wrapper_codec);
2750       size += repeatedInt64Wrapper_.CalculateSize(_repeated_repeatedInt64Wrapper_codec);
2751       size += repeatedUint32Wrapper_.CalculateSize(_repeated_repeatedUint32Wrapper_codec);
2752       size += repeatedUint64Wrapper_.CalculateSize(_repeated_repeatedUint64Wrapper_codec);
2753       size += repeatedFloatWrapper_.CalculateSize(_repeated_repeatedFloatWrapper_codec);
2754       size += repeatedDoubleWrapper_.CalculateSize(_repeated_repeatedDoubleWrapper_codec);
2755       size += repeatedStringWrapper_.CalculateSize(_repeated_repeatedStringWrapper_codec);
2756       size += repeatedBytesWrapper_.CalculateSize(_repeated_repeatedBytesWrapper_codec);
2757       if (optionalDuration_ != null) {
2758         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalDuration);
2759       }
2760       if (optionalTimestamp_ != null) {
2761         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalTimestamp);
2762       }
2763       if (optionalFieldMask_ != null) {
2764         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalFieldMask);
2765       }
2766       if (optionalStruct_ != null) {
2767         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalStruct);
2768       }
2769       if (optionalAny_ != null) {
2770         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalAny);
2771       }
2772       if (optionalValue_ != null) {
2773         size += 2 + pb::CodedOutputStream.ComputeMessageSize(OptionalValue);
2774       }
2775       size += repeatedDuration_.CalculateSize(_repeated_repeatedDuration_codec);
2776       size += repeatedTimestamp_.CalculateSize(_repeated_repeatedTimestamp_codec);
2777       size += repeatedFieldmask_.CalculateSize(_repeated_repeatedFieldmask_codec);
2778       size += repeatedStruct_.CalculateSize(_repeated_repeatedStruct_codec);
2779       size += repeatedAny_.CalculateSize(_repeated_repeatedAny_codec);
2780       size += repeatedValue_.CalculateSize(_repeated_repeatedValue_codec);
2781       if (Fieldname1 != 0) {
2782         size += 2 + pb::CodedOutputStream.ComputeInt32Size(Fieldname1);
2783       }
2784       if (FieldName2 != 0) {
2785         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName2);
2786       }
2787       if (FieldName3 != 0) {
2788         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName3);
2789       }
2790       if (FieldName4 != 0) {
2791         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName4);
2792       }
2793       if (Field0Name5 != 0) {
2794         size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name5);
2795       }
2796       if (Field0Name6 != 0) {
2797         size += 2 + pb::CodedOutputStream.ComputeInt32Size(Field0Name6);
2798       }
2799       if (FieldName7 != 0) {
2800         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName7);
2801       }
2802       if (FieldName8 != 0) {
2803         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName8);
2804       }
2805       if (FieldName9 != 0) {
2806         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName9);
2807       }
2808       if (FieldName10 != 0) {
2809         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FieldName10);
2810       }
2811       if (FIELDNAME11 != 0) {
2812         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDNAME11);
2813       }
2814       if (FIELDName12 != 0) {
2815         size += 2 + pb::CodedOutputStream.ComputeInt32Size(FIELDName12);
2816       }
2817       return size;
2818     }
2819 
2820     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(TestAllTypes other)2821     public void MergeFrom(TestAllTypes other) {
2822       if (other == null) {
2823         return;
2824       }
2825       if (other.OptionalInt32 != 0) {
2826         OptionalInt32 = other.OptionalInt32;
2827       }
2828       if (other.OptionalInt64 != 0L) {
2829         OptionalInt64 = other.OptionalInt64;
2830       }
2831       if (other.OptionalUint32 != 0) {
2832         OptionalUint32 = other.OptionalUint32;
2833       }
2834       if (other.OptionalUint64 != 0UL) {
2835         OptionalUint64 = other.OptionalUint64;
2836       }
2837       if (other.OptionalSint32 != 0) {
2838         OptionalSint32 = other.OptionalSint32;
2839       }
2840       if (other.OptionalSint64 != 0L) {
2841         OptionalSint64 = other.OptionalSint64;
2842       }
2843       if (other.OptionalFixed32 != 0) {
2844         OptionalFixed32 = other.OptionalFixed32;
2845       }
2846       if (other.OptionalFixed64 != 0UL) {
2847         OptionalFixed64 = other.OptionalFixed64;
2848       }
2849       if (other.OptionalSfixed32 != 0) {
2850         OptionalSfixed32 = other.OptionalSfixed32;
2851       }
2852       if (other.OptionalSfixed64 != 0L) {
2853         OptionalSfixed64 = other.OptionalSfixed64;
2854       }
2855       if (other.OptionalFloat != 0F) {
2856         OptionalFloat = other.OptionalFloat;
2857       }
2858       if (other.OptionalDouble != 0D) {
2859         OptionalDouble = other.OptionalDouble;
2860       }
2861       if (other.OptionalBool != false) {
2862         OptionalBool = other.OptionalBool;
2863       }
2864       if (other.OptionalString.Length != 0) {
2865         OptionalString = other.OptionalString;
2866       }
2867       if (other.OptionalBytes.Length != 0) {
2868         OptionalBytes = other.OptionalBytes;
2869       }
2870       if (other.optionalNestedMessage_ != null) {
2871         if (optionalNestedMessage_ == null) {
2872           optionalNestedMessage_ = new global::Conformance.TestAllTypes.Types.NestedMessage();
2873         }
2874         OptionalNestedMessage.MergeFrom(other.OptionalNestedMessage);
2875       }
2876       if (other.optionalForeignMessage_ != null) {
2877         if (optionalForeignMessage_ == null) {
2878           optionalForeignMessage_ = new global::Conformance.ForeignMessage();
2879         }
2880         OptionalForeignMessage.MergeFrom(other.OptionalForeignMessage);
2881       }
2882       if (other.OptionalNestedEnum != 0) {
2883         OptionalNestedEnum = other.OptionalNestedEnum;
2884       }
2885       if (other.OptionalForeignEnum != 0) {
2886         OptionalForeignEnum = other.OptionalForeignEnum;
2887       }
2888       if (other.OptionalStringPiece.Length != 0) {
2889         OptionalStringPiece = other.OptionalStringPiece;
2890       }
2891       if (other.OptionalCord.Length != 0) {
2892         OptionalCord = other.OptionalCord;
2893       }
2894       if (other.recursiveMessage_ != null) {
2895         if (recursiveMessage_ == null) {
2896           recursiveMessage_ = new global::Conformance.TestAllTypes();
2897         }
2898         RecursiveMessage.MergeFrom(other.RecursiveMessage);
2899       }
2900       repeatedInt32_.Add(other.repeatedInt32_);
2901       repeatedInt64_.Add(other.repeatedInt64_);
2902       repeatedUint32_.Add(other.repeatedUint32_);
2903       repeatedUint64_.Add(other.repeatedUint64_);
2904       repeatedSint32_.Add(other.repeatedSint32_);
2905       repeatedSint64_.Add(other.repeatedSint64_);
2906       repeatedFixed32_.Add(other.repeatedFixed32_);
2907       repeatedFixed64_.Add(other.repeatedFixed64_);
2908       repeatedSfixed32_.Add(other.repeatedSfixed32_);
2909       repeatedSfixed64_.Add(other.repeatedSfixed64_);
2910       repeatedFloat_.Add(other.repeatedFloat_);
2911       repeatedDouble_.Add(other.repeatedDouble_);
2912       repeatedBool_.Add(other.repeatedBool_);
2913       repeatedString_.Add(other.repeatedString_);
2914       repeatedBytes_.Add(other.repeatedBytes_);
2915       repeatedNestedMessage_.Add(other.repeatedNestedMessage_);
2916       repeatedForeignMessage_.Add(other.repeatedForeignMessage_);
2917       repeatedNestedEnum_.Add(other.repeatedNestedEnum_);
2918       repeatedForeignEnum_.Add(other.repeatedForeignEnum_);
2919       repeatedStringPiece_.Add(other.repeatedStringPiece_);
2920       repeatedCord_.Add(other.repeatedCord_);
2921       mapInt32Int32_.Add(other.mapInt32Int32_);
2922       mapInt64Int64_.Add(other.mapInt64Int64_);
2923       mapUint32Uint32_.Add(other.mapUint32Uint32_);
2924       mapUint64Uint64_.Add(other.mapUint64Uint64_);
2925       mapSint32Sint32_.Add(other.mapSint32Sint32_);
2926       mapSint64Sint64_.Add(other.mapSint64Sint64_);
2927       mapFixed32Fixed32_.Add(other.mapFixed32Fixed32_);
2928       mapFixed64Fixed64_.Add(other.mapFixed64Fixed64_);
2929       mapSfixed32Sfixed32_.Add(other.mapSfixed32Sfixed32_);
2930       mapSfixed64Sfixed64_.Add(other.mapSfixed64Sfixed64_);
2931       mapInt32Float_.Add(other.mapInt32Float_);
2932       mapInt32Double_.Add(other.mapInt32Double_);
2933       mapBoolBool_.Add(other.mapBoolBool_);
2934       mapStringString_.Add(other.mapStringString_);
2935       mapStringBytes_.Add(other.mapStringBytes_);
2936       mapStringNestedMessage_.Add(other.mapStringNestedMessage_);
2937       mapStringForeignMessage_.Add(other.mapStringForeignMessage_);
2938       mapStringNestedEnum_.Add(other.mapStringNestedEnum_);
2939       mapStringForeignEnum_.Add(other.mapStringForeignEnum_);
2940       if (other.optionalBoolWrapper_ != null) {
2941         if (optionalBoolWrapper_ == null || other.OptionalBoolWrapper != false) {
2942           OptionalBoolWrapper = other.OptionalBoolWrapper;
2943         }
2944       }
2945       if (other.optionalInt32Wrapper_ != null) {
2946         if (optionalInt32Wrapper_ == null || other.OptionalInt32Wrapper != 0) {
2947           OptionalInt32Wrapper = other.OptionalInt32Wrapper;
2948         }
2949       }
2950       if (other.optionalInt64Wrapper_ != null) {
2951         if (optionalInt64Wrapper_ == null || other.OptionalInt64Wrapper != 0L) {
2952           OptionalInt64Wrapper = other.OptionalInt64Wrapper;
2953         }
2954       }
2955       if (other.optionalUint32Wrapper_ != null) {
2956         if (optionalUint32Wrapper_ == null || other.OptionalUint32Wrapper != 0) {
2957           OptionalUint32Wrapper = other.OptionalUint32Wrapper;
2958         }
2959       }
2960       if (other.optionalUint64Wrapper_ != null) {
2961         if (optionalUint64Wrapper_ == null || other.OptionalUint64Wrapper != 0UL) {
2962           OptionalUint64Wrapper = other.OptionalUint64Wrapper;
2963         }
2964       }
2965       if (other.optionalFloatWrapper_ != null) {
2966         if (optionalFloatWrapper_ == null || other.OptionalFloatWrapper != 0F) {
2967           OptionalFloatWrapper = other.OptionalFloatWrapper;
2968         }
2969       }
2970       if (other.optionalDoubleWrapper_ != null) {
2971         if (optionalDoubleWrapper_ == null || other.OptionalDoubleWrapper != 0D) {
2972           OptionalDoubleWrapper = other.OptionalDoubleWrapper;
2973         }
2974       }
2975       if (other.optionalStringWrapper_ != null) {
2976         if (optionalStringWrapper_ == null || other.OptionalStringWrapper != "") {
2977           OptionalStringWrapper = other.OptionalStringWrapper;
2978         }
2979       }
2980       if (other.optionalBytesWrapper_ != null) {
2981         if (optionalBytesWrapper_ == null || other.OptionalBytesWrapper != pb::ByteString.Empty) {
2982           OptionalBytesWrapper = other.OptionalBytesWrapper;
2983         }
2984       }
2985       repeatedBoolWrapper_.Add(other.repeatedBoolWrapper_);
2986       repeatedInt32Wrapper_.Add(other.repeatedInt32Wrapper_);
2987       repeatedInt64Wrapper_.Add(other.repeatedInt64Wrapper_);
2988       repeatedUint32Wrapper_.Add(other.repeatedUint32Wrapper_);
2989       repeatedUint64Wrapper_.Add(other.repeatedUint64Wrapper_);
2990       repeatedFloatWrapper_.Add(other.repeatedFloatWrapper_);
2991       repeatedDoubleWrapper_.Add(other.repeatedDoubleWrapper_);
2992       repeatedStringWrapper_.Add(other.repeatedStringWrapper_);
2993       repeatedBytesWrapper_.Add(other.repeatedBytesWrapper_);
2994       if (other.optionalDuration_ != null) {
2995         if (optionalDuration_ == null) {
2996           optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Duration();
2997         }
2998         OptionalDuration.MergeFrom(other.OptionalDuration);
2999       }
3000       if (other.optionalTimestamp_ != null) {
3001         if (optionalTimestamp_ == null) {
3002           optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
3003         }
3004         OptionalTimestamp.MergeFrom(other.OptionalTimestamp);
3005       }
3006       if (other.optionalFieldMask_ != null) {
3007         if (optionalFieldMask_ == null) {
3008           optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.FieldMask();
3009         }
3010         OptionalFieldMask.MergeFrom(other.OptionalFieldMask);
3011       }
3012       if (other.optionalStruct_ != null) {
3013         if (optionalStruct_ == null) {
3014           optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struct();
3015         }
3016         OptionalStruct.MergeFrom(other.OptionalStruct);
3017       }
3018       if (other.optionalAny_ != null) {
3019         if (optionalAny_ == null) {
3020           optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any();
3021         }
3022         OptionalAny.MergeFrom(other.OptionalAny);
3023       }
3024       if (other.optionalValue_ != null) {
3025         if (optionalValue_ == null) {
3026           optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value();
3027         }
3028         OptionalValue.MergeFrom(other.OptionalValue);
3029       }
3030       repeatedDuration_.Add(other.repeatedDuration_);
3031       repeatedTimestamp_.Add(other.repeatedTimestamp_);
3032       repeatedFieldmask_.Add(other.repeatedFieldmask_);
3033       repeatedStruct_.Add(other.repeatedStruct_);
3034       repeatedAny_.Add(other.repeatedAny_);
3035       repeatedValue_.Add(other.repeatedValue_);
3036       if (other.Fieldname1 != 0) {
3037         Fieldname1 = other.Fieldname1;
3038       }
3039       if (other.FieldName2 != 0) {
3040         FieldName2 = other.FieldName2;
3041       }
3042       if (other.FieldName3 != 0) {
3043         FieldName3 = other.FieldName3;
3044       }
3045       if (other.FieldName4 != 0) {
3046         FieldName4 = other.FieldName4;
3047       }
3048       if (other.Field0Name5 != 0) {
3049         Field0Name5 = other.Field0Name5;
3050       }
3051       if (other.Field0Name6 != 0) {
3052         Field0Name6 = other.Field0Name6;
3053       }
3054       if (other.FieldName7 != 0) {
3055         FieldName7 = other.FieldName7;
3056       }
3057       if (other.FieldName8 != 0) {
3058         FieldName8 = other.FieldName8;
3059       }
3060       if (other.FieldName9 != 0) {
3061         FieldName9 = other.FieldName9;
3062       }
3063       if (other.FieldName10 != 0) {
3064         FieldName10 = other.FieldName10;
3065       }
3066       if (other.FIELDNAME11 != 0) {
3067         FIELDNAME11 = other.FIELDNAME11;
3068       }
3069       if (other.FIELDName12 != 0) {
3070         FIELDName12 = other.FIELDName12;
3071       }
3072       switch (other.OneofFieldCase) {
3073         case OneofFieldOneofCase.OneofUint32:
3074           OneofUint32 = other.OneofUint32;
3075           break;
3076         case OneofFieldOneofCase.OneofNestedMessage:
3077           OneofNestedMessage = other.OneofNestedMessage;
3078           break;
3079         case OneofFieldOneofCase.OneofString:
3080           OneofString = other.OneofString;
3081           break;
3082         case OneofFieldOneofCase.OneofBytes:
3083           OneofBytes = other.OneofBytes;
3084           break;
3085       }
3086 
3087     }
3088 
3089     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)3090     public void MergeFrom(pb::CodedInputStream input) {
3091       uint tag;
3092       while ((tag = input.ReadTag()) != 0) {
3093         switch(tag) {
3094           default:
3095             input.SkipLastField();
3096             break;
3097           case 8: {
3098             OptionalInt32 = input.ReadInt32();
3099             break;
3100           }
3101           case 16: {
3102             OptionalInt64 = input.ReadInt64();
3103             break;
3104           }
3105           case 24: {
3106             OptionalUint32 = input.ReadUInt32();
3107             break;
3108           }
3109           case 32: {
3110             OptionalUint64 = input.ReadUInt64();
3111             break;
3112           }
3113           case 40: {
3114             OptionalSint32 = input.ReadSInt32();
3115             break;
3116           }
3117           case 48: {
3118             OptionalSint64 = input.ReadSInt64();
3119             break;
3120           }
3121           case 61: {
3122             OptionalFixed32 = input.ReadFixed32();
3123             break;
3124           }
3125           case 65: {
3126             OptionalFixed64 = input.ReadFixed64();
3127             break;
3128           }
3129           case 77: {
3130             OptionalSfixed32 = input.ReadSFixed32();
3131             break;
3132           }
3133           case 81: {
3134             OptionalSfixed64 = input.ReadSFixed64();
3135             break;
3136           }
3137           case 93: {
3138             OptionalFloat = input.ReadFloat();
3139             break;
3140           }
3141           case 97: {
3142             OptionalDouble = input.ReadDouble();
3143             break;
3144           }
3145           case 104: {
3146             OptionalBool = input.ReadBool();
3147             break;
3148           }
3149           case 114: {
3150             OptionalString = input.ReadString();
3151             break;
3152           }
3153           case 122: {
3154             OptionalBytes = input.ReadBytes();
3155             break;
3156           }
3157           case 146: {
3158             if (optionalNestedMessage_ == null) {
3159               optionalNestedMessage_ = new global::Conformance.TestAllTypes.Types.NestedMessage();
3160             }
3161             input.ReadMessage(optionalNestedMessage_);
3162             break;
3163           }
3164           case 154: {
3165             if (optionalForeignMessage_ == null) {
3166               optionalForeignMessage_ = new global::Conformance.ForeignMessage();
3167             }
3168             input.ReadMessage(optionalForeignMessage_);
3169             break;
3170           }
3171           case 168: {
3172             optionalNestedEnum_ = (global::Conformance.TestAllTypes.Types.NestedEnum) input.ReadEnum();
3173             break;
3174           }
3175           case 176: {
3176             optionalForeignEnum_ = (global::Conformance.ForeignEnum) input.ReadEnum();
3177             break;
3178           }
3179           case 194: {
3180             OptionalStringPiece = input.ReadString();
3181             break;
3182           }
3183           case 202: {
3184             OptionalCord = input.ReadString();
3185             break;
3186           }
3187           case 218: {
3188             if (recursiveMessage_ == null) {
3189               recursiveMessage_ = new global::Conformance.TestAllTypes();
3190             }
3191             input.ReadMessage(recursiveMessage_);
3192             break;
3193           }
3194           case 250:
3195           case 248: {
3196             repeatedInt32_.AddEntriesFrom(input, _repeated_repeatedInt32_codec);
3197             break;
3198           }
3199           case 258:
3200           case 256: {
3201             repeatedInt64_.AddEntriesFrom(input, _repeated_repeatedInt64_codec);
3202             break;
3203           }
3204           case 266:
3205           case 264: {
3206             repeatedUint32_.AddEntriesFrom(input, _repeated_repeatedUint32_codec);
3207             break;
3208           }
3209           case 274:
3210           case 272: {
3211             repeatedUint64_.AddEntriesFrom(input, _repeated_repeatedUint64_codec);
3212             break;
3213           }
3214           case 282:
3215           case 280: {
3216             repeatedSint32_.AddEntriesFrom(input, _repeated_repeatedSint32_codec);
3217             break;
3218           }
3219           case 290:
3220           case 288: {
3221             repeatedSint64_.AddEntriesFrom(input, _repeated_repeatedSint64_codec);
3222             break;
3223           }
3224           case 298:
3225           case 301: {
3226             repeatedFixed32_.AddEntriesFrom(input, _repeated_repeatedFixed32_codec);
3227             break;
3228           }
3229           case 306:
3230           case 305: {
3231             repeatedFixed64_.AddEntriesFrom(input, _repeated_repeatedFixed64_codec);
3232             break;
3233           }
3234           case 314:
3235           case 317: {
3236             repeatedSfixed32_.AddEntriesFrom(input, _repeated_repeatedSfixed32_codec);
3237             break;
3238           }
3239           case 322:
3240           case 321: {
3241             repeatedSfixed64_.AddEntriesFrom(input, _repeated_repeatedSfixed64_codec);
3242             break;
3243           }
3244           case 330:
3245           case 333: {
3246             repeatedFloat_.AddEntriesFrom(input, _repeated_repeatedFloat_codec);
3247             break;
3248           }
3249           case 338:
3250           case 337: {
3251             repeatedDouble_.AddEntriesFrom(input, _repeated_repeatedDouble_codec);
3252             break;
3253           }
3254           case 346:
3255           case 344: {
3256             repeatedBool_.AddEntriesFrom(input, _repeated_repeatedBool_codec);
3257             break;
3258           }
3259           case 354: {
3260             repeatedString_.AddEntriesFrom(input, _repeated_repeatedString_codec);
3261             break;
3262           }
3263           case 362: {
3264             repeatedBytes_.AddEntriesFrom(input, _repeated_repeatedBytes_codec);
3265             break;
3266           }
3267           case 386: {
3268             repeatedNestedMessage_.AddEntriesFrom(input, _repeated_repeatedNestedMessage_codec);
3269             break;
3270           }
3271           case 394: {
3272             repeatedForeignMessage_.AddEntriesFrom(input, _repeated_repeatedForeignMessage_codec);
3273             break;
3274           }
3275           case 410:
3276           case 408: {
3277             repeatedNestedEnum_.AddEntriesFrom(input, _repeated_repeatedNestedEnum_codec);
3278             break;
3279           }
3280           case 418:
3281           case 416: {
3282             repeatedForeignEnum_.AddEntriesFrom(input, _repeated_repeatedForeignEnum_codec);
3283             break;
3284           }
3285           case 434: {
3286             repeatedStringPiece_.AddEntriesFrom(input, _repeated_repeatedStringPiece_codec);
3287             break;
3288           }
3289           case 442: {
3290             repeatedCord_.AddEntriesFrom(input, _repeated_repeatedCord_codec);
3291             break;
3292           }
3293           case 450: {
3294             mapInt32Int32_.AddEntriesFrom(input, _map_mapInt32Int32_codec);
3295             break;
3296           }
3297           case 458: {
3298             mapInt64Int64_.AddEntriesFrom(input, _map_mapInt64Int64_codec);
3299             break;
3300           }
3301           case 466: {
3302             mapUint32Uint32_.AddEntriesFrom(input, _map_mapUint32Uint32_codec);
3303             break;
3304           }
3305           case 474: {
3306             mapUint64Uint64_.AddEntriesFrom(input, _map_mapUint64Uint64_codec);
3307             break;
3308           }
3309           case 482: {
3310             mapSint32Sint32_.AddEntriesFrom(input, _map_mapSint32Sint32_codec);
3311             break;
3312           }
3313           case 490: {
3314             mapSint64Sint64_.AddEntriesFrom(input, _map_mapSint64Sint64_codec);
3315             break;
3316           }
3317           case 498: {
3318             mapFixed32Fixed32_.AddEntriesFrom(input, _map_mapFixed32Fixed32_codec);
3319             break;
3320           }
3321           case 506: {
3322             mapFixed64Fixed64_.AddEntriesFrom(input, _map_mapFixed64Fixed64_codec);
3323             break;
3324           }
3325           case 514: {
3326             mapSfixed32Sfixed32_.AddEntriesFrom(input, _map_mapSfixed32Sfixed32_codec);
3327             break;
3328           }
3329           case 522: {
3330             mapSfixed64Sfixed64_.AddEntriesFrom(input, _map_mapSfixed64Sfixed64_codec);
3331             break;
3332           }
3333           case 530: {
3334             mapInt32Float_.AddEntriesFrom(input, _map_mapInt32Float_codec);
3335             break;
3336           }
3337           case 538: {
3338             mapInt32Double_.AddEntriesFrom(input, _map_mapInt32Double_codec);
3339             break;
3340           }
3341           case 546: {
3342             mapBoolBool_.AddEntriesFrom(input, _map_mapBoolBool_codec);
3343             break;
3344           }
3345           case 554: {
3346             mapStringString_.AddEntriesFrom(input, _map_mapStringString_codec);
3347             break;
3348           }
3349           case 562: {
3350             mapStringBytes_.AddEntriesFrom(input, _map_mapStringBytes_codec);
3351             break;
3352           }
3353           case 570: {
3354             mapStringNestedMessage_.AddEntriesFrom(input, _map_mapStringNestedMessage_codec);
3355             break;
3356           }
3357           case 578: {
3358             mapStringForeignMessage_.AddEntriesFrom(input, _map_mapStringForeignMessage_codec);
3359             break;
3360           }
3361           case 586: {
3362             mapStringNestedEnum_.AddEntriesFrom(input, _map_mapStringNestedEnum_codec);
3363             break;
3364           }
3365           case 594: {
3366             mapStringForeignEnum_.AddEntriesFrom(input, _map_mapStringForeignEnum_codec);
3367             break;
3368           }
3369           case 888: {
3370             OneofUint32 = input.ReadUInt32();
3371             break;
3372           }
3373           case 898: {
3374             global::Conformance.TestAllTypes.Types.NestedMessage subBuilder = new global::Conformance.TestAllTypes.Types.NestedMessage();
3375             if (oneofFieldCase_ == OneofFieldOneofCase.OneofNestedMessage) {
3376               subBuilder.MergeFrom(OneofNestedMessage);
3377             }
3378             input.ReadMessage(subBuilder);
3379             OneofNestedMessage = subBuilder;
3380             break;
3381           }
3382           case 906: {
3383             OneofString = input.ReadString();
3384             break;
3385           }
3386           case 914: {
3387             OneofBytes = input.ReadBytes();
3388             break;
3389           }
3390           case 1610: {
3391             bool? value = _single_optionalBoolWrapper_codec.Read(input);
3392             if (optionalBoolWrapper_ == null || value != false) {
3393               OptionalBoolWrapper = value;
3394             }
3395             break;
3396           }
3397           case 1618: {
3398             int? value = _single_optionalInt32Wrapper_codec.Read(input);
3399             if (optionalInt32Wrapper_ == null || value != 0) {
3400               OptionalInt32Wrapper = value;
3401             }
3402             break;
3403           }
3404           case 1626: {
3405             long? value = _single_optionalInt64Wrapper_codec.Read(input);
3406             if (optionalInt64Wrapper_ == null || value != 0L) {
3407               OptionalInt64Wrapper = value;
3408             }
3409             break;
3410           }
3411           case 1634: {
3412             uint? value = _single_optionalUint32Wrapper_codec.Read(input);
3413             if (optionalUint32Wrapper_ == null || value != 0) {
3414               OptionalUint32Wrapper = value;
3415             }
3416             break;
3417           }
3418           case 1642: {
3419             ulong? value = _single_optionalUint64Wrapper_codec.Read(input);
3420             if (optionalUint64Wrapper_ == null || value != 0UL) {
3421               OptionalUint64Wrapper = value;
3422             }
3423             break;
3424           }
3425           case 1650: {
3426             float? value = _single_optionalFloatWrapper_codec.Read(input);
3427             if (optionalFloatWrapper_ == null || value != 0F) {
3428               OptionalFloatWrapper = value;
3429             }
3430             break;
3431           }
3432           case 1658: {
3433             double? value = _single_optionalDoubleWrapper_codec.Read(input);
3434             if (optionalDoubleWrapper_ == null || value != 0D) {
3435               OptionalDoubleWrapper = value;
3436             }
3437             break;
3438           }
3439           case 1666: {
3440             string value = _single_optionalStringWrapper_codec.Read(input);
3441             if (optionalStringWrapper_ == null || value != "") {
3442               OptionalStringWrapper = value;
3443             }
3444             break;
3445           }
3446           case 1674: {
3447             pb::ByteString value = _single_optionalBytesWrapper_codec.Read(input);
3448             if (optionalBytesWrapper_ == null || value != pb::ByteString.Empty) {
3449               OptionalBytesWrapper = value;
3450             }
3451             break;
3452           }
3453           case 1690: {
3454             repeatedBoolWrapper_.AddEntriesFrom(input, _repeated_repeatedBoolWrapper_codec);
3455             break;
3456           }
3457           case 1698: {
3458             repeatedInt32Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt32Wrapper_codec);
3459             break;
3460           }
3461           case 1706: {
3462             repeatedInt64Wrapper_.AddEntriesFrom(input, _repeated_repeatedInt64Wrapper_codec);
3463             break;
3464           }
3465           case 1714: {
3466             repeatedUint32Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint32Wrapper_codec);
3467             break;
3468           }
3469           case 1722: {
3470             repeatedUint64Wrapper_.AddEntriesFrom(input, _repeated_repeatedUint64Wrapper_codec);
3471             break;
3472           }
3473           case 1730: {
3474             repeatedFloatWrapper_.AddEntriesFrom(input, _repeated_repeatedFloatWrapper_codec);
3475             break;
3476           }
3477           case 1738: {
3478             repeatedDoubleWrapper_.AddEntriesFrom(input, _repeated_repeatedDoubleWrapper_codec);
3479             break;
3480           }
3481           case 1746: {
3482             repeatedStringWrapper_.AddEntriesFrom(input, _repeated_repeatedStringWrapper_codec);
3483             break;
3484           }
3485           case 1754: {
3486             repeatedBytesWrapper_.AddEntriesFrom(input, _repeated_repeatedBytesWrapper_codec);
3487             break;
3488           }
3489           case 2410: {
3490             if (optionalDuration_ == null) {
3491               optionalDuration_ = new global::Google.Protobuf.WellKnownTypes.Duration();
3492             }
3493             input.ReadMessage(optionalDuration_);
3494             break;
3495           }
3496           case 2418: {
3497             if (optionalTimestamp_ == null) {
3498               optionalTimestamp_ = new global::Google.Protobuf.WellKnownTypes.Timestamp();
3499             }
3500             input.ReadMessage(optionalTimestamp_);
3501             break;
3502           }
3503           case 2426: {
3504             if (optionalFieldMask_ == null) {
3505               optionalFieldMask_ = new global::Google.Protobuf.WellKnownTypes.FieldMask();
3506             }
3507             input.ReadMessage(optionalFieldMask_);
3508             break;
3509           }
3510           case 2434: {
3511             if (optionalStruct_ == null) {
3512               optionalStruct_ = new global::Google.Protobuf.WellKnownTypes.Struct();
3513             }
3514             input.ReadMessage(optionalStruct_);
3515             break;
3516           }
3517           case 2442: {
3518             if (optionalAny_ == null) {
3519               optionalAny_ = new global::Google.Protobuf.WellKnownTypes.Any();
3520             }
3521             input.ReadMessage(optionalAny_);
3522             break;
3523           }
3524           case 2450: {
3525             if (optionalValue_ == null) {
3526               optionalValue_ = new global::Google.Protobuf.WellKnownTypes.Value();
3527             }
3528             input.ReadMessage(optionalValue_);
3529             break;
3530           }
3531           case 2490: {
3532             repeatedDuration_.AddEntriesFrom(input, _repeated_repeatedDuration_codec);
3533             break;
3534           }
3535           case 2498: {
3536             repeatedTimestamp_.AddEntriesFrom(input, _repeated_repeatedTimestamp_codec);
3537             break;
3538           }
3539           case 2506: {
3540             repeatedFieldmask_.AddEntriesFrom(input, _repeated_repeatedFieldmask_codec);
3541             break;
3542           }
3543           case 2522: {
3544             repeatedAny_.AddEntriesFrom(input, _repeated_repeatedAny_codec);
3545             break;
3546           }
3547           case 2530: {
3548             repeatedValue_.AddEntriesFrom(input, _repeated_repeatedValue_codec);
3549             break;
3550           }
3551           case 2594: {
3552             repeatedStruct_.AddEntriesFrom(input, _repeated_repeatedStruct_codec);
3553             break;
3554           }
3555           case 3208: {
3556             Fieldname1 = input.ReadInt32();
3557             break;
3558           }
3559           case 3216: {
3560             FieldName2 = input.ReadInt32();
3561             break;
3562           }
3563           case 3224: {
3564             FieldName3 = input.ReadInt32();
3565             break;
3566           }
3567           case 3232: {
3568             FieldName4 = input.ReadInt32();
3569             break;
3570           }
3571           case 3240: {
3572             Field0Name5 = input.ReadInt32();
3573             break;
3574           }
3575           case 3248: {
3576             Field0Name6 = input.ReadInt32();
3577             break;
3578           }
3579           case 3256: {
3580             FieldName7 = input.ReadInt32();
3581             break;
3582           }
3583           case 3264: {
3584             FieldName8 = input.ReadInt32();
3585             break;
3586           }
3587           case 3272: {
3588             FieldName9 = input.ReadInt32();
3589             break;
3590           }
3591           case 3280: {
3592             FieldName10 = input.ReadInt32();
3593             break;
3594           }
3595           case 3288: {
3596             FIELDNAME11 = input.ReadInt32();
3597             break;
3598           }
3599           case 3296: {
3600             FIELDName12 = input.ReadInt32();
3601             break;
3602           }
3603         }
3604       }
3605     }
3606 
3607     #region Nested types
3608     /// <summary>Container for nested types declared in the TestAllTypes message type.</summary>
3609     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3610     public static partial class Types {
3611       public enum NestedEnum {
3612         [pbr::OriginalName("FOO")] Foo = 0,
3613         [pbr::OriginalName("BAR")] Bar = 1,
3614         [pbr::OriginalName("BAZ")] Baz = 2,
3615         /// <summary>
3616         ///  Intentionally negative.
3617         /// </summary>
3618         [pbr::OriginalName("NEG")] Neg = -1,
3619       }
3620 
3621       public sealed partial class NestedMessage : pb::IMessage<NestedMessage> {
3622         private static readonly pb::MessageParser<NestedMessage> _parser = new pb::MessageParser<NestedMessage>(() => new NestedMessage());
3623         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3624         public static pb::MessageParser<NestedMessage> Parser { get { return _parser; } }
3625 
3626         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3627         public static pbr::MessageDescriptor Descriptor {
3628           get { return global::Conformance.TestAllTypes.Descriptor.NestedTypes[0]; }
3629         }
3630 
3631         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3632         pbr::MessageDescriptor pb::IMessage.Descriptor {
3633           get { return Descriptor; }
3634         }
3635 
3636         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
NestedMessage()3637         public NestedMessage() {
3638           OnConstruction();
3639         }
3640 
OnConstruction()3641         partial void OnConstruction();
3642 
3643         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
NestedMessage(NestedMessage other)3644         public NestedMessage(NestedMessage other) : this() {
3645           a_ = other.a_;
3646           Corecursive = other.corecursive_ != null ? other.Corecursive.Clone() : null;
3647         }
3648 
3649         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()3650         public NestedMessage Clone() {
3651           return new NestedMessage(this);
3652         }
3653 
3654         /// <summary>Field number for the "a" field.</summary>
3655         public const int AFieldNumber = 1;
3656         private int a_;
3657         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3658         public int A {
3659           get { return a_; }
3660           set {
3661             a_ = value;
3662           }
3663         }
3664 
3665         /// <summary>Field number for the "corecursive" field.</summary>
3666         public const int CorecursiveFieldNumber = 2;
3667         private global::Conformance.TestAllTypes corecursive_;
3668         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3669         public global::Conformance.TestAllTypes Corecursive {
3670           get { return corecursive_; }
3671           set {
3672             corecursive_ = value;
3673           }
3674         }
3675 
3676         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)3677         public override bool Equals(object other) {
3678           return Equals(other as NestedMessage);
3679         }
3680 
3681         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(NestedMessage other)3682         public bool Equals(NestedMessage other) {
3683           if (ReferenceEquals(other, null)) {
3684             return false;
3685           }
3686           if (ReferenceEquals(other, this)) {
3687             return true;
3688           }
3689           if (A != other.A) return false;
3690           if (!object.Equals(Corecursive, other.Corecursive)) return false;
3691           return true;
3692         }
3693 
3694         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()3695         public override int GetHashCode() {
3696           int hash = 1;
3697           if (A != 0) hash ^= A.GetHashCode();
3698           if (corecursive_ != null) hash ^= Corecursive.GetHashCode();
3699           return hash;
3700         }
3701 
3702         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()3703         public override string ToString() {
3704           return pb::JsonFormatter.ToDiagnosticString(this);
3705         }
3706 
3707         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)3708         public void WriteTo(pb::CodedOutputStream output) {
3709           if (A != 0) {
3710             output.WriteRawTag(8);
3711             output.WriteInt32(A);
3712           }
3713           if (corecursive_ != null) {
3714             output.WriteRawTag(18);
3715             output.WriteMessage(Corecursive);
3716           }
3717         }
3718 
3719         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()3720         public int CalculateSize() {
3721           int size = 0;
3722           if (A != 0) {
3723             size += 1 + pb::CodedOutputStream.ComputeInt32Size(A);
3724           }
3725           if (corecursive_ != null) {
3726             size += 1 + pb::CodedOutputStream.ComputeMessageSize(Corecursive);
3727           }
3728           return size;
3729         }
3730 
3731         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(NestedMessage other)3732         public void MergeFrom(NestedMessage other) {
3733           if (other == null) {
3734             return;
3735           }
3736           if (other.A != 0) {
3737             A = other.A;
3738           }
3739           if (other.corecursive_ != null) {
3740             if (corecursive_ == null) {
3741               corecursive_ = new global::Conformance.TestAllTypes();
3742             }
3743             Corecursive.MergeFrom(other.Corecursive);
3744           }
3745         }
3746 
3747         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)3748         public void MergeFrom(pb::CodedInputStream input) {
3749           uint tag;
3750           while ((tag = input.ReadTag()) != 0) {
3751             switch(tag) {
3752               default:
3753                 input.SkipLastField();
3754                 break;
3755               case 8: {
3756                 A = input.ReadInt32();
3757                 break;
3758               }
3759               case 18: {
3760                 if (corecursive_ == null) {
3761                   corecursive_ = new global::Conformance.TestAllTypes();
3762                 }
3763                 input.ReadMessage(corecursive_);
3764                 break;
3765               }
3766             }
3767           }
3768         }
3769 
3770       }
3771 
3772     }
3773     #endregion
3774 
3775   }
3776 
3777   public sealed partial class ForeignMessage : pb::IMessage<ForeignMessage> {
3778     private static readonly pb::MessageParser<ForeignMessage> _parser = new pb::MessageParser<ForeignMessage>(() => new ForeignMessage());
3779     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3780     public static pb::MessageParser<ForeignMessage> Parser { get { return _parser; } }
3781 
3782     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3783     public static pbr::MessageDescriptor Descriptor {
3784       get { return global::Conformance.ConformanceReflection.Descriptor.MessageTypes[3]; }
3785     }
3786 
3787     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3788     pbr::MessageDescriptor pb::IMessage.Descriptor {
3789       get { return Descriptor; }
3790     }
3791 
3792     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ForeignMessage()3793     public ForeignMessage() {
3794       OnConstruction();
3795     }
3796 
OnConstruction()3797     partial void OnConstruction();
3798 
3799     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ForeignMessage(ForeignMessage other)3800     public ForeignMessage(ForeignMessage other) : this() {
3801       c_ = other.c_;
3802     }
3803 
3804     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Clone()3805     public ForeignMessage Clone() {
3806       return new ForeignMessage(this);
3807     }
3808 
3809     /// <summary>Field number for the "c" field.</summary>
3810     public const int CFieldNumber = 1;
3811     private int c_;
3812     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3813     public int C {
3814       get { return c_; }
3815       set {
3816         c_ = value;
3817       }
3818     }
3819 
3820     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(object other)3821     public override bool Equals(object other) {
3822       return Equals(other as ForeignMessage);
3823     }
3824 
3825     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
Equals(ForeignMessage other)3826     public bool Equals(ForeignMessage other) {
3827       if (ReferenceEquals(other, null)) {
3828         return false;
3829       }
3830       if (ReferenceEquals(other, this)) {
3831         return true;
3832       }
3833       if (C != other.C) return false;
3834       return true;
3835     }
3836 
3837     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
GetHashCode()3838     public override int GetHashCode() {
3839       int hash = 1;
3840       if (C != 0) hash ^= C.GetHashCode();
3841       return hash;
3842     }
3843 
3844     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
ToString()3845     public override string ToString() {
3846       return pb::JsonFormatter.ToDiagnosticString(this);
3847     }
3848 
3849     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
WriteTo(pb::CodedOutputStream output)3850     public void WriteTo(pb::CodedOutputStream output) {
3851       if (C != 0) {
3852         output.WriteRawTag(8);
3853         output.WriteInt32(C);
3854       }
3855     }
3856 
3857     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
CalculateSize()3858     public int CalculateSize() {
3859       int size = 0;
3860       if (C != 0) {
3861         size += 1 + pb::CodedOutputStream.ComputeInt32Size(C);
3862       }
3863       return size;
3864     }
3865 
3866     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(ForeignMessage other)3867     public void MergeFrom(ForeignMessage other) {
3868       if (other == null) {
3869         return;
3870       }
3871       if (other.C != 0) {
3872         C = other.C;
3873       }
3874     }
3875 
3876     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
MergeFrom(pb::CodedInputStream input)3877     public void MergeFrom(pb::CodedInputStream input) {
3878       uint tag;
3879       while ((tag = input.ReadTag()) != 0) {
3880         switch(tag) {
3881           default:
3882             input.SkipLastField();
3883             break;
3884           case 8: {
3885             C = input.ReadInt32();
3886             break;
3887           }
3888         }
3889       }
3890     }
3891 
3892   }
3893 
3894   #endregion
3895 
3896 }
3897 
3898 #endregion Designer generated code
3899