xref: /aosp_15_r20/external/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs (revision 1b3f573f81763fcece89efc2b6a5209149e44ab8)
1 // <auto-generated>
2 //     Generated by the protocol buffer compiler.  DO NOT EDIT!
3 //     source: google/protobuf/descriptor.proto
4 // </auto-generated>
5 #pragma warning disable 1591, 0612, 3021, 8981
6 #region Designer generated code
7 
8 using pb = global::Google.Protobuf;
9 using pbc = global::Google.Protobuf.Collections;
10 using pbr = global::Google.Protobuf.Reflection;
11 using scg = global::System.Collections.Generic;
12 namespace Google.Protobuf.Reflection {
13 
14   /// <summary>Holder for reflection information generated from google/protobuf/descriptor.proto</summary>
15   public static partial class DescriptorReflection {
16 
17     #region Descriptor
18     /// <summary>File descriptor for google/protobuf/descriptor.proto</summary>
19     public static pbr::FileDescriptor Descriptor {
20       get { return descriptor; }
21     }
22     private static pbr::FileDescriptor descriptor;
23 
DescriptorReflection()24     static DescriptorReflection() {
25       byte[] descriptorData = global::System.Convert.FromBase64String(
26           string.Concat(
27             "CiBnb29nbGUvcHJvdG9idWYvZGVzY3JpcHRvci5wcm90bxIPZ29vZ2xlLnBy",
28             "b3RvYnVmIkcKEUZpbGVEZXNjcmlwdG9yU2V0EjIKBGZpbGUYASADKAsyJC5n",
29             "b29nbGUucHJvdG9idWYuRmlsZURlc2NyaXB0b3JQcm90byLbAwoTRmlsZURl",
30             "c2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJEg8KB3BhY2thZ2UYAiABKAkS",
31             "EgoKZGVwZW5kZW5jeRgDIAMoCRIZChFwdWJsaWNfZGVwZW5kZW5jeRgKIAMo",
32             "BRIXCg93ZWFrX2RlcGVuZGVuY3kYCyADKAUSNgoMbWVzc2FnZV90eXBlGAQg",
33             "AygLMiAuZ29vZ2xlLnByb3RvYnVmLkRlc2NyaXB0b3JQcm90bxI3CgllbnVt",
34             "X3R5cGUYBSADKAsyJC5nb29nbGUucHJvdG9idWYuRW51bURlc2NyaXB0b3JQ",
35             "cm90bxI4CgdzZXJ2aWNlGAYgAygLMicuZ29vZ2xlLnByb3RvYnVmLlNlcnZp",
36             "Y2VEZXNjcmlwdG9yUHJvdG8SOAoJZXh0ZW5zaW9uGAcgAygLMiUuZ29vZ2xl",
37             "LnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvEi0KB29wdGlvbnMYCCAB",
38             "KAsyHC5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlvbnMSOQoQc291cmNlX2Nv",
39             "ZGVfaW5mbxgJIAEoCzIfLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb2RlSW5m",
40             "bxIOCgZzeW50YXgYDCABKAkiqQUKD0Rlc2NyaXB0b3JQcm90bxIMCgRuYW1l",
41             "GAEgASgJEjQKBWZpZWxkGAIgAygLMiUuZ29vZ2xlLnByb3RvYnVmLkZpZWxk",
42             "RGVzY3JpcHRvclByb3RvEjgKCWV4dGVuc2lvbhgGIAMoCzIlLmdvb2dsZS5w",
43             "cm90b2J1Zi5GaWVsZERlc2NyaXB0b3JQcm90bxI1CgtuZXN0ZWRfdHlwZRgD",
44             "IAMoCzIgLmdvb2dsZS5wcm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8SNwoJZW51",
45             "bV90eXBlGAQgAygLMiQuZ29vZ2xlLnByb3RvYnVmLkVudW1EZXNjcmlwdG9y",
46             "UHJvdG8SSAoPZXh0ZW5zaW9uX3JhbmdlGAUgAygLMi8uZ29vZ2xlLnByb3Rv",
47             "YnVmLkRlc2NyaXB0b3JQcm90by5FeHRlbnNpb25SYW5nZRI5CgpvbmVvZl9k",
48             "ZWNsGAggAygLMiUuZ29vZ2xlLnByb3RvYnVmLk9uZW9mRGVzY3JpcHRvclBy",
49             "b3RvEjAKB29wdGlvbnMYByABKAsyHy5nb29nbGUucHJvdG9idWYuTWVzc2Fn",
50             "ZU9wdGlvbnMSRgoOcmVzZXJ2ZWRfcmFuZ2UYCSADKAsyLi5nb29nbGUucHJv",
51             "dG9idWYuRGVzY3JpcHRvclByb3RvLlJlc2VydmVkUmFuZ2USFQoNcmVzZXJ2",
52             "ZWRfbmFtZRgKIAMoCRplCg5FeHRlbnNpb25SYW5nZRINCgVzdGFydBgBIAEo",
53             "BRILCgNlbmQYAiABKAUSNwoHb3B0aW9ucxgDIAEoCzImLmdvb2dsZS5wcm90",
54             "b2J1Zi5FeHRlbnNpb25SYW5nZU9wdGlvbnMaKwoNUmVzZXJ2ZWRSYW5nZRIN",
55             "CgVzdGFydBgBIAEoBRILCgNlbmQYAiABKAUiZwoVRXh0ZW5zaW9uUmFuZ2VP",
56             "cHRpb25zEkMKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2ds",
57             "ZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAIi1QUK",
58             "FEZpZWxkRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSDgoGbnVtYmVy",
59             "GAMgASgFEjoKBWxhYmVsGAQgASgOMisuZ29vZ2xlLnByb3RvYnVmLkZpZWxk",
60             "RGVzY3JpcHRvclByb3RvLkxhYmVsEjgKBHR5cGUYBSABKA4yKi5nb29nbGUu",
61             "cHJvdG9idWYuRmllbGREZXNjcmlwdG9yUHJvdG8uVHlwZRIRCgl0eXBlX25h",
62             "bWUYBiABKAkSEAoIZXh0ZW5kZWUYAiABKAkSFQoNZGVmYXVsdF92YWx1ZRgH",
63             "IAEoCRITCgtvbmVvZl9pbmRleBgJIAEoBRIRCglqc29uX25hbWUYCiABKAkS",
64             "LgoHb3B0aW9ucxgIIAEoCzIdLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlv",
65             "bnMSFwoPcHJvdG8zX29wdGlvbmFsGBEgASgIIrYCCgRUeXBlEg8KC1RZUEVf",
66             "RE9VQkxFEAESDgoKVFlQRV9GTE9BVBACEg4KClRZUEVfSU5UNjQQAxIPCgtU",
67             "WVBFX1VJTlQ2NBAEEg4KClRZUEVfSU5UMzIQBRIQCgxUWVBFX0ZJWEVENjQQ",
68             "BhIQCgxUWVBFX0ZJWEVEMzIQBxINCglUWVBFX0JPT0wQCBIPCgtUWVBFX1NU",
69             "UklORxAJEg4KClRZUEVfR1JPVVAQChIQCgxUWVBFX01FU1NBR0UQCxIOCgpU",
70             "WVBFX0JZVEVTEAwSDwoLVFlQRV9VSU5UMzIQDRINCglUWVBFX0VOVU0QDhIR",
71             "Cg1UWVBFX1NGSVhFRDMyEA8SEQoNVFlQRV9TRklYRUQ2NBAQEg8KC1RZUEVf",
72             "U0lOVDMyEBESDwoLVFlQRV9TSU5UNjQQEiJDCgVMYWJlbBISCg5MQUJFTF9P",
73             "UFRJT05BTBABEhIKDkxBQkVMX1JFUVVJUkVEEAISEgoOTEFCRUxfUkVQRUFU",
74             "RUQQAyJUChRPbmVvZkRlc2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJEi4K",
75             "B29wdGlvbnMYAiABKAsyHS5nb29nbGUucHJvdG9idWYuT25lb2ZPcHRpb25z",
76             "IqQCChNFbnVtRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSOAoFdmFs",
77             "dWUYAiADKAsyKS5nb29nbGUucHJvdG9idWYuRW51bVZhbHVlRGVzY3JpcHRv",
78             "clByb3RvEi0KB29wdGlvbnMYAyABKAsyHC5nb29nbGUucHJvdG9idWYuRW51",
79             "bU9wdGlvbnMSTgoOcmVzZXJ2ZWRfcmFuZ2UYBCADKAsyNi5nb29nbGUucHJv",
80             "dG9idWYuRW51bURlc2NyaXB0b3JQcm90by5FbnVtUmVzZXJ2ZWRSYW5nZRIV",
81             "Cg1yZXNlcnZlZF9uYW1lGAUgAygJGi8KEUVudW1SZXNlcnZlZFJhbmdlEg0K",
82             "BXN0YXJ0GAEgASgFEgsKA2VuZBgCIAEoBSJsChhFbnVtVmFsdWVEZXNjcmlw",
83             "dG9yUHJvdG8SDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAiABKAUSMgoHb3B0",
84             "aW9ucxgDIAEoCzIhLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25z",
85             "IpABChZTZXJ2aWNlRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSNgoG",
86             "bWV0aG9kGAIgAygLMiYuZ29vZ2xlLnByb3RvYnVmLk1ldGhvZERlc2NyaXB0",
87             "b3JQcm90bxIwCgdvcHRpb25zGAMgASgLMh8uZ29vZ2xlLnByb3RvYnVmLlNl",
88             "cnZpY2VPcHRpb25zIsEBChVNZXRob2REZXNjcmlwdG9yUHJvdG8SDAoEbmFt",
89             "ZRgBIAEoCRISCgppbnB1dF90eXBlGAIgASgJEhMKC291dHB1dF90eXBlGAMg",
90             "ASgJEi8KB29wdGlvbnMYBCABKAsyHi5nb29nbGUucHJvdG9idWYuTWV0aG9k",
91             "T3B0aW9ucxIfChBjbGllbnRfc3RyZWFtaW5nGAUgASgIOgVmYWxzZRIfChBz",
92             "ZXJ2ZXJfc3RyZWFtaW5nGAYgASgIOgVmYWxzZSKlBgoLRmlsZU9wdGlvbnMS",
93             "FAoMamF2YV9wYWNrYWdlGAEgASgJEhwKFGphdmFfb3V0ZXJfY2xhc3NuYW1l",
94             "GAggASgJEiIKE2phdmFfbXVsdGlwbGVfZmlsZXMYCiABKAg6BWZhbHNlEikK",
95             "HWphdmFfZ2VuZXJhdGVfZXF1YWxzX2FuZF9oYXNoGBQgASgIQgIYARIlChZq",
96             "YXZhX3N0cmluZ19jaGVja191dGY4GBsgASgIOgVmYWxzZRJGCgxvcHRpbWl6",
97             "ZV9mb3IYCSABKA4yKS5nb29nbGUucHJvdG9idWYuRmlsZU9wdGlvbnMuT3B0",
98             "aW1pemVNb2RlOgVTUEVFRBISCgpnb19wYWNrYWdlGAsgASgJEiIKE2NjX2dl",
99             "bmVyaWNfc2VydmljZXMYECABKAg6BWZhbHNlEiQKFWphdmFfZ2VuZXJpY19z",
100             "ZXJ2aWNlcxgRIAEoCDoFZmFsc2USIgoTcHlfZ2VuZXJpY19zZXJ2aWNlcxgS",
101             "IAEoCDoFZmFsc2USIwoUcGhwX2dlbmVyaWNfc2VydmljZXMYKiABKAg6BWZh",
102             "bHNlEhkKCmRlcHJlY2F0ZWQYFyABKAg6BWZhbHNlEh4KEGNjX2VuYWJsZV9h",
103             "cmVuYXMYHyABKAg6BHRydWUSGQoRb2JqY19jbGFzc19wcmVmaXgYJCABKAkS",
104             "GAoQY3NoYXJwX25hbWVzcGFjZRglIAEoCRIUCgxzd2lmdF9wcmVmaXgYJyAB",
105             "KAkSGAoQcGhwX2NsYXNzX3ByZWZpeBgoIAEoCRIVCg1waHBfbmFtZXNwYWNl",
106             "GCkgASgJEh4KFnBocF9tZXRhZGF0YV9uYW1lc3BhY2UYLCABKAkSFAoMcnVi",
107             "eV9wYWNrYWdlGC0gASgJEkMKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMo",
108             "CzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uIjoKDE9w",
109             "dGltaXplTW9kZRIJCgVTUEVFRBABEg0KCUNPREVfU0laRRACEhAKDExJVEVf",
110             "UlVOVElNRRADKgkI6AcQgICAgAJKBAgmECcihAIKDk1lc3NhZ2VPcHRpb25z",
111             "EiYKF21lc3NhZ2Vfc2V0X3dpcmVfZm9ybWF0GAEgASgIOgVmYWxzZRIuCh9u",
112             "b19zdGFuZGFyZF9kZXNjcmlwdG9yX2FjY2Vzc29yGAIgASgIOgVmYWxzZRIZ",
113             "CgpkZXByZWNhdGVkGAMgASgIOgVmYWxzZRIRCgltYXBfZW50cnkYByABKAgS",
114             "QwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3Rv",
115             "YnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAkoECAQQBUoECAUQ",
116             "BkoECAYQB0oECAgQCUoECAkQCiK+AwoMRmllbGRPcHRpb25zEjoKBWN0eXBl",
117             "GAEgASgOMiMuZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucy5DVHlwZToG",
118             "U1RSSU5HEg4KBnBhY2tlZBgCIAEoCBI/CgZqc3R5cGUYBiABKA4yJC5nb29n",
119             "bGUucHJvdG9idWYuRmllbGRPcHRpb25zLkpTVHlwZToJSlNfTk9STUFMEhMK",
120             "BGxhenkYBSABKAg6BWZhbHNlEh4KD3VudmVyaWZpZWRfbGF6eRgPIAEoCDoF",
121             "ZmFsc2USGQoKZGVwcmVjYXRlZBgDIAEoCDoFZmFsc2USEwoEd2VhaxgKIAEo",
122             "CDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29v",
123             "Z2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iLwoFQ1R5cGUSCgoG",
124             "U1RSSU5HEAASCAoEQ09SRBABEhAKDFNUUklOR19QSUVDRRACIjUKBkpTVHlw",
125             "ZRINCglKU19OT1JNQUwQABINCglKU19TVFJJTkcQARINCglKU19OVU1CRVIQ",
126             "AioJCOgHEICAgIACSgQIBBAFIl4KDE9uZW9mT3B0aW9ucxJDChR1bmludGVy",
127             "cHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRl",
128             "cnByZXRlZE9wdGlvbioJCOgHEICAgIACIpMBCgtFbnVtT3B0aW9ucxITCgth",
129             "bGxvd19hbGlhcxgCIAEoCBIZCgpkZXByZWNhdGVkGAMgASgIOgVmYWxzZRJD",
130             "ChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9i",
131             "dWYuVW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIACSgQIBRAGIn0KEEVu",
132             "dW1WYWx1ZU9wdGlvbnMSGQoKZGVwcmVjYXRlZBgBIAEoCDoFZmFsc2USQwoU",
133             "dW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVm",
134             "LlVuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAiJ7Cg5TZXJ2aWNlT3B0",
135             "aW9ucxIZCgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZRJDChR1bmludGVycHJl",
136             "dGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnBy",
137             "ZXRlZE9wdGlvbioJCOgHEICAgIACIq0CCg1NZXRob2RPcHRpb25zEhkKCmRl",
138             "cHJlY2F0ZWQYISABKAg6BWZhbHNlEl8KEWlkZW1wb3RlbmN5X2xldmVsGCIg",
139             "ASgOMi8uZ29vZ2xlLnByb3RvYnVmLk1ldGhvZE9wdGlvbnMuSWRlbXBvdGVu",
140             "Y3lMZXZlbDoTSURFTVBPVEVOQ1lfVU5LTk9XThJDChR1bmludGVycHJldGVk",
141             "X29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRl",
142             "ZE9wdGlvbiJQChBJZGVtcG90ZW5jeUxldmVsEhcKE0lERU1QT1RFTkNZX1VO",
143             "S05PV04QABITCg9OT19TSURFX0VGRkVDVFMQARIOCgpJREVNUE9URU5UEAIq",
144             "CQjoBxCAgICAAiKeAgoTVW5pbnRlcnByZXRlZE9wdGlvbhI7CgRuYW1lGAIg",
145             "AygLMi0uZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24uTmFt",
146             "ZVBhcnQSGAoQaWRlbnRpZmllcl92YWx1ZRgDIAEoCRIaChJwb3NpdGl2ZV9p",
147             "bnRfdmFsdWUYBCABKAQSGgoSbmVnYXRpdmVfaW50X3ZhbHVlGAUgASgDEhQK",
148             "DGRvdWJsZV92YWx1ZRgGIAEoARIUCgxzdHJpbmdfdmFsdWUYByABKAwSFwoP",
149             "YWdncmVnYXRlX3ZhbHVlGAggASgJGjMKCE5hbWVQYXJ0EhEKCW5hbWVfcGFy",
150             "dBgBIAIoCRIUCgxpc19leHRlbnNpb24YAiACKAgi1QEKDlNvdXJjZUNvZGVJ",
151             "bmZvEjoKCGxvY2F0aW9uGAEgAygLMiguZ29vZ2xlLnByb3RvYnVmLlNvdXJj",
152             "ZUNvZGVJbmZvLkxvY2F0aW9uGoYBCghMb2NhdGlvbhIQCgRwYXRoGAEgAygF",
153             "QgIQARIQCgRzcGFuGAIgAygFQgIQARIYChBsZWFkaW5nX2NvbW1lbnRzGAMg",
154             "ASgJEhkKEXRyYWlsaW5nX2NvbW1lbnRzGAQgASgJEiEKGWxlYWRpbmdfZGV0",
155             "YWNoZWRfY29tbWVudHMYBiADKAkipwEKEUdlbmVyYXRlZENvZGVJbmZvEkEK",
156             "CmFubm90YXRpb24YASADKAsyLS5nb29nbGUucHJvdG9idWYuR2VuZXJhdGVk",
157             "Q29kZUluZm8uQW5ub3RhdGlvbhpPCgpBbm5vdGF0aW9uEhAKBHBhdGgYASAD",
158             "KAVCAhABEhMKC3NvdXJjZV9maWxlGAIgASgJEg0KBWJlZ2luGAMgASgFEgsK",
159             "A2VuZBgEIAEoBUJ+ChNjb20uZ29vZ2xlLnByb3RvYnVmQhBEZXNjcmlwdG9y",
160             "UHJvdG9zSAFaLWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2Rl",
161             "c2NyaXB0b3JwYvgBAaICA0dQQqoCGkdvb2dsZS5Qcm90b2J1Zi5SZWZsZWN0",
162             "aW9u"));
163       descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
164           new pbr::FileDescriptor[] { },
165           new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
166             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FileDescriptorSet), global::Google.Protobuf.Reflection.FileDescriptorSet.Parser, new[]{ "File" }, null, null, null, null),
167             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FileDescriptorProto), global::Google.Protobuf.Reflection.FileDescriptorProto.Parser, new[]{ "Name", "Package", "Dependency", "PublicDependency", "WeakDependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", "Syntax" }, null, null, null, null),
168             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto), global::Google.Protobuf.Reflection.DescriptorProto.Parser, new[]{ "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "OneofDecl", "Options", "ReservedRange", "ReservedName" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange), global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange.Parser, new[]{ "Start", "End", "Options" }, null, null, null, null),
169             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange), global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange.Parser, new[]{ "Start", "End" }, null, null, null, null)}),
170             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.ExtensionRangeOptions), global::Google.Protobuf.Reflection.ExtensionRangeOptions.Parser, new[]{ "UninterpretedOption" }, null, null, null, null),
171             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto), global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser, new[]{ "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "OneofIndex", "JsonName", "Options", "Proto3Optional" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type), typeof(global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) }, null, null),
172             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.OneofDescriptorProto), global::Google.Protobuf.Reflection.OneofDescriptorProto.Parser, new[]{ "Name", "Options" }, null, null, null, null),
173             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.EnumDescriptorProto), global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser, new[]{ "Name", "Value", "Options", "ReservedRange", "ReservedName" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange), global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange.Parser, new[]{ "Start", "End" }, null, null, null, null)}),
174             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.EnumValueDescriptorProto), global::Google.Protobuf.Reflection.EnumValueDescriptorProto.Parser, new[]{ "Name", "Number", "Options" }, null, null, null, null),
175             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.ServiceDescriptorProto), global::Google.Protobuf.Reflection.ServiceDescriptorProto.Parser, new[]{ "Name", "Method", "Options" }, null, null, null, null),
176             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.MethodDescriptorProto), global::Google.Protobuf.Reflection.MethodDescriptorProto.Parser, new[]{ "Name", "InputType", "OutputType", "Options", "ClientStreaming", "ServerStreaming" }, null, null, null, null),
177             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FileOptions), global::Google.Protobuf.Reflection.FileOptions.Parser, new[]{ "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "PhpGenericServices", "Deprecated", "CcEnableArenas", "ObjcClassPrefix", "CsharpNamespace", "SwiftPrefix", "PhpClassPrefix", "PhpNamespace", "PhpMetadataNamespace", "RubyPackage", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) }, null, null),
178             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.MessageOptions), global::Google.Protobuf.Reflection.MessageOptions.Parser, new[]{ "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "MapEntry", "UninterpretedOption" }, null, null, null, null),
179             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[]{ "Ctype", "Packed", "Jstype", "Lazy", "UnverifiedLazy", "Deprecated", "Weak", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.CType), typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) }, null, null),
180             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.OneofOptions), global::Google.Protobuf.Reflection.OneofOptions.Parser, new[]{ "UninterpretedOption" }, null, null, null, null),
181             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.EnumOptions), global::Google.Protobuf.Reflection.EnumOptions.Parser, new[]{ "AllowAlias", "Deprecated", "UninterpretedOption" }, null, null, null, null),
182             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.EnumValueOptions), global::Google.Protobuf.Reflection.EnumValueOptions.Parser, new[]{ "Deprecated", "UninterpretedOption" }, null, null, null, null),
183             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.ServiceOptions), global::Google.Protobuf.Reflection.ServiceOptions.Parser, new[]{ "Deprecated", "UninterpretedOption" }, null, null, null, null),
184             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.MethodOptions), global::Google.Protobuf.Reflection.MethodOptions.Parser, new[]{ "Deprecated", "IdempotencyLevel", "UninterpretedOption" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel) }, null, null),
185             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption), global::Google.Protobuf.Reflection.UninterpretedOption.Parser, new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart), global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser, new[]{ "NamePart_", "IsExtension" }, null, null, null, null)}),
186             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, new[]{ "Location" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetachedComments" }, null, null, null, null)}),
187             new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Parser, new[]{ "Annotation" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Parser, new[]{ "Path", "SourceFile", "Begin", "End" }, null, null, null, null)})
188           }));
189     }
190     #endregion
191 
192   }
193   #region Messages
194   /// <summary>
195   /// The protocol compiler can output a FileDescriptorSet containing the .proto
196   /// files it parses.
197   /// </summary>
198   public sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorSet>
199   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
200       , pb::IBufferMessage
201   #endif
202   {
203     private static readonly pb::MessageParser<FileDescriptorSet> _parser = new pb::MessageParser<FileDescriptorSet>(() => new FileDescriptorSet());
204     private pb::UnknownFieldSet _unknownFields;
205     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
206     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
207     public static pb::MessageParser<FileDescriptorSet> Parser { get { return _parser; } }
208 
209     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
210     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
211     public static pbr::MessageDescriptor Descriptor {
212       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[0]; }
213     }
214 
215     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
216     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
217     pbr::MessageDescriptor pb::IMessage.Descriptor {
218       get { return Descriptor; }
219     }
220 
221     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
222     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FileDescriptorSet()223     public FileDescriptorSet() {
224       OnConstruction();
225     }
226 
OnConstruction()227     partial void OnConstruction();
228 
229     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
230     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FileDescriptorSet(FileDescriptorSet other)231     public FileDescriptorSet(FileDescriptorSet other) : this() {
232       file_ = other.file_.Clone();
233       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
234     }
235 
236     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
237     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()238     public FileDescriptorSet Clone() {
239       return new FileDescriptorSet(this);
240     }
241 
242     /// <summary>Field number for the "file" field.</summary>
243     public const int FileFieldNumber = 1;
244     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FileDescriptorProto> _repeated_file_codec
245         = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.FileDescriptorProto.Parser);
246     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> file_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto>();
247     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
248     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
249     public pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorProto> File {
250       get { return file_; }
251     }
252 
253     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
254     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)255     public override bool Equals(object other) {
256       return Equals(other as FileDescriptorSet);
257     }
258 
259     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
260     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(FileDescriptorSet other)261     public bool Equals(FileDescriptorSet other) {
262       if (ReferenceEquals(other, null)) {
263         return false;
264       }
265       if (ReferenceEquals(other, this)) {
266         return true;
267       }
268       if(!file_.Equals(other.file_)) return false;
269       return Equals(_unknownFields, other._unknownFields);
270     }
271 
272     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
273     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()274     public override int GetHashCode() {
275       int hash = 1;
276       hash ^= file_.GetHashCode();
277       if (_unknownFields != null) {
278         hash ^= _unknownFields.GetHashCode();
279       }
280       return hash;
281     }
282 
283     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
284     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()285     public override string ToString() {
286       return pb::JsonFormatter.ToDiagnosticString(this);
287     }
288 
289     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
290     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)291     public void WriteTo(pb::CodedOutputStream output) {
292     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
293       output.WriteRawMessage(this);
294     #else
295       file_.WriteTo(output, _repeated_file_codec);
296       if (_unknownFields != null) {
297         _unknownFields.WriteTo(output);
298       }
299     #endif
300     }
301 
302     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
303     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
304     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)305     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
306       file_.WriteTo(ref output, _repeated_file_codec);
307       if (_unknownFields != null) {
308         _unknownFields.WriteTo(ref output);
309       }
310     }
311     #endif
312 
313     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
314     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()315     public int CalculateSize() {
316       int size = 0;
317       size += file_.CalculateSize(_repeated_file_codec);
318       if (_unknownFields != null) {
319         size += _unknownFields.CalculateSize();
320       }
321       return size;
322     }
323 
324     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
325     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(FileDescriptorSet other)326     public void MergeFrom(FileDescriptorSet other) {
327       if (other == null) {
328         return;
329       }
330       file_.Add(other.file_);
331       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
332     }
333 
334     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
335     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)336     public void MergeFrom(pb::CodedInputStream input) {
337     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
338       input.ReadRawMessage(this);
339     #else
340       uint tag;
341       while ((tag = input.ReadTag()) != 0) {
342         switch(tag) {
343           default:
344             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
345             break;
346           case 10: {
347             file_.AddEntriesFrom(input, _repeated_file_codec);
348             break;
349           }
350         }
351       }
352     #endif
353     }
354 
355     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
356     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
357     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)358     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
359       uint tag;
360       while ((tag = input.ReadTag()) != 0) {
361         switch(tag) {
362           default:
363             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
364             break;
365           case 10: {
366             file_.AddEntriesFrom(ref input, _repeated_file_codec);
367             break;
368           }
369         }
370       }
371     }
372     #endif
373 
374   }
375 
376   /// <summary>
377   /// Describes a complete .proto file.
378   /// </summary>
379   public sealed partial class FileDescriptorProto : pb::IMessage<FileDescriptorProto>
380   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
381       , pb::IBufferMessage
382   #endif
383   {
384     private static readonly pb::MessageParser<FileDescriptorProto> _parser = new pb::MessageParser<FileDescriptorProto>(() => new FileDescriptorProto());
385     private pb::UnknownFieldSet _unknownFields;
386     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
387     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
388     public static pb::MessageParser<FileDescriptorProto> Parser { get { return _parser; } }
389 
390     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
391     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
392     public static pbr::MessageDescriptor Descriptor {
393       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[1]; }
394     }
395 
396     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
397     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
398     pbr::MessageDescriptor pb::IMessage.Descriptor {
399       get { return Descriptor; }
400     }
401 
402     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
403     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FileDescriptorProto()404     public FileDescriptorProto() {
405       OnConstruction();
406     }
407 
OnConstruction()408     partial void OnConstruction();
409 
410     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
411     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FileDescriptorProto(FileDescriptorProto other)412     public FileDescriptorProto(FileDescriptorProto other) : this() {
413       name_ = other.name_;
414       package_ = other.package_;
415       dependency_ = other.dependency_.Clone();
416       publicDependency_ = other.publicDependency_.Clone();
417       weakDependency_ = other.weakDependency_.Clone();
418       messageType_ = other.messageType_.Clone();
419       enumType_ = other.enumType_.Clone();
420       service_ = other.service_.Clone();
421       extension_ = other.extension_.Clone();
422       options_ = other.options_ != null ? other.options_.Clone() : null;
423       sourceCodeInfo_ = other.sourceCodeInfo_ != null ? other.sourceCodeInfo_.Clone() : null;
424       syntax_ = other.syntax_;
425       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
426     }
427 
428     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
429     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()430     public FileDescriptorProto Clone() {
431       return new FileDescriptorProto(this);
432     }
433 
434     /// <summary>Field number for the "name" field.</summary>
435     public const int NameFieldNumber = 1;
436     private readonly static string NameDefaultValue = "";
437 
438     private string name_;
439     /// <summary>
440     /// file name, relative to root of source tree
441     /// </summary>
442     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
443     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
444     public string Name {
445       get { return name_ ?? NameDefaultValue; }
446       set {
447         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
448       }
449     }
450     /// <summary>Gets whether the "name" field is set</summary>
451     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
452     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
453     public bool HasName {
454       get { return name_ != null; }
455     }
456     /// <summary>Clears the value of the "name" field</summary>
457     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
458     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()459     public void ClearName() {
460       name_ = null;
461     }
462 
463     /// <summary>Field number for the "package" field.</summary>
464     public const int PackageFieldNumber = 2;
465     private readonly static string PackageDefaultValue = "";
466 
467     private string package_;
468     /// <summary>
469     /// e.g. "foo", "foo.bar", etc.
470     /// </summary>
471     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
472     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
473     public string Package {
474       get { return package_ ?? PackageDefaultValue; }
475       set {
476         package_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
477       }
478     }
479     /// <summary>Gets whether the "package" field is set</summary>
480     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
481     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
482     public bool HasPackage {
483       get { return package_ != null; }
484     }
485     /// <summary>Clears the value of the "package" field</summary>
486     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
487     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPackage()488     public void ClearPackage() {
489       package_ = null;
490     }
491 
492     /// <summary>Field number for the "dependency" field.</summary>
493     public const int DependencyFieldNumber = 3;
494     private static readonly pb::FieldCodec<string> _repeated_dependency_codec
495         = pb::FieldCodec.ForString(26);
496     private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedField<string>();
497     /// <summary>
498     /// Names of files imported by this file.
499     /// </summary>
500     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
501     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
502     public pbc::RepeatedField<string> Dependency {
503       get { return dependency_; }
504     }
505 
506     /// <summary>Field number for the "public_dependency" field.</summary>
507     public const int PublicDependencyFieldNumber = 10;
508     private static readonly pb::FieldCodec<int> _repeated_publicDependency_codec
509         = pb::FieldCodec.ForInt32(80);
510     private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::RepeatedField<int>();
511     /// <summary>
512     /// Indexes of the public imported files in the dependency list above.
513     /// </summary>
514     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
515     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
516     public pbc::RepeatedField<int> PublicDependency {
517       get { return publicDependency_; }
518     }
519 
520     /// <summary>Field number for the "weak_dependency" field.</summary>
521     public const int WeakDependencyFieldNumber = 11;
522     private static readonly pb::FieldCodec<int> _repeated_weakDependency_codec
523         = pb::FieldCodec.ForInt32(88);
524     private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::RepeatedField<int>();
525     /// <summary>
526     /// Indexes of the weak imported files in the dependency list.
527     /// For Google-internal migration only. Do not use.
528     /// </summary>
529     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
530     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
531     public pbc::RepeatedField<int> WeakDependency {
532       get { return weakDependency_; }
533     }
534 
535     /// <summary>Field number for the "message_type" field.</summary>
536     public const int MessageTypeFieldNumber = 4;
537     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeated_messageType_codec
538         = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.DescriptorProto.Parser);
539     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> messageType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto>();
540     /// <summary>
541     /// All top-level definitions in this file.
542     /// </summary>
543     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
544     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
545     public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> MessageType {
546       get { return messageType_; }
547     }
548 
549     /// <summary>Field number for the "enum_type" field.</summary>
550     public const int EnumTypeFieldNumber = 5;
551     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_codec
552         = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser);
553     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto>();
554     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
555     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
556     public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> EnumType {
557       get { return enumType_; }
558     }
559 
560     /// <summary>Field number for the "service" field.</summary>
561     public const int ServiceFieldNumber = 6;
562     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.ServiceDescriptorProto> _repeated_service_codec
563         = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.ServiceDescriptorProto.Parser);
564     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto> service_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto>();
565     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
566     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
567     public pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescriptorProto> Service {
568       get { return service_; }
569     }
570 
571     /// <summary>Field number for the "extension" field.</summary>
572     public const int ExtensionFieldNumber = 7;
573     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_extension_codec
574         = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
575     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
576     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
577     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
578     public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Extension {
579       get { return extension_; }
580     }
581 
582     /// <summary>Field number for the "options" field.</summary>
583     public const int OptionsFieldNumber = 8;
584     private global::Google.Protobuf.Reflection.FileOptions options_;
585     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
586     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
587     public global::Google.Protobuf.Reflection.FileOptions Options {
588       get { return options_; }
589       set {
590         options_ = value;
591       }
592     }
593 
594     /// <summary>Field number for the "source_code_info" field.</summary>
595     public const int SourceCodeInfoFieldNumber = 9;
596     private global::Google.Protobuf.Reflection.SourceCodeInfo sourceCodeInfo_;
597     /// <summary>
598     /// This field contains optional information about the original source code.
599     /// You may safely remove this entire field without harming runtime
600     /// functionality of the descriptors -- the information is needed only by
601     /// development tools.
602     /// </summary>
603     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
604     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
605     public global::Google.Protobuf.Reflection.SourceCodeInfo SourceCodeInfo {
606       get { return sourceCodeInfo_; }
607       set {
608         sourceCodeInfo_ = value;
609       }
610     }
611 
612     /// <summary>Field number for the "syntax" field.</summary>
613     public const int SyntaxFieldNumber = 12;
614     private readonly static string SyntaxDefaultValue = "";
615 
616     private string syntax_;
617     /// <summary>
618     /// The syntax of the proto file.
619     /// The supported values are "proto2" and "proto3".
620     /// </summary>
621     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
622     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
623     public string Syntax {
624       get { return syntax_ ?? SyntaxDefaultValue; }
625       set {
626         syntax_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
627       }
628     }
629     /// <summary>Gets whether the "syntax" field is set</summary>
630     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
631     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
632     public bool HasSyntax {
633       get { return syntax_ != null; }
634     }
635     /// <summary>Clears the value of the "syntax" field</summary>
636     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
637     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearSyntax()638     public void ClearSyntax() {
639       syntax_ = null;
640     }
641 
642     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
643     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)644     public override bool Equals(object other) {
645       return Equals(other as FileDescriptorProto);
646     }
647 
648     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
649     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(FileDescriptorProto other)650     public bool Equals(FileDescriptorProto other) {
651       if (ReferenceEquals(other, null)) {
652         return false;
653       }
654       if (ReferenceEquals(other, this)) {
655         return true;
656       }
657       if (Name != other.Name) return false;
658       if (Package != other.Package) return false;
659       if(!dependency_.Equals(other.dependency_)) return false;
660       if(!publicDependency_.Equals(other.publicDependency_)) return false;
661       if(!weakDependency_.Equals(other.weakDependency_)) return false;
662       if(!messageType_.Equals(other.messageType_)) return false;
663       if(!enumType_.Equals(other.enumType_)) return false;
664       if(!service_.Equals(other.service_)) return false;
665       if(!extension_.Equals(other.extension_)) return false;
666       if (!object.Equals(Options, other.Options)) return false;
667       if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) return false;
668       if (Syntax != other.Syntax) return false;
669       return Equals(_unknownFields, other._unknownFields);
670     }
671 
672     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
673     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()674     public override int GetHashCode() {
675       int hash = 1;
676       if (HasName) hash ^= Name.GetHashCode();
677       if (HasPackage) hash ^= Package.GetHashCode();
678       hash ^= dependency_.GetHashCode();
679       hash ^= publicDependency_.GetHashCode();
680       hash ^= weakDependency_.GetHashCode();
681       hash ^= messageType_.GetHashCode();
682       hash ^= enumType_.GetHashCode();
683       hash ^= service_.GetHashCode();
684       hash ^= extension_.GetHashCode();
685       if (options_ != null) hash ^= Options.GetHashCode();
686       if (sourceCodeInfo_ != null) hash ^= SourceCodeInfo.GetHashCode();
687       if (HasSyntax) hash ^= Syntax.GetHashCode();
688       if (_unknownFields != null) {
689         hash ^= _unknownFields.GetHashCode();
690       }
691       return hash;
692     }
693 
694     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
695     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()696     public override string ToString() {
697       return pb::JsonFormatter.ToDiagnosticString(this);
698     }
699 
700     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
701     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)702     public void WriteTo(pb::CodedOutputStream output) {
703     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
704       output.WriteRawMessage(this);
705     #else
706       if (HasName) {
707         output.WriteRawTag(10);
708         output.WriteString(Name);
709       }
710       if (HasPackage) {
711         output.WriteRawTag(18);
712         output.WriteString(Package);
713       }
714       dependency_.WriteTo(output, _repeated_dependency_codec);
715       messageType_.WriteTo(output, _repeated_messageType_codec);
716       enumType_.WriteTo(output, _repeated_enumType_codec);
717       service_.WriteTo(output, _repeated_service_codec);
718       extension_.WriteTo(output, _repeated_extension_codec);
719       if (options_ != null) {
720         output.WriteRawTag(66);
721         output.WriteMessage(Options);
722       }
723       if (sourceCodeInfo_ != null) {
724         output.WriteRawTag(74);
725         output.WriteMessage(SourceCodeInfo);
726       }
727       publicDependency_.WriteTo(output, _repeated_publicDependency_codec);
728       weakDependency_.WriteTo(output, _repeated_weakDependency_codec);
729       if (HasSyntax) {
730         output.WriteRawTag(98);
731         output.WriteString(Syntax);
732       }
733       if (_unknownFields != null) {
734         _unknownFields.WriteTo(output);
735       }
736     #endif
737     }
738 
739     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
740     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
741     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)742     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
743       if (HasName) {
744         output.WriteRawTag(10);
745         output.WriteString(Name);
746       }
747       if (HasPackage) {
748         output.WriteRawTag(18);
749         output.WriteString(Package);
750       }
751       dependency_.WriteTo(ref output, _repeated_dependency_codec);
752       messageType_.WriteTo(ref output, _repeated_messageType_codec);
753       enumType_.WriteTo(ref output, _repeated_enumType_codec);
754       service_.WriteTo(ref output, _repeated_service_codec);
755       extension_.WriteTo(ref output, _repeated_extension_codec);
756       if (options_ != null) {
757         output.WriteRawTag(66);
758         output.WriteMessage(Options);
759       }
760       if (sourceCodeInfo_ != null) {
761         output.WriteRawTag(74);
762         output.WriteMessage(SourceCodeInfo);
763       }
764       publicDependency_.WriteTo(ref output, _repeated_publicDependency_codec);
765       weakDependency_.WriteTo(ref output, _repeated_weakDependency_codec);
766       if (HasSyntax) {
767         output.WriteRawTag(98);
768         output.WriteString(Syntax);
769       }
770       if (_unknownFields != null) {
771         _unknownFields.WriteTo(ref output);
772       }
773     }
774     #endif
775 
776     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
777     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()778     public int CalculateSize() {
779       int size = 0;
780       if (HasName) {
781         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
782       }
783       if (HasPackage) {
784         size += 1 + pb::CodedOutputStream.ComputeStringSize(Package);
785       }
786       size += dependency_.CalculateSize(_repeated_dependency_codec);
787       size += publicDependency_.CalculateSize(_repeated_publicDependency_codec);
788       size += weakDependency_.CalculateSize(_repeated_weakDependency_codec);
789       size += messageType_.CalculateSize(_repeated_messageType_codec);
790       size += enumType_.CalculateSize(_repeated_enumType_codec);
791       size += service_.CalculateSize(_repeated_service_codec);
792       size += extension_.CalculateSize(_repeated_extension_codec);
793       if (options_ != null) {
794         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
795       }
796       if (sourceCodeInfo_ != null) {
797         size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceCodeInfo);
798       }
799       if (HasSyntax) {
800         size += 1 + pb::CodedOutputStream.ComputeStringSize(Syntax);
801       }
802       if (_unknownFields != null) {
803         size += _unknownFields.CalculateSize();
804       }
805       return size;
806     }
807 
808     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
809     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(FileDescriptorProto other)810     public void MergeFrom(FileDescriptorProto other) {
811       if (other == null) {
812         return;
813       }
814       if (other.HasName) {
815         Name = other.Name;
816       }
817       if (other.HasPackage) {
818         Package = other.Package;
819       }
820       dependency_.Add(other.dependency_);
821       publicDependency_.Add(other.publicDependency_);
822       weakDependency_.Add(other.weakDependency_);
823       messageType_.Add(other.messageType_);
824       enumType_.Add(other.enumType_);
825       service_.Add(other.service_);
826       extension_.Add(other.extension_);
827       if (other.options_ != null) {
828         if (options_ == null) {
829           Options = new global::Google.Protobuf.Reflection.FileOptions();
830         }
831         Options.MergeFrom(other.Options);
832       }
833       if (other.sourceCodeInfo_ != null) {
834         if (sourceCodeInfo_ == null) {
835           SourceCodeInfo = new global::Google.Protobuf.Reflection.SourceCodeInfo();
836         }
837         SourceCodeInfo.MergeFrom(other.SourceCodeInfo);
838       }
839       if (other.HasSyntax) {
840         Syntax = other.Syntax;
841       }
842       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
843     }
844 
845     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
846     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)847     public void MergeFrom(pb::CodedInputStream input) {
848     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
849       input.ReadRawMessage(this);
850     #else
851       uint tag;
852       while ((tag = input.ReadTag()) != 0) {
853         switch(tag) {
854           default:
855             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
856             break;
857           case 10: {
858             Name = input.ReadString();
859             break;
860           }
861           case 18: {
862             Package = input.ReadString();
863             break;
864           }
865           case 26: {
866             dependency_.AddEntriesFrom(input, _repeated_dependency_codec);
867             break;
868           }
869           case 34: {
870             messageType_.AddEntriesFrom(input, _repeated_messageType_codec);
871             break;
872           }
873           case 42: {
874             enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
875             break;
876           }
877           case 50: {
878             service_.AddEntriesFrom(input, _repeated_service_codec);
879             break;
880           }
881           case 58: {
882             extension_.AddEntriesFrom(input, _repeated_extension_codec);
883             break;
884           }
885           case 66: {
886             if (options_ == null) {
887               Options = new global::Google.Protobuf.Reflection.FileOptions();
888             }
889             input.ReadMessage(Options);
890             break;
891           }
892           case 74: {
893             if (sourceCodeInfo_ == null) {
894               SourceCodeInfo = new global::Google.Protobuf.Reflection.SourceCodeInfo();
895             }
896             input.ReadMessage(SourceCodeInfo);
897             break;
898           }
899           case 82:
900           case 80: {
901             publicDependency_.AddEntriesFrom(input, _repeated_publicDependency_codec);
902             break;
903           }
904           case 90:
905           case 88: {
906             weakDependency_.AddEntriesFrom(input, _repeated_weakDependency_codec);
907             break;
908           }
909           case 98: {
910             Syntax = input.ReadString();
911             break;
912           }
913         }
914       }
915     #endif
916     }
917 
918     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
919     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
920     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)921     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
922       uint tag;
923       while ((tag = input.ReadTag()) != 0) {
924         switch(tag) {
925           default:
926             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
927             break;
928           case 10: {
929             Name = input.ReadString();
930             break;
931           }
932           case 18: {
933             Package = input.ReadString();
934             break;
935           }
936           case 26: {
937             dependency_.AddEntriesFrom(ref input, _repeated_dependency_codec);
938             break;
939           }
940           case 34: {
941             messageType_.AddEntriesFrom(ref input, _repeated_messageType_codec);
942             break;
943           }
944           case 42: {
945             enumType_.AddEntriesFrom(ref input, _repeated_enumType_codec);
946             break;
947           }
948           case 50: {
949             service_.AddEntriesFrom(ref input, _repeated_service_codec);
950             break;
951           }
952           case 58: {
953             extension_.AddEntriesFrom(ref input, _repeated_extension_codec);
954             break;
955           }
956           case 66: {
957             if (options_ == null) {
958               Options = new global::Google.Protobuf.Reflection.FileOptions();
959             }
960             input.ReadMessage(Options);
961             break;
962           }
963           case 74: {
964             if (sourceCodeInfo_ == null) {
965               SourceCodeInfo = new global::Google.Protobuf.Reflection.SourceCodeInfo();
966             }
967             input.ReadMessage(SourceCodeInfo);
968             break;
969           }
970           case 82:
971           case 80: {
972             publicDependency_.AddEntriesFrom(ref input, _repeated_publicDependency_codec);
973             break;
974           }
975           case 90:
976           case 88: {
977             weakDependency_.AddEntriesFrom(ref input, _repeated_weakDependency_codec);
978             break;
979           }
980           case 98: {
981             Syntax = input.ReadString();
982             break;
983           }
984         }
985       }
986     }
987     #endif
988 
989   }
990 
991   /// <summary>
992   /// Describes a message type.
993   /// </summary>
994   public sealed partial class DescriptorProto : pb::IMessage<DescriptorProto>
995   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
996       , pb::IBufferMessage
997   #endif
998   {
999     private static readonly pb::MessageParser<DescriptorProto> _parser = new pb::MessageParser<DescriptorProto>(() => new DescriptorProto());
1000     private pb::UnknownFieldSet _unknownFields;
1001     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1002     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1003     public static pb::MessageParser<DescriptorProto> Parser { get { return _parser; } }
1004 
1005     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1006     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1007     public static pbr::MessageDescriptor Descriptor {
1008       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[2]; }
1009     }
1010 
1011     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1012     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1013     pbr::MessageDescriptor pb::IMessage.Descriptor {
1014       get { return Descriptor; }
1015     }
1016 
1017     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1018     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
DescriptorProto()1019     public DescriptorProto() {
1020       OnConstruction();
1021     }
1022 
OnConstruction()1023     partial void OnConstruction();
1024 
1025     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1026     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
DescriptorProto(DescriptorProto other)1027     public DescriptorProto(DescriptorProto other) : this() {
1028       name_ = other.name_;
1029       field_ = other.field_.Clone();
1030       extension_ = other.extension_.Clone();
1031       nestedType_ = other.nestedType_.Clone();
1032       enumType_ = other.enumType_.Clone();
1033       extensionRange_ = other.extensionRange_.Clone();
1034       oneofDecl_ = other.oneofDecl_.Clone();
1035       options_ = other.options_ != null ? other.options_.Clone() : null;
1036       reservedRange_ = other.reservedRange_.Clone();
1037       reservedName_ = other.reservedName_.Clone();
1038       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1039     }
1040 
1041     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1042     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()1043     public DescriptorProto Clone() {
1044       return new DescriptorProto(this);
1045     }
1046 
1047     /// <summary>Field number for the "name" field.</summary>
1048     public const int NameFieldNumber = 1;
1049     private readonly static string NameDefaultValue = "";
1050 
1051     private string name_;
1052     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1053     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1054     public string Name {
1055       get { return name_ ?? NameDefaultValue; }
1056       set {
1057         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1058       }
1059     }
1060     /// <summary>Gets whether the "name" field is set</summary>
1061     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1062     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1063     public bool HasName {
1064       get { return name_ != null; }
1065     }
1066     /// <summary>Clears the value of the "name" field</summary>
1067     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1068     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()1069     public void ClearName() {
1070       name_ = null;
1071     }
1072 
1073     /// <summary>Field number for the "field" field.</summary>
1074     public const int FieldFieldNumber = 2;
1075     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_field_codec
1076         = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
1077     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> field_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
1078     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1079     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1080     public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Field {
1081       get { return field_; }
1082     }
1083 
1084     /// <summary>Field number for the "extension" field.</summary>
1085     public const int ExtensionFieldNumber = 6;
1086     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.FieldDescriptorProto> _repeated_extension_codec
1087         = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.FieldDescriptorProto.Parser);
1088     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto>();
1089     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1090     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1091     public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptorProto> Extension {
1092       get { return extension_; }
1093     }
1094 
1095     /// <summary>Field number for the "nested_type" field.</summary>
1096     public const int NestedTypeFieldNumber = 3;
1097     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto> _repeated_nestedType_codec
1098         = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.Reflection.DescriptorProto.Parser);
1099     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> nestedType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto>();
1100     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1101     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1102     public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto> NestedType {
1103       get { return nestedType_; }
1104     }
1105 
1106     /// <summary>Field number for the "enum_type" field.</summary>
1107     public const int EnumTypeFieldNumber = 4;
1108     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto> _repeated_enumType_codec
1109         = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.EnumDescriptorProto.Parser);
1110     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto>();
1111     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1112     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1113     public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto> EnumType {
1114       get { return enumType_; }
1115     }
1116 
1117     /// <summary>Field number for the "extension_range" field.</summary>
1118     public const int ExtensionRangeFieldNumber = 5;
1119     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> _repeated_extensionRange_codec
1120         = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange.Parser);
1121     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> extensionRange_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange>();
1122     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1123     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1124     public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange> ExtensionRange {
1125       get { return extensionRange_; }
1126     }
1127 
1128     /// <summary>Field number for the "oneof_decl" field.</summary>
1129     public const int OneofDeclFieldNumber = 8;
1130     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.OneofDescriptorProto> _repeated_oneofDecl_codec
1131         = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.Reflection.OneofDescriptorProto.Parser);
1132     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto> oneofDecl_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto>();
1133     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1134     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1135     public pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptorProto> OneofDecl {
1136       get { return oneofDecl_; }
1137     }
1138 
1139     /// <summary>Field number for the "options" field.</summary>
1140     public const int OptionsFieldNumber = 7;
1141     private global::Google.Protobuf.Reflection.MessageOptions options_;
1142     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1143     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1144     public global::Google.Protobuf.Reflection.MessageOptions Options {
1145       get { return options_; }
1146       set {
1147         options_ = value;
1148       }
1149     }
1150 
1151     /// <summary>Field number for the "reserved_range" field.</summary>
1152     public const int ReservedRangeFieldNumber = 9;
1153     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> _repeated_reservedRange_codec
1154         = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange.Parser);
1155     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> reservedRange_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange>();
1156     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1157     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1158     public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange> ReservedRange {
1159       get { return reservedRange_; }
1160     }
1161 
1162     /// <summary>Field number for the "reserved_name" field.</summary>
1163     public const int ReservedNameFieldNumber = 10;
1164     private static readonly pb::FieldCodec<string> _repeated_reservedName_codec
1165         = pb::FieldCodec.ForString(82);
1166     private readonly pbc::RepeatedField<string> reservedName_ = new pbc::RepeatedField<string>();
1167     /// <summary>
1168     /// Reserved field names, which may not be used by fields in the same message.
1169     /// A given name may only be reserved once.
1170     /// </summary>
1171     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1172     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1173     public pbc::RepeatedField<string> ReservedName {
1174       get { return reservedName_; }
1175     }
1176 
1177     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1178     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)1179     public override bool Equals(object other) {
1180       return Equals(other as DescriptorProto);
1181     }
1182 
1183     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1184     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(DescriptorProto other)1185     public bool Equals(DescriptorProto other) {
1186       if (ReferenceEquals(other, null)) {
1187         return false;
1188       }
1189       if (ReferenceEquals(other, this)) {
1190         return true;
1191       }
1192       if (Name != other.Name) return false;
1193       if(!field_.Equals(other.field_)) return false;
1194       if(!extension_.Equals(other.extension_)) return false;
1195       if(!nestedType_.Equals(other.nestedType_)) return false;
1196       if(!enumType_.Equals(other.enumType_)) return false;
1197       if(!extensionRange_.Equals(other.extensionRange_)) return false;
1198       if(!oneofDecl_.Equals(other.oneofDecl_)) return false;
1199       if (!object.Equals(Options, other.Options)) return false;
1200       if(!reservedRange_.Equals(other.reservedRange_)) return false;
1201       if(!reservedName_.Equals(other.reservedName_)) return false;
1202       return Equals(_unknownFields, other._unknownFields);
1203     }
1204 
1205     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1206     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()1207     public override int GetHashCode() {
1208       int hash = 1;
1209       if (HasName) hash ^= Name.GetHashCode();
1210       hash ^= field_.GetHashCode();
1211       hash ^= extension_.GetHashCode();
1212       hash ^= nestedType_.GetHashCode();
1213       hash ^= enumType_.GetHashCode();
1214       hash ^= extensionRange_.GetHashCode();
1215       hash ^= oneofDecl_.GetHashCode();
1216       if (options_ != null) hash ^= Options.GetHashCode();
1217       hash ^= reservedRange_.GetHashCode();
1218       hash ^= reservedName_.GetHashCode();
1219       if (_unknownFields != null) {
1220         hash ^= _unknownFields.GetHashCode();
1221       }
1222       return hash;
1223     }
1224 
1225     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1226     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()1227     public override string ToString() {
1228       return pb::JsonFormatter.ToDiagnosticString(this);
1229     }
1230 
1231     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1232     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)1233     public void WriteTo(pb::CodedOutputStream output) {
1234     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1235       output.WriteRawMessage(this);
1236     #else
1237       if (HasName) {
1238         output.WriteRawTag(10);
1239         output.WriteString(Name);
1240       }
1241       field_.WriteTo(output, _repeated_field_codec);
1242       nestedType_.WriteTo(output, _repeated_nestedType_codec);
1243       enumType_.WriteTo(output, _repeated_enumType_codec);
1244       extensionRange_.WriteTo(output, _repeated_extensionRange_codec);
1245       extension_.WriteTo(output, _repeated_extension_codec);
1246       if (options_ != null) {
1247         output.WriteRawTag(58);
1248         output.WriteMessage(Options);
1249       }
1250       oneofDecl_.WriteTo(output, _repeated_oneofDecl_codec);
1251       reservedRange_.WriteTo(output, _repeated_reservedRange_codec);
1252       reservedName_.WriteTo(output, _repeated_reservedName_codec);
1253       if (_unknownFields != null) {
1254         _unknownFields.WriteTo(output);
1255       }
1256     #endif
1257     }
1258 
1259     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1260     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1261     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)1262     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1263       if (HasName) {
1264         output.WriteRawTag(10);
1265         output.WriteString(Name);
1266       }
1267       field_.WriteTo(ref output, _repeated_field_codec);
1268       nestedType_.WriteTo(ref output, _repeated_nestedType_codec);
1269       enumType_.WriteTo(ref output, _repeated_enumType_codec);
1270       extensionRange_.WriteTo(ref output, _repeated_extensionRange_codec);
1271       extension_.WriteTo(ref output, _repeated_extension_codec);
1272       if (options_ != null) {
1273         output.WriteRawTag(58);
1274         output.WriteMessage(Options);
1275       }
1276       oneofDecl_.WriteTo(ref output, _repeated_oneofDecl_codec);
1277       reservedRange_.WriteTo(ref output, _repeated_reservedRange_codec);
1278       reservedName_.WriteTo(ref output, _repeated_reservedName_codec);
1279       if (_unknownFields != null) {
1280         _unknownFields.WriteTo(ref output);
1281       }
1282     }
1283     #endif
1284 
1285     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1286     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()1287     public int CalculateSize() {
1288       int size = 0;
1289       if (HasName) {
1290         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
1291       }
1292       size += field_.CalculateSize(_repeated_field_codec);
1293       size += extension_.CalculateSize(_repeated_extension_codec);
1294       size += nestedType_.CalculateSize(_repeated_nestedType_codec);
1295       size += enumType_.CalculateSize(_repeated_enumType_codec);
1296       size += extensionRange_.CalculateSize(_repeated_extensionRange_codec);
1297       size += oneofDecl_.CalculateSize(_repeated_oneofDecl_codec);
1298       if (options_ != null) {
1299         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
1300       }
1301       size += reservedRange_.CalculateSize(_repeated_reservedRange_codec);
1302       size += reservedName_.CalculateSize(_repeated_reservedName_codec);
1303       if (_unknownFields != null) {
1304         size += _unknownFields.CalculateSize();
1305       }
1306       return size;
1307     }
1308 
1309     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1310     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(DescriptorProto other)1311     public void MergeFrom(DescriptorProto other) {
1312       if (other == null) {
1313         return;
1314       }
1315       if (other.HasName) {
1316         Name = other.Name;
1317       }
1318       field_.Add(other.field_);
1319       extension_.Add(other.extension_);
1320       nestedType_.Add(other.nestedType_);
1321       enumType_.Add(other.enumType_);
1322       extensionRange_.Add(other.extensionRange_);
1323       oneofDecl_.Add(other.oneofDecl_);
1324       if (other.options_ != null) {
1325         if (options_ == null) {
1326           Options = new global::Google.Protobuf.Reflection.MessageOptions();
1327         }
1328         Options.MergeFrom(other.Options);
1329       }
1330       reservedRange_.Add(other.reservedRange_);
1331       reservedName_.Add(other.reservedName_);
1332       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1333     }
1334 
1335     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1336     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)1337     public void MergeFrom(pb::CodedInputStream input) {
1338     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1339       input.ReadRawMessage(this);
1340     #else
1341       uint tag;
1342       while ((tag = input.ReadTag()) != 0) {
1343         switch(tag) {
1344           default:
1345             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1346             break;
1347           case 10: {
1348             Name = input.ReadString();
1349             break;
1350           }
1351           case 18: {
1352             field_.AddEntriesFrom(input, _repeated_field_codec);
1353             break;
1354           }
1355           case 26: {
1356             nestedType_.AddEntriesFrom(input, _repeated_nestedType_codec);
1357             break;
1358           }
1359           case 34: {
1360             enumType_.AddEntriesFrom(input, _repeated_enumType_codec);
1361             break;
1362           }
1363           case 42: {
1364             extensionRange_.AddEntriesFrom(input, _repeated_extensionRange_codec);
1365             break;
1366           }
1367           case 50: {
1368             extension_.AddEntriesFrom(input, _repeated_extension_codec);
1369             break;
1370           }
1371           case 58: {
1372             if (options_ == null) {
1373               Options = new global::Google.Protobuf.Reflection.MessageOptions();
1374             }
1375             input.ReadMessage(Options);
1376             break;
1377           }
1378           case 66: {
1379             oneofDecl_.AddEntriesFrom(input, _repeated_oneofDecl_codec);
1380             break;
1381           }
1382           case 74: {
1383             reservedRange_.AddEntriesFrom(input, _repeated_reservedRange_codec);
1384             break;
1385           }
1386           case 82: {
1387             reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec);
1388             break;
1389           }
1390         }
1391       }
1392     #endif
1393     }
1394 
1395     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1396     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1397     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)1398     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1399       uint tag;
1400       while ((tag = input.ReadTag()) != 0) {
1401         switch(tag) {
1402           default:
1403             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1404             break;
1405           case 10: {
1406             Name = input.ReadString();
1407             break;
1408           }
1409           case 18: {
1410             field_.AddEntriesFrom(ref input, _repeated_field_codec);
1411             break;
1412           }
1413           case 26: {
1414             nestedType_.AddEntriesFrom(ref input, _repeated_nestedType_codec);
1415             break;
1416           }
1417           case 34: {
1418             enumType_.AddEntriesFrom(ref input, _repeated_enumType_codec);
1419             break;
1420           }
1421           case 42: {
1422             extensionRange_.AddEntriesFrom(ref input, _repeated_extensionRange_codec);
1423             break;
1424           }
1425           case 50: {
1426             extension_.AddEntriesFrom(ref input, _repeated_extension_codec);
1427             break;
1428           }
1429           case 58: {
1430             if (options_ == null) {
1431               Options = new global::Google.Protobuf.Reflection.MessageOptions();
1432             }
1433             input.ReadMessage(Options);
1434             break;
1435           }
1436           case 66: {
1437             oneofDecl_.AddEntriesFrom(ref input, _repeated_oneofDecl_codec);
1438             break;
1439           }
1440           case 74: {
1441             reservedRange_.AddEntriesFrom(ref input, _repeated_reservedRange_codec);
1442             break;
1443           }
1444           case 82: {
1445             reservedName_.AddEntriesFrom(ref input, _repeated_reservedName_codec);
1446             break;
1447           }
1448         }
1449       }
1450     }
1451     #endif
1452 
1453     #region Nested types
1454     /// <summary>Container for nested types declared in the DescriptorProto message type.</summary>
1455     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1456     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1457     public static partial class Types {
1458       public sealed partial class ExtensionRange : pb::IMessage<ExtensionRange>
1459       #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1460           , pb::IBufferMessage
1461       #endif
1462       {
1463         private static readonly pb::MessageParser<ExtensionRange> _parser = new pb::MessageParser<ExtensionRange>(() => new ExtensionRange());
1464         private pb::UnknownFieldSet _unknownFields;
1465         private int _hasBits0;
1466         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1467         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1468         public static pb::MessageParser<ExtensionRange> Parser { get { return _parser; } }
1469 
1470         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1471         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1472         public static pbr::MessageDescriptor Descriptor {
1473           get { return global::Google.Protobuf.Reflection.DescriptorProto.Descriptor.NestedTypes[0]; }
1474         }
1475 
1476         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1477         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1478         pbr::MessageDescriptor pb::IMessage.Descriptor {
1479           get { return Descriptor; }
1480         }
1481 
1482         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1483         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ExtensionRange()1484         public ExtensionRange() {
1485           OnConstruction();
1486         }
1487 
OnConstruction()1488         partial void OnConstruction();
1489 
1490         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1491         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ExtensionRange(ExtensionRange other)1492         public ExtensionRange(ExtensionRange other) : this() {
1493           _hasBits0 = other._hasBits0;
1494           start_ = other.start_;
1495           end_ = other.end_;
1496           options_ = other.options_ != null ? other.options_.Clone() : null;
1497           _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1498         }
1499 
1500         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1501         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()1502         public ExtensionRange Clone() {
1503           return new ExtensionRange(this);
1504         }
1505 
1506         /// <summary>Field number for the "start" field.</summary>
1507         public const int StartFieldNumber = 1;
1508         private readonly static int StartDefaultValue = 0;
1509 
1510         private int start_;
1511         /// <summary>
1512         /// Inclusive.
1513         /// </summary>
1514         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1515         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1516         public int Start {
1517           get { if ((_hasBits0 & 1) != 0) { return start_; } else { return StartDefaultValue; } }
1518           set {
1519             _hasBits0 |= 1;
1520             start_ = value;
1521           }
1522         }
1523         /// <summary>Gets whether the "start" field is set</summary>
1524         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1525         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1526         public bool HasStart {
1527           get { return (_hasBits0 & 1) != 0; }
1528         }
1529         /// <summary>Clears the value of the "start" field</summary>
1530         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1531         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearStart()1532         public void ClearStart() {
1533           _hasBits0 &= ~1;
1534         }
1535 
1536         /// <summary>Field number for the "end" field.</summary>
1537         public const int EndFieldNumber = 2;
1538         private readonly static int EndDefaultValue = 0;
1539 
1540         private int end_;
1541         /// <summary>
1542         /// Exclusive.
1543         /// </summary>
1544         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1545         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1546         public int End {
1547           get { if ((_hasBits0 & 2) != 0) { return end_; } else { return EndDefaultValue; } }
1548           set {
1549             _hasBits0 |= 2;
1550             end_ = value;
1551           }
1552         }
1553         /// <summary>Gets whether the "end" field is set</summary>
1554         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1555         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1556         public bool HasEnd {
1557           get { return (_hasBits0 & 2) != 0; }
1558         }
1559         /// <summary>Clears the value of the "end" field</summary>
1560         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1561         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearEnd()1562         public void ClearEnd() {
1563           _hasBits0 &= ~2;
1564         }
1565 
1566         /// <summary>Field number for the "options" field.</summary>
1567         public const int OptionsFieldNumber = 3;
1568         private global::Google.Protobuf.Reflection.ExtensionRangeOptions options_;
1569         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1570         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1571         public global::Google.Protobuf.Reflection.ExtensionRangeOptions Options {
1572           get { return options_; }
1573           set {
1574             options_ = value;
1575           }
1576         }
1577 
1578         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1579         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)1580         public override bool Equals(object other) {
1581           return Equals(other as ExtensionRange);
1582         }
1583 
1584         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1585         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(ExtensionRange other)1586         public bool Equals(ExtensionRange other) {
1587           if (ReferenceEquals(other, null)) {
1588             return false;
1589           }
1590           if (ReferenceEquals(other, this)) {
1591             return true;
1592           }
1593           if (Start != other.Start) return false;
1594           if (End != other.End) return false;
1595           if (!object.Equals(Options, other.Options)) return false;
1596           return Equals(_unknownFields, other._unknownFields);
1597         }
1598 
1599         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1600         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()1601         public override int GetHashCode() {
1602           int hash = 1;
1603           if (HasStart) hash ^= Start.GetHashCode();
1604           if (HasEnd) hash ^= End.GetHashCode();
1605           if (options_ != null) hash ^= Options.GetHashCode();
1606           if (_unknownFields != null) {
1607             hash ^= _unknownFields.GetHashCode();
1608           }
1609           return hash;
1610         }
1611 
1612         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1613         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()1614         public override string ToString() {
1615           return pb::JsonFormatter.ToDiagnosticString(this);
1616         }
1617 
1618         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1619         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)1620         public void WriteTo(pb::CodedOutputStream output) {
1621         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1622           output.WriteRawMessage(this);
1623         #else
1624           if (HasStart) {
1625             output.WriteRawTag(8);
1626             output.WriteInt32(Start);
1627           }
1628           if (HasEnd) {
1629             output.WriteRawTag(16);
1630             output.WriteInt32(End);
1631           }
1632           if (options_ != null) {
1633             output.WriteRawTag(26);
1634             output.WriteMessage(Options);
1635           }
1636           if (_unknownFields != null) {
1637             _unknownFields.WriteTo(output);
1638           }
1639         #endif
1640         }
1641 
1642         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1643         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1644         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)1645         void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1646           if (HasStart) {
1647             output.WriteRawTag(8);
1648             output.WriteInt32(Start);
1649           }
1650           if (HasEnd) {
1651             output.WriteRawTag(16);
1652             output.WriteInt32(End);
1653           }
1654           if (options_ != null) {
1655             output.WriteRawTag(26);
1656             output.WriteMessage(Options);
1657           }
1658           if (_unknownFields != null) {
1659             _unknownFields.WriteTo(ref output);
1660           }
1661         }
1662         #endif
1663 
1664         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1665         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()1666         public int CalculateSize() {
1667           int size = 0;
1668           if (HasStart) {
1669             size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
1670           }
1671           if (HasEnd) {
1672             size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
1673           }
1674           if (options_ != null) {
1675             size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
1676           }
1677           if (_unknownFields != null) {
1678             size += _unknownFields.CalculateSize();
1679           }
1680           return size;
1681         }
1682 
1683         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1684         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(ExtensionRange other)1685         public void MergeFrom(ExtensionRange other) {
1686           if (other == null) {
1687             return;
1688           }
1689           if (other.HasStart) {
1690             Start = other.Start;
1691           }
1692           if (other.HasEnd) {
1693             End = other.End;
1694           }
1695           if (other.options_ != null) {
1696             if (options_ == null) {
1697               Options = new global::Google.Protobuf.Reflection.ExtensionRangeOptions();
1698             }
1699             Options.MergeFrom(other.Options);
1700           }
1701           _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1702         }
1703 
1704         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1705         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)1706         public void MergeFrom(pb::CodedInputStream input) {
1707         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1708           input.ReadRawMessage(this);
1709         #else
1710           uint tag;
1711           while ((tag = input.ReadTag()) != 0) {
1712             switch(tag) {
1713               default:
1714                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1715                 break;
1716               case 8: {
1717                 Start = input.ReadInt32();
1718                 break;
1719               }
1720               case 16: {
1721                 End = input.ReadInt32();
1722                 break;
1723               }
1724               case 26: {
1725                 if (options_ == null) {
1726                   Options = new global::Google.Protobuf.Reflection.ExtensionRangeOptions();
1727                 }
1728                 input.ReadMessage(Options);
1729                 break;
1730               }
1731             }
1732           }
1733         #endif
1734         }
1735 
1736         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1737         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1738         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)1739         void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
1740           uint tag;
1741           while ((tag = input.ReadTag()) != 0) {
1742             switch(tag) {
1743               default:
1744                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
1745                 break;
1746               case 8: {
1747                 Start = input.ReadInt32();
1748                 break;
1749               }
1750               case 16: {
1751                 End = input.ReadInt32();
1752                 break;
1753               }
1754               case 26: {
1755                 if (options_ == null) {
1756                   Options = new global::Google.Protobuf.Reflection.ExtensionRangeOptions();
1757                 }
1758                 input.ReadMessage(Options);
1759                 break;
1760               }
1761             }
1762           }
1763         }
1764         #endif
1765 
1766       }
1767 
1768       /// <summary>
1769       /// Range of reserved tag numbers. Reserved tag numbers may not be used by
1770       /// fields or extension ranges in the same message. Reserved ranges may
1771       /// not overlap.
1772       /// </summary>
1773       public sealed partial class ReservedRange : pb::IMessage<ReservedRange>
1774       #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1775           , pb::IBufferMessage
1776       #endif
1777       {
1778         private static readonly pb::MessageParser<ReservedRange> _parser = new pb::MessageParser<ReservedRange>(() => new ReservedRange());
1779         private pb::UnknownFieldSet _unknownFields;
1780         private int _hasBits0;
1781         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1782         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1783         public static pb::MessageParser<ReservedRange> Parser { get { return _parser; } }
1784 
1785         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1786         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1787         public static pbr::MessageDescriptor Descriptor {
1788           get { return global::Google.Protobuf.Reflection.DescriptorProto.Descriptor.NestedTypes[1]; }
1789         }
1790 
1791         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1792         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1793         pbr::MessageDescriptor pb::IMessage.Descriptor {
1794           get { return Descriptor; }
1795         }
1796 
1797         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1798         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ReservedRange()1799         public ReservedRange() {
1800           OnConstruction();
1801         }
1802 
OnConstruction()1803         partial void OnConstruction();
1804 
1805         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1806         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ReservedRange(ReservedRange other)1807         public ReservedRange(ReservedRange other) : this() {
1808           _hasBits0 = other._hasBits0;
1809           start_ = other.start_;
1810           end_ = other.end_;
1811           _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
1812         }
1813 
1814         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1815         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()1816         public ReservedRange Clone() {
1817           return new ReservedRange(this);
1818         }
1819 
1820         /// <summary>Field number for the "start" field.</summary>
1821         public const int StartFieldNumber = 1;
1822         private readonly static int StartDefaultValue = 0;
1823 
1824         private int start_;
1825         /// <summary>
1826         /// Inclusive.
1827         /// </summary>
1828         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1829         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1830         public int Start {
1831           get { if ((_hasBits0 & 1) != 0) { return start_; } else { return StartDefaultValue; } }
1832           set {
1833             _hasBits0 |= 1;
1834             start_ = value;
1835           }
1836         }
1837         /// <summary>Gets whether the "start" field is set</summary>
1838         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1839         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1840         public bool HasStart {
1841           get { return (_hasBits0 & 1) != 0; }
1842         }
1843         /// <summary>Clears the value of the "start" field</summary>
1844         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1845         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearStart()1846         public void ClearStart() {
1847           _hasBits0 &= ~1;
1848         }
1849 
1850         /// <summary>Field number for the "end" field.</summary>
1851         public const int EndFieldNumber = 2;
1852         private readonly static int EndDefaultValue = 0;
1853 
1854         private int end_;
1855         /// <summary>
1856         /// Exclusive.
1857         /// </summary>
1858         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1859         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1860         public int End {
1861           get { if ((_hasBits0 & 2) != 0) { return end_; } else { return EndDefaultValue; } }
1862           set {
1863             _hasBits0 |= 2;
1864             end_ = value;
1865           }
1866         }
1867         /// <summary>Gets whether the "end" field is set</summary>
1868         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1869         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
1870         public bool HasEnd {
1871           get { return (_hasBits0 & 2) != 0; }
1872         }
1873         /// <summary>Clears the value of the "end" field</summary>
1874         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1875         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearEnd()1876         public void ClearEnd() {
1877           _hasBits0 &= ~2;
1878         }
1879 
1880         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1881         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)1882         public override bool Equals(object other) {
1883           return Equals(other as ReservedRange);
1884         }
1885 
1886         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1887         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(ReservedRange other)1888         public bool Equals(ReservedRange other) {
1889           if (ReferenceEquals(other, null)) {
1890             return false;
1891           }
1892           if (ReferenceEquals(other, this)) {
1893             return true;
1894           }
1895           if (Start != other.Start) return false;
1896           if (End != other.End) return false;
1897           return Equals(_unknownFields, other._unknownFields);
1898         }
1899 
1900         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1901         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()1902         public override int GetHashCode() {
1903           int hash = 1;
1904           if (HasStart) hash ^= Start.GetHashCode();
1905           if (HasEnd) hash ^= End.GetHashCode();
1906           if (_unknownFields != null) {
1907             hash ^= _unknownFields.GetHashCode();
1908           }
1909           return hash;
1910         }
1911 
1912         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1913         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()1914         public override string ToString() {
1915           return pb::JsonFormatter.ToDiagnosticString(this);
1916         }
1917 
1918         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1919         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)1920         public void WriteTo(pb::CodedOutputStream output) {
1921         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1922           output.WriteRawMessage(this);
1923         #else
1924           if (HasStart) {
1925             output.WriteRawTag(8);
1926             output.WriteInt32(Start);
1927           }
1928           if (HasEnd) {
1929             output.WriteRawTag(16);
1930             output.WriteInt32(End);
1931           }
1932           if (_unknownFields != null) {
1933             _unknownFields.WriteTo(output);
1934           }
1935         #endif
1936         }
1937 
1938         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1939         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1940         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)1941         void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
1942           if (HasStart) {
1943             output.WriteRawTag(8);
1944             output.WriteInt32(Start);
1945           }
1946           if (HasEnd) {
1947             output.WriteRawTag(16);
1948             output.WriteInt32(End);
1949           }
1950           if (_unknownFields != null) {
1951             _unknownFields.WriteTo(ref output);
1952           }
1953         }
1954         #endif
1955 
1956         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1957         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()1958         public int CalculateSize() {
1959           int size = 0;
1960           if (HasStart) {
1961             size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
1962           }
1963           if (HasEnd) {
1964             size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
1965           }
1966           if (_unknownFields != null) {
1967             size += _unknownFields.CalculateSize();
1968           }
1969           return size;
1970         }
1971 
1972         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1973         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(ReservedRange other)1974         public void MergeFrom(ReservedRange other) {
1975           if (other == null) {
1976             return;
1977           }
1978           if (other.HasStart) {
1979             Start = other.Start;
1980           }
1981           if (other.HasEnd) {
1982             End = other.End;
1983           }
1984           _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
1985         }
1986 
1987         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1988         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)1989         public void MergeFrom(pb::CodedInputStream input) {
1990         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
1991           input.ReadRawMessage(this);
1992         #else
1993           uint tag;
1994           while ((tag = input.ReadTag()) != 0) {
1995             switch(tag) {
1996               default:
1997                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
1998                 break;
1999               case 8: {
2000                 Start = input.ReadInt32();
2001                 break;
2002               }
2003               case 16: {
2004                 End = input.ReadInt32();
2005                 break;
2006               }
2007             }
2008           }
2009         #endif
2010         }
2011 
2012         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2013         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2014         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)2015         void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2016           uint tag;
2017           while ((tag = input.ReadTag()) != 0) {
2018             switch(tag) {
2019               default:
2020                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2021                 break;
2022               case 8: {
2023                 Start = input.ReadInt32();
2024                 break;
2025               }
2026               case 16: {
2027                 End = input.ReadInt32();
2028                 break;
2029               }
2030             }
2031           }
2032         }
2033         #endif
2034 
2035       }
2036 
2037     }
2038     #endregion
2039 
2040   }
2041 
2042   public sealed partial class ExtensionRangeOptions : pb::IExtendableMessage<ExtensionRangeOptions>
2043   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2044       , pb::IBufferMessage
2045   #endif
2046   {
2047     private static readonly pb::MessageParser<ExtensionRangeOptions> _parser = new pb::MessageParser<ExtensionRangeOptions>(() => new ExtensionRangeOptions());
2048     private pb::UnknownFieldSet _unknownFields;
2049     internal pb::ExtensionSet<ExtensionRangeOptions> _extensions;
2050     private pb::ExtensionSet<ExtensionRangeOptions> _Extensions { get { return _extensions; } }
2051     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2052     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2053     public static pb::MessageParser<ExtensionRangeOptions> Parser { get { return _parser; } }
2054 
2055     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2056     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2057     public static pbr::MessageDescriptor Descriptor {
2058       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[3]; }
2059     }
2060 
2061     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2062     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2063     pbr::MessageDescriptor pb::IMessage.Descriptor {
2064       get { return Descriptor; }
2065     }
2066 
2067     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2068     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ExtensionRangeOptions()2069     public ExtensionRangeOptions() {
2070       OnConstruction();
2071     }
2072 
OnConstruction()2073     partial void OnConstruction();
2074 
2075     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2076     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ExtensionRangeOptions(ExtensionRangeOptions other)2077     public ExtensionRangeOptions(ExtensionRangeOptions other) : this() {
2078       uninterpretedOption_ = other.uninterpretedOption_.Clone();
2079       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2080       _extensions = pb::ExtensionSet.Clone(other._extensions);
2081     }
2082 
2083     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2084     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()2085     public ExtensionRangeOptions Clone() {
2086       return new ExtensionRangeOptions(this);
2087     }
2088 
2089     /// <summary>Field number for the "uninterpreted_option" field.</summary>
2090     public const int UninterpretedOptionFieldNumber = 999;
2091     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
2092         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
2093     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
2094     /// <summary>
2095     /// The parser stores options it doesn't recognize here. See above.
2096     /// </summary>
2097     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2098     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2099     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
2100       get { return uninterpretedOption_; }
2101     }
2102 
2103     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2104     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)2105     public override bool Equals(object other) {
2106       return Equals(other as ExtensionRangeOptions);
2107     }
2108 
2109     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2110     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(ExtensionRangeOptions other)2111     public bool Equals(ExtensionRangeOptions other) {
2112       if (ReferenceEquals(other, null)) {
2113         return false;
2114       }
2115       if (ReferenceEquals(other, this)) {
2116         return true;
2117       }
2118       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
2119       if (!Equals(_extensions, other._extensions)) {
2120         return false;
2121       }
2122       return Equals(_unknownFields, other._unknownFields);
2123     }
2124 
2125     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2126     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()2127     public override int GetHashCode() {
2128       int hash = 1;
2129       hash ^= uninterpretedOption_.GetHashCode();
2130       if (_extensions != null) {
2131         hash ^= _extensions.GetHashCode();
2132       }
2133       if (_unknownFields != null) {
2134         hash ^= _unknownFields.GetHashCode();
2135       }
2136       return hash;
2137     }
2138 
2139     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2140     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()2141     public override string ToString() {
2142       return pb::JsonFormatter.ToDiagnosticString(this);
2143     }
2144 
2145     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2146     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)2147     public void WriteTo(pb::CodedOutputStream output) {
2148     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2149       output.WriteRawMessage(this);
2150     #else
2151       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
2152       if (_extensions != null) {
2153         _extensions.WriteTo(output);
2154       }
2155       if (_unknownFields != null) {
2156         _unknownFields.WriteTo(output);
2157       }
2158     #endif
2159     }
2160 
2161     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2162     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2163     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)2164     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2165       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
2166       if (_extensions != null) {
2167         _extensions.WriteTo(ref output);
2168       }
2169       if (_unknownFields != null) {
2170         _unknownFields.WriteTo(ref output);
2171       }
2172     }
2173     #endif
2174 
2175     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2176     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()2177     public int CalculateSize() {
2178       int size = 0;
2179       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
2180       if (_extensions != null) {
2181         size += _extensions.CalculateSize();
2182       }
2183       if (_unknownFields != null) {
2184         size += _unknownFields.CalculateSize();
2185       }
2186       return size;
2187     }
2188 
2189     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2190     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(ExtensionRangeOptions other)2191     public void MergeFrom(ExtensionRangeOptions other) {
2192       if (other == null) {
2193         return;
2194       }
2195       uninterpretedOption_.Add(other.uninterpretedOption_);
2196       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
2197       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2198     }
2199 
2200     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2201     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)2202     public void MergeFrom(pb::CodedInputStream input) {
2203     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2204       input.ReadRawMessage(this);
2205     #else
2206       uint tag;
2207       while ((tag = input.ReadTag()) != 0) {
2208         switch(tag) {
2209           default:
2210             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
2211               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2212             }
2213             break;
2214           case 7994: {
2215             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
2216             break;
2217           }
2218         }
2219       }
2220     #endif
2221     }
2222 
2223     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2224     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2225     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)2226     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2227       uint tag;
2228       while ((tag = input.ReadTag()) != 0) {
2229         switch(tag) {
2230           default:
2231             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
2232               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2233             }
2234             break;
2235           case 7994: {
2236             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
2237             break;
2238           }
2239         }
2240       }
2241     }
2242     #endif
2243 
GetExtension(pb::Extension<ExtensionRangeOptions, TValue> extension)2244     public TValue GetExtension<TValue>(pb::Extension<ExtensionRangeOptions, TValue> extension) {
2245       return pb::ExtensionSet.Get(ref _extensions, extension);
2246     }
GetExtension(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension)2247     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension) {
2248       return pb::ExtensionSet.Get(ref _extensions, extension);
2249     }
GetOrInitializeExtension(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension)2250     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension) {
2251       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
2252     }
SetExtension(pb::Extension<ExtensionRangeOptions, TValue> extension, TValue value)2253     public void SetExtension<TValue>(pb::Extension<ExtensionRangeOptions, TValue> extension, TValue value) {
2254       pb::ExtensionSet.Set(ref _extensions, extension, value);
2255     }
HasExtension(pb::Extension<ExtensionRangeOptions, TValue> extension)2256     public bool HasExtension<TValue>(pb::Extension<ExtensionRangeOptions, TValue> extension) {
2257       return pb::ExtensionSet.Has(ref _extensions, extension);
2258     }
ClearExtension(pb::Extension<ExtensionRangeOptions, TValue> extension)2259     public void ClearExtension<TValue>(pb::Extension<ExtensionRangeOptions, TValue> extension) {
2260       pb::ExtensionSet.Clear(ref _extensions, extension);
2261     }
ClearExtension(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension)2262     public void ClearExtension<TValue>(pb::RepeatedExtension<ExtensionRangeOptions, TValue> extension) {
2263       pb::ExtensionSet.Clear(ref _extensions, extension);
2264     }
2265 
2266   }
2267 
2268   /// <summary>
2269   /// Describes a field within a message.
2270   /// </summary>
2271   public sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescriptorProto>
2272   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2273       , pb::IBufferMessage
2274   #endif
2275   {
2276     private static readonly pb::MessageParser<FieldDescriptorProto> _parser = new pb::MessageParser<FieldDescriptorProto>(() => new FieldDescriptorProto());
2277     private pb::UnknownFieldSet _unknownFields;
2278     private int _hasBits0;
2279     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2280     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2281     public static pb::MessageParser<FieldDescriptorProto> Parser { get { return _parser; } }
2282 
2283     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2284     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2285     public static pbr::MessageDescriptor Descriptor {
2286       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[4]; }
2287     }
2288 
2289     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2290     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2291     pbr::MessageDescriptor pb::IMessage.Descriptor {
2292       get { return Descriptor; }
2293     }
2294 
2295     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2296     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FieldDescriptorProto()2297     public FieldDescriptorProto() {
2298       OnConstruction();
2299     }
2300 
OnConstruction()2301     partial void OnConstruction();
2302 
2303     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2304     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FieldDescriptorProto(FieldDescriptorProto other)2305     public FieldDescriptorProto(FieldDescriptorProto other) : this() {
2306       _hasBits0 = other._hasBits0;
2307       name_ = other.name_;
2308       number_ = other.number_;
2309       label_ = other.label_;
2310       type_ = other.type_;
2311       typeName_ = other.typeName_;
2312       extendee_ = other.extendee_;
2313       defaultValue_ = other.defaultValue_;
2314       oneofIndex_ = other.oneofIndex_;
2315       jsonName_ = other.jsonName_;
2316       options_ = other.options_ != null ? other.options_.Clone() : null;
2317       proto3Optional_ = other.proto3Optional_;
2318       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
2319     }
2320 
2321     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2322     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()2323     public FieldDescriptorProto Clone() {
2324       return new FieldDescriptorProto(this);
2325     }
2326 
2327     /// <summary>Field number for the "name" field.</summary>
2328     public const int NameFieldNumber = 1;
2329     private readonly static string NameDefaultValue = "";
2330 
2331     private string name_;
2332     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2333     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2334     public string Name {
2335       get { return name_ ?? NameDefaultValue; }
2336       set {
2337         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2338       }
2339     }
2340     /// <summary>Gets whether the "name" field is set</summary>
2341     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2342     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2343     public bool HasName {
2344       get { return name_ != null; }
2345     }
2346     /// <summary>Clears the value of the "name" field</summary>
2347     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2348     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()2349     public void ClearName() {
2350       name_ = null;
2351     }
2352 
2353     /// <summary>Field number for the "number" field.</summary>
2354     public const int NumberFieldNumber = 3;
2355     private readonly static int NumberDefaultValue = 0;
2356 
2357     private int number_;
2358     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2359     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2360     public int Number {
2361       get { if ((_hasBits0 & 1) != 0) { return number_; } else { return NumberDefaultValue; } }
2362       set {
2363         _hasBits0 |= 1;
2364         number_ = value;
2365       }
2366     }
2367     /// <summary>Gets whether the "number" field is set</summary>
2368     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2369     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2370     public bool HasNumber {
2371       get { return (_hasBits0 & 1) != 0; }
2372     }
2373     /// <summary>Clears the value of the "number" field</summary>
2374     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2375     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearNumber()2376     public void ClearNumber() {
2377       _hasBits0 &= ~1;
2378     }
2379 
2380     /// <summary>Field number for the "label" field.</summary>
2381     public const int LabelFieldNumber = 4;
2382     private readonly static global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label LabelDefaultValue = global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label.Optional;
2383 
2384     private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label label_;
2385     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2386     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2387     public global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label Label {
2388       get { if ((_hasBits0 & 2) != 0) { return label_; } else { return LabelDefaultValue; } }
2389       set {
2390         _hasBits0 |= 2;
2391         label_ = value;
2392       }
2393     }
2394     /// <summary>Gets whether the "label" field is set</summary>
2395     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2396     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2397     public bool HasLabel {
2398       get { return (_hasBits0 & 2) != 0; }
2399     }
2400     /// <summary>Clears the value of the "label" field</summary>
2401     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2402     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearLabel()2403     public void ClearLabel() {
2404       _hasBits0 &= ~2;
2405     }
2406 
2407     /// <summary>Field number for the "type" field.</summary>
2408     public const int TypeFieldNumber = 5;
2409     private readonly static global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type TypeDefaultValue = global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type.Double;
2410 
2411     private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type type_;
2412     /// <summary>
2413     /// If type_name is set, this need not be set.  If both this and type_name
2414     /// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
2415     /// </summary>
2416     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2417     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2418     public global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type Type {
2419       get { if ((_hasBits0 & 4) != 0) { return type_; } else { return TypeDefaultValue; } }
2420       set {
2421         _hasBits0 |= 4;
2422         type_ = value;
2423       }
2424     }
2425     /// <summary>Gets whether the "type" field is set</summary>
2426     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2427     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2428     public bool HasType {
2429       get { return (_hasBits0 & 4) != 0; }
2430     }
2431     /// <summary>Clears the value of the "type" field</summary>
2432     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2433     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearType()2434     public void ClearType() {
2435       _hasBits0 &= ~4;
2436     }
2437 
2438     /// <summary>Field number for the "type_name" field.</summary>
2439     public const int TypeNameFieldNumber = 6;
2440     private readonly static string TypeNameDefaultValue = "";
2441 
2442     private string typeName_;
2443     /// <summary>
2444     /// For message and enum types, this is the name of the type.  If the name
2445     /// starts with a '.', it is fully-qualified.  Otherwise, C++-like scoping
2446     /// rules are used to find the type (i.e. first the nested types within this
2447     /// message are searched, then within the parent, on up to the root
2448     /// namespace).
2449     /// </summary>
2450     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2451     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2452     public string TypeName {
2453       get { return typeName_ ?? TypeNameDefaultValue; }
2454       set {
2455         typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2456       }
2457     }
2458     /// <summary>Gets whether the "type_name" field is set</summary>
2459     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2460     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2461     public bool HasTypeName {
2462       get { return typeName_ != null; }
2463     }
2464     /// <summary>Clears the value of the "type_name" field</summary>
2465     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2466     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearTypeName()2467     public void ClearTypeName() {
2468       typeName_ = null;
2469     }
2470 
2471     /// <summary>Field number for the "extendee" field.</summary>
2472     public const int ExtendeeFieldNumber = 2;
2473     private readonly static string ExtendeeDefaultValue = "";
2474 
2475     private string extendee_;
2476     /// <summary>
2477     /// For extensions, this is the name of the type being extended.  It is
2478     /// resolved in the same manner as type_name.
2479     /// </summary>
2480     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2481     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2482     public string Extendee {
2483       get { return extendee_ ?? ExtendeeDefaultValue; }
2484       set {
2485         extendee_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2486       }
2487     }
2488     /// <summary>Gets whether the "extendee" field is set</summary>
2489     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2490     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2491     public bool HasExtendee {
2492       get { return extendee_ != null; }
2493     }
2494     /// <summary>Clears the value of the "extendee" field</summary>
2495     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2496     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearExtendee()2497     public void ClearExtendee() {
2498       extendee_ = null;
2499     }
2500 
2501     /// <summary>Field number for the "default_value" field.</summary>
2502     public const int DefaultValueFieldNumber = 7;
2503     private readonly static string DefaultValueDefaultValue = "";
2504 
2505     private string defaultValue_;
2506     /// <summary>
2507     /// For numeric types, contains the original text representation of the value.
2508     /// For booleans, "true" or "false".
2509     /// For strings, contains the default text contents (not escaped in any way).
2510     /// For bytes, contains the C escaped value.  All bytes >= 128 are escaped.
2511     /// </summary>
2512     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2513     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2514     public string DefaultValue {
2515       get { return defaultValue_ ?? DefaultValueDefaultValue; }
2516       set {
2517         defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2518       }
2519     }
2520     /// <summary>Gets whether the "default_value" field is set</summary>
2521     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2522     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2523     public bool HasDefaultValue {
2524       get { return defaultValue_ != null; }
2525     }
2526     /// <summary>Clears the value of the "default_value" field</summary>
2527     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2528     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDefaultValue()2529     public void ClearDefaultValue() {
2530       defaultValue_ = null;
2531     }
2532 
2533     /// <summary>Field number for the "oneof_index" field.</summary>
2534     public const int OneofIndexFieldNumber = 9;
2535     private readonly static int OneofIndexDefaultValue = 0;
2536 
2537     private int oneofIndex_;
2538     /// <summary>
2539     /// If set, gives the index of a oneof in the containing type's oneof_decl
2540     /// list.  This field is a member of that oneof.
2541     /// </summary>
2542     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2543     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2544     public int OneofIndex {
2545       get { if ((_hasBits0 & 8) != 0) { return oneofIndex_; } else { return OneofIndexDefaultValue; } }
2546       set {
2547         _hasBits0 |= 8;
2548         oneofIndex_ = value;
2549       }
2550     }
2551     /// <summary>Gets whether the "oneof_index" field is set</summary>
2552     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2553     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2554     public bool HasOneofIndex {
2555       get { return (_hasBits0 & 8) != 0; }
2556     }
2557     /// <summary>Clears the value of the "oneof_index" field</summary>
2558     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2559     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearOneofIndex()2560     public void ClearOneofIndex() {
2561       _hasBits0 &= ~8;
2562     }
2563 
2564     /// <summary>Field number for the "json_name" field.</summary>
2565     public const int JsonNameFieldNumber = 10;
2566     private readonly static string JsonNameDefaultValue = "";
2567 
2568     private string jsonName_;
2569     /// <summary>
2570     /// JSON name of this field. The value is set by protocol compiler. If the
2571     /// user has set a "json_name" option on this field, that option's value
2572     /// will be used. Otherwise, it's deduced from the field's name by converting
2573     /// it to camelCase.
2574     /// </summary>
2575     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2576     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2577     public string JsonName {
2578       get { return jsonName_ ?? JsonNameDefaultValue; }
2579       set {
2580         jsonName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2581       }
2582     }
2583     /// <summary>Gets whether the "json_name" field is set</summary>
2584     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2585     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2586     public bool HasJsonName {
2587       get { return jsonName_ != null; }
2588     }
2589     /// <summary>Clears the value of the "json_name" field</summary>
2590     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2591     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJsonName()2592     public void ClearJsonName() {
2593       jsonName_ = null;
2594     }
2595 
2596     /// <summary>Field number for the "options" field.</summary>
2597     public const int OptionsFieldNumber = 8;
2598     private global::Google.Protobuf.Reflection.FieldOptions options_;
2599     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2600     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2601     public global::Google.Protobuf.Reflection.FieldOptions Options {
2602       get { return options_; }
2603       set {
2604         options_ = value;
2605       }
2606     }
2607 
2608     /// <summary>Field number for the "proto3_optional" field.</summary>
2609     public const int Proto3OptionalFieldNumber = 17;
2610     private readonly static bool Proto3OptionalDefaultValue = false;
2611 
2612     private bool proto3Optional_;
2613     /// <summary>
2614     /// If true, this is a proto3 "optional". When a proto3 field is optional, it
2615     /// tracks presence regardless of field type.
2616     ///
2617     /// When proto3_optional is true, this field must be belong to a oneof to
2618     /// signal to old proto3 clients that presence is tracked for this field. This
2619     /// oneof is known as a "synthetic" oneof, and this field must be its sole
2620     /// member (each proto3 optional field gets its own synthetic oneof). Synthetic
2621     /// oneofs exist in the descriptor only, and do not generate any API. Synthetic
2622     /// oneofs must be ordered after all "real" oneofs.
2623     ///
2624     /// For message fields, proto3_optional doesn't create any semantic change,
2625     /// since non-repeated message fields always track presence. However it still
2626     /// indicates the semantic detail of whether the user wrote "optional" or not.
2627     /// This can be useful for round-tripping the .proto file. For consistency we
2628     /// give message fields a synthetic oneof also, even though it is not required
2629     /// to track presence. This is especially important because the parser can't
2630     /// tell if a field is a message or an enum, so it must always create a
2631     /// synthetic oneof.
2632     ///
2633     /// Proto2 optional fields do not set this flag, because they already indicate
2634     /// optional with `LABEL_OPTIONAL`.
2635     /// </summary>
2636     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2637     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2638     public bool Proto3Optional {
2639       get { if ((_hasBits0 & 16) != 0) { return proto3Optional_; } else { return Proto3OptionalDefaultValue; } }
2640       set {
2641         _hasBits0 |= 16;
2642         proto3Optional_ = value;
2643       }
2644     }
2645     /// <summary>Gets whether the "proto3_optional" field is set</summary>
2646     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2647     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
2648     public bool HasProto3Optional {
2649       get { return (_hasBits0 & 16) != 0; }
2650     }
2651     /// <summary>Clears the value of the "proto3_optional" field</summary>
2652     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2653     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearProto3Optional()2654     public void ClearProto3Optional() {
2655       _hasBits0 &= ~16;
2656     }
2657 
2658     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2659     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)2660     public override bool Equals(object other) {
2661       return Equals(other as FieldDescriptorProto);
2662     }
2663 
2664     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2665     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(FieldDescriptorProto other)2666     public bool Equals(FieldDescriptorProto other) {
2667       if (ReferenceEquals(other, null)) {
2668         return false;
2669       }
2670       if (ReferenceEquals(other, this)) {
2671         return true;
2672       }
2673       if (Name != other.Name) return false;
2674       if (Number != other.Number) return false;
2675       if (Label != other.Label) return false;
2676       if (Type != other.Type) return false;
2677       if (TypeName != other.TypeName) return false;
2678       if (Extendee != other.Extendee) return false;
2679       if (DefaultValue != other.DefaultValue) return false;
2680       if (OneofIndex != other.OneofIndex) return false;
2681       if (JsonName != other.JsonName) return false;
2682       if (!object.Equals(Options, other.Options)) return false;
2683       if (Proto3Optional != other.Proto3Optional) return false;
2684       return Equals(_unknownFields, other._unknownFields);
2685     }
2686 
2687     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2688     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()2689     public override int GetHashCode() {
2690       int hash = 1;
2691       if (HasName) hash ^= Name.GetHashCode();
2692       if (HasNumber) hash ^= Number.GetHashCode();
2693       if (HasLabel) hash ^= Label.GetHashCode();
2694       if (HasType) hash ^= Type.GetHashCode();
2695       if (HasTypeName) hash ^= TypeName.GetHashCode();
2696       if (HasExtendee) hash ^= Extendee.GetHashCode();
2697       if (HasDefaultValue) hash ^= DefaultValue.GetHashCode();
2698       if (HasOneofIndex) hash ^= OneofIndex.GetHashCode();
2699       if (HasJsonName) hash ^= JsonName.GetHashCode();
2700       if (options_ != null) hash ^= Options.GetHashCode();
2701       if (HasProto3Optional) hash ^= Proto3Optional.GetHashCode();
2702       if (_unknownFields != null) {
2703         hash ^= _unknownFields.GetHashCode();
2704       }
2705       return hash;
2706     }
2707 
2708     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2709     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()2710     public override string ToString() {
2711       return pb::JsonFormatter.ToDiagnosticString(this);
2712     }
2713 
2714     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2715     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)2716     public void WriteTo(pb::CodedOutputStream output) {
2717     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2718       output.WriteRawMessage(this);
2719     #else
2720       if (HasName) {
2721         output.WriteRawTag(10);
2722         output.WriteString(Name);
2723       }
2724       if (HasExtendee) {
2725         output.WriteRawTag(18);
2726         output.WriteString(Extendee);
2727       }
2728       if (HasNumber) {
2729         output.WriteRawTag(24);
2730         output.WriteInt32(Number);
2731       }
2732       if (HasLabel) {
2733         output.WriteRawTag(32);
2734         output.WriteEnum((int) Label);
2735       }
2736       if (HasType) {
2737         output.WriteRawTag(40);
2738         output.WriteEnum((int) Type);
2739       }
2740       if (HasTypeName) {
2741         output.WriteRawTag(50);
2742         output.WriteString(TypeName);
2743       }
2744       if (HasDefaultValue) {
2745         output.WriteRawTag(58);
2746         output.WriteString(DefaultValue);
2747       }
2748       if (options_ != null) {
2749         output.WriteRawTag(66);
2750         output.WriteMessage(Options);
2751       }
2752       if (HasOneofIndex) {
2753         output.WriteRawTag(72);
2754         output.WriteInt32(OneofIndex);
2755       }
2756       if (HasJsonName) {
2757         output.WriteRawTag(82);
2758         output.WriteString(JsonName);
2759       }
2760       if (HasProto3Optional) {
2761         output.WriteRawTag(136, 1);
2762         output.WriteBool(Proto3Optional);
2763       }
2764       if (_unknownFields != null) {
2765         _unknownFields.WriteTo(output);
2766       }
2767     #endif
2768     }
2769 
2770     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2771     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2772     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)2773     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
2774       if (HasName) {
2775         output.WriteRawTag(10);
2776         output.WriteString(Name);
2777       }
2778       if (HasExtendee) {
2779         output.WriteRawTag(18);
2780         output.WriteString(Extendee);
2781       }
2782       if (HasNumber) {
2783         output.WriteRawTag(24);
2784         output.WriteInt32(Number);
2785       }
2786       if (HasLabel) {
2787         output.WriteRawTag(32);
2788         output.WriteEnum((int) Label);
2789       }
2790       if (HasType) {
2791         output.WriteRawTag(40);
2792         output.WriteEnum((int) Type);
2793       }
2794       if (HasTypeName) {
2795         output.WriteRawTag(50);
2796         output.WriteString(TypeName);
2797       }
2798       if (HasDefaultValue) {
2799         output.WriteRawTag(58);
2800         output.WriteString(DefaultValue);
2801       }
2802       if (options_ != null) {
2803         output.WriteRawTag(66);
2804         output.WriteMessage(Options);
2805       }
2806       if (HasOneofIndex) {
2807         output.WriteRawTag(72);
2808         output.WriteInt32(OneofIndex);
2809       }
2810       if (HasJsonName) {
2811         output.WriteRawTag(82);
2812         output.WriteString(JsonName);
2813       }
2814       if (HasProto3Optional) {
2815         output.WriteRawTag(136, 1);
2816         output.WriteBool(Proto3Optional);
2817       }
2818       if (_unknownFields != null) {
2819         _unknownFields.WriteTo(ref output);
2820       }
2821     }
2822     #endif
2823 
2824     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2825     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()2826     public int CalculateSize() {
2827       int size = 0;
2828       if (HasName) {
2829         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
2830       }
2831       if (HasNumber) {
2832         size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
2833       }
2834       if (HasLabel) {
2835         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label);
2836       }
2837       if (HasType) {
2838         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Type);
2839       }
2840       if (HasTypeName) {
2841         size += 1 + pb::CodedOutputStream.ComputeStringSize(TypeName);
2842       }
2843       if (HasExtendee) {
2844         size += 1 + pb::CodedOutputStream.ComputeStringSize(Extendee);
2845       }
2846       if (HasDefaultValue) {
2847         size += 1 + pb::CodedOutputStream.ComputeStringSize(DefaultValue);
2848       }
2849       if (HasOneofIndex) {
2850         size += 1 + pb::CodedOutputStream.ComputeInt32Size(OneofIndex);
2851       }
2852       if (HasJsonName) {
2853         size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonName);
2854       }
2855       if (options_ != null) {
2856         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
2857       }
2858       if (HasProto3Optional) {
2859         size += 2 + 1;
2860       }
2861       if (_unknownFields != null) {
2862         size += _unknownFields.CalculateSize();
2863       }
2864       return size;
2865     }
2866 
2867     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2868     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(FieldDescriptorProto other)2869     public void MergeFrom(FieldDescriptorProto other) {
2870       if (other == null) {
2871         return;
2872       }
2873       if (other.HasName) {
2874         Name = other.Name;
2875       }
2876       if (other.HasNumber) {
2877         Number = other.Number;
2878       }
2879       if (other.HasLabel) {
2880         Label = other.Label;
2881       }
2882       if (other.HasType) {
2883         Type = other.Type;
2884       }
2885       if (other.HasTypeName) {
2886         TypeName = other.TypeName;
2887       }
2888       if (other.HasExtendee) {
2889         Extendee = other.Extendee;
2890       }
2891       if (other.HasDefaultValue) {
2892         DefaultValue = other.DefaultValue;
2893       }
2894       if (other.HasOneofIndex) {
2895         OneofIndex = other.OneofIndex;
2896       }
2897       if (other.HasJsonName) {
2898         JsonName = other.JsonName;
2899       }
2900       if (other.options_ != null) {
2901         if (options_ == null) {
2902           Options = new global::Google.Protobuf.Reflection.FieldOptions();
2903         }
2904         Options.MergeFrom(other.Options);
2905       }
2906       if (other.HasProto3Optional) {
2907         Proto3Optional = other.Proto3Optional;
2908       }
2909       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
2910     }
2911 
2912     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2913     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)2914     public void MergeFrom(pb::CodedInputStream input) {
2915     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2916       input.ReadRawMessage(this);
2917     #else
2918       uint tag;
2919       while ((tag = input.ReadTag()) != 0) {
2920         switch(tag) {
2921           default:
2922             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
2923             break;
2924           case 10: {
2925             Name = input.ReadString();
2926             break;
2927           }
2928           case 18: {
2929             Extendee = input.ReadString();
2930             break;
2931           }
2932           case 24: {
2933             Number = input.ReadInt32();
2934             break;
2935           }
2936           case 32: {
2937             Label = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) input.ReadEnum();
2938             break;
2939           }
2940           case 40: {
2941             Type = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type) input.ReadEnum();
2942             break;
2943           }
2944           case 50: {
2945             TypeName = input.ReadString();
2946             break;
2947           }
2948           case 58: {
2949             DefaultValue = input.ReadString();
2950             break;
2951           }
2952           case 66: {
2953             if (options_ == null) {
2954               Options = new global::Google.Protobuf.Reflection.FieldOptions();
2955             }
2956             input.ReadMessage(Options);
2957             break;
2958           }
2959           case 72: {
2960             OneofIndex = input.ReadInt32();
2961             break;
2962           }
2963           case 82: {
2964             JsonName = input.ReadString();
2965             break;
2966           }
2967           case 136: {
2968             Proto3Optional = input.ReadBool();
2969             break;
2970           }
2971         }
2972       }
2973     #endif
2974     }
2975 
2976     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
2977     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2978     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)2979     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
2980       uint tag;
2981       while ((tag = input.ReadTag()) != 0) {
2982         switch(tag) {
2983           default:
2984             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
2985             break;
2986           case 10: {
2987             Name = input.ReadString();
2988             break;
2989           }
2990           case 18: {
2991             Extendee = input.ReadString();
2992             break;
2993           }
2994           case 24: {
2995             Number = input.ReadInt32();
2996             break;
2997           }
2998           case 32: {
2999             Label = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label) input.ReadEnum();
3000             break;
3001           }
3002           case 40: {
3003             Type = (global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type) input.ReadEnum();
3004             break;
3005           }
3006           case 50: {
3007             TypeName = input.ReadString();
3008             break;
3009           }
3010           case 58: {
3011             DefaultValue = input.ReadString();
3012             break;
3013           }
3014           case 66: {
3015             if (options_ == null) {
3016               Options = new global::Google.Protobuf.Reflection.FieldOptions();
3017             }
3018             input.ReadMessage(Options);
3019             break;
3020           }
3021           case 72: {
3022             OneofIndex = input.ReadInt32();
3023             break;
3024           }
3025           case 82: {
3026             JsonName = input.ReadString();
3027             break;
3028           }
3029           case 136: {
3030             Proto3Optional = input.ReadBool();
3031             break;
3032           }
3033         }
3034       }
3035     }
3036     #endif
3037 
3038     #region Nested types
3039     /// <summary>Container for nested types declared in the FieldDescriptorProto message type.</summary>
3040     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3041     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3042     public static partial class Types {
3043       public enum Type {
3044         /// <summary>
3045         /// 0 is reserved for errors.
3046         /// Order is weird for historical reasons.
3047         /// </summary>
3048         [pbr::OriginalName("TYPE_DOUBLE")] Double = 1,
3049         [pbr::OriginalName("TYPE_FLOAT")] Float = 2,
3050         /// <summary>
3051         /// Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT64 if
3052         /// negative values are likely.
3053         /// </summary>
3054         [pbr::OriginalName("TYPE_INT64")] Int64 = 3,
3055         [pbr::OriginalName("TYPE_UINT64")] Uint64 = 4,
3056         /// <summary>
3057         /// Not ZigZag encoded.  Negative numbers take 10 bytes.  Use TYPE_SINT32 if
3058         /// negative values are likely.
3059         /// </summary>
3060         [pbr::OriginalName("TYPE_INT32")] Int32 = 5,
3061         [pbr::OriginalName("TYPE_FIXED64")] Fixed64 = 6,
3062         [pbr::OriginalName("TYPE_FIXED32")] Fixed32 = 7,
3063         [pbr::OriginalName("TYPE_BOOL")] Bool = 8,
3064         [pbr::OriginalName("TYPE_STRING")] String = 9,
3065         /// <summary>
3066         /// Tag-delimited aggregate.
3067         /// Group type is deprecated and not supported in proto3. However, Proto3
3068         /// implementations should still be able to parse the group wire format and
3069         /// treat group fields as unknown fields.
3070         /// </summary>
3071         [pbr::OriginalName("TYPE_GROUP")] Group = 10,
3072         /// <summary>
3073         /// Length-delimited aggregate.
3074         /// </summary>
3075         [pbr::OriginalName("TYPE_MESSAGE")] Message = 11,
3076         /// <summary>
3077         /// New in version 2.
3078         /// </summary>
3079         [pbr::OriginalName("TYPE_BYTES")] Bytes = 12,
3080         [pbr::OriginalName("TYPE_UINT32")] Uint32 = 13,
3081         [pbr::OriginalName("TYPE_ENUM")] Enum = 14,
3082         [pbr::OriginalName("TYPE_SFIXED32")] Sfixed32 = 15,
3083         [pbr::OriginalName("TYPE_SFIXED64")] Sfixed64 = 16,
3084         /// <summary>
3085         /// Uses ZigZag encoding.
3086         /// </summary>
3087         [pbr::OriginalName("TYPE_SINT32")] Sint32 = 17,
3088         /// <summary>
3089         /// Uses ZigZag encoding.
3090         /// </summary>
3091         [pbr::OriginalName("TYPE_SINT64")] Sint64 = 18,
3092       }
3093 
3094       public enum Label {
3095         /// <summary>
3096         /// 0 is reserved for errors
3097         /// </summary>
3098         [pbr::OriginalName("LABEL_OPTIONAL")] Optional = 1,
3099         [pbr::OriginalName("LABEL_REQUIRED")] Required = 2,
3100         [pbr::OriginalName("LABEL_REPEATED")] Repeated = 3,
3101       }
3102 
3103     }
3104     #endregion
3105 
3106   }
3107 
3108   /// <summary>
3109   /// Describes a oneof.
3110   /// </summary>
3111   public sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescriptorProto>
3112   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3113       , pb::IBufferMessage
3114   #endif
3115   {
3116     private static readonly pb::MessageParser<OneofDescriptorProto> _parser = new pb::MessageParser<OneofDescriptorProto>(() => new OneofDescriptorProto());
3117     private pb::UnknownFieldSet _unknownFields;
3118     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3119     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3120     public static pb::MessageParser<OneofDescriptorProto> Parser { get { return _parser; } }
3121 
3122     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3123     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3124     public static pbr::MessageDescriptor Descriptor {
3125       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[5]; }
3126     }
3127 
3128     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3129     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3130     pbr::MessageDescriptor pb::IMessage.Descriptor {
3131       get { return Descriptor; }
3132     }
3133 
3134     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3135     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
OneofDescriptorProto()3136     public OneofDescriptorProto() {
3137       OnConstruction();
3138     }
3139 
OnConstruction()3140     partial void OnConstruction();
3141 
3142     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3143     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
OneofDescriptorProto(OneofDescriptorProto other)3144     public OneofDescriptorProto(OneofDescriptorProto other) : this() {
3145       name_ = other.name_;
3146       options_ = other.options_ != null ? other.options_.Clone() : null;
3147       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3148     }
3149 
3150     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3151     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()3152     public OneofDescriptorProto Clone() {
3153       return new OneofDescriptorProto(this);
3154     }
3155 
3156     /// <summary>Field number for the "name" field.</summary>
3157     public const int NameFieldNumber = 1;
3158     private readonly static string NameDefaultValue = "";
3159 
3160     private string name_;
3161     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3162     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3163     public string Name {
3164       get { return name_ ?? NameDefaultValue; }
3165       set {
3166         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3167       }
3168     }
3169     /// <summary>Gets whether the "name" field is set</summary>
3170     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3171     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3172     public bool HasName {
3173       get { return name_ != null; }
3174     }
3175     /// <summary>Clears the value of the "name" field</summary>
3176     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3177     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()3178     public void ClearName() {
3179       name_ = null;
3180     }
3181 
3182     /// <summary>Field number for the "options" field.</summary>
3183     public const int OptionsFieldNumber = 2;
3184     private global::Google.Protobuf.Reflection.OneofOptions options_;
3185     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3186     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3187     public global::Google.Protobuf.Reflection.OneofOptions Options {
3188       get { return options_; }
3189       set {
3190         options_ = value;
3191       }
3192     }
3193 
3194     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3195     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)3196     public override bool Equals(object other) {
3197       return Equals(other as OneofDescriptorProto);
3198     }
3199 
3200     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3201     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(OneofDescriptorProto other)3202     public bool Equals(OneofDescriptorProto other) {
3203       if (ReferenceEquals(other, null)) {
3204         return false;
3205       }
3206       if (ReferenceEquals(other, this)) {
3207         return true;
3208       }
3209       if (Name != other.Name) return false;
3210       if (!object.Equals(Options, other.Options)) return false;
3211       return Equals(_unknownFields, other._unknownFields);
3212     }
3213 
3214     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3215     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()3216     public override int GetHashCode() {
3217       int hash = 1;
3218       if (HasName) hash ^= Name.GetHashCode();
3219       if (options_ != null) hash ^= Options.GetHashCode();
3220       if (_unknownFields != null) {
3221         hash ^= _unknownFields.GetHashCode();
3222       }
3223       return hash;
3224     }
3225 
3226     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3227     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()3228     public override string ToString() {
3229       return pb::JsonFormatter.ToDiagnosticString(this);
3230     }
3231 
3232     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3233     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)3234     public void WriteTo(pb::CodedOutputStream output) {
3235     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3236       output.WriteRawMessage(this);
3237     #else
3238       if (HasName) {
3239         output.WriteRawTag(10);
3240         output.WriteString(Name);
3241       }
3242       if (options_ != null) {
3243         output.WriteRawTag(18);
3244         output.WriteMessage(Options);
3245       }
3246       if (_unknownFields != null) {
3247         _unknownFields.WriteTo(output);
3248       }
3249     #endif
3250     }
3251 
3252     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3253     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3254     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)3255     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3256       if (HasName) {
3257         output.WriteRawTag(10);
3258         output.WriteString(Name);
3259       }
3260       if (options_ != null) {
3261         output.WriteRawTag(18);
3262         output.WriteMessage(Options);
3263       }
3264       if (_unknownFields != null) {
3265         _unknownFields.WriteTo(ref output);
3266       }
3267     }
3268     #endif
3269 
3270     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3271     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()3272     public int CalculateSize() {
3273       int size = 0;
3274       if (HasName) {
3275         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
3276       }
3277       if (options_ != null) {
3278         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
3279       }
3280       if (_unknownFields != null) {
3281         size += _unknownFields.CalculateSize();
3282       }
3283       return size;
3284     }
3285 
3286     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3287     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(OneofDescriptorProto other)3288     public void MergeFrom(OneofDescriptorProto other) {
3289       if (other == null) {
3290         return;
3291       }
3292       if (other.HasName) {
3293         Name = other.Name;
3294       }
3295       if (other.options_ != null) {
3296         if (options_ == null) {
3297           Options = new global::Google.Protobuf.Reflection.OneofOptions();
3298         }
3299         Options.MergeFrom(other.Options);
3300       }
3301       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3302     }
3303 
3304     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3305     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)3306     public void MergeFrom(pb::CodedInputStream input) {
3307     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3308       input.ReadRawMessage(this);
3309     #else
3310       uint tag;
3311       while ((tag = input.ReadTag()) != 0) {
3312         switch(tag) {
3313           default:
3314             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3315             break;
3316           case 10: {
3317             Name = input.ReadString();
3318             break;
3319           }
3320           case 18: {
3321             if (options_ == null) {
3322               Options = new global::Google.Protobuf.Reflection.OneofOptions();
3323             }
3324             input.ReadMessage(Options);
3325             break;
3326           }
3327         }
3328       }
3329     #endif
3330     }
3331 
3332     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3333     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3334     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)3335     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3336       uint tag;
3337       while ((tag = input.ReadTag()) != 0) {
3338         switch(tag) {
3339           default:
3340             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3341             break;
3342           case 10: {
3343             Name = input.ReadString();
3344             break;
3345           }
3346           case 18: {
3347             if (options_ == null) {
3348               Options = new global::Google.Protobuf.Reflection.OneofOptions();
3349             }
3350             input.ReadMessage(Options);
3351             break;
3352           }
3353         }
3354       }
3355     }
3356     #endif
3357 
3358   }
3359 
3360   /// <summary>
3361   /// Describes an enum type.
3362   /// </summary>
3363   public sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescriptorProto>
3364   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3365       , pb::IBufferMessage
3366   #endif
3367   {
3368     private static readonly pb::MessageParser<EnumDescriptorProto> _parser = new pb::MessageParser<EnumDescriptorProto>(() => new EnumDescriptorProto());
3369     private pb::UnknownFieldSet _unknownFields;
3370     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3371     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3372     public static pb::MessageParser<EnumDescriptorProto> Parser { get { return _parser; } }
3373 
3374     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3375     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3376     public static pbr::MessageDescriptor Descriptor {
3377       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[6]; }
3378     }
3379 
3380     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3381     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3382     pbr::MessageDescriptor pb::IMessage.Descriptor {
3383       get { return Descriptor; }
3384     }
3385 
3386     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3387     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumDescriptorProto()3388     public EnumDescriptorProto() {
3389       OnConstruction();
3390     }
3391 
OnConstruction()3392     partial void OnConstruction();
3393 
3394     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3395     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumDescriptorProto(EnumDescriptorProto other)3396     public EnumDescriptorProto(EnumDescriptorProto other) : this() {
3397       name_ = other.name_;
3398       value_ = other.value_.Clone();
3399       options_ = other.options_ != null ? other.options_.Clone() : null;
3400       reservedRange_ = other.reservedRange_.Clone();
3401       reservedName_ = other.reservedName_.Clone();
3402       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3403     }
3404 
3405     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3406     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()3407     public EnumDescriptorProto Clone() {
3408       return new EnumDescriptorProto(this);
3409     }
3410 
3411     /// <summary>Field number for the "name" field.</summary>
3412     public const int NameFieldNumber = 1;
3413     private readonly static string NameDefaultValue = "";
3414 
3415     private string name_;
3416     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3417     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3418     public string Name {
3419       get { return name_ ?? NameDefaultValue; }
3420       set {
3421         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
3422       }
3423     }
3424     /// <summary>Gets whether the "name" field is set</summary>
3425     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3426     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3427     public bool HasName {
3428       get { return name_ != null; }
3429     }
3430     /// <summary>Clears the value of the "name" field</summary>
3431     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3432     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()3433     public void ClearName() {
3434       name_ = null;
3435     }
3436 
3437     /// <summary>Field number for the "value" field.</summary>
3438     public const int ValueFieldNumber = 2;
3439     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> _repeated_value_codec
3440         = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.EnumValueDescriptorProto.Parser);
3441     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> value_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto>();
3442     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3443     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3444     public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescriptorProto> Value {
3445       get { return value_; }
3446     }
3447 
3448     /// <summary>Field number for the "options" field.</summary>
3449     public const int OptionsFieldNumber = 3;
3450     private global::Google.Protobuf.Reflection.EnumOptions options_;
3451     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3452     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3453     public global::Google.Protobuf.Reflection.EnumOptions Options {
3454       get { return options_; }
3455       set {
3456         options_ = value;
3457       }
3458     }
3459 
3460     /// <summary>Field number for the "reserved_range" field.</summary>
3461     public const int ReservedRangeFieldNumber = 4;
3462     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange> _repeated_reservedRange_codec
3463         = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange.Parser);
3464     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange> reservedRange_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange>();
3465     /// <summary>
3466     /// Range of reserved numeric values. Reserved numeric values may not be used
3467     /// by enum values in the same enum declaration. Reserved ranges may not
3468     /// overlap.
3469     /// </summary>
3470     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3471     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3472     public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorProto.Types.EnumReservedRange> ReservedRange {
3473       get { return reservedRange_; }
3474     }
3475 
3476     /// <summary>Field number for the "reserved_name" field.</summary>
3477     public const int ReservedNameFieldNumber = 5;
3478     private static readonly pb::FieldCodec<string> _repeated_reservedName_codec
3479         = pb::FieldCodec.ForString(42);
3480     private readonly pbc::RepeatedField<string> reservedName_ = new pbc::RepeatedField<string>();
3481     /// <summary>
3482     /// Reserved enum value names, which may not be reused. A given name may only
3483     /// be reserved once.
3484     /// </summary>
3485     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3486     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3487     public pbc::RepeatedField<string> ReservedName {
3488       get { return reservedName_; }
3489     }
3490 
3491     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3492     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)3493     public override bool Equals(object other) {
3494       return Equals(other as EnumDescriptorProto);
3495     }
3496 
3497     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3498     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(EnumDescriptorProto other)3499     public bool Equals(EnumDescriptorProto other) {
3500       if (ReferenceEquals(other, null)) {
3501         return false;
3502       }
3503       if (ReferenceEquals(other, this)) {
3504         return true;
3505       }
3506       if (Name != other.Name) return false;
3507       if(!value_.Equals(other.value_)) return false;
3508       if (!object.Equals(Options, other.Options)) return false;
3509       if(!reservedRange_.Equals(other.reservedRange_)) return false;
3510       if(!reservedName_.Equals(other.reservedName_)) return false;
3511       return Equals(_unknownFields, other._unknownFields);
3512     }
3513 
3514     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3515     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()3516     public override int GetHashCode() {
3517       int hash = 1;
3518       if (HasName) hash ^= Name.GetHashCode();
3519       hash ^= value_.GetHashCode();
3520       if (options_ != null) hash ^= Options.GetHashCode();
3521       hash ^= reservedRange_.GetHashCode();
3522       hash ^= reservedName_.GetHashCode();
3523       if (_unknownFields != null) {
3524         hash ^= _unknownFields.GetHashCode();
3525       }
3526       return hash;
3527     }
3528 
3529     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3530     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()3531     public override string ToString() {
3532       return pb::JsonFormatter.ToDiagnosticString(this);
3533     }
3534 
3535     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3536     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)3537     public void WriteTo(pb::CodedOutputStream output) {
3538     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3539       output.WriteRawMessage(this);
3540     #else
3541       if (HasName) {
3542         output.WriteRawTag(10);
3543         output.WriteString(Name);
3544       }
3545       value_.WriteTo(output, _repeated_value_codec);
3546       if (options_ != null) {
3547         output.WriteRawTag(26);
3548         output.WriteMessage(Options);
3549       }
3550       reservedRange_.WriteTo(output, _repeated_reservedRange_codec);
3551       reservedName_.WriteTo(output, _repeated_reservedName_codec);
3552       if (_unknownFields != null) {
3553         _unknownFields.WriteTo(output);
3554       }
3555     #endif
3556     }
3557 
3558     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3559     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3560     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)3561     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3562       if (HasName) {
3563         output.WriteRawTag(10);
3564         output.WriteString(Name);
3565       }
3566       value_.WriteTo(ref output, _repeated_value_codec);
3567       if (options_ != null) {
3568         output.WriteRawTag(26);
3569         output.WriteMessage(Options);
3570       }
3571       reservedRange_.WriteTo(ref output, _repeated_reservedRange_codec);
3572       reservedName_.WriteTo(ref output, _repeated_reservedName_codec);
3573       if (_unknownFields != null) {
3574         _unknownFields.WriteTo(ref output);
3575       }
3576     }
3577     #endif
3578 
3579     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3580     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()3581     public int CalculateSize() {
3582       int size = 0;
3583       if (HasName) {
3584         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
3585       }
3586       size += value_.CalculateSize(_repeated_value_codec);
3587       if (options_ != null) {
3588         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
3589       }
3590       size += reservedRange_.CalculateSize(_repeated_reservedRange_codec);
3591       size += reservedName_.CalculateSize(_repeated_reservedName_codec);
3592       if (_unknownFields != null) {
3593         size += _unknownFields.CalculateSize();
3594       }
3595       return size;
3596     }
3597 
3598     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3599     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(EnumDescriptorProto other)3600     public void MergeFrom(EnumDescriptorProto other) {
3601       if (other == null) {
3602         return;
3603       }
3604       if (other.HasName) {
3605         Name = other.Name;
3606       }
3607       value_.Add(other.value_);
3608       if (other.options_ != null) {
3609         if (options_ == null) {
3610           Options = new global::Google.Protobuf.Reflection.EnumOptions();
3611         }
3612         Options.MergeFrom(other.Options);
3613       }
3614       reservedRange_.Add(other.reservedRange_);
3615       reservedName_.Add(other.reservedName_);
3616       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3617     }
3618 
3619     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3620     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)3621     public void MergeFrom(pb::CodedInputStream input) {
3622     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3623       input.ReadRawMessage(this);
3624     #else
3625       uint tag;
3626       while ((tag = input.ReadTag()) != 0) {
3627         switch(tag) {
3628           default:
3629             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3630             break;
3631           case 10: {
3632             Name = input.ReadString();
3633             break;
3634           }
3635           case 18: {
3636             value_.AddEntriesFrom(input, _repeated_value_codec);
3637             break;
3638           }
3639           case 26: {
3640             if (options_ == null) {
3641               Options = new global::Google.Protobuf.Reflection.EnumOptions();
3642             }
3643             input.ReadMessage(Options);
3644             break;
3645           }
3646           case 34: {
3647             reservedRange_.AddEntriesFrom(input, _repeated_reservedRange_codec);
3648             break;
3649           }
3650           case 42: {
3651             reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec);
3652             break;
3653           }
3654         }
3655       }
3656     #endif
3657     }
3658 
3659     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3660     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3661     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)3662     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3663       uint tag;
3664       while ((tag = input.ReadTag()) != 0) {
3665         switch(tag) {
3666           default:
3667             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3668             break;
3669           case 10: {
3670             Name = input.ReadString();
3671             break;
3672           }
3673           case 18: {
3674             value_.AddEntriesFrom(ref input, _repeated_value_codec);
3675             break;
3676           }
3677           case 26: {
3678             if (options_ == null) {
3679               Options = new global::Google.Protobuf.Reflection.EnumOptions();
3680             }
3681             input.ReadMessage(Options);
3682             break;
3683           }
3684           case 34: {
3685             reservedRange_.AddEntriesFrom(ref input, _repeated_reservedRange_codec);
3686             break;
3687           }
3688           case 42: {
3689             reservedName_.AddEntriesFrom(ref input, _repeated_reservedName_codec);
3690             break;
3691           }
3692         }
3693       }
3694     }
3695     #endif
3696 
3697     #region Nested types
3698     /// <summary>Container for nested types declared in the EnumDescriptorProto message type.</summary>
3699     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3700     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3701     public static partial class Types {
3702       /// <summary>
3703       /// Range of reserved numeric values. Reserved values may not be used by
3704       /// entries in the same enum. Reserved ranges may not overlap.
3705       ///
3706       /// Note that this is distinct from DescriptorProto.ReservedRange in that it
3707       /// is inclusive such that it can appropriately represent the entire int32
3708       /// domain.
3709       /// </summary>
3710       public sealed partial class EnumReservedRange : pb::IMessage<EnumReservedRange>
3711       #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3712           , pb::IBufferMessage
3713       #endif
3714       {
3715         private static readonly pb::MessageParser<EnumReservedRange> _parser = new pb::MessageParser<EnumReservedRange>(() => new EnumReservedRange());
3716         private pb::UnknownFieldSet _unknownFields;
3717         private int _hasBits0;
3718         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3719         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3720         public static pb::MessageParser<EnumReservedRange> Parser { get { return _parser; } }
3721 
3722         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3723         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3724         public static pbr::MessageDescriptor Descriptor {
3725           get { return global::Google.Protobuf.Reflection.EnumDescriptorProto.Descriptor.NestedTypes[0]; }
3726         }
3727 
3728         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3729         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3730         pbr::MessageDescriptor pb::IMessage.Descriptor {
3731           get { return Descriptor; }
3732         }
3733 
3734         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3735         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumReservedRange()3736         public EnumReservedRange() {
3737           OnConstruction();
3738         }
3739 
OnConstruction()3740         partial void OnConstruction();
3741 
3742         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3743         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumReservedRange(EnumReservedRange other)3744         public EnumReservedRange(EnumReservedRange other) : this() {
3745           _hasBits0 = other._hasBits0;
3746           start_ = other.start_;
3747           end_ = other.end_;
3748           _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
3749         }
3750 
3751         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3752         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()3753         public EnumReservedRange Clone() {
3754           return new EnumReservedRange(this);
3755         }
3756 
3757         /// <summary>Field number for the "start" field.</summary>
3758         public const int StartFieldNumber = 1;
3759         private readonly static int StartDefaultValue = 0;
3760 
3761         private int start_;
3762         /// <summary>
3763         /// Inclusive.
3764         /// </summary>
3765         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3766         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3767         public int Start {
3768           get { if ((_hasBits0 & 1) != 0) { return start_; } else { return StartDefaultValue; } }
3769           set {
3770             _hasBits0 |= 1;
3771             start_ = value;
3772           }
3773         }
3774         /// <summary>Gets whether the "start" field is set</summary>
3775         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3776         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3777         public bool HasStart {
3778           get { return (_hasBits0 & 1) != 0; }
3779         }
3780         /// <summary>Clears the value of the "start" field</summary>
3781         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3782         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearStart()3783         public void ClearStart() {
3784           _hasBits0 &= ~1;
3785         }
3786 
3787         /// <summary>Field number for the "end" field.</summary>
3788         public const int EndFieldNumber = 2;
3789         private readonly static int EndDefaultValue = 0;
3790 
3791         private int end_;
3792         /// <summary>
3793         /// Inclusive.
3794         /// </summary>
3795         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3796         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3797         public int End {
3798           get { if ((_hasBits0 & 2) != 0) { return end_; } else { return EndDefaultValue; } }
3799           set {
3800             _hasBits0 |= 2;
3801             end_ = value;
3802           }
3803         }
3804         /// <summary>Gets whether the "end" field is set</summary>
3805         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3806         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3807         public bool HasEnd {
3808           get { return (_hasBits0 & 2) != 0; }
3809         }
3810         /// <summary>Clears the value of the "end" field</summary>
3811         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3812         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearEnd()3813         public void ClearEnd() {
3814           _hasBits0 &= ~2;
3815         }
3816 
3817         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3818         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)3819         public override bool Equals(object other) {
3820           return Equals(other as EnumReservedRange);
3821         }
3822 
3823         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3824         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(EnumReservedRange other)3825         public bool Equals(EnumReservedRange other) {
3826           if (ReferenceEquals(other, null)) {
3827             return false;
3828           }
3829           if (ReferenceEquals(other, this)) {
3830             return true;
3831           }
3832           if (Start != other.Start) return false;
3833           if (End != other.End) return false;
3834           return Equals(_unknownFields, other._unknownFields);
3835         }
3836 
3837         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3838         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()3839         public override int GetHashCode() {
3840           int hash = 1;
3841           if (HasStart) hash ^= Start.GetHashCode();
3842           if (HasEnd) hash ^= End.GetHashCode();
3843           if (_unknownFields != null) {
3844             hash ^= _unknownFields.GetHashCode();
3845           }
3846           return hash;
3847         }
3848 
3849         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3850         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()3851         public override string ToString() {
3852           return pb::JsonFormatter.ToDiagnosticString(this);
3853         }
3854 
3855         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3856         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)3857         public void WriteTo(pb::CodedOutputStream output) {
3858         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3859           output.WriteRawMessage(this);
3860         #else
3861           if (HasStart) {
3862             output.WriteRawTag(8);
3863             output.WriteInt32(Start);
3864           }
3865           if (HasEnd) {
3866             output.WriteRawTag(16);
3867             output.WriteInt32(End);
3868           }
3869           if (_unknownFields != null) {
3870             _unknownFields.WriteTo(output);
3871           }
3872         #endif
3873         }
3874 
3875         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3876         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3877         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)3878         void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
3879           if (HasStart) {
3880             output.WriteRawTag(8);
3881             output.WriteInt32(Start);
3882           }
3883           if (HasEnd) {
3884             output.WriteRawTag(16);
3885             output.WriteInt32(End);
3886           }
3887           if (_unknownFields != null) {
3888             _unknownFields.WriteTo(ref output);
3889           }
3890         }
3891         #endif
3892 
3893         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3894         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()3895         public int CalculateSize() {
3896           int size = 0;
3897           if (HasStart) {
3898             size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
3899           }
3900           if (HasEnd) {
3901             size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
3902           }
3903           if (_unknownFields != null) {
3904             size += _unknownFields.CalculateSize();
3905           }
3906           return size;
3907         }
3908 
3909         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3910         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(EnumReservedRange other)3911         public void MergeFrom(EnumReservedRange other) {
3912           if (other == null) {
3913             return;
3914           }
3915           if (other.HasStart) {
3916             Start = other.Start;
3917           }
3918           if (other.HasEnd) {
3919             End = other.End;
3920           }
3921           _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
3922         }
3923 
3924         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3925         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)3926         public void MergeFrom(pb::CodedInputStream input) {
3927         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3928           input.ReadRawMessage(this);
3929         #else
3930           uint tag;
3931           while ((tag = input.ReadTag()) != 0) {
3932             switch(tag) {
3933               default:
3934                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
3935                 break;
3936               case 8: {
3937                 Start = input.ReadInt32();
3938                 break;
3939               }
3940               case 16: {
3941                 End = input.ReadInt32();
3942                 break;
3943               }
3944             }
3945           }
3946         #endif
3947         }
3948 
3949         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3950         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3951         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)3952         void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
3953           uint tag;
3954           while ((tag = input.ReadTag()) != 0) {
3955             switch(tag) {
3956               default:
3957                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
3958                 break;
3959               case 8: {
3960                 Start = input.ReadInt32();
3961                 break;
3962               }
3963               case 16: {
3964                 End = input.ReadInt32();
3965                 break;
3966               }
3967             }
3968           }
3969         }
3970         #endif
3971 
3972       }
3973 
3974     }
3975     #endregion
3976 
3977   }
3978 
3979   /// <summary>
3980   /// Describes a value within an enum.
3981   /// </summary>
3982   public sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValueDescriptorProto>
3983   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
3984       , pb::IBufferMessage
3985   #endif
3986   {
3987     private static readonly pb::MessageParser<EnumValueDescriptorProto> _parser = new pb::MessageParser<EnumValueDescriptorProto>(() => new EnumValueDescriptorProto());
3988     private pb::UnknownFieldSet _unknownFields;
3989     private int _hasBits0;
3990     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3991     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3992     public static pb::MessageParser<EnumValueDescriptorProto> Parser { get { return _parser; } }
3993 
3994     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3995     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
3996     public static pbr::MessageDescriptor Descriptor {
3997       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[7]; }
3998     }
3999 
4000     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4001     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4002     pbr::MessageDescriptor pb::IMessage.Descriptor {
4003       get { return Descriptor; }
4004     }
4005 
4006     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4007     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumValueDescriptorProto()4008     public EnumValueDescriptorProto() {
4009       OnConstruction();
4010     }
4011 
OnConstruction()4012     partial void OnConstruction();
4013 
4014     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4015     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumValueDescriptorProto(EnumValueDescriptorProto other)4016     public EnumValueDescriptorProto(EnumValueDescriptorProto other) : this() {
4017       _hasBits0 = other._hasBits0;
4018       name_ = other.name_;
4019       number_ = other.number_;
4020       options_ = other.options_ != null ? other.options_.Clone() : null;
4021       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4022     }
4023 
4024     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4025     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()4026     public EnumValueDescriptorProto Clone() {
4027       return new EnumValueDescriptorProto(this);
4028     }
4029 
4030     /// <summary>Field number for the "name" field.</summary>
4031     public const int NameFieldNumber = 1;
4032     private readonly static string NameDefaultValue = "";
4033 
4034     private string name_;
4035     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4036     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4037     public string Name {
4038       get { return name_ ?? NameDefaultValue; }
4039       set {
4040         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4041       }
4042     }
4043     /// <summary>Gets whether the "name" field is set</summary>
4044     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4045     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4046     public bool HasName {
4047       get { return name_ != null; }
4048     }
4049     /// <summary>Clears the value of the "name" field</summary>
4050     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4051     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()4052     public void ClearName() {
4053       name_ = null;
4054     }
4055 
4056     /// <summary>Field number for the "number" field.</summary>
4057     public const int NumberFieldNumber = 2;
4058     private readonly static int NumberDefaultValue = 0;
4059 
4060     private int number_;
4061     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4062     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4063     public int Number {
4064       get { if ((_hasBits0 & 1) != 0) { return number_; } else { return NumberDefaultValue; } }
4065       set {
4066         _hasBits0 |= 1;
4067         number_ = value;
4068       }
4069     }
4070     /// <summary>Gets whether the "number" field is set</summary>
4071     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4072     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4073     public bool HasNumber {
4074       get { return (_hasBits0 & 1) != 0; }
4075     }
4076     /// <summary>Clears the value of the "number" field</summary>
4077     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4078     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearNumber()4079     public void ClearNumber() {
4080       _hasBits0 &= ~1;
4081     }
4082 
4083     /// <summary>Field number for the "options" field.</summary>
4084     public const int OptionsFieldNumber = 3;
4085     private global::Google.Protobuf.Reflection.EnumValueOptions options_;
4086     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4087     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4088     public global::Google.Protobuf.Reflection.EnumValueOptions Options {
4089       get { return options_; }
4090       set {
4091         options_ = value;
4092       }
4093     }
4094 
4095     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4096     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)4097     public override bool Equals(object other) {
4098       return Equals(other as EnumValueDescriptorProto);
4099     }
4100 
4101     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4102     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(EnumValueDescriptorProto other)4103     public bool Equals(EnumValueDescriptorProto other) {
4104       if (ReferenceEquals(other, null)) {
4105         return false;
4106       }
4107       if (ReferenceEquals(other, this)) {
4108         return true;
4109       }
4110       if (Name != other.Name) return false;
4111       if (Number != other.Number) return false;
4112       if (!object.Equals(Options, other.Options)) return false;
4113       return Equals(_unknownFields, other._unknownFields);
4114     }
4115 
4116     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4117     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()4118     public override int GetHashCode() {
4119       int hash = 1;
4120       if (HasName) hash ^= Name.GetHashCode();
4121       if (HasNumber) hash ^= Number.GetHashCode();
4122       if (options_ != null) hash ^= Options.GetHashCode();
4123       if (_unknownFields != null) {
4124         hash ^= _unknownFields.GetHashCode();
4125       }
4126       return hash;
4127     }
4128 
4129     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4130     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()4131     public override string ToString() {
4132       return pb::JsonFormatter.ToDiagnosticString(this);
4133     }
4134 
4135     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4136     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)4137     public void WriteTo(pb::CodedOutputStream output) {
4138     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4139       output.WriteRawMessage(this);
4140     #else
4141       if (HasName) {
4142         output.WriteRawTag(10);
4143         output.WriteString(Name);
4144       }
4145       if (HasNumber) {
4146         output.WriteRawTag(16);
4147         output.WriteInt32(Number);
4148       }
4149       if (options_ != null) {
4150         output.WriteRawTag(26);
4151         output.WriteMessage(Options);
4152       }
4153       if (_unknownFields != null) {
4154         _unknownFields.WriteTo(output);
4155       }
4156     #endif
4157     }
4158 
4159     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4160     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4161     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)4162     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4163       if (HasName) {
4164         output.WriteRawTag(10);
4165         output.WriteString(Name);
4166       }
4167       if (HasNumber) {
4168         output.WriteRawTag(16);
4169         output.WriteInt32(Number);
4170       }
4171       if (options_ != null) {
4172         output.WriteRawTag(26);
4173         output.WriteMessage(Options);
4174       }
4175       if (_unknownFields != null) {
4176         _unknownFields.WriteTo(ref output);
4177       }
4178     }
4179     #endif
4180 
4181     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4182     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()4183     public int CalculateSize() {
4184       int size = 0;
4185       if (HasName) {
4186         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
4187       }
4188       if (HasNumber) {
4189         size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
4190       }
4191       if (options_ != null) {
4192         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
4193       }
4194       if (_unknownFields != null) {
4195         size += _unknownFields.CalculateSize();
4196       }
4197       return size;
4198     }
4199 
4200     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4201     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(EnumValueDescriptorProto other)4202     public void MergeFrom(EnumValueDescriptorProto other) {
4203       if (other == null) {
4204         return;
4205       }
4206       if (other.HasName) {
4207         Name = other.Name;
4208       }
4209       if (other.HasNumber) {
4210         Number = other.Number;
4211       }
4212       if (other.options_ != null) {
4213         if (options_ == null) {
4214           Options = new global::Google.Protobuf.Reflection.EnumValueOptions();
4215         }
4216         Options.MergeFrom(other.Options);
4217       }
4218       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4219     }
4220 
4221     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4222     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)4223     public void MergeFrom(pb::CodedInputStream input) {
4224     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4225       input.ReadRawMessage(this);
4226     #else
4227       uint tag;
4228       while ((tag = input.ReadTag()) != 0) {
4229         switch(tag) {
4230           default:
4231             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4232             break;
4233           case 10: {
4234             Name = input.ReadString();
4235             break;
4236           }
4237           case 16: {
4238             Number = input.ReadInt32();
4239             break;
4240           }
4241           case 26: {
4242             if (options_ == null) {
4243               Options = new global::Google.Protobuf.Reflection.EnumValueOptions();
4244             }
4245             input.ReadMessage(Options);
4246             break;
4247           }
4248         }
4249       }
4250     #endif
4251     }
4252 
4253     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4254     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4255     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)4256     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4257       uint tag;
4258       while ((tag = input.ReadTag()) != 0) {
4259         switch(tag) {
4260           default:
4261             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4262             break;
4263           case 10: {
4264             Name = input.ReadString();
4265             break;
4266           }
4267           case 16: {
4268             Number = input.ReadInt32();
4269             break;
4270           }
4271           case 26: {
4272             if (options_ == null) {
4273               Options = new global::Google.Protobuf.Reflection.EnumValueOptions();
4274             }
4275             input.ReadMessage(Options);
4276             break;
4277           }
4278         }
4279       }
4280     }
4281     #endif
4282 
4283   }
4284 
4285   /// <summary>
4286   /// Describes a service.
4287   /// </summary>
4288   public sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDescriptorProto>
4289   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4290       , pb::IBufferMessage
4291   #endif
4292   {
4293     private static readonly pb::MessageParser<ServiceDescriptorProto> _parser = new pb::MessageParser<ServiceDescriptorProto>(() => new ServiceDescriptorProto());
4294     private pb::UnknownFieldSet _unknownFields;
4295     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4296     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4297     public static pb::MessageParser<ServiceDescriptorProto> Parser { get { return _parser; } }
4298 
4299     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4300     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4301     public static pbr::MessageDescriptor Descriptor {
4302       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[8]; }
4303     }
4304 
4305     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4306     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4307     pbr::MessageDescriptor pb::IMessage.Descriptor {
4308       get { return Descriptor; }
4309     }
4310 
4311     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4312     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ServiceDescriptorProto()4313     public ServiceDescriptorProto() {
4314       OnConstruction();
4315     }
4316 
OnConstruction()4317     partial void OnConstruction();
4318 
4319     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4320     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ServiceDescriptorProto(ServiceDescriptorProto other)4321     public ServiceDescriptorProto(ServiceDescriptorProto other) : this() {
4322       name_ = other.name_;
4323       method_ = other.method_.Clone();
4324       options_ = other.options_ != null ? other.options_.Clone() : null;
4325       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4326     }
4327 
4328     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4329     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()4330     public ServiceDescriptorProto Clone() {
4331       return new ServiceDescriptorProto(this);
4332     }
4333 
4334     /// <summary>Field number for the "name" field.</summary>
4335     public const int NameFieldNumber = 1;
4336     private readonly static string NameDefaultValue = "";
4337 
4338     private string name_;
4339     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4340     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4341     public string Name {
4342       get { return name_ ?? NameDefaultValue; }
4343       set {
4344         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4345       }
4346     }
4347     /// <summary>Gets whether the "name" field is set</summary>
4348     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4349     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4350     public bool HasName {
4351       get { return name_ != null; }
4352     }
4353     /// <summary>Clears the value of the "name" field</summary>
4354     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4355     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()4356     public void ClearName() {
4357       name_ = null;
4358     }
4359 
4360     /// <summary>Field number for the "method" field.</summary>
4361     public const int MethodFieldNumber = 2;
4362     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.MethodDescriptorProto> _repeated_method_codec
4363         = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.MethodDescriptorProto.Parser);
4364     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto> method_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto>();
4365     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4366     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4367     public pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescriptorProto> Method {
4368       get { return method_; }
4369     }
4370 
4371     /// <summary>Field number for the "options" field.</summary>
4372     public const int OptionsFieldNumber = 3;
4373     private global::Google.Protobuf.Reflection.ServiceOptions options_;
4374     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4375     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4376     public global::Google.Protobuf.Reflection.ServiceOptions Options {
4377       get { return options_; }
4378       set {
4379         options_ = value;
4380       }
4381     }
4382 
4383     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4384     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)4385     public override bool Equals(object other) {
4386       return Equals(other as ServiceDescriptorProto);
4387     }
4388 
4389     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4390     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(ServiceDescriptorProto other)4391     public bool Equals(ServiceDescriptorProto other) {
4392       if (ReferenceEquals(other, null)) {
4393         return false;
4394       }
4395       if (ReferenceEquals(other, this)) {
4396         return true;
4397       }
4398       if (Name != other.Name) return false;
4399       if(!method_.Equals(other.method_)) return false;
4400       if (!object.Equals(Options, other.Options)) return false;
4401       return Equals(_unknownFields, other._unknownFields);
4402     }
4403 
4404     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4405     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()4406     public override int GetHashCode() {
4407       int hash = 1;
4408       if (HasName) hash ^= Name.GetHashCode();
4409       hash ^= method_.GetHashCode();
4410       if (options_ != null) hash ^= Options.GetHashCode();
4411       if (_unknownFields != null) {
4412         hash ^= _unknownFields.GetHashCode();
4413       }
4414       return hash;
4415     }
4416 
4417     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4418     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()4419     public override string ToString() {
4420       return pb::JsonFormatter.ToDiagnosticString(this);
4421     }
4422 
4423     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4424     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)4425     public void WriteTo(pb::CodedOutputStream output) {
4426     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4427       output.WriteRawMessage(this);
4428     #else
4429       if (HasName) {
4430         output.WriteRawTag(10);
4431         output.WriteString(Name);
4432       }
4433       method_.WriteTo(output, _repeated_method_codec);
4434       if (options_ != null) {
4435         output.WriteRawTag(26);
4436         output.WriteMessage(Options);
4437       }
4438       if (_unknownFields != null) {
4439         _unknownFields.WriteTo(output);
4440       }
4441     #endif
4442     }
4443 
4444     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4445     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4446     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)4447     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4448       if (HasName) {
4449         output.WriteRawTag(10);
4450         output.WriteString(Name);
4451       }
4452       method_.WriteTo(ref output, _repeated_method_codec);
4453       if (options_ != null) {
4454         output.WriteRawTag(26);
4455         output.WriteMessage(Options);
4456       }
4457       if (_unknownFields != null) {
4458         _unknownFields.WriteTo(ref output);
4459       }
4460     }
4461     #endif
4462 
4463     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4464     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()4465     public int CalculateSize() {
4466       int size = 0;
4467       if (HasName) {
4468         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
4469       }
4470       size += method_.CalculateSize(_repeated_method_codec);
4471       if (options_ != null) {
4472         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
4473       }
4474       if (_unknownFields != null) {
4475         size += _unknownFields.CalculateSize();
4476       }
4477       return size;
4478     }
4479 
4480     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4481     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(ServiceDescriptorProto other)4482     public void MergeFrom(ServiceDescriptorProto other) {
4483       if (other == null) {
4484         return;
4485       }
4486       if (other.HasName) {
4487         Name = other.Name;
4488       }
4489       method_.Add(other.method_);
4490       if (other.options_ != null) {
4491         if (options_ == null) {
4492           Options = new global::Google.Protobuf.Reflection.ServiceOptions();
4493         }
4494         Options.MergeFrom(other.Options);
4495       }
4496       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4497     }
4498 
4499     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4500     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)4501     public void MergeFrom(pb::CodedInputStream input) {
4502     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4503       input.ReadRawMessage(this);
4504     #else
4505       uint tag;
4506       while ((tag = input.ReadTag()) != 0) {
4507         switch(tag) {
4508           default:
4509             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4510             break;
4511           case 10: {
4512             Name = input.ReadString();
4513             break;
4514           }
4515           case 18: {
4516             method_.AddEntriesFrom(input, _repeated_method_codec);
4517             break;
4518           }
4519           case 26: {
4520             if (options_ == null) {
4521               Options = new global::Google.Protobuf.Reflection.ServiceOptions();
4522             }
4523             input.ReadMessage(Options);
4524             break;
4525           }
4526         }
4527       }
4528     #endif
4529     }
4530 
4531     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4532     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4533     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)4534     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4535       uint tag;
4536       while ((tag = input.ReadTag()) != 0) {
4537         switch(tag) {
4538           default:
4539             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4540             break;
4541           case 10: {
4542             Name = input.ReadString();
4543             break;
4544           }
4545           case 18: {
4546             method_.AddEntriesFrom(ref input, _repeated_method_codec);
4547             break;
4548           }
4549           case 26: {
4550             if (options_ == null) {
4551               Options = new global::Google.Protobuf.Reflection.ServiceOptions();
4552             }
4553             input.ReadMessage(Options);
4554             break;
4555           }
4556         }
4557       }
4558     }
4559     #endif
4560 
4561   }
4562 
4563   /// <summary>
4564   /// Describes a method of a service.
4565   /// </summary>
4566   public sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescriptorProto>
4567   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4568       , pb::IBufferMessage
4569   #endif
4570   {
4571     private static readonly pb::MessageParser<MethodDescriptorProto> _parser = new pb::MessageParser<MethodDescriptorProto>(() => new MethodDescriptorProto());
4572     private pb::UnknownFieldSet _unknownFields;
4573     private int _hasBits0;
4574     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4575     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4576     public static pb::MessageParser<MethodDescriptorProto> Parser { get { return _parser; } }
4577 
4578     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4579     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4580     public static pbr::MessageDescriptor Descriptor {
4581       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[9]; }
4582     }
4583 
4584     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4585     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4586     pbr::MessageDescriptor pb::IMessage.Descriptor {
4587       get { return Descriptor; }
4588     }
4589 
4590     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4591     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MethodDescriptorProto()4592     public MethodDescriptorProto() {
4593       OnConstruction();
4594     }
4595 
OnConstruction()4596     partial void OnConstruction();
4597 
4598     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4599     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MethodDescriptorProto(MethodDescriptorProto other)4600     public MethodDescriptorProto(MethodDescriptorProto other) : this() {
4601       _hasBits0 = other._hasBits0;
4602       name_ = other.name_;
4603       inputType_ = other.inputType_;
4604       outputType_ = other.outputType_;
4605       options_ = other.options_ != null ? other.options_.Clone() : null;
4606       clientStreaming_ = other.clientStreaming_;
4607       serverStreaming_ = other.serverStreaming_;
4608       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
4609     }
4610 
4611     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4612     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()4613     public MethodDescriptorProto Clone() {
4614       return new MethodDescriptorProto(this);
4615     }
4616 
4617     /// <summary>Field number for the "name" field.</summary>
4618     public const int NameFieldNumber = 1;
4619     private readonly static string NameDefaultValue = "";
4620 
4621     private string name_;
4622     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4623     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4624     public string Name {
4625       get { return name_ ?? NameDefaultValue; }
4626       set {
4627         name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4628       }
4629     }
4630     /// <summary>Gets whether the "name" field is set</summary>
4631     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4632     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4633     public bool HasName {
4634       get { return name_ != null; }
4635     }
4636     /// <summary>Clears the value of the "name" field</summary>
4637     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4638     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearName()4639     public void ClearName() {
4640       name_ = null;
4641     }
4642 
4643     /// <summary>Field number for the "input_type" field.</summary>
4644     public const int InputTypeFieldNumber = 2;
4645     private readonly static string InputTypeDefaultValue = "";
4646 
4647     private string inputType_;
4648     /// <summary>
4649     /// Input and output type names.  These are resolved in the same way as
4650     /// FieldDescriptorProto.type_name, but must refer to a message type.
4651     /// </summary>
4652     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4653     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4654     public string InputType {
4655       get { return inputType_ ?? InputTypeDefaultValue; }
4656       set {
4657         inputType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4658       }
4659     }
4660     /// <summary>Gets whether the "input_type" field is set</summary>
4661     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4662     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4663     public bool HasInputType {
4664       get { return inputType_ != null; }
4665     }
4666     /// <summary>Clears the value of the "input_type" field</summary>
4667     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4668     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearInputType()4669     public void ClearInputType() {
4670       inputType_ = null;
4671     }
4672 
4673     /// <summary>Field number for the "output_type" field.</summary>
4674     public const int OutputTypeFieldNumber = 3;
4675     private readonly static string OutputTypeDefaultValue = "";
4676 
4677     private string outputType_;
4678     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4679     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4680     public string OutputType {
4681       get { return outputType_ ?? OutputTypeDefaultValue; }
4682       set {
4683         outputType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4684       }
4685     }
4686     /// <summary>Gets whether the "output_type" field is set</summary>
4687     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4688     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4689     public bool HasOutputType {
4690       get { return outputType_ != null; }
4691     }
4692     /// <summary>Clears the value of the "output_type" field</summary>
4693     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4694     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearOutputType()4695     public void ClearOutputType() {
4696       outputType_ = null;
4697     }
4698 
4699     /// <summary>Field number for the "options" field.</summary>
4700     public const int OptionsFieldNumber = 4;
4701     private global::Google.Protobuf.Reflection.MethodOptions options_;
4702     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4703     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4704     public global::Google.Protobuf.Reflection.MethodOptions Options {
4705       get { return options_; }
4706       set {
4707         options_ = value;
4708       }
4709     }
4710 
4711     /// <summary>Field number for the "client_streaming" field.</summary>
4712     public const int ClientStreamingFieldNumber = 5;
4713     private readonly static bool ClientStreamingDefaultValue = false;
4714 
4715     private bool clientStreaming_;
4716     /// <summary>
4717     /// Identifies if client streams multiple client messages
4718     /// </summary>
4719     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4720     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4721     public bool ClientStreaming {
4722       get { if ((_hasBits0 & 1) != 0) { return clientStreaming_; } else { return ClientStreamingDefaultValue; } }
4723       set {
4724         _hasBits0 |= 1;
4725         clientStreaming_ = value;
4726       }
4727     }
4728     /// <summary>Gets whether the "client_streaming" field is set</summary>
4729     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4730     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4731     public bool HasClientStreaming {
4732       get { return (_hasBits0 & 1) != 0; }
4733     }
4734     /// <summary>Clears the value of the "client_streaming" field</summary>
4735     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4736     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearClientStreaming()4737     public void ClearClientStreaming() {
4738       _hasBits0 &= ~1;
4739     }
4740 
4741     /// <summary>Field number for the "server_streaming" field.</summary>
4742     public const int ServerStreamingFieldNumber = 6;
4743     private readonly static bool ServerStreamingDefaultValue = false;
4744 
4745     private bool serverStreaming_;
4746     /// <summary>
4747     /// Identifies if server streams multiple server messages
4748     /// </summary>
4749     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4750     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4751     public bool ServerStreaming {
4752       get { if ((_hasBits0 & 2) != 0) { return serverStreaming_; } else { return ServerStreamingDefaultValue; } }
4753       set {
4754         _hasBits0 |= 2;
4755         serverStreaming_ = value;
4756       }
4757     }
4758     /// <summary>Gets whether the "server_streaming" field is set</summary>
4759     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4760     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
4761     public bool HasServerStreaming {
4762       get { return (_hasBits0 & 2) != 0; }
4763     }
4764     /// <summary>Clears the value of the "server_streaming" field</summary>
4765     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4766     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearServerStreaming()4767     public void ClearServerStreaming() {
4768       _hasBits0 &= ~2;
4769     }
4770 
4771     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4772     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)4773     public override bool Equals(object other) {
4774       return Equals(other as MethodDescriptorProto);
4775     }
4776 
4777     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4778     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(MethodDescriptorProto other)4779     public bool Equals(MethodDescriptorProto other) {
4780       if (ReferenceEquals(other, null)) {
4781         return false;
4782       }
4783       if (ReferenceEquals(other, this)) {
4784         return true;
4785       }
4786       if (Name != other.Name) return false;
4787       if (InputType != other.InputType) return false;
4788       if (OutputType != other.OutputType) return false;
4789       if (!object.Equals(Options, other.Options)) return false;
4790       if (ClientStreaming != other.ClientStreaming) return false;
4791       if (ServerStreaming != other.ServerStreaming) return false;
4792       return Equals(_unknownFields, other._unknownFields);
4793     }
4794 
4795     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4796     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()4797     public override int GetHashCode() {
4798       int hash = 1;
4799       if (HasName) hash ^= Name.GetHashCode();
4800       if (HasInputType) hash ^= InputType.GetHashCode();
4801       if (HasOutputType) hash ^= OutputType.GetHashCode();
4802       if (options_ != null) hash ^= Options.GetHashCode();
4803       if (HasClientStreaming) hash ^= ClientStreaming.GetHashCode();
4804       if (HasServerStreaming) hash ^= ServerStreaming.GetHashCode();
4805       if (_unknownFields != null) {
4806         hash ^= _unknownFields.GetHashCode();
4807       }
4808       return hash;
4809     }
4810 
4811     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4812     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()4813     public override string ToString() {
4814       return pb::JsonFormatter.ToDiagnosticString(this);
4815     }
4816 
4817     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4818     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)4819     public void WriteTo(pb::CodedOutputStream output) {
4820     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4821       output.WriteRawMessage(this);
4822     #else
4823       if (HasName) {
4824         output.WriteRawTag(10);
4825         output.WriteString(Name);
4826       }
4827       if (HasInputType) {
4828         output.WriteRawTag(18);
4829         output.WriteString(InputType);
4830       }
4831       if (HasOutputType) {
4832         output.WriteRawTag(26);
4833         output.WriteString(OutputType);
4834       }
4835       if (options_ != null) {
4836         output.WriteRawTag(34);
4837         output.WriteMessage(Options);
4838       }
4839       if (HasClientStreaming) {
4840         output.WriteRawTag(40);
4841         output.WriteBool(ClientStreaming);
4842       }
4843       if (HasServerStreaming) {
4844         output.WriteRawTag(48);
4845         output.WriteBool(ServerStreaming);
4846       }
4847       if (_unknownFields != null) {
4848         _unknownFields.WriteTo(output);
4849       }
4850     #endif
4851     }
4852 
4853     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4854     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4855     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)4856     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
4857       if (HasName) {
4858         output.WriteRawTag(10);
4859         output.WriteString(Name);
4860       }
4861       if (HasInputType) {
4862         output.WriteRawTag(18);
4863         output.WriteString(InputType);
4864       }
4865       if (HasOutputType) {
4866         output.WriteRawTag(26);
4867         output.WriteString(OutputType);
4868       }
4869       if (options_ != null) {
4870         output.WriteRawTag(34);
4871         output.WriteMessage(Options);
4872       }
4873       if (HasClientStreaming) {
4874         output.WriteRawTag(40);
4875         output.WriteBool(ClientStreaming);
4876       }
4877       if (HasServerStreaming) {
4878         output.WriteRawTag(48);
4879         output.WriteBool(ServerStreaming);
4880       }
4881       if (_unknownFields != null) {
4882         _unknownFields.WriteTo(ref output);
4883       }
4884     }
4885     #endif
4886 
4887     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4888     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()4889     public int CalculateSize() {
4890       int size = 0;
4891       if (HasName) {
4892         size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
4893       }
4894       if (HasInputType) {
4895         size += 1 + pb::CodedOutputStream.ComputeStringSize(InputType);
4896       }
4897       if (HasOutputType) {
4898         size += 1 + pb::CodedOutputStream.ComputeStringSize(OutputType);
4899       }
4900       if (options_ != null) {
4901         size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
4902       }
4903       if (HasClientStreaming) {
4904         size += 1 + 1;
4905       }
4906       if (HasServerStreaming) {
4907         size += 1 + 1;
4908       }
4909       if (_unknownFields != null) {
4910         size += _unknownFields.CalculateSize();
4911       }
4912       return size;
4913     }
4914 
4915     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4916     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(MethodDescriptorProto other)4917     public void MergeFrom(MethodDescriptorProto other) {
4918       if (other == null) {
4919         return;
4920       }
4921       if (other.HasName) {
4922         Name = other.Name;
4923       }
4924       if (other.HasInputType) {
4925         InputType = other.InputType;
4926       }
4927       if (other.HasOutputType) {
4928         OutputType = other.OutputType;
4929       }
4930       if (other.options_ != null) {
4931         if (options_ == null) {
4932           Options = new global::Google.Protobuf.Reflection.MethodOptions();
4933         }
4934         Options.MergeFrom(other.Options);
4935       }
4936       if (other.HasClientStreaming) {
4937         ClientStreaming = other.ClientStreaming;
4938       }
4939       if (other.HasServerStreaming) {
4940         ServerStreaming = other.ServerStreaming;
4941       }
4942       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
4943     }
4944 
4945     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4946     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)4947     public void MergeFrom(pb::CodedInputStream input) {
4948     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4949       input.ReadRawMessage(this);
4950     #else
4951       uint tag;
4952       while ((tag = input.ReadTag()) != 0) {
4953         switch(tag) {
4954           default:
4955             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
4956             break;
4957           case 10: {
4958             Name = input.ReadString();
4959             break;
4960           }
4961           case 18: {
4962             InputType = input.ReadString();
4963             break;
4964           }
4965           case 26: {
4966             OutputType = input.ReadString();
4967             break;
4968           }
4969           case 34: {
4970             if (options_ == null) {
4971               Options = new global::Google.Protobuf.Reflection.MethodOptions();
4972             }
4973             input.ReadMessage(Options);
4974             break;
4975           }
4976           case 40: {
4977             ClientStreaming = input.ReadBool();
4978             break;
4979           }
4980           case 48: {
4981             ServerStreaming = input.ReadBool();
4982             break;
4983           }
4984         }
4985       }
4986     #endif
4987     }
4988 
4989     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
4990     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4991     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)4992     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
4993       uint tag;
4994       while ((tag = input.ReadTag()) != 0) {
4995         switch(tag) {
4996           default:
4997             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
4998             break;
4999           case 10: {
5000             Name = input.ReadString();
5001             break;
5002           }
5003           case 18: {
5004             InputType = input.ReadString();
5005             break;
5006           }
5007           case 26: {
5008             OutputType = input.ReadString();
5009             break;
5010           }
5011           case 34: {
5012             if (options_ == null) {
5013               Options = new global::Google.Protobuf.Reflection.MethodOptions();
5014             }
5015             input.ReadMessage(Options);
5016             break;
5017           }
5018           case 40: {
5019             ClientStreaming = input.ReadBool();
5020             break;
5021           }
5022           case 48: {
5023             ServerStreaming = input.ReadBool();
5024             break;
5025           }
5026         }
5027       }
5028     }
5029     #endif
5030 
5031   }
5032 
5033   public sealed partial class FileOptions : pb::IExtendableMessage<FileOptions>
5034   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5035       , pb::IBufferMessage
5036   #endif
5037   {
5038     private static readonly pb::MessageParser<FileOptions> _parser = new pb::MessageParser<FileOptions>(() => new FileOptions());
5039     private pb::UnknownFieldSet _unknownFields;
5040     internal pb::ExtensionSet<FileOptions> _extensions;
5041     private pb::ExtensionSet<FileOptions> _Extensions { get { return _extensions; } }
5042     private int _hasBits0;
5043     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5044     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5045     public static pb::MessageParser<FileOptions> Parser { get { return _parser; } }
5046 
5047     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5048     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5049     public static pbr::MessageDescriptor Descriptor {
5050       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[10]; }
5051     }
5052 
5053     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5054     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5055     pbr::MessageDescriptor pb::IMessage.Descriptor {
5056       get { return Descriptor; }
5057     }
5058 
5059     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5060     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FileOptions()5061     public FileOptions() {
5062       OnConstruction();
5063     }
5064 
OnConstruction()5065     partial void OnConstruction();
5066 
5067     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5068     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FileOptions(FileOptions other)5069     public FileOptions(FileOptions other) : this() {
5070       _hasBits0 = other._hasBits0;
5071       javaPackage_ = other.javaPackage_;
5072       javaOuterClassname_ = other.javaOuterClassname_;
5073       javaMultipleFiles_ = other.javaMultipleFiles_;
5074       javaGenerateEqualsAndHash_ = other.javaGenerateEqualsAndHash_;
5075       javaStringCheckUtf8_ = other.javaStringCheckUtf8_;
5076       optimizeFor_ = other.optimizeFor_;
5077       goPackage_ = other.goPackage_;
5078       ccGenericServices_ = other.ccGenericServices_;
5079       javaGenericServices_ = other.javaGenericServices_;
5080       pyGenericServices_ = other.pyGenericServices_;
5081       phpGenericServices_ = other.phpGenericServices_;
5082       deprecated_ = other.deprecated_;
5083       ccEnableArenas_ = other.ccEnableArenas_;
5084       objcClassPrefix_ = other.objcClassPrefix_;
5085       csharpNamespace_ = other.csharpNamespace_;
5086       swiftPrefix_ = other.swiftPrefix_;
5087       phpClassPrefix_ = other.phpClassPrefix_;
5088       phpNamespace_ = other.phpNamespace_;
5089       phpMetadataNamespace_ = other.phpMetadataNamespace_;
5090       rubyPackage_ = other.rubyPackage_;
5091       uninterpretedOption_ = other.uninterpretedOption_.Clone();
5092       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
5093       _extensions = pb::ExtensionSet.Clone(other._extensions);
5094     }
5095 
5096     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5097     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()5098     public FileOptions Clone() {
5099       return new FileOptions(this);
5100     }
5101 
5102     /// <summary>Field number for the "java_package" field.</summary>
5103     public const int JavaPackageFieldNumber = 1;
5104     private readonly static string JavaPackageDefaultValue = "";
5105 
5106     private string javaPackage_;
5107     /// <summary>
5108     /// Sets the Java package where classes generated from this .proto will be
5109     /// placed.  By default, the proto package is used, but this is often
5110     /// inappropriate because proto packages do not normally start with backwards
5111     /// domain names.
5112     /// </summary>
5113     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5114     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5115     public string JavaPackage {
5116       get { return javaPackage_ ?? JavaPackageDefaultValue; }
5117       set {
5118         javaPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5119       }
5120     }
5121     /// <summary>Gets whether the "java_package" field is set</summary>
5122     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5123     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5124     public bool HasJavaPackage {
5125       get { return javaPackage_ != null; }
5126     }
5127     /// <summary>Clears the value of the "java_package" field</summary>
5128     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5129     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJavaPackage()5130     public void ClearJavaPackage() {
5131       javaPackage_ = null;
5132     }
5133 
5134     /// <summary>Field number for the "java_outer_classname" field.</summary>
5135     public const int JavaOuterClassnameFieldNumber = 8;
5136     private readonly static string JavaOuterClassnameDefaultValue = "";
5137 
5138     private string javaOuterClassname_;
5139     /// <summary>
5140     /// Controls the name of the wrapper Java class generated for the .proto file.
5141     /// That class will always contain the .proto file's getDescriptor() method as
5142     /// well as any top-level extensions defined in the .proto file.
5143     /// If java_multiple_files is disabled, then all the other classes from the
5144     /// .proto file will be nested inside the single wrapper outer class.
5145     /// </summary>
5146     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5147     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5148     public string JavaOuterClassname {
5149       get { return javaOuterClassname_ ?? JavaOuterClassnameDefaultValue; }
5150       set {
5151         javaOuterClassname_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5152       }
5153     }
5154     /// <summary>Gets whether the "java_outer_classname" field is set</summary>
5155     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5156     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5157     public bool HasJavaOuterClassname {
5158       get { return javaOuterClassname_ != null; }
5159     }
5160     /// <summary>Clears the value of the "java_outer_classname" field</summary>
5161     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5162     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJavaOuterClassname()5163     public void ClearJavaOuterClassname() {
5164       javaOuterClassname_ = null;
5165     }
5166 
5167     /// <summary>Field number for the "java_multiple_files" field.</summary>
5168     public const int JavaMultipleFilesFieldNumber = 10;
5169     private readonly static bool JavaMultipleFilesDefaultValue = false;
5170 
5171     private bool javaMultipleFiles_;
5172     /// <summary>
5173     /// If enabled, then the Java code generator will generate a separate .java
5174     /// file for each top-level message, enum, and service defined in the .proto
5175     /// file.  Thus, these types will *not* be nested inside the wrapper class
5176     /// named by java_outer_classname.  However, the wrapper class will still be
5177     /// generated to contain the file's getDescriptor() method as well as any
5178     /// top-level extensions defined in the file.
5179     /// </summary>
5180     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5181     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5182     public bool JavaMultipleFiles {
5183       get { if ((_hasBits0 & 2) != 0) { return javaMultipleFiles_; } else { return JavaMultipleFilesDefaultValue; } }
5184       set {
5185         _hasBits0 |= 2;
5186         javaMultipleFiles_ = value;
5187       }
5188     }
5189     /// <summary>Gets whether the "java_multiple_files" field is set</summary>
5190     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5191     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5192     public bool HasJavaMultipleFiles {
5193       get { return (_hasBits0 & 2) != 0; }
5194     }
5195     /// <summary>Clears the value of the "java_multiple_files" field</summary>
5196     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5197     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJavaMultipleFiles()5198     public void ClearJavaMultipleFiles() {
5199       _hasBits0 &= ~2;
5200     }
5201 
5202     /// <summary>Field number for the "java_generate_equals_and_hash" field.</summary>
5203     public const int JavaGenerateEqualsAndHashFieldNumber = 20;
5204     private readonly static bool JavaGenerateEqualsAndHashDefaultValue = false;
5205 
5206     private bool javaGenerateEqualsAndHash_;
5207     /// <summary>
5208     /// This option does nothing.
5209     /// </summary>
5210     [global::System.ObsoleteAttribute]
5211     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5212     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5213     public bool JavaGenerateEqualsAndHash {
5214       get { if ((_hasBits0 & 32) != 0) { return javaGenerateEqualsAndHash_; } else { return JavaGenerateEqualsAndHashDefaultValue; } }
5215       set {
5216         _hasBits0 |= 32;
5217         javaGenerateEqualsAndHash_ = value;
5218       }
5219     }
5220     /// <summary>Gets whether the "java_generate_equals_and_hash" field is set</summary>
5221     [global::System.ObsoleteAttribute]
5222     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5223     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5224     public bool HasJavaGenerateEqualsAndHash {
5225       get { return (_hasBits0 & 32) != 0; }
5226     }
5227     /// <summary>Clears the value of the "java_generate_equals_and_hash" field</summary>
5228     [global::System.ObsoleteAttribute]
5229     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5230     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJavaGenerateEqualsAndHash()5231     public void ClearJavaGenerateEqualsAndHash() {
5232       _hasBits0 &= ~32;
5233     }
5234 
5235     /// <summary>Field number for the "java_string_check_utf8" field.</summary>
5236     public const int JavaStringCheckUtf8FieldNumber = 27;
5237     private readonly static bool JavaStringCheckUtf8DefaultValue = false;
5238 
5239     private bool javaStringCheckUtf8_;
5240     /// <summary>
5241     /// If set true, then the Java2 code generator will generate code that
5242     /// throws an exception whenever an attempt is made to assign a non-UTF-8
5243     /// byte sequence to a string field.
5244     /// Message reflection will do the same.
5245     /// However, an extension field still accepts non-UTF-8 byte sequences.
5246     /// This option has no effect on when used with the lite runtime.
5247     /// </summary>
5248     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5249     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5250     public bool JavaStringCheckUtf8 {
5251       get { if ((_hasBits0 & 128) != 0) { return javaStringCheckUtf8_; } else { return JavaStringCheckUtf8DefaultValue; } }
5252       set {
5253         _hasBits0 |= 128;
5254         javaStringCheckUtf8_ = value;
5255       }
5256     }
5257     /// <summary>Gets whether the "java_string_check_utf8" field is set</summary>
5258     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5259     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5260     public bool HasJavaStringCheckUtf8 {
5261       get { return (_hasBits0 & 128) != 0; }
5262     }
5263     /// <summary>Clears the value of the "java_string_check_utf8" field</summary>
5264     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5265     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJavaStringCheckUtf8()5266     public void ClearJavaStringCheckUtf8() {
5267       _hasBits0 &= ~128;
5268     }
5269 
5270     /// <summary>Field number for the "optimize_for" field.</summary>
5271     public const int OptimizeForFieldNumber = 9;
5272     private readonly static global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode OptimizeForDefaultValue = global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode.Speed;
5273 
5274     private global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode optimizeFor_;
5275     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5276     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5277     public global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode OptimizeFor {
5278       get { if ((_hasBits0 & 1) != 0) { return optimizeFor_; } else { return OptimizeForDefaultValue; } }
5279       set {
5280         _hasBits0 |= 1;
5281         optimizeFor_ = value;
5282       }
5283     }
5284     /// <summary>Gets whether the "optimize_for" field is set</summary>
5285     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5286     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5287     public bool HasOptimizeFor {
5288       get { return (_hasBits0 & 1) != 0; }
5289     }
5290     /// <summary>Clears the value of the "optimize_for" field</summary>
5291     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5292     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearOptimizeFor()5293     public void ClearOptimizeFor() {
5294       _hasBits0 &= ~1;
5295     }
5296 
5297     /// <summary>Field number for the "go_package" field.</summary>
5298     public const int GoPackageFieldNumber = 11;
5299     private readonly static string GoPackageDefaultValue = "";
5300 
5301     private string goPackage_;
5302     /// <summary>
5303     /// Sets the Go package where structs generated from this .proto will be
5304     /// placed. If omitted, the Go package will be derived from the following:
5305     ///   - The basename of the package import path, if provided.
5306     ///   - Otherwise, the package statement in the .proto file, if present.
5307     ///   - Otherwise, the basename of the .proto file, without extension.
5308     /// </summary>
5309     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5310     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5311     public string GoPackage {
5312       get { return goPackage_ ?? GoPackageDefaultValue; }
5313       set {
5314         goPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5315       }
5316     }
5317     /// <summary>Gets whether the "go_package" field is set</summary>
5318     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5319     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5320     public bool HasGoPackage {
5321       get { return goPackage_ != null; }
5322     }
5323     /// <summary>Clears the value of the "go_package" field</summary>
5324     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5325     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearGoPackage()5326     public void ClearGoPackage() {
5327       goPackage_ = null;
5328     }
5329 
5330     /// <summary>Field number for the "cc_generic_services" field.</summary>
5331     public const int CcGenericServicesFieldNumber = 16;
5332     private readonly static bool CcGenericServicesDefaultValue = false;
5333 
5334     private bool ccGenericServices_;
5335     /// <summary>
5336     /// Should generic services be generated in each language?  "Generic" services
5337     /// are not specific to any particular RPC system.  They are generated by the
5338     /// main code generators in each language (without additional plugins).
5339     /// Generic services were the only kind of service generation supported by
5340     /// early versions of google.protobuf.
5341     ///
5342     /// Generic services are now considered deprecated in favor of using plugins
5343     /// that generate code specific to your particular RPC system.  Therefore,
5344     /// these default to false.  Old code which depends on generic services should
5345     /// explicitly set them to true.
5346     /// </summary>
5347     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5348     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5349     public bool CcGenericServices {
5350       get { if ((_hasBits0 & 4) != 0) { return ccGenericServices_; } else { return CcGenericServicesDefaultValue; } }
5351       set {
5352         _hasBits0 |= 4;
5353         ccGenericServices_ = value;
5354       }
5355     }
5356     /// <summary>Gets whether the "cc_generic_services" field is set</summary>
5357     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5358     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5359     public bool HasCcGenericServices {
5360       get { return (_hasBits0 & 4) != 0; }
5361     }
5362     /// <summary>Clears the value of the "cc_generic_services" field</summary>
5363     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5364     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearCcGenericServices()5365     public void ClearCcGenericServices() {
5366       _hasBits0 &= ~4;
5367     }
5368 
5369     /// <summary>Field number for the "java_generic_services" field.</summary>
5370     public const int JavaGenericServicesFieldNumber = 17;
5371     private readonly static bool JavaGenericServicesDefaultValue = false;
5372 
5373     private bool javaGenericServices_;
5374     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5375     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5376     public bool JavaGenericServices {
5377       get { if ((_hasBits0 & 8) != 0) { return javaGenericServices_; } else { return JavaGenericServicesDefaultValue; } }
5378       set {
5379         _hasBits0 |= 8;
5380         javaGenericServices_ = value;
5381       }
5382     }
5383     /// <summary>Gets whether the "java_generic_services" field is set</summary>
5384     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5385     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5386     public bool HasJavaGenericServices {
5387       get { return (_hasBits0 & 8) != 0; }
5388     }
5389     /// <summary>Clears the value of the "java_generic_services" field</summary>
5390     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5391     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJavaGenericServices()5392     public void ClearJavaGenericServices() {
5393       _hasBits0 &= ~8;
5394     }
5395 
5396     /// <summary>Field number for the "py_generic_services" field.</summary>
5397     public const int PyGenericServicesFieldNumber = 18;
5398     private readonly static bool PyGenericServicesDefaultValue = false;
5399 
5400     private bool pyGenericServices_;
5401     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5402     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5403     public bool PyGenericServices {
5404       get { if ((_hasBits0 & 16) != 0) { return pyGenericServices_; } else { return PyGenericServicesDefaultValue; } }
5405       set {
5406         _hasBits0 |= 16;
5407         pyGenericServices_ = value;
5408       }
5409     }
5410     /// <summary>Gets whether the "py_generic_services" field is set</summary>
5411     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5412     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5413     public bool HasPyGenericServices {
5414       get { return (_hasBits0 & 16) != 0; }
5415     }
5416     /// <summary>Clears the value of the "py_generic_services" field</summary>
5417     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5418     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPyGenericServices()5419     public void ClearPyGenericServices() {
5420       _hasBits0 &= ~16;
5421     }
5422 
5423     /// <summary>Field number for the "php_generic_services" field.</summary>
5424     public const int PhpGenericServicesFieldNumber = 42;
5425     private readonly static bool PhpGenericServicesDefaultValue = false;
5426 
5427     private bool phpGenericServices_;
5428     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5429     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5430     public bool PhpGenericServices {
5431       get { if ((_hasBits0 & 512) != 0) { return phpGenericServices_; } else { return PhpGenericServicesDefaultValue; } }
5432       set {
5433         _hasBits0 |= 512;
5434         phpGenericServices_ = value;
5435       }
5436     }
5437     /// <summary>Gets whether the "php_generic_services" field is set</summary>
5438     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5439     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5440     public bool HasPhpGenericServices {
5441       get { return (_hasBits0 & 512) != 0; }
5442     }
5443     /// <summary>Clears the value of the "php_generic_services" field</summary>
5444     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5445     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPhpGenericServices()5446     public void ClearPhpGenericServices() {
5447       _hasBits0 &= ~512;
5448     }
5449 
5450     /// <summary>Field number for the "deprecated" field.</summary>
5451     public const int DeprecatedFieldNumber = 23;
5452     private readonly static bool DeprecatedDefaultValue = false;
5453 
5454     private bool deprecated_;
5455     /// <summary>
5456     /// Is this file deprecated?
5457     /// Depending on the target platform, this can emit Deprecated annotations
5458     /// for everything in the file, or it will be completely ignored; in the very
5459     /// least, this is a formalization for deprecating files.
5460     /// </summary>
5461     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5462     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5463     public bool Deprecated {
5464       get { if ((_hasBits0 & 64) != 0) { return deprecated_; } else { return DeprecatedDefaultValue; } }
5465       set {
5466         _hasBits0 |= 64;
5467         deprecated_ = value;
5468       }
5469     }
5470     /// <summary>Gets whether the "deprecated" field is set</summary>
5471     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5472     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5473     public bool HasDeprecated {
5474       get { return (_hasBits0 & 64) != 0; }
5475     }
5476     /// <summary>Clears the value of the "deprecated" field</summary>
5477     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5478     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDeprecated()5479     public void ClearDeprecated() {
5480       _hasBits0 &= ~64;
5481     }
5482 
5483     /// <summary>Field number for the "cc_enable_arenas" field.</summary>
5484     public const int CcEnableArenasFieldNumber = 31;
5485     private readonly static bool CcEnableArenasDefaultValue = true;
5486 
5487     private bool ccEnableArenas_;
5488     /// <summary>
5489     /// Enables the use of arenas for the proto messages in this file. This applies
5490     /// only to generated classes for C++.
5491     /// </summary>
5492     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5493     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5494     public bool CcEnableArenas {
5495       get { if ((_hasBits0 & 256) != 0) { return ccEnableArenas_; } else { return CcEnableArenasDefaultValue; } }
5496       set {
5497         _hasBits0 |= 256;
5498         ccEnableArenas_ = value;
5499       }
5500     }
5501     /// <summary>Gets whether the "cc_enable_arenas" field is set</summary>
5502     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5503     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5504     public bool HasCcEnableArenas {
5505       get { return (_hasBits0 & 256) != 0; }
5506     }
5507     /// <summary>Clears the value of the "cc_enable_arenas" field</summary>
5508     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5509     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearCcEnableArenas()5510     public void ClearCcEnableArenas() {
5511       _hasBits0 &= ~256;
5512     }
5513 
5514     /// <summary>Field number for the "objc_class_prefix" field.</summary>
5515     public const int ObjcClassPrefixFieldNumber = 36;
5516     private readonly static string ObjcClassPrefixDefaultValue = "";
5517 
5518     private string objcClassPrefix_;
5519     /// <summary>
5520     /// Sets the objective c class prefix which is prepended to all objective c
5521     /// generated classes from this .proto. There is no default.
5522     /// </summary>
5523     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5524     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5525     public string ObjcClassPrefix {
5526       get { return objcClassPrefix_ ?? ObjcClassPrefixDefaultValue; }
5527       set {
5528         objcClassPrefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5529       }
5530     }
5531     /// <summary>Gets whether the "objc_class_prefix" field is set</summary>
5532     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5533     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5534     public bool HasObjcClassPrefix {
5535       get { return objcClassPrefix_ != null; }
5536     }
5537     /// <summary>Clears the value of the "objc_class_prefix" field</summary>
5538     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5539     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearObjcClassPrefix()5540     public void ClearObjcClassPrefix() {
5541       objcClassPrefix_ = null;
5542     }
5543 
5544     /// <summary>Field number for the "csharp_namespace" field.</summary>
5545     public const int CsharpNamespaceFieldNumber = 37;
5546     private readonly static string CsharpNamespaceDefaultValue = "";
5547 
5548     private string csharpNamespace_;
5549     /// <summary>
5550     /// Namespace for generated classes; defaults to the package.
5551     /// </summary>
5552     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5553     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5554     public string CsharpNamespace {
5555       get { return csharpNamespace_ ?? CsharpNamespaceDefaultValue; }
5556       set {
5557         csharpNamespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5558       }
5559     }
5560     /// <summary>Gets whether the "csharp_namespace" field is set</summary>
5561     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5562     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5563     public bool HasCsharpNamespace {
5564       get { return csharpNamespace_ != null; }
5565     }
5566     /// <summary>Clears the value of the "csharp_namespace" field</summary>
5567     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5568     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearCsharpNamespace()5569     public void ClearCsharpNamespace() {
5570       csharpNamespace_ = null;
5571     }
5572 
5573     /// <summary>Field number for the "swift_prefix" field.</summary>
5574     public const int SwiftPrefixFieldNumber = 39;
5575     private readonly static string SwiftPrefixDefaultValue = "";
5576 
5577     private string swiftPrefix_;
5578     /// <summary>
5579     /// By default Swift generators will take the proto package and CamelCase it
5580     /// replacing '.' with underscore and use that to prefix the types/symbols
5581     /// defined. When this options is provided, they will use this value instead
5582     /// to prefix the types/symbols defined.
5583     /// </summary>
5584     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5585     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5586     public string SwiftPrefix {
5587       get { return swiftPrefix_ ?? SwiftPrefixDefaultValue; }
5588       set {
5589         swiftPrefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5590       }
5591     }
5592     /// <summary>Gets whether the "swift_prefix" field is set</summary>
5593     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5594     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5595     public bool HasSwiftPrefix {
5596       get { return swiftPrefix_ != null; }
5597     }
5598     /// <summary>Clears the value of the "swift_prefix" field</summary>
5599     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5600     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearSwiftPrefix()5601     public void ClearSwiftPrefix() {
5602       swiftPrefix_ = null;
5603     }
5604 
5605     /// <summary>Field number for the "php_class_prefix" field.</summary>
5606     public const int PhpClassPrefixFieldNumber = 40;
5607     private readonly static string PhpClassPrefixDefaultValue = "";
5608 
5609     private string phpClassPrefix_;
5610     /// <summary>
5611     /// Sets the php class prefix which is prepended to all php generated classes
5612     /// from this .proto. Default is empty.
5613     /// </summary>
5614     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5615     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5616     public string PhpClassPrefix {
5617       get { return phpClassPrefix_ ?? PhpClassPrefixDefaultValue; }
5618       set {
5619         phpClassPrefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5620       }
5621     }
5622     /// <summary>Gets whether the "php_class_prefix" field is set</summary>
5623     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5624     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5625     public bool HasPhpClassPrefix {
5626       get { return phpClassPrefix_ != null; }
5627     }
5628     /// <summary>Clears the value of the "php_class_prefix" field</summary>
5629     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5630     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPhpClassPrefix()5631     public void ClearPhpClassPrefix() {
5632       phpClassPrefix_ = null;
5633     }
5634 
5635     /// <summary>Field number for the "php_namespace" field.</summary>
5636     public const int PhpNamespaceFieldNumber = 41;
5637     private readonly static string PhpNamespaceDefaultValue = "";
5638 
5639     private string phpNamespace_;
5640     /// <summary>
5641     /// Use this option to change the namespace of php generated classes. Default
5642     /// is empty. When this option is empty, the package name will be used for
5643     /// determining the namespace.
5644     /// </summary>
5645     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5646     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5647     public string PhpNamespace {
5648       get { return phpNamespace_ ?? PhpNamespaceDefaultValue; }
5649       set {
5650         phpNamespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5651       }
5652     }
5653     /// <summary>Gets whether the "php_namespace" field is set</summary>
5654     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5655     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5656     public bool HasPhpNamespace {
5657       get { return phpNamespace_ != null; }
5658     }
5659     /// <summary>Clears the value of the "php_namespace" field</summary>
5660     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5661     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPhpNamespace()5662     public void ClearPhpNamespace() {
5663       phpNamespace_ = null;
5664     }
5665 
5666     /// <summary>Field number for the "php_metadata_namespace" field.</summary>
5667     public const int PhpMetadataNamespaceFieldNumber = 44;
5668     private readonly static string PhpMetadataNamespaceDefaultValue = "";
5669 
5670     private string phpMetadataNamespace_;
5671     /// <summary>
5672     /// Use this option to change the namespace of php generated metadata classes.
5673     /// Default is empty. When this option is empty, the proto file name will be
5674     /// used for determining the namespace.
5675     /// </summary>
5676     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5677     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5678     public string PhpMetadataNamespace {
5679       get { return phpMetadataNamespace_ ?? PhpMetadataNamespaceDefaultValue; }
5680       set {
5681         phpMetadataNamespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5682       }
5683     }
5684     /// <summary>Gets whether the "php_metadata_namespace" field is set</summary>
5685     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5686     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5687     public bool HasPhpMetadataNamespace {
5688       get { return phpMetadataNamespace_ != null; }
5689     }
5690     /// <summary>Clears the value of the "php_metadata_namespace" field</summary>
5691     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5692     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPhpMetadataNamespace()5693     public void ClearPhpMetadataNamespace() {
5694       phpMetadataNamespace_ = null;
5695     }
5696 
5697     /// <summary>Field number for the "ruby_package" field.</summary>
5698     public const int RubyPackageFieldNumber = 45;
5699     private readonly static string RubyPackageDefaultValue = "";
5700 
5701     private string rubyPackage_;
5702     /// <summary>
5703     /// Use this option to change the package of ruby generated classes. Default
5704     /// is empty. When this option is not set, the package name will be used for
5705     /// determining the ruby package.
5706     /// </summary>
5707     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5708     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5709     public string RubyPackage {
5710       get { return rubyPackage_ ?? RubyPackageDefaultValue; }
5711       set {
5712         rubyPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5713       }
5714     }
5715     /// <summary>Gets whether the "ruby_package" field is set</summary>
5716     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5717     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5718     public bool HasRubyPackage {
5719       get { return rubyPackage_ != null; }
5720     }
5721     /// <summary>Clears the value of the "ruby_package" field</summary>
5722     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5723     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearRubyPackage()5724     public void ClearRubyPackage() {
5725       rubyPackage_ = null;
5726     }
5727 
5728     /// <summary>Field number for the "uninterpreted_option" field.</summary>
5729     public const int UninterpretedOptionFieldNumber = 999;
5730     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
5731         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
5732     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
5733     /// <summary>
5734     /// The parser stores options it doesn't recognize here.
5735     /// See the documentation for the "Options" section above.
5736     /// </summary>
5737     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5738     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
5739     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
5740       get { return uninterpretedOption_; }
5741     }
5742 
5743     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5744     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)5745     public override bool Equals(object other) {
5746       return Equals(other as FileOptions);
5747     }
5748 
5749     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5750     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(FileOptions other)5751     public bool Equals(FileOptions other) {
5752       if (ReferenceEquals(other, null)) {
5753         return false;
5754       }
5755       if (ReferenceEquals(other, this)) {
5756         return true;
5757       }
5758       if (JavaPackage != other.JavaPackage) return false;
5759       if (JavaOuterClassname != other.JavaOuterClassname) return false;
5760       if (JavaMultipleFiles != other.JavaMultipleFiles) return false;
5761       if (JavaGenerateEqualsAndHash != other.JavaGenerateEqualsAndHash) return false;
5762       if (JavaStringCheckUtf8 != other.JavaStringCheckUtf8) return false;
5763       if (OptimizeFor != other.OptimizeFor) return false;
5764       if (GoPackage != other.GoPackage) return false;
5765       if (CcGenericServices != other.CcGenericServices) return false;
5766       if (JavaGenericServices != other.JavaGenericServices) return false;
5767       if (PyGenericServices != other.PyGenericServices) return false;
5768       if (PhpGenericServices != other.PhpGenericServices) return false;
5769       if (Deprecated != other.Deprecated) return false;
5770       if (CcEnableArenas != other.CcEnableArenas) return false;
5771       if (ObjcClassPrefix != other.ObjcClassPrefix) return false;
5772       if (CsharpNamespace != other.CsharpNamespace) return false;
5773       if (SwiftPrefix != other.SwiftPrefix) return false;
5774       if (PhpClassPrefix != other.PhpClassPrefix) return false;
5775       if (PhpNamespace != other.PhpNamespace) return false;
5776       if (PhpMetadataNamespace != other.PhpMetadataNamespace) return false;
5777       if (RubyPackage != other.RubyPackage) return false;
5778       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
5779       if (!Equals(_extensions, other._extensions)) {
5780         return false;
5781       }
5782       return Equals(_unknownFields, other._unknownFields);
5783     }
5784 
5785     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5786     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()5787     public override int GetHashCode() {
5788       int hash = 1;
5789       if (HasJavaPackage) hash ^= JavaPackage.GetHashCode();
5790       if (HasJavaOuterClassname) hash ^= JavaOuterClassname.GetHashCode();
5791       if (HasJavaMultipleFiles) hash ^= JavaMultipleFiles.GetHashCode();
5792       if (HasJavaGenerateEqualsAndHash) hash ^= JavaGenerateEqualsAndHash.GetHashCode();
5793       if (HasJavaStringCheckUtf8) hash ^= JavaStringCheckUtf8.GetHashCode();
5794       if (HasOptimizeFor) hash ^= OptimizeFor.GetHashCode();
5795       if (HasGoPackage) hash ^= GoPackage.GetHashCode();
5796       if (HasCcGenericServices) hash ^= CcGenericServices.GetHashCode();
5797       if (HasJavaGenericServices) hash ^= JavaGenericServices.GetHashCode();
5798       if (HasPyGenericServices) hash ^= PyGenericServices.GetHashCode();
5799       if (HasPhpGenericServices) hash ^= PhpGenericServices.GetHashCode();
5800       if (HasDeprecated) hash ^= Deprecated.GetHashCode();
5801       if (HasCcEnableArenas) hash ^= CcEnableArenas.GetHashCode();
5802       if (HasObjcClassPrefix) hash ^= ObjcClassPrefix.GetHashCode();
5803       if (HasCsharpNamespace) hash ^= CsharpNamespace.GetHashCode();
5804       if (HasSwiftPrefix) hash ^= SwiftPrefix.GetHashCode();
5805       if (HasPhpClassPrefix) hash ^= PhpClassPrefix.GetHashCode();
5806       if (HasPhpNamespace) hash ^= PhpNamespace.GetHashCode();
5807       if (HasPhpMetadataNamespace) hash ^= PhpMetadataNamespace.GetHashCode();
5808       if (HasRubyPackage) hash ^= RubyPackage.GetHashCode();
5809       hash ^= uninterpretedOption_.GetHashCode();
5810       if (_extensions != null) {
5811         hash ^= _extensions.GetHashCode();
5812       }
5813       if (_unknownFields != null) {
5814         hash ^= _unknownFields.GetHashCode();
5815       }
5816       return hash;
5817     }
5818 
5819     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5820     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()5821     public override string ToString() {
5822       return pb::JsonFormatter.ToDiagnosticString(this);
5823     }
5824 
5825     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5826     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)5827     public void WriteTo(pb::CodedOutputStream output) {
5828     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5829       output.WriteRawMessage(this);
5830     #else
5831       if (HasJavaPackage) {
5832         output.WriteRawTag(10);
5833         output.WriteString(JavaPackage);
5834       }
5835       if (HasJavaOuterClassname) {
5836         output.WriteRawTag(66);
5837         output.WriteString(JavaOuterClassname);
5838       }
5839       if (HasOptimizeFor) {
5840         output.WriteRawTag(72);
5841         output.WriteEnum((int) OptimizeFor);
5842       }
5843       if (HasJavaMultipleFiles) {
5844         output.WriteRawTag(80);
5845         output.WriteBool(JavaMultipleFiles);
5846       }
5847       if (HasGoPackage) {
5848         output.WriteRawTag(90);
5849         output.WriteString(GoPackage);
5850       }
5851       if (HasCcGenericServices) {
5852         output.WriteRawTag(128, 1);
5853         output.WriteBool(CcGenericServices);
5854       }
5855       if (HasJavaGenericServices) {
5856         output.WriteRawTag(136, 1);
5857         output.WriteBool(JavaGenericServices);
5858       }
5859       if (HasPyGenericServices) {
5860         output.WriteRawTag(144, 1);
5861         output.WriteBool(PyGenericServices);
5862       }
5863       if (HasJavaGenerateEqualsAndHash) {
5864         output.WriteRawTag(160, 1);
5865         output.WriteBool(JavaGenerateEqualsAndHash);
5866       }
5867       if (HasDeprecated) {
5868         output.WriteRawTag(184, 1);
5869         output.WriteBool(Deprecated);
5870       }
5871       if (HasJavaStringCheckUtf8) {
5872         output.WriteRawTag(216, 1);
5873         output.WriteBool(JavaStringCheckUtf8);
5874       }
5875       if (HasCcEnableArenas) {
5876         output.WriteRawTag(248, 1);
5877         output.WriteBool(CcEnableArenas);
5878       }
5879       if (HasObjcClassPrefix) {
5880         output.WriteRawTag(162, 2);
5881         output.WriteString(ObjcClassPrefix);
5882       }
5883       if (HasCsharpNamespace) {
5884         output.WriteRawTag(170, 2);
5885         output.WriteString(CsharpNamespace);
5886       }
5887       if (HasSwiftPrefix) {
5888         output.WriteRawTag(186, 2);
5889         output.WriteString(SwiftPrefix);
5890       }
5891       if (HasPhpClassPrefix) {
5892         output.WriteRawTag(194, 2);
5893         output.WriteString(PhpClassPrefix);
5894       }
5895       if (HasPhpNamespace) {
5896         output.WriteRawTag(202, 2);
5897         output.WriteString(PhpNamespace);
5898       }
5899       if (HasPhpGenericServices) {
5900         output.WriteRawTag(208, 2);
5901         output.WriteBool(PhpGenericServices);
5902       }
5903       if (HasPhpMetadataNamespace) {
5904         output.WriteRawTag(226, 2);
5905         output.WriteString(PhpMetadataNamespace);
5906       }
5907       if (HasRubyPackage) {
5908         output.WriteRawTag(234, 2);
5909         output.WriteString(RubyPackage);
5910       }
5911       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
5912       if (_extensions != null) {
5913         _extensions.WriteTo(output);
5914       }
5915       if (_unknownFields != null) {
5916         _unknownFields.WriteTo(output);
5917       }
5918     #endif
5919     }
5920 
5921     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
5922     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5923     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)5924     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
5925       if (HasJavaPackage) {
5926         output.WriteRawTag(10);
5927         output.WriteString(JavaPackage);
5928       }
5929       if (HasJavaOuterClassname) {
5930         output.WriteRawTag(66);
5931         output.WriteString(JavaOuterClassname);
5932       }
5933       if (HasOptimizeFor) {
5934         output.WriteRawTag(72);
5935         output.WriteEnum((int) OptimizeFor);
5936       }
5937       if (HasJavaMultipleFiles) {
5938         output.WriteRawTag(80);
5939         output.WriteBool(JavaMultipleFiles);
5940       }
5941       if (HasGoPackage) {
5942         output.WriteRawTag(90);
5943         output.WriteString(GoPackage);
5944       }
5945       if (HasCcGenericServices) {
5946         output.WriteRawTag(128, 1);
5947         output.WriteBool(CcGenericServices);
5948       }
5949       if (HasJavaGenericServices) {
5950         output.WriteRawTag(136, 1);
5951         output.WriteBool(JavaGenericServices);
5952       }
5953       if (HasPyGenericServices) {
5954         output.WriteRawTag(144, 1);
5955         output.WriteBool(PyGenericServices);
5956       }
5957       if (HasJavaGenerateEqualsAndHash) {
5958         output.WriteRawTag(160, 1);
5959         output.WriteBool(JavaGenerateEqualsAndHash);
5960       }
5961       if (HasDeprecated) {
5962         output.WriteRawTag(184, 1);
5963         output.WriteBool(Deprecated);
5964       }
5965       if (HasJavaStringCheckUtf8) {
5966         output.WriteRawTag(216, 1);
5967         output.WriteBool(JavaStringCheckUtf8);
5968       }
5969       if (HasCcEnableArenas) {
5970         output.WriteRawTag(248, 1);
5971         output.WriteBool(CcEnableArenas);
5972       }
5973       if (HasObjcClassPrefix) {
5974         output.WriteRawTag(162, 2);
5975         output.WriteString(ObjcClassPrefix);
5976       }
5977       if (HasCsharpNamespace) {
5978         output.WriteRawTag(170, 2);
5979         output.WriteString(CsharpNamespace);
5980       }
5981       if (HasSwiftPrefix) {
5982         output.WriteRawTag(186, 2);
5983         output.WriteString(SwiftPrefix);
5984       }
5985       if (HasPhpClassPrefix) {
5986         output.WriteRawTag(194, 2);
5987         output.WriteString(PhpClassPrefix);
5988       }
5989       if (HasPhpNamespace) {
5990         output.WriteRawTag(202, 2);
5991         output.WriteString(PhpNamespace);
5992       }
5993       if (HasPhpGenericServices) {
5994         output.WriteRawTag(208, 2);
5995         output.WriteBool(PhpGenericServices);
5996       }
5997       if (HasPhpMetadataNamespace) {
5998         output.WriteRawTag(226, 2);
5999         output.WriteString(PhpMetadataNamespace);
6000       }
6001       if (HasRubyPackage) {
6002         output.WriteRawTag(234, 2);
6003         output.WriteString(RubyPackage);
6004       }
6005       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
6006       if (_extensions != null) {
6007         _extensions.WriteTo(ref output);
6008       }
6009       if (_unknownFields != null) {
6010         _unknownFields.WriteTo(ref output);
6011       }
6012     }
6013     #endif
6014 
6015     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6016     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()6017     public int CalculateSize() {
6018       int size = 0;
6019       if (HasJavaPackage) {
6020         size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaPackage);
6021       }
6022       if (HasJavaOuterClassname) {
6023         size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaOuterClassname);
6024       }
6025       if (HasJavaMultipleFiles) {
6026         size += 1 + 1;
6027       }
6028       if (HasJavaGenerateEqualsAndHash) {
6029         size += 2 + 1;
6030       }
6031       if (HasJavaStringCheckUtf8) {
6032         size += 2 + 1;
6033       }
6034       if (HasOptimizeFor) {
6035         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) OptimizeFor);
6036       }
6037       if (HasGoPackage) {
6038         size += 1 + pb::CodedOutputStream.ComputeStringSize(GoPackage);
6039       }
6040       if (HasCcGenericServices) {
6041         size += 2 + 1;
6042       }
6043       if (HasJavaGenericServices) {
6044         size += 2 + 1;
6045       }
6046       if (HasPyGenericServices) {
6047         size += 2 + 1;
6048       }
6049       if (HasPhpGenericServices) {
6050         size += 2 + 1;
6051       }
6052       if (HasDeprecated) {
6053         size += 2 + 1;
6054       }
6055       if (HasCcEnableArenas) {
6056         size += 2 + 1;
6057       }
6058       if (HasObjcClassPrefix) {
6059         size += 2 + pb::CodedOutputStream.ComputeStringSize(ObjcClassPrefix);
6060       }
6061       if (HasCsharpNamespace) {
6062         size += 2 + pb::CodedOutputStream.ComputeStringSize(CsharpNamespace);
6063       }
6064       if (HasSwiftPrefix) {
6065         size += 2 + pb::CodedOutputStream.ComputeStringSize(SwiftPrefix);
6066       }
6067       if (HasPhpClassPrefix) {
6068         size += 2 + pb::CodedOutputStream.ComputeStringSize(PhpClassPrefix);
6069       }
6070       if (HasPhpNamespace) {
6071         size += 2 + pb::CodedOutputStream.ComputeStringSize(PhpNamespace);
6072       }
6073       if (HasPhpMetadataNamespace) {
6074         size += 2 + pb::CodedOutputStream.ComputeStringSize(PhpMetadataNamespace);
6075       }
6076       if (HasRubyPackage) {
6077         size += 2 + pb::CodedOutputStream.ComputeStringSize(RubyPackage);
6078       }
6079       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
6080       if (_extensions != null) {
6081         size += _extensions.CalculateSize();
6082       }
6083       if (_unknownFields != null) {
6084         size += _unknownFields.CalculateSize();
6085       }
6086       return size;
6087     }
6088 
6089     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6090     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(FileOptions other)6091     public void MergeFrom(FileOptions other) {
6092       if (other == null) {
6093         return;
6094       }
6095       if (other.HasJavaPackage) {
6096         JavaPackage = other.JavaPackage;
6097       }
6098       if (other.HasJavaOuterClassname) {
6099         JavaOuterClassname = other.JavaOuterClassname;
6100       }
6101       if (other.HasJavaMultipleFiles) {
6102         JavaMultipleFiles = other.JavaMultipleFiles;
6103       }
6104       if (other.HasJavaGenerateEqualsAndHash) {
6105         JavaGenerateEqualsAndHash = other.JavaGenerateEqualsAndHash;
6106       }
6107       if (other.HasJavaStringCheckUtf8) {
6108         JavaStringCheckUtf8 = other.JavaStringCheckUtf8;
6109       }
6110       if (other.HasOptimizeFor) {
6111         OptimizeFor = other.OptimizeFor;
6112       }
6113       if (other.HasGoPackage) {
6114         GoPackage = other.GoPackage;
6115       }
6116       if (other.HasCcGenericServices) {
6117         CcGenericServices = other.CcGenericServices;
6118       }
6119       if (other.HasJavaGenericServices) {
6120         JavaGenericServices = other.JavaGenericServices;
6121       }
6122       if (other.HasPyGenericServices) {
6123         PyGenericServices = other.PyGenericServices;
6124       }
6125       if (other.HasPhpGenericServices) {
6126         PhpGenericServices = other.PhpGenericServices;
6127       }
6128       if (other.HasDeprecated) {
6129         Deprecated = other.Deprecated;
6130       }
6131       if (other.HasCcEnableArenas) {
6132         CcEnableArenas = other.CcEnableArenas;
6133       }
6134       if (other.HasObjcClassPrefix) {
6135         ObjcClassPrefix = other.ObjcClassPrefix;
6136       }
6137       if (other.HasCsharpNamespace) {
6138         CsharpNamespace = other.CsharpNamespace;
6139       }
6140       if (other.HasSwiftPrefix) {
6141         SwiftPrefix = other.SwiftPrefix;
6142       }
6143       if (other.HasPhpClassPrefix) {
6144         PhpClassPrefix = other.PhpClassPrefix;
6145       }
6146       if (other.HasPhpNamespace) {
6147         PhpNamespace = other.PhpNamespace;
6148       }
6149       if (other.HasPhpMetadataNamespace) {
6150         PhpMetadataNamespace = other.PhpMetadataNamespace;
6151       }
6152       if (other.HasRubyPackage) {
6153         RubyPackage = other.RubyPackage;
6154       }
6155       uninterpretedOption_.Add(other.uninterpretedOption_);
6156       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
6157       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6158     }
6159 
6160     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6161     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)6162     public void MergeFrom(pb::CodedInputStream input) {
6163     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6164       input.ReadRawMessage(this);
6165     #else
6166       uint tag;
6167       while ((tag = input.ReadTag()) != 0) {
6168         switch(tag) {
6169           default:
6170             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
6171               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6172             }
6173             break;
6174           case 10: {
6175             JavaPackage = input.ReadString();
6176             break;
6177           }
6178           case 66: {
6179             JavaOuterClassname = input.ReadString();
6180             break;
6181           }
6182           case 72: {
6183             OptimizeFor = (global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) input.ReadEnum();
6184             break;
6185           }
6186           case 80: {
6187             JavaMultipleFiles = input.ReadBool();
6188             break;
6189           }
6190           case 90: {
6191             GoPackage = input.ReadString();
6192             break;
6193           }
6194           case 128: {
6195             CcGenericServices = input.ReadBool();
6196             break;
6197           }
6198           case 136: {
6199             JavaGenericServices = input.ReadBool();
6200             break;
6201           }
6202           case 144: {
6203             PyGenericServices = input.ReadBool();
6204             break;
6205           }
6206           case 160: {
6207             JavaGenerateEqualsAndHash = input.ReadBool();
6208             break;
6209           }
6210           case 184: {
6211             Deprecated = input.ReadBool();
6212             break;
6213           }
6214           case 216: {
6215             JavaStringCheckUtf8 = input.ReadBool();
6216             break;
6217           }
6218           case 248: {
6219             CcEnableArenas = input.ReadBool();
6220             break;
6221           }
6222           case 290: {
6223             ObjcClassPrefix = input.ReadString();
6224             break;
6225           }
6226           case 298: {
6227             CsharpNamespace = input.ReadString();
6228             break;
6229           }
6230           case 314: {
6231             SwiftPrefix = input.ReadString();
6232             break;
6233           }
6234           case 322: {
6235             PhpClassPrefix = input.ReadString();
6236             break;
6237           }
6238           case 330: {
6239             PhpNamespace = input.ReadString();
6240             break;
6241           }
6242           case 336: {
6243             PhpGenericServices = input.ReadBool();
6244             break;
6245           }
6246           case 354: {
6247             PhpMetadataNamespace = input.ReadString();
6248             break;
6249           }
6250           case 362: {
6251             RubyPackage = input.ReadString();
6252             break;
6253           }
6254           case 7994: {
6255             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
6256             break;
6257           }
6258         }
6259       }
6260     #endif
6261     }
6262 
6263     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6264     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6265     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)6266     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6267       uint tag;
6268       while ((tag = input.ReadTag()) != 0) {
6269         switch(tag) {
6270           default:
6271             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
6272               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6273             }
6274             break;
6275           case 10: {
6276             JavaPackage = input.ReadString();
6277             break;
6278           }
6279           case 66: {
6280             JavaOuterClassname = input.ReadString();
6281             break;
6282           }
6283           case 72: {
6284             OptimizeFor = (global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) input.ReadEnum();
6285             break;
6286           }
6287           case 80: {
6288             JavaMultipleFiles = input.ReadBool();
6289             break;
6290           }
6291           case 90: {
6292             GoPackage = input.ReadString();
6293             break;
6294           }
6295           case 128: {
6296             CcGenericServices = input.ReadBool();
6297             break;
6298           }
6299           case 136: {
6300             JavaGenericServices = input.ReadBool();
6301             break;
6302           }
6303           case 144: {
6304             PyGenericServices = input.ReadBool();
6305             break;
6306           }
6307           case 160: {
6308             JavaGenerateEqualsAndHash = input.ReadBool();
6309             break;
6310           }
6311           case 184: {
6312             Deprecated = input.ReadBool();
6313             break;
6314           }
6315           case 216: {
6316             JavaStringCheckUtf8 = input.ReadBool();
6317             break;
6318           }
6319           case 248: {
6320             CcEnableArenas = input.ReadBool();
6321             break;
6322           }
6323           case 290: {
6324             ObjcClassPrefix = input.ReadString();
6325             break;
6326           }
6327           case 298: {
6328             CsharpNamespace = input.ReadString();
6329             break;
6330           }
6331           case 314: {
6332             SwiftPrefix = input.ReadString();
6333             break;
6334           }
6335           case 322: {
6336             PhpClassPrefix = input.ReadString();
6337             break;
6338           }
6339           case 330: {
6340             PhpNamespace = input.ReadString();
6341             break;
6342           }
6343           case 336: {
6344             PhpGenericServices = input.ReadBool();
6345             break;
6346           }
6347           case 354: {
6348             PhpMetadataNamespace = input.ReadString();
6349             break;
6350           }
6351           case 362: {
6352             RubyPackage = input.ReadString();
6353             break;
6354           }
6355           case 7994: {
6356             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
6357             break;
6358           }
6359         }
6360       }
6361     }
6362     #endif
6363 
GetExtension(pb::Extension<FileOptions, TValue> extension)6364     public TValue GetExtension<TValue>(pb::Extension<FileOptions, TValue> extension) {
6365       return pb::ExtensionSet.Get(ref _extensions, extension);
6366     }
GetExtension(pb::RepeatedExtension<FileOptions, TValue> extension)6367     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<FileOptions, TValue> extension) {
6368       return pb::ExtensionSet.Get(ref _extensions, extension);
6369     }
GetOrInitializeExtension(pb::RepeatedExtension<FileOptions, TValue> extension)6370     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FileOptions, TValue> extension) {
6371       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
6372     }
SetExtension(pb::Extension<FileOptions, TValue> extension, TValue value)6373     public void SetExtension<TValue>(pb::Extension<FileOptions, TValue> extension, TValue value) {
6374       pb::ExtensionSet.Set(ref _extensions, extension, value);
6375     }
HasExtension(pb::Extension<FileOptions, TValue> extension)6376     public bool HasExtension<TValue>(pb::Extension<FileOptions, TValue> extension) {
6377       return pb::ExtensionSet.Has(ref _extensions, extension);
6378     }
ClearExtension(pb::Extension<FileOptions, TValue> extension)6379     public void ClearExtension<TValue>(pb::Extension<FileOptions, TValue> extension) {
6380       pb::ExtensionSet.Clear(ref _extensions, extension);
6381     }
ClearExtension(pb::RepeatedExtension<FileOptions, TValue> extension)6382     public void ClearExtension<TValue>(pb::RepeatedExtension<FileOptions, TValue> extension) {
6383       pb::ExtensionSet.Clear(ref _extensions, extension);
6384     }
6385 
6386     #region Nested types
6387     /// <summary>Container for nested types declared in the FileOptions message type.</summary>
6388     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6389     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6390     public static partial class Types {
6391       /// <summary>
6392       /// Generated classes can be optimized for speed or code size.
6393       /// </summary>
6394       public enum OptimizeMode {
6395         /// <summary>
6396         /// Generate complete code for parsing, serialization,
6397         /// </summary>
6398         [pbr::OriginalName("SPEED")] Speed = 1,
6399         /// <summary>
6400         /// etc.
6401         /// </summary>
6402         [pbr::OriginalName("CODE_SIZE")] CodeSize = 2,
6403         /// <summary>
6404         /// Generate code using MessageLite and the lite runtime.
6405         /// </summary>
6406         [pbr::OriginalName("LITE_RUNTIME")] LiteRuntime = 3,
6407       }
6408 
6409     }
6410     #endregion
6411 
6412   }
6413 
6414   public sealed partial class MessageOptions : pb::IExtendableMessage<MessageOptions>
6415   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6416       , pb::IBufferMessage
6417   #endif
6418   {
6419     private static readonly pb::MessageParser<MessageOptions> _parser = new pb::MessageParser<MessageOptions>(() => new MessageOptions());
6420     private pb::UnknownFieldSet _unknownFields;
6421     internal pb::ExtensionSet<MessageOptions> _extensions;
6422     private pb::ExtensionSet<MessageOptions> _Extensions { get { return _extensions; } }
6423     private int _hasBits0;
6424     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6425     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6426     public static pb::MessageParser<MessageOptions> Parser { get { return _parser; } }
6427 
6428     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6429     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6430     public static pbr::MessageDescriptor Descriptor {
6431       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[11]; }
6432     }
6433 
6434     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6435     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6436     pbr::MessageDescriptor pb::IMessage.Descriptor {
6437       get { return Descriptor; }
6438     }
6439 
6440     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6441     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MessageOptions()6442     public MessageOptions() {
6443       OnConstruction();
6444     }
6445 
OnConstruction()6446     partial void OnConstruction();
6447 
6448     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6449     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MessageOptions(MessageOptions other)6450     public MessageOptions(MessageOptions other) : this() {
6451       _hasBits0 = other._hasBits0;
6452       messageSetWireFormat_ = other.messageSetWireFormat_;
6453       noStandardDescriptorAccessor_ = other.noStandardDescriptorAccessor_;
6454       deprecated_ = other.deprecated_;
6455       mapEntry_ = other.mapEntry_;
6456       uninterpretedOption_ = other.uninterpretedOption_.Clone();
6457       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6458       _extensions = pb::ExtensionSet.Clone(other._extensions);
6459     }
6460 
6461     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6462     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()6463     public MessageOptions Clone() {
6464       return new MessageOptions(this);
6465     }
6466 
6467     /// <summary>Field number for the "message_set_wire_format" field.</summary>
6468     public const int MessageSetWireFormatFieldNumber = 1;
6469     private readonly static bool MessageSetWireFormatDefaultValue = false;
6470 
6471     private bool messageSetWireFormat_;
6472     /// <summary>
6473     /// Set true to use the old proto1 MessageSet wire format for extensions.
6474     /// This is provided for backwards-compatibility with the MessageSet wire
6475     /// format.  You should not use this for any other reason:  It's less
6476     /// efficient, has fewer features, and is more complicated.
6477     ///
6478     /// The message must be defined exactly as follows:
6479     ///   message Foo {
6480     ///     option message_set_wire_format = true;
6481     ///     extensions 4 to max;
6482     ///   }
6483     /// Note that the message cannot have any defined fields; MessageSets only
6484     /// have extensions.
6485     ///
6486     /// All extensions of your type must be singular messages; e.g. they cannot
6487     /// be int32s, enums, or repeated messages.
6488     ///
6489     /// Because this is an option, the above two restrictions are not enforced by
6490     /// the protocol compiler.
6491     /// </summary>
6492     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6493     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6494     public bool MessageSetWireFormat {
6495       get { if ((_hasBits0 & 1) != 0) { return messageSetWireFormat_; } else { return MessageSetWireFormatDefaultValue; } }
6496       set {
6497         _hasBits0 |= 1;
6498         messageSetWireFormat_ = value;
6499       }
6500     }
6501     /// <summary>Gets whether the "message_set_wire_format" field is set</summary>
6502     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6503     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6504     public bool HasMessageSetWireFormat {
6505       get { return (_hasBits0 & 1) != 0; }
6506     }
6507     /// <summary>Clears the value of the "message_set_wire_format" field</summary>
6508     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6509     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearMessageSetWireFormat()6510     public void ClearMessageSetWireFormat() {
6511       _hasBits0 &= ~1;
6512     }
6513 
6514     /// <summary>Field number for the "no_standard_descriptor_accessor" field.</summary>
6515     public const int NoStandardDescriptorAccessorFieldNumber = 2;
6516     private readonly static bool NoStandardDescriptorAccessorDefaultValue = false;
6517 
6518     private bool noStandardDescriptorAccessor_;
6519     /// <summary>
6520     /// Disables the generation of the standard "descriptor()" accessor, which can
6521     /// conflict with a field of the same name.  This is meant to make migration
6522     /// from proto1 easier; new code should avoid fields named "descriptor".
6523     /// </summary>
6524     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6525     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6526     public bool NoStandardDescriptorAccessor {
6527       get { if ((_hasBits0 & 2) != 0) { return noStandardDescriptorAccessor_; } else { return NoStandardDescriptorAccessorDefaultValue; } }
6528       set {
6529         _hasBits0 |= 2;
6530         noStandardDescriptorAccessor_ = value;
6531       }
6532     }
6533     /// <summary>Gets whether the "no_standard_descriptor_accessor" field is set</summary>
6534     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6535     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6536     public bool HasNoStandardDescriptorAccessor {
6537       get { return (_hasBits0 & 2) != 0; }
6538     }
6539     /// <summary>Clears the value of the "no_standard_descriptor_accessor" field</summary>
6540     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6541     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearNoStandardDescriptorAccessor()6542     public void ClearNoStandardDescriptorAccessor() {
6543       _hasBits0 &= ~2;
6544     }
6545 
6546     /// <summary>Field number for the "deprecated" field.</summary>
6547     public const int DeprecatedFieldNumber = 3;
6548     private readonly static bool DeprecatedDefaultValue = false;
6549 
6550     private bool deprecated_;
6551     /// <summary>
6552     /// Is this message deprecated?
6553     /// Depending on the target platform, this can emit Deprecated annotations
6554     /// for the message, or it will be completely ignored; in the very least,
6555     /// this is a formalization for deprecating messages.
6556     /// </summary>
6557     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6558     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6559     public bool Deprecated {
6560       get { if ((_hasBits0 & 4) != 0) { return deprecated_; } else { return DeprecatedDefaultValue; } }
6561       set {
6562         _hasBits0 |= 4;
6563         deprecated_ = value;
6564       }
6565     }
6566     /// <summary>Gets whether the "deprecated" field is set</summary>
6567     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6568     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6569     public bool HasDeprecated {
6570       get { return (_hasBits0 & 4) != 0; }
6571     }
6572     /// <summary>Clears the value of the "deprecated" field</summary>
6573     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6574     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDeprecated()6575     public void ClearDeprecated() {
6576       _hasBits0 &= ~4;
6577     }
6578 
6579     /// <summary>Field number for the "map_entry" field.</summary>
6580     public const int MapEntryFieldNumber = 7;
6581     private readonly static bool MapEntryDefaultValue = false;
6582 
6583     private bool mapEntry_;
6584     /// <summary>
6585     /// Whether the message is an automatically generated map entry type for the
6586     /// maps field.
6587     ///
6588     /// For maps fields:
6589     ///     map&lt;KeyType, ValueType> map_field = 1;
6590     /// The parsed descriptor looks like:
6591     ///     message MapFieldEntry {
6592     ///         option map_entry = true;
6593     ///         optional KeyType key = 1;
6594     ///         optional ValueType value = 2;
6595     ///     }
6596     ///     repeated MapFieldEntry map_field = 1;
6597     ///
6598     /// Implementations may choose not to generate the map_entry=true message, but
6599     /// use a native map in the target language to hold the keys and values.
6600     /// The reflection APIs in such implementations still need to work as
6601     /// if the field is a repeated message field.
6602     ///
6603     /// NOTE: Do not set the option in .proto files. Always use the maps syntax
6604     /// instead. The option should only be implicitly set by the proto compiler
6605     /// parser.
6606     /// </summary>
6607     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6608     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6609     public bool MapEntry {
6610       get { if ((_hasBits0 & 8) != 0) { return mapEntry_; } else { return MapEntryDefaultValue; } }
6611       set {
6612         _hasBits0 |= 8;
6613         mapEntry_ = value;
6614       }
6615     }
6616     /// <summary>Gets whether the "map_entry" field is set</summary>
6617     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6618     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6619     public bool HasMapEntry {
6620       get { return (_hasBits0 & 8) != 0; }
6621     }
6622     /// <summary>Clears the value of the "map_entry" field</summary>
6623     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6624     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearMapEntry()6625     public void ClearMapEntry() {
6626       _hasBits0 &= ~8;
6627     }
6628 
6629     /// <summary>Field number for the "uninterpreted_option" field.</summary>
6630     public const int UninterpretedOptionFieldNumber = 999;
6631     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
6632         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
6633     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
6634     /// <summary>
6635     /// The parser stores options it doesn't recognize here. See above.
6636     /// </summary>
6637     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6638     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6639     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
6640       get { return uninterpretedOption_; }
6641     }
6642 
6643     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6644     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)6645     public override bool Equals(object other) {
6646       return Equals(other as MessageOptions);
6647     }
6648 
6649     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6650     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(MessageOptions other)6651     public bool Equals(MessageOptions other) {
6652       if (ReferenceEquals(other, null)) {
6653         return false;
6654       }
6655       if (ReferenceEquals(other, this)) {
6656         return true;
6657       }
6658       if (MessageSetWireFormat != other.MessageSetWireFormat) return false;
6659       if (NoStandardDescriptorAccessor != other.NoStandardDescriptorAccessor) return false;
6660       if (Deprecated != other.Deprecated) return false;
6661       if (MapEntry != other.MapEntry) return false;
6662       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
6663       if (!Equals(_extensions, other._extensions)) {
6664         return false;
6665       }
6666       return Equals(_unknownFields, other._unknownFields);
6667     }
6668 
6669     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6670     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()6671     public override int GetHashCode() {
6672       int hash = 1;
6673       if (HasMessageSetWireFormat) hash ^= MessageSetWireFormat.GetHashCode();
6674       if (HasNoStandardDescriptorAccessor) hash ^= NoStandardDescriptorAccessor.GetHashCode();
6675       if (HasDeprecated) hash ^= Deprecated.GetHashCode();
6676       if (HasMapEntry) hash ^= MapEntry.GetHashCode();
6677       hash ^= uninterpretedOption_.GetHashCode();
6678       if (_extensions != null) {
6679         hash ^= _extensions.GetHashCode();
6680       }
6681       if (_unknownFields != null) {
6682         hash ^= _unknownFields.GetHashCode();
6683       }
6684       return hash;
6685     }
6686 
6687     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6688     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()6689     public override string ToString() {
6690       return pb::JsonFormatter.ToDiagnosticString(this);
6691     }
6692 
6693     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6694     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)6695     public void WriteTo(pb::CodedOutputStream output) {
6696     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6697       output.WriteRawMessage(this);
6698     #else
6699       if (HasMessageSetWireFormat) {
6700         output.WriteRawTag(8);
6701         output.WriteBool(MessageSetWireFormat);
6702       }
6703       if (HasNoStandardDescriptorAccessor) {
6704         output.WriteRawTag(16);
6705         output.WriteBool(NoStandardDescriptorAccessor);
6706       }
6707       if (HasDeprecated) {
6708         output.WriteRawTag(24);
6709         output.WriteBool(Deprecated);
6710       }
6711       if (HasMapEntry) {
6712         output.WriteRawTag(56);
6713         output.WriteBool(MapEntry);
6714       }
6715       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
6716       if (_extensions != null) {
6717         _extensions.WriteTo(output);
6718       }
6719       if (_unknownFields != null) {
6720         _unknownFields.WriteTo(output);
6721       }
6722     #endif
6723     }
6724 
6725     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6726     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6727     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)6728     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
6729       if (HasMessageSetWireFormat) {
6730         output.WriteRawTag(8);
6731         output.WriteBool(MessageSetWireFormat);
6732       }
6733       if (HasNoStandardDescriptorAccessor) {
6734         output.WriteRawTag(16);
6735         output.WriteBool(NoStandardDescriptorAccessor);
6736       }
6737       if (HasDeprecated) {
6738         output.WriteRawTag(24);
6739         output.WriteBool(Deprecated);
6740       }
6741       if (HasMapEntry) {
6742         output.WriteRawTag(56);
6743         output.WriteBool(MapEntry);
6744       }
6745       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
6746       if (_extensions != null) {
6747         _extensions.WriteTo(ref output);
6748       }
6749       if (_unknownFields != null) {
6750         _unknownFields.WriteTo(ref output);
6751       }
6752     }
6753     #endif
6754 
6755     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6756     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()6757     public int CalculateSize() {
6758       int size = 0;
6759       if (HasMessageSetWireFormat) {
6760         size += 1 + 1;
6761       }
6762       if (HasNoStandardDescriptorAccessor) {
6763         size += 1 + 1;
6764       }
6765       if (HasDeprecated) {
6766         size += 1 + 1;
6767       }
6768       if (HasMapEntry) {
6769         size += 1 + 1;
6770       }
6771       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
6772       if (_extensions != null) {
6773         size += _extensions.CalculateSize();
6774       }
6775       if (_unknownFields != null) {
6776         size += _unknownFields.CalculateSize();
6777       }
6778       return size;
6779     }
6780 
6781     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6782     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(MessageOptions other)6783     public void MergeFrom(MessageOptions other) {
6784       if (other == null) {
6785         return;
6786       }
6787       if (other.HasMessageSetWireFormat) {
6788         MessageSetWireFormat = other.MessageSetWireFormat;
6789       }
6790       if (other.HasNoStandardDescriptorAccessor) {
6791         NoStandardDescriptorAccessor = other.NoStandardDescriptorAccessor;
6792       }
6793       if (other.HasDeprecated) {
6794         Deprecated = other.Deprecated;
6795       }
6796       if (other.HasMapEntry) {
6797         MapEntry = other.MapEntry;
6798       }
6799       uninterpretedOption_.Add(other.uninterpretedOption_);
6800       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
6801       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
6802     }
6803 
6804     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6805     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)6806     public void MergeFrom(pb::CodedInputStream input) {
6807     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6808       input.ReadRawMessage(this);
6809     #else
6810       uint tag;
6811       while ((tag = input.ReadTag()) != 0) {
6812         switch(tag) {
6813           default:
6814             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
6815               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
6816             }
6817             break;
6818           case 8: {
6819             MessageSetWireFormat = input.ReadBool();
6820             break;
6821           }
6822           case 16: {
6823             NoStandardDescriptorAccessor = input.ReadBool();
6824             break;
6825           }
6826           case 24: {
6827             Deprecated = input.ReadBool();
6828             break;
6829           }
6830           case 56: {
6831             MapEntry = input.ReadBool();
6832             break;
6833           }
6834           case 7994: {
6835             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
6836             break;
6837           }
6838         }
6839       }
6840     #endif
6841     }
6842 
6843     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6844     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6845     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)6846     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
6847       uint tag;
6848       while ((tag = input.ReadTag()) != 0) {
6849         switch(tag) {
6850           default:
6851             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
6852               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
6853             }
6854             break;
6855           case 8: {
6856             MessageSetWireFormat = input.ReadBool();
6857             break;
6858           }
6859           case 16: {
6860             NoStandardDescriptorAccessor = input.ReadBool();
6861             break;
6862           }
6863           case 24: {
6864             Deprecated = input.ReadBool();
6865             break;
6866           }
6867           case 56: {
6868             MapEntry = input.ReadBool();
6869             break;
6870           }
6871           case 7994: {
6872             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
6873             break;
6874           }
6875         }
6876       }
6877     }
6878     #endif
6879 
GetExtension(pb::Extension<MessageOptions, TValue> extension)6880     public TValue GetExtension<TValue>(pb::Extension<MessageOptions, TValue> extension) {
6881       return pb::ExtensionSet.Get(ref _extensions, extension);
6882     }
GetExtension(pb::RepeatedExtension<MessageOptions, TValue> extension)6883     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<MessageOptions, TValue> extension) {
6884       return pb::ExtensionSet.Get(ref _extensions, extension);
6885     }
GetOrInitializeExtension(pb::RepeatedExtension<MessageOptions, TValue> extension)6886     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MessageOptions, TValue> extension) {
6887       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
6888     }
SetExtension(pb::Extension<MessageOptions, TValue> extension, TValue value)6889     public void SetExtension<TValue>(pb::Extension<MessageOptions, TValue> extension, TValue value) {
6890       pb::ExtensionSet.Set(ref _extensions, extension, value);
6891     }
HasExtension(pb::Extension<MessageOptions, TValue> extension)6892     public bool HasExtension<TValue>(pb::Extension<MessageOptions, TValue> extension) {
6893       return pb::ExtensionSet.Has(ref _extensions, extension);
6894     }
ClearExtension(pb::Extension<MessageOptions, TValue> extension)6895     public void ClearExtension<TValue>(pb::Extension<MessageOptions, TValue> extension) {
6896       pb::ExtensionSet.Clear(ref _extensions, extension);
6897     }
ClearExtension(pb::RepeatedExtension<MessageOptions, TValue> extension)6898     public void ClearExtension<TValue>(pb::RepeatedExtension<MessageOptions, TValue> extension) {
6899       pb::ExtensionSet.Clear(ref _extensions, extension);
6900     }
6901 
6902   }
6903 
6904   public sealed partial class FieldOptions : pb::IExtendableMessage<FieldOptions>
6905   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
6906       , pb::IBufferMessage
6907   #endif
6908   {
6909     private static readonly pb::MessageParser<FieldOptions> _parser = new pb::MessageParser<FieldOptions>(() => new FieldOptions());
6910     private pb::UnknownFieldSet _unknownFields;
6911     internal pb::ExtensionSet<FieldOptions> _extensions;
6912     private pb::ExtensionSet<FieldOptions> _Extensions { get { return _extensions; } }
6913     private int _hasBits0;
6914     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6915     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6916     public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } }
6917 
6918     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6919     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6920     public static pbr::MessageDescriptor Descriptor {
6921       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[12]; }
6922     }
6923 
6924     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6925     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6926     pbr::MessageDescriptor pb::IMessage.Descriptor {
6927       get { return Descriptor; }
6928     }
6929 
6930     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6931     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FieldOptions()6932     public FieldOptions() {
6933       OnConstruction();
6934     }
6935 
OnConstruction()6936     partial void OnConstruction();
6937 
6938     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6939     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
FieldOptions(FieldOptions other)6940     public FieldOptions(FieldOptions other) : this() {
6941       _hasBits0 = other._hasBits0;
6942       ctype_ = other.ctype_;
6943       packed_ = other.packed_;
6944       jstype_ = other.jstype_;
6945       lazy_ = other.lazy_;
6946       unverifiedLazy_ = other.unverifiedLazy_;
6947       deprecated_ = other.deprecated_;
6948       weak_ = other.weak_;
6949       uninterpretedOption_ = other.uninterpretedOption_.Clone();
6950       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
6951       _extensions = pb::ExtensionSet.Clone(other._extensions);
6952     }
6953 
6954     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6955     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()6956     public FieldOptions Clone() {
6957       return new FieldOptions(this);
6958     }
6959 
6960     /// <summary>Field number for the "ctype" field.</summary>
6961     public const int CtypeFieldNumber = 1;
6962     private readonly static global::Google.Protobuf.Reflection.FieldOptions.Types.CType CtypeDefaultValue = global::Google.Protobuf.Reflection.FieldOptions.Types.CType.String;
6963 
6964     private global::Google.Protobuf.Reflection.FieldOptions.Types.CType ctype_;
6965     /// <summary>
6966     /// The ctype option instructs the C++ code generator to use a different
6967     /// representation of the field than it normally would.  See the specific
6968     /// options below.  This option is not yet implemented in the open source
6969     /// release -- sorry, we'll try to include it in a future version!
6970     /// </summary>
6971     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6972     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6973     public global::Google.Protobuf.Reflection.FieldOptions.Types.CType Ctype {
6974       get { if ((_hasBits0 & 1) != 0) { return ctype_; } else { return CtypeDefaultValue; } }
6975       set {
6976         _hasBits0 |= 1;
6977         ctype_ = value;
6978       }
6979     }
6980     /// <summary>Gets whether the "ctype" field is set</summary>
6981     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6982     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
6983     public bool HasCtype {
6984       get { return (_hasBits0 & 1) != 0; }
6985     }
6986     /// <summary>Clears the value of the "ctype" field</summary>
6987     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
6988     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearCtype()6989     public void ClearCtype() {
6990       _hasBits0 &= ~1;
6991     }
6992 
6993     /// <summary>Field number for the "packed" field.</summary>
6994     public const int PackedFieldNumber = 2;
6995     private readonly static bool PackedDefaultValue = false;
6996 
6997     private bool packed_;
6998     /// <summary>
6999     /// The packed option can be enabled for repeated primitive fields to enable
7000     /// a more efficient representation on the wire. Rather than repeatedly
7001     /// writing the tag and type for each element, the entire array is encoded as
7002     /// a single length-delimited blob. In proto3, only explicit setting it to
7003     /// false will avoid using packed encoding.
7004     /// </summary>
7005     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7006     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7007     public bool Packed {
7008       get { if ((_hasBits0 & 2) != 0) { return packed_; } else { return PackedDefaultValue; } }
7009       set {
7010         _hasBits0 |= 2;
7011         packed_ = value;
7012       }
7013     }
7014     /// <summary>Gets whether the "packed" field is set</summary>
7015     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7016     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7017     public bool HasPacked {
7018       get { return (_hasBits0 & 2) != 0; }
7019     }
7020     /// <summary>Clears the value of the "packed" field</summary>
7021     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7022     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPacked()7023     public void ClearPacked() {
7024       _hasBits0 &= ~2;
7025     }
7026 
7027     /// <summary>Field number for the "jstype" field.</summary>
7028     public const int JstypeFieldNumber = 6;
7029     private readonly static global::Google.Protobuf.Reflection.FieldOptions.Types.JSType JstypeDefaultValue = global::Google.Protobuf.Reflection.FieldOptions.Types.JSType.JsNormal;
7030 
7031     private global::Google.Protobuf.Reflection.FieldOptions.Types.JSType jstype_;
7032     /// <summary>
7033     /// The jstype option determines the JavaScript type used for values of the
7034     /// field.  The option is permitted only for 64 bit integral and fixed types
7035     /// (int64, uint64, sint64, fixed64, sfixed64).  A field with jstype JS_STRING
7036     /// is represented as JavaScript string, which avoids loss of precision that
7037     /// can happen when a large value is converted to a floating point JavaScript.
7038     /// Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
7039     /// use the JavaScript "number" type.  The behavior of the default option
7040     /// JS_NORMAL is implementation dependent.
7041     ///
7042     /// This option is an enum to permit additional types to be added, e.g.
7043     /// goog.math.Integer.
7044     /// </summary>
7045     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7046     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7047     public global::Google.Protobuf.Reflection.FieldOptions.Types.JSType Jstype {
7048       get { if ((_hasBits0 & 16) != 0) { return jstype_; } else { return JstypeDefaultValue; } }
7049       set {
7050         _hasBits0 |= 16;
7051         jstype_ = value;
7052       }
7053     }
7054     /// <summary>Gets whether the "jstype" field is set</summary>
7055     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7056     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7057     public bool HasJstype {
7058       get { return (_hasBits0 & 16) != 0; }
7059     }
7060     /// <summary>Clears the value of the "jstype" field</summary>
7061     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7062     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearJstype()7063     public void ClearJstype() {
7064       _hasBits0 &= ~16;
7065     }
7066 
7067     /// <summary>Field number for the "lazy" field.</summary>
7068     public const int LazyFieldNumber = 5;
7069     private readonly static bool LazyDefaultValue = false;
7070 
7071     private bool lazy_;
7072     /// <summary>
7073     /// Should this field be parsed lazily?  Lazy applies only to message-type
7074     /// fields.  It means that when the outer message is initially parsed, the
7075     /// inner message's contents will not be parsed but instead stored in encoded
7076     /// form.  The inner message will actually be parsed when it is first accessed.
7077     ///
7078     /// This is only a hint.  Implementations are free to choose whether to use
7079     /// eager or lazy parsing regardless of the value of this option.  However,
7080     /// setting this option true suggests that the protocol author believes that
7081     /// using lazy parsing on this field is worth the additional bookkeeping
7082     /// overhead typically needed to implement it.
7083     ///
7084     /// This option does not affect the public interface of any generated code;
7085     /// all method signatures remain the same.  Furthermore, thread-safety of the
7086     /// interface is not affected by this option; const methods remain safe to
7087     /// call from multiple threads concurrently, while non-const methods continue
7088     /// to require exclusive access.
7089     ///
7090     /// Note that implementations may choose not to check required fields within
7091     /// a lazy sub-message.  That is, calling IsInitialized() on the outer message
7092     /// may return true even if the inner message has missing required fields.
7093     /// This is necessary because otherwise the inner message would have to be
7094     /// parsed in order to perform the check, defeating the purpose of lazy
7095     /// parsing.  An implementation which chooses not to check required fields
7096     /// must be consistent about it.  That is, for any particular sub-message, the
7097     /// implementation must either *always* check its required fields, or *never*
7098     /// check its required fields, regardless of whether or not the message has
7099     /// been parsed.
7100     ///
7101     /// As of 2021, lazy does no correctness checks on the byte stream during
7102     /// parsing.  This may lead to crashes if and when an invalid byte stream is
7103     /// finally parsed upon access.
7104     ///
7105     /// TODO(b/211906113):  Enable validation on lazy fields.
7106     /// </summary>
7107     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7108     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7109     public bool Lazy {
7110       get { if ((_hasBits0 & 8) != 0) { return lazy_; } else { return LazyDefaultValue; } }
7111       set {
7112         _hasBits0 |= 8;
7113         lazy_ = value;
7114       }
7115     }
7116     /// <summary>Gets whether the "lazy" field is set</summary>
7117     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7118     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7119     public bool HasLazy {
7120       get { return (_hasBits0 & 8) != 0; }
7121     }
7122     /// <summary>Clears the value of the "lazy" field</summary>
7123     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7124     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearLazy()7125     public void ClearLazy() {
7126       _hasBits0 &= ~8;
7127     }
7128 
7129     /// <summary>Field number for the "unverified_lazy" field.</summary>
7130     public const int UnverifiedLazyFieldNumber = 15;
7131     private readonly static bool UnverifiedLazyDefaultValue = false;
7132 
7133     private bool unverifiedLazy_;
7134     /// <summary>
7135     /// unverified_lazy does no correctness checks on the byte stream. This should
7136     /// only be used where lazy with verification is prohibitive for performance
7137     /// reasons.
7138     /// </summary>
7139     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7140     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7141     public bool UnverifiedLazy {
7142       get { if ((_hasBits0 & 64) != 0) { return unverifiedLazy_; } else { return UnverifiedLazyDefaultValue; } }
7143       set {
7144         _hasBits0 |= 64;
7145         unverifiedLazy_ = value;
7146       }
7147     }
7148     /// <summary>Gets whether the "unverified_lazy" field is set</summary>
7149     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7150     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7151     public bool HasUnverifiedLazy {
7152       get { return (_hasBits0 & 64) != 0; }
7153     }
7154     /// <summary>Clears the value of the "unverified_lazy" field</summary>
7155     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7156     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearUnverifiedLazy()7157     public void ClearUnverifiedLazy() {
7158       _hasBits0 &= ~64;
7159     }
7160 
7161     /// <summary>Field number for the "deprecated" field.</summary>
7162     public const int DeprecatedFieldNumber = 3;
7163     private readonly static bool DeprecatedDefaultValue = false;
7164 
7165     private bool deprecated_;
7166     /// <summary>
7167     /// Is this field deprecated?
7168     /// Depending on the target platform, this can emit Deprecated annotations
7169     /// for accessors, or it will be completely ignored; in the very least, this
7170     /// is a formalization for deprecating fields.
7171     /// </summary>
7172     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7173     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7174     public bool Deprecated {
7175       get { if ((_hasBits0 & 4) != 0) { return deprecated_; } else { return DeprecatedDefaultValue; } }
7176       set {
7177         _hasBits0 |= 4;
7178         deprecated_ = value;
7179       }
7180     }
7181     /// <summary>Gets whether the "deprecated" field is set</summary>
7182     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7183     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7184     public bool HasDeprecated {
7185       get { return (_hasBits0 & 4) != 0; }
7186     }
7187     /// <summary>Clears the value of the "deprecated" field</summary>
7188     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7189     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDeprecated()7190     public void ClearDeprecated() {
7191       _hasBits0 &= ~4;
7192     }
7193 
7194     /// <summary>Field number for the "weak" field.</summary>
7195     public const int WeakFieldNumber = 10;
7196     private readonly static bool WeakDefaultValue = false;
7197 
7198     private bool weak_;
7199     /// <summary>
7200     /// For Google-internal migration only. Do not use.
7201     /// </summary>
7202     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7203     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7204     public bool Weak {
7205       get { if ((_hasBits0 & 32) != 0) { return weak_; } else { return WeakDefaultValue; } }
7206       set {
7207         _hasBits0 |= 32;
7208         weak_ = value;
7209       }
7210     }
7211     /// <summary>Gets whether the "weak" field is set</summary>
7212     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7213     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7214     public bool HasWeak {
7215       get { return (_hasBits0 & 32) != 0; }
7216     }
7217     /// <summary>Clears the value of the "weak" field</summary>
7218     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7219     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearWeak()7220     public void ClearWeak() {
7221       _hasBits0 &= ~32;
7222     }
7223 
7224     /// <summary>Field number for the "uninterpreted_option" field.</summary>
7225     public const int UninterpretedOptionFieldNumber = 999;
7226     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
7227         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
7228     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
7229     /// <summary>
7230     /// The parser stores options it doesn't recognize here. See above.
7231     /// </summary>
7232     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7233     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7234     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
7235       get { return uninterpretedOption_; }
7236     }
7237 
7238     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7239     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)7240     public override bool Equals(object other) {
7241       return Equals(other as FieldOptions);
7242     }
7243 
7244     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7245     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(FieldOptions other)7246     public bool Equals(FieldOptions other) {
7247       if (ReferenceEquals(other, null)) {
7248         return false;
7249       }
7250       if (ReferenceEquals(other, this)) {
7251         return true;
7252       }
7253       if (Ctype != other.Ctype) return false;
7254       if (Packed != other.Packed) return false;
7255       if (Jstype != other.Jstype) return false;
7256       if (Lazy != other.Lazy) return false;
7257       if (UnverifiedLazy != other.UnverifiedLazy) return false;
7258       if (Deprecated != other.Deprecated) return false;
7259       if (Weak != other.Weak) return false;
7260       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
7261       if (!Equals(_extensions, other._extensions)) {
7262         return false;
7263       }
7264       return Equals(_unknownFields, other._unknownFields);
7265     }
7266 
7267     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7268     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()7269     public override int GetHashCode() {
7270       int hash = 1;
7271       if (HasCtype) hash ^= Ctype.GetHashCode();
7272       if (HasPacked) hash ^= Packed.GetHashCode();
7273       if (HasJstype) hash ^= Jstype.GetHashCode();
7274       if (HasLazy) hash ^= Lazy.GetHashCode();
7275       if (HasUnverifiedLazy) hash ^= UnverifiedLazy.GetHashCode();
7276       if (HasDeprecated) hash ^= Deprecated.GetHashCode();
7277       if (HasWeak) hash ^= Weak.GetHashCode();
7278       hash ^= uninterpretedOption_.GetHashCode();
7279       if (_extensions != null) {
7280         hash ^= _extensions.GetHashCode();
7281       }
7282       if (_unknownFields != null) {
7283         hash ^= _unknownFields.GetHashCode();
7284       }
7285       return hash;
7286     }
7287 
7288     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7289     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()7290     public override string ToString() {
7291       return pb::JsonFormatter.ToDiagnosticString(this);
7292     }
7293 
7294     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7295     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)7296     public void WriteTo(pb::CodedOutputStream output) {
7297     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7298       output.WriteRawMessage(this);
7299     #else
7300       if (HasCtype) {
7301         output.WriteRawTag(8);
7302         output.WriteEnum((int) Ctype);
7303       }
7304       if (HasPacked) {
7305         output.WriteRawTag(16);
7306         output.WriteBool(Packed);
7307       }
7308       if (HasDeprecated) {
7309         output.WriteRawTag(24);
7310         output.WriteBool(Deprecated);
7311       }
7312       if (HasLazy) {
7313         output.WriteRawTag(40);
7314         output.WriteBool(Lazy);
7315       }
7316       if (HasJstype) {
7317         output.WriteRawTag(48);
7318         output.WriteEnum((int) Jstype);
7319       }
7320       if (HasWeak) {
7321         output.WriteRawTag(80);
7322         output.WriteBool(Weak);
7323       }
7324       if (HasUnverifiedLazy) {
7325         output.WriteRawTag(120);
7326         output.WriteBool(UnverifiedLazy);
7327       }
7328       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
7329       if (_extensions != null) {
7330         _extensions.WriteTo(output);
7331       }
7332       if (_unknownFields != null) {
7333         _unknownFields.WriteTo(output);
7334       }
7335     #endif
7336     }
7337 
7338     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7339     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7340     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)7341     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7342       if (HasCtype) {
7343         output.WriteRawTag(8);
7344         output.WriteEnum((int) Ctype);
7345       }
7346       if (HasPacked) {
7347         output.WriteRawTag(16);
7348         output.WriteBool(Packed);
7349       }
7350       if (HasDeprecated) {
7351         output.WriteRawTag(24);
7352         output.WriteBool(Deprecated);
7353       }
7354       if (HasLazy) {
7355         output.WriteRawTag(40);
7356         output.WriteBool(Lazy);
7357       }
7358       if (HasJstype) {
7359         output.WriteRawTag(48);
7360         output.WriteEnum((int) Jstype);
7361       }
7362       if (HasWeak) {
7363         output.WriteRawTag(80);
7364         output.WriteBool(Weak);
7365       }
7366       if (HasUnverifiedLazy) {
7367         output.WriteRawTag(120);
7368         output.WriteBool(UnverifiedLazy);
7369       }
7370       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
7371       if (_extensions != null) {
7372         _extensions.WriteTo(ref output);
7373       }
7374       if (_unknownFields != null) {
7375         _unknownFields.WriteTo(ref output);
7376       }
7377     }
7378     #endif
7379 
7380     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7381     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()7382     public int CalculateSize() {
7383       int size = 0;
7384       if (HasCtype) {
7385         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype);
7386       }
7387       if (HasPacked) {
7388         size += 1 + 1;
7389       }
7390       if (HasJstype) {
7391         size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype);
7392       }
7393       if (HasLazy) {
7394         size += 1 + 1;
7395       }
7396       if (HasUnverifiedLazy) {
7397         size += 1 + 1;
7398       }
7399       if (HasDeprecated) {
7400         size += 1 + 1;
7401       }
7402       if (HasWeak) {
7403         size += 1 + 1;
7404       }
7405       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
7406       if (_extensions != null) {
7407         size += _extensions.CalculateSize();
7408       }
7409       if (_unknownFields != null) {
7410         size += _unknownFields.CalculateSize();
7411       }
7412       return size;
7413     }
7414 
7415     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7416     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(FieldOptions other)7417     public void MergeFrom(FieldOptions other) {
7418       if (other == null) {
7419         return;
7420       }
7421       if (other.HasCtype) {
7422         Ctype = other.Ctype;
7423       }
7424       if (other.HasPacked) {
7425         Packed = other.Packed;
7426       }
7427       if (other.HasJstype) {
7428         Jstype = other.Jstype;
7429       }
7430       if (other.HasLazy) {
7431         Lazy = other.Lazy;
7432       }
7433       if (other.HasUnverifiedLazy) {
7434         UnverifiedLazy = other.UnverifiedLazy;
7435       }
7436       if (other.HasDeprecated) {
7437         Deprecated = other.Deprecated;
7438       }
7439       if (other.HasWeak) {
7440         Weak = other.Weak;
7441       }
7442       uninterpretedOption_.Add(other.uninterpretedOption_);
7443       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
7444       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7445     }
7446 
7447     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7448     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)7449     public void MergeFrom(pb::CodedInputStream input) {
7450     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7451       input.ReadRawMessage(this);
7452     #else
7453       uint tag;
7454       while ((tag = input.ReadTag()) != 0) {
7455         switch(tag) {
7456           default:
7457             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
7458               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7459             }
7460             break;
7461           case 8: {
7462             Ctype = (global::Google.Protobuf.Reflection.FieldOptions.Types.CType) input.ReadEnum();
7463             break;
7464           }
7465           case 16: {
7466             Packed = input.ReadBool();
7467             break;
7468           }
7469           case 24: {
7470             Deprecated = input.ReadBool();
7471             break;
7472           }
7473           case 40: {
7474             Lazy = input.ReadBool();
7475             break;
7476           }
7477           case 48: {
7478             Jstype = (global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) input.ReadEnum();
7479             break;
7480           }
7481           case 80: {
7482             Weak = input.ReadBool();
7483             break;
7484           }
7485           case 120: {
7486             UnverifiedLazy = input.ReadBool();
7487             break;
7488           }
7489           case 7994: {
7490             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
7491             break;
7492           }
7493         }
7494       }
7495     #endif
7496     }
7497 
7498     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7499     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7500     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)7501     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7502       uint tag;
7503       while ((tag = input.ReadTag()) != 0) {
7504         switch(tag) {
7505           default:
7506             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
7507               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7508             }
7509             break;
7510           case 8: {
7511             Ctype = (global::Google.Protobuf.Reflection.FieldOptions.Types.CType) input.ReadEnum();
7512             break;
7513           }
7514           case 16: {
7515             Packed = input.ReadBool();
7516             break;
7517           }
7518           case 24: {
7519             Deprecated = input.ReadBool();
7520             break;
7521           }
7522           case 40: {
7523             Lazy = input.ReadBool();
7524             break;
7525           }
7526           case 48: {
7527             Jstype = (global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) input.ReadEnum();
7528             break;
7529           }
7530           case 80: {
7531             Weak = input.ReadBool();
7532             break;
7533           }
7534           case 120: {
7535             UnverifiedLazy = input.ReadBool();
7536             break;
7537           }
7538           case 7994: {
7539             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
7540             break;
7541           }
7542         }
7543       }
7544     }
7545     #endif
7546 
GetExtension(pb::Extension<FieldOptions, TValue> extension)7547     public TValue GetExtension<TValue>(pb::Extension<FieldOptions, TValue> extension) {
7548       return pb::ExtensionSet.Get(ref _extensions, extension);
7549     }
GetExtension(pb::RepeatedExtension<FieldOptions, TValue> extension)7550     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<FieldOptions, TValue> extension) {
7551       return pb::ExtensionSet.Get(ref _extensions, extension);
7552     }
GetOrInitializeExtension(pb::RepeatedExtension<FieldOptions, TValue> extension)7553     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<FieldOptions, TValue> extension) {
7554       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
7555     }
SetExtension(pb::Extension<FieldOptions, TValue> extension, TValue value)7556     public void SetExtension<TValue>(pb::Extension<FieldOptions, TValue> extension, TValue value) {
7557       pb::ExtensionSet.Set(ref _extensions, extension, value);
7558     }
HasExtension(pb::Extension<FieldOptions, TValue> extension)7559     public bool HasExtension<TValue>(pb::Extension<FieldOptions, TValue> extension) {
7560       return pb::ExtensionSet.Has(ref _extensions, extension);
7561     }
ClearExtension(pb::Extension<FieldOptions, TValue> extension)7562     public void ClearExtension<TValue>(pb::Extension<FieldOptions, TValue> extension) {
7563       pb::ExtensionSet.Clear(ref _extensions, extension);
7564     }
ClearExtension(pb::RepeatedExtension<FieldOptions, TValue> extension)7565     public void ClearExtension<TValue>(pb::RepeatedExtension<FieldOptions, TValue> extension) {
7566       pb::ExtensionSet.Clear(ref _extensions, extension);
7567     }
7568 
7569     #region Nested types
7570     /// <summary>Container for nested types declared in the FieldOptions message type.</summary>
7571     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7572     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7573     public static partial class Types {
7574       public enum CType {
7575         /// <summary>
7576         /// Default mode.
7577         /// </summary>
7578         [pbr::OriginalName("STRING")] String = 0,
7579         [pbr::OriginalName("CORD")] Cord = 1,
7580         [pbr::OriginalName("STRING_PIECE")] StringPiece = 2,
7581       }
7582 
7583       public enum JSType {
7584         /// <summary>
7585         /// Use the default type.
7586         /// </summary>
7587         [pbr::OriginalName("JS_NORMAL")] JsNormal = 0,
7588         /// <summary>
7589         /// Use JavaScript strings.
7590         /// </summary>
7591         [pbr::OriginalName("JS_STRING")] JsString = 1,
7592         /// <summary>
7593         /// Use JavaScript numbers.
7594         /// </summary>
7595         [pbr::OriginalName("JS_NUMBER")] JsNumber = 2,
7596       }
7597 
7598     }
7599     #endregion
7600 
7601   }
7602 
7603   public sealed partial class OneofOptions : pb::IExtendableMessage<OneofOptions>
7604   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7605       , pb::IBufferMessage
7606   #endif
7607   {
7608     private static readonly pb::MessageParser<OneofOptions> _parser = new pb::MessageParser<OneofOptions>(() => new OneofOptions());
7609     private pb::UnknownFieldSet _unknownFields;
7610     internal pb::ExtensionSet<OneofOptions> _extensions;
7611     private pb::ExtensionSet<OneofOptions> _Extensions { get { return _extensions; } }
7612     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7613     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7614     public static pb::MessageParser<OneofOptions> Parser { get { return _parser; } }
7615 
7616     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7617     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7618     public static pbr::MessageDescriptor Descriptor {
7619       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[13]; }
7620     }
7621 
7622     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7623     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7624     pbr::MessageDescriptor pb::IMessage.Descriptor {
7625       get { return Descriptor; }
7626     }
7627 
7628     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7629     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
OneofOptions()7630     public OneofOptions() {
7631       OnConstruction();
7632     }
7633 
OnConstruction()7634     partial void OnConstruction();
7635 
7636     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7637     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
OneofOptions(OneofOptions other)7638     public OneofOptions(OneofOptions other) : this() {
7639       uninterpretedOption_ = other.uninterpretedOption_.Clone();
7640       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7641       _extensions = pb::ExtensionSet.Clone(other._extensions);
7642     }
7643 
7644     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7645     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()7646     public OneofOptions Clone() {
7647       return new OneofOptions(this);
7648     }
7649 
7650     /// <summary>Field number for the "uninterpreted_option" field.</summary>
7651     public const int UninterpretedOptionFieldNumber = 999;
7652     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
7653         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
7654     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
7655     /// <summary>
7656     /// The parser stores options it doesn't recognize here. See above.
7657     /// </summary>
7658     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7659     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7660     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
7661       get { return uninterpretedOption_; }
7662     }
7663 
7664     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7665     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)7666     public override bool Equals(object other) {
7667       return Equals(other as OneofOptions);
7668     }
7669 
7670     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7671     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(OneofOptions other)7672     public bool Equals(OneofOptions other) {
7673       if (ReferenceEquals(other, null)) {
7674         return false;
7675       }
7676       if (ReferenceEquals(other, this)) {
7677         return true;
7678       }
7679       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
7680       if (!Equals(_extensions, other._extensions)) {
7681         return false;
7682       }
7683       return Equals(_unknownFields, other._unknownFields);
7684     }
7685 
7686     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7687     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()7688     public override int GetHashCode() {
7689       int hash = 1;
7690       hash ^= uninterpretedOption_.GetHashCode();
7691       if (_extensions != null) {
7692         hash ^= _extensions.GetHashCode();
7693       }
7694       if (_unknownFields != null) {
7695         hash ^= _unknownFields.GetHashCode();
7696       }
7697       return hash;
7698     }
7699 
7700     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7701     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()7702     public override string ToString() {
7703       return pb::JsonFormatter.ToDiagnosticString(this);
7704     }
7705 
7706     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7707     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)7708     public void WriteTo(pb::CodedOutputStream output) {
7709     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7710       output.WriteRawMessage(this);
7711     #else
7712       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
7713       if (_extensions != null) {
7714         _extensions.WriteTo(output);
7715       }
7716       if (_unknownFields != null) {
7717         _unknownFields.WriteTo(output);
7718       }
7719     #endif
7720     }
7721 
7722     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7723     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7724     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)7725     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
7726       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
7727       if (_extensions != null) {
7728         _extensions.WriteTo(ref output);
7729       }
7730       if (_unknownFields != null) {
7731         _unknownFields.WriteTo(ref output);
7732       }
7733     }
7734     #endif
7735 
7736     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7737     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()7738     public int CalculateSize() {
7739       int size = 0;
7740       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
7741       if (_extensions != null) {
7742         size += _extensions.CalculateSize();
7743       }
7744       if (_unknownFields != null) {
7745         size += _unknownFields.CalculateSize();
7746       }
7747       return size;
7748     }
7749 
7750     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7751     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(OneofOptions other)7752     public void MergeFrom(OneofOptions other) {
7753       if (other == null) {
7754         return;
7755       }
7756       uninterpretedOption_.Add(other.uninterpretedOption_);
7757       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
7758       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
7759     }
7760 
7761     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7762     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)7763     public void MergeFrom(pb::CodedInputStream input) {
7764     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7765       input.ReadRawMessage(this);
7766     #else
7767       uint tag;
7768       while ((tag = input.ReadTag()) != 0) {
7769         switch(tag) {
7770           default:
7771             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
7772               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
7773             }
7774             break;
7775           case 7994: {
7776             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
7777             break;
7778           }
7779         }
7780       }
7781     #endif
7782     }
7783 
7784     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7785     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7786     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)7787     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
7788       uint tag;
7789       while ((tag = input.ReadTag()) != 0) {
7790         switch(tag) {
7791           default:
7792             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
7793               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
7794             }
7795             break;
7796           case 7994: {
7797             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
7798             break;
7799           }
7800         }
7801       }
7802     }
7803     #endif
7804 
GetExtension(pb::Extension<OneofOptions, TValue> extension)7805     public TValue GetExtension<TValue>(pb::Extension<OneofOptions, TValue> extension) {
7806       return pb::ExtensionSet.Get(ref _extensions, extension);
7807     }
GetExtension(pb::RepeatedExtension<OneofOptions, TValue> extension)7808     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<OneofOptions, TValue> extension) {
7809       return pb::ExtensionSet.Get(ref _extensions, extension);
7810     }
GetOrInitializeExtension(pb::RepeatedExtension<OneofOptions, TValue> extension)7811     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<OneofOptions, TValue> extension) {
7812       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
7813     }
SetExtension(pb::Extension<OneofOptions, TValue> extension, TValue value)7814     public void SetExtension<TValue>(pb::Extension<OneofOptions, TValue> extension, TValue value) {
7815       pb::ExtensionSet.Set(ref _extensions, extension, value);
7816     }
HasExtension(pb::Extension<OneofOptions, TValue> extension)7817     public bool HasExtension<TValue>(pb::Extension<OneofOptions, TValue> extension) {
7818       return pb::ExtensionSet.Has(ref _extensions, extension);
7819     }
ClearExtension(pb::Extension<OneofOptions, TValue> extension)7820     public void ClearExtension<TValue>(pb::Extension<OneofOptions, TValue> extension) {
7821       pb::ExtensionSet.Clear(ref _extensions, extension);
7822     }
ClearExtension(pb::RepeatedExtension<OneofOptions, TValue> extension)7823     public void ClearExtension<TValue>(pb::RepeatedExtension<OneofOptions, TValue> extension) {
7824       pb::ExtensionSet.Clear(ref _extensions, extension);
7825     }
7826 
7827   }
7828 
7829   public sealed partial class EnumOptions : pb::IExtendableMessage<EnumOptions>
7830   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
7831       , pb::IBufferMessage
7832   #endif
7833   {
7834     private static readonly pb::MessageParser<EnumOptions> _parser = new pb::MessageParser<EnumOptions>(() => new EnumOptions());
7835     private pb::UnknownFieldSet _unknownFields;
7836     internal pb::ExtensionSet<EnumOptions> _extensions;
7837     private pb::ExtensionSet<EnumOptions> _Extensions { get { return _extensions; } }
7838     private int _hasBits0;
7839     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7840     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7841     public static pb::MessageParser<EnumOptions> Parser { get { return _parser; } }
7842 
7843     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7844     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7845     public static pbr::MessageDescriptor Descriptor {
7846       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[14]; }
7847     }
7848 
7849     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7850     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7851     pbr::MessageDescriptor pb::IMessage.Descriptor {
7852       get { return Descriptor; }
7853     }
7854 
7855     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7856     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumOptions()7857     public EnumOptions() {
7858       OnConstruction();
7859     }
7860 
OnConstruction()7861     partial void OnConstruction();
7862 
7863     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7864     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumOptions(EnumOptions other)7865     public EnumOptions(EnumOptions other) : this() {
7866       _hasBits0 = other._hasBits0;
7867       allowAlias_ = other.allowAlias_;
7868       deprecated_ = other.deprecated_;
7869       uninterpretedOption_ = other.uninterpretedOption_.Clone();
7870       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
7871       _extensions = pb::ExtensionSet.Clone(other._extensions);
7872     }
7873 
7874     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7875     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()7876     public EnumOptions Clone() {
7877       return new EnumOptions(this);
7878     }
7879 
7880     /// <summary>Field number for the "allow_alias" field.</summary>
7881     public const int AllowAliasFieldNumber = 2;
7882     private readonly static bool AllowAliasDefaultValue = false;
7883 
7884     private bool allowAlias_;
7885     /// <summary>
7886     /// Set this option to true to allow mapping different tag names to the same
7887     /// value.
7888     /// </summary>
7889     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7890     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7891     public bool AllowAlias {
7892       get { if ((_hasBits0 & 1) != 0) { return allowAlias_; } else { return AllowAliasDefaultValue; } }
7893       set {
7894         _hasBits0 |= 1;
7895         allowAlias_ = value;
7896       }
7897     }
7898     /// <summary>Gets whether the "allow_alias" field is set</summary>
7899     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7900     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7901     public bool HasAllowAlias {
7902       get { return (_hasBits0 & 1) != 0; }
7903     }
7904     /// <summary>Clears the value of the "allow_alias" field</summary>
7905     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7906     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearAllowAlias()7907     public void ClearAllowAlias() {
7908       _hasBits0 &= ~1;
7909     }
7910 
7911     /// <summary>Field number for the "deprecated" field.</summary>
7912     public const int DeprecatedFieldNumber = 3;
7913     private readonly static bool DeprecatedDefaultValue = false;
7914 
7915     private bool deprecated_;
7916     /// <summary>
7917     /// Is this enum deprecated?
7918     /// Depending on the target platform, this can emit Deprecated annotations
7919     /// for the enum, or it will be completely ignored; in the very least, this
7920     /// is a formalization for deprecating enums.
7921     /// </summary>
7922     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7923     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7924     public bool Deprecated {
7925       get { if ((_hasBits0 & 2) != 0) { return deprecated_; } else { return DeprecatedDefaultValue; } }
7926       set {
7927         _hasBits0 |= 2;
7928         deprecated_ = value;
7929       }
7930     }
7931     /// <summary>Gets whether the "deprecated" field is set</summary>
7932     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7933     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7934     public bool HasDeprecated {
7935       get { return (_hasBits0 & 2) != 0; }
7936     }
7937     /// <summary>Clears the value of the "deprecated" field</summary>
7938     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7939     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDeprecated()7940     public void ClearDeprecated() {
7941       _hasBits0 &= ~2;
7942     }
7943 
7944     /// <summary>Field number for the "uninterpreted_option" field.</summary>
7945     public const int UninterpretedOptionFieldNumber = 999;
7946     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
7947         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
7948     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
7949     /// <summary>
7950     /// The parser stores options it doesn't recognize here. See above.
7951     /// </summary>
7952     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7953     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
7954     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
7955       get { return uninterpretedOption_; }
7956     }
7957 
7958     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7959     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)7960     public override bool Equals(object other) {
7961       return Equals(other as EnumOptions);
7962     }
7963 
7964     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7965     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(EnumOptions other)7966     public bool Equals(EnumOptions other) {
7967       if (ReferenceEquals(other, null)) {
7968         return false;
7969       }
7970       if (ReferenceEquals(other, this)) {
7971         return true;
7972       }
7973       if (AllowAlias != other.AllowAlias) return false;
7974       if (Deprecated != other.Deprecated) return false;
7975       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
7976       if (!Equals(_extensions, other._extensions)) {
7977         return false;
7978       }
7979       return Equals(_unknownFields, other._unknownFields);
7980     }
7981 
7982     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7983     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()7984     public override int GetHashCode() {
7985       int hash = 1;
7986       if (HasAllowAlias) hash ^= AllowAlias.GetHashCode();
7987       if (HasDeprecated) hash ^= Deprecated.GetHashCode();
7988       hash ^= uninterpretedOption_.GetHashCode();
7989       if (_extensions != null) {
7990         hash ^= _extensions.GetHashCode();
7991       }
7992       if (_unknownFields != null) {
7993         hash ^= _unknownFields.GetHashCode();
7994       }
7995       return hash;
7996     }
7997 
7998     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
7999     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()8000     public override string ToString() {
8001       return pb::JsonFormatter.ToDiagnosticString(this);
8002     }
8003 
8004     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8005     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)8006     public void WriteTo(pb::CodedOutputStream output) {
8007     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8008       output.WriteRawMessage(this);
8009     #else
8010       if (HasAllowAlias) {
8011         output.WriteRawTag(16);
8012         output.WriteBool(AllowAlias);
8013       }
8014       if (HasDeprecated) {
8015         output.WriteRawTag(24);
8016         output.WriteBool(Deprecated);
8017       }
8018       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
8019       if (_extensions != null) {
8020         _extensions.WriteTo(output);
8021       }
8022       if (_unknownFields != null) {
8023         _unknownFields.WriteTo(output);
8024       }
8025     #endif
8026     }
8027 
8028     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8029     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8030     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)8031     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8032       if (HasAllowAlias) {
8033         output.WriteRawTag(16);
8034         output.WriteBool(AllowAlias);
8035       }
8036       if (HasDeprecated) {
8037         output.WriteRawTag(24);
8038         output.WriteBool(Deprecated);
8039       }
8040       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
8041       if (_extensions != null) {
8042         _extensions.WriteTo(ref output);
8043       }
8044       if (_unknownFields != null) {
8045         _unknownFields.WriteTo(ref output);
8046       }
8047     }
8048     #endif
8049 
8050     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8051     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()8052     public int CalculateSize() {
8053       int size = 0;
8054       if (HasAllowAlias) {
8055         size += 1 + 1;
8056       }
8057       if (HasDeprecated) {
8058         size += 1 + 1;
8059       }
8060       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
8061       if (_extensions != null) {
8062         size += _extensions.CalculateSize();
8063       }
8064       if (_unknownFields != null) {
8065         size += _unknownFields.CalculateSize();
8066       }
8067       return size;
8068     }
8069 
8070     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8071     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(EnumOptions other)8072     public void MergeFrom(EnumOptions other) {
8073       if (other == null) {
8074         return;
8075       }
8076       if (other.HasAllowAlias) {
8077         AllowAlias = other.AllowAlias;
8078       }
8079       if (other.HasDeprecated) {
8080         Deprecated = other.Deprecated;
8081       }
8082       uninterpretedOption_.Add(other.uninterpretedOption_);
8083       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
8084       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8085     }
8086 
8087     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8088     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)8089     public void MergeFrom(pb::CodedInputStream input) {
8090     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8091       input.ReadRawMessage(this);
8092     #else
8093       uint tag;
8094       while ((tag = input.ReadTag()) != 0) {
8095         switch(tag) {
8096           default:
8097             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
8098               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8099             }
8100             break;
8101           case 16: {
8102             AllowAlias = input.ReadBool();
8103             break;
8104           }
8105           case 24: {
8106             Deprecated = input.ReadBool();
8107             break;
8108           }
8109           case 7994: {
8110             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
8111             break;
8112           }
8113         }
8114       }
8115     #endif
8116     }
8117 
8118     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8119     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8120     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)8121     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8122       uint tag;
8123       while ((tag = input.ReadTag()) != 0) {
8124         switch(tag) {
8125           default:
8126             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
8127               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8128             }
8129             break;
8130           case 16: {
8131             AllowAlias = input.ReadBool();
8132             break;
8133           }
8134           case 24: {
8135             Deprecated = input.ReadBool();
8136             break;
8137           }
8138           case 7994: {
8139             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
8140             break;
8141           }
8142         }
8143       }
8144     }
8145     #endif
8146 
GetExtension(pb::Extension<EnumOptions, TValue> extension)8147     public TValue GetExtension<TValue>(pb::Extension<EnumOptions, TValue> extension) {
8148       return pb::ExtensionSet.Get(ref _extensions, extension);
8149     }
GetExtension(pb::RepeatedExtension<EnumOptions, TValue> extension)8150     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<EnumOptions, TValue> extension) {
8151       return pb::ExtensionSet.Get(ref _extensions, extension);
8152     }
GetOrInitializeExtension(pb::RepeatedExtension<EnumOptions, TValue> extension)8153     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<EnumOptions, TValue> extension) {
8154       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
8155     }
SetExtension(pb::Extension<EnumOptions, TValue> extension, TValue value)8156     public void SetExtension<TValue>(pb::Extension<EnumOptions, TValue> extension, TValue value) {
8157       pb::ExtensionSet.Set(ref _extensions, extension, value);
8158     }
HasExtension(pb::Extension<EnumOptions, TValue> extension)8159     public bool HasExtension<TValue>(pb::Extension<EnumOptions, TValue> extension) {
8160       return pb::ExtensionSet.Has(ref _extensions, extension);
8161     }
ClearExtension(pb::Extension<EnumOptions, TValue> extension)8162     public void ClearExtension<TValue>(pb::Extension<EnumOptions, TValue> extension) {
8163       pb::ExtensionSet.Clear(ref _extensions, extension);
8164     }
ClearExtension(pb::RepeatedExtension<EnumOptions, TValue> extension)8165     public void ClearExtension<TValue>(pb::RepeatedExtension<EnumOptions, TValue> extension) {
8166       pb::ExtensionSet.Clear(ref _extensions, extension);
8167     }
8168 
8169   }
8170 
8171   public sealed partial class EnumValueOptions : pb::IExtendableMessage<EnumValueOptions>
8172   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8173       , pb::IBufferMessage
8174   #endif
8175   {
8176     private static readonly pb::MessageParser<EnumValueOptions> _parser = new pb::MessageParser<EnumValueOptions>(() => new EnumValueOptions());
8177     private pb::UnknownFieldSet _unknownFields;
8178     internal pb::ExtensionSet<EnumValueOptions> _extensions;
8179     private pb::ExtensionSet<EnumValueOptions> _Extensions { get { return _extensions; } }
8180     private int _hasBits0;
8181     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8182     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8183     public static pb::MessageParser<EnumValueOptions> Parser { get { return _parser; } }
8184 
8185     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8186     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8187     public static pbr::MessageDescriptor Descriptor {
8188       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[15]; }
8189     }
8190 
8191     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8192     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8193     pbr::MessageDescriptor pb::IMessage.Descriptor {
8194       get { return Descriptor; }
8195     }
8196 
8197     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8198     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumValueOptions()8199     public EnumValueOptions() {
8200       OnConstruction();
8201     }
8202 
OnConstruction()8203     partial void OnConstruction();
8204 
8205     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8206     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
EnumValueOptions(EnumValueOptions other)8207     public EnumValueOptions(EnumValueOptions other) : this() {
8208       _hasBits0 = other._hasBits0;
8209       deprecated_ = other.deprecated_;
8210       uninterpretedOption_ = other.uninterpretedOption_.Clone();
8211       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8212       _extensions = pb::ExtensionSet.Clone(other._extensions);
8213     }
8214 
8215     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8216     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()8217     public EnumValueOptions Clone() {
8218       return new EnumValueOptions(this);
8219     }
8220 
8221     /// <summary>Field number for the "deprecated" field.</summary>
8222     public const int DeprecatedFieldNumber = 1;
8223     private readonly static bool DeprecatedDefaultValue = false;
8224 
8225     private bool deprecated_;
8226     /// <summary>
8227     /// Is this enum value deprecated?
8228     /// Depending on the target platform, this can emit Deprecated annotations
8229     /// for the enum value, or it will be completely ignored; in the very least,
8230     /// this is a formalization for deprecating enum values.
8231     /// </summary>
8232     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8233     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8234     public bool Deprecated {
8235       get { if ((_hasBits0 & 1) != 0) { return deprecated_; } else { return DeprecatedDefaultValue; } }
8236       set {
8237         _hasBits0 |= 1;
8238         deprecated_ = value;
8239       }
8240     }
8241     /// <summary>Gets whether the "deprecated" field is set</summary>
8242     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8243     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8244     public bool HasDeprecated {
8245       get { return (_hasBits0 & 1) != 0; }
8246     }
8247     /// <summary>Clears the value of the "deprecated" field</summary>
8248     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8249     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDeprecated()8250     public void ClearDeprecated() {
8251       _hasBits0 &= ~1;
8252     }
8253 
8254     /// <summary>Field number for the "uninterpreted_option" field.</summary>
8255     public const int UninterpretedOptionFieldNumber = 999;
8256     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
8257         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
8258     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
8259     /// <summary>
8260     /// The parser stores options it doesn't recognize here. See above.
8261     /// </summary>
8262     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8263     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8264     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
8265       get { return uninterpretedOption_; }
8266     }
8267 
8268     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8269     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)8270     public override bool Equals(object other) {
8271       return Equals(other as EnumValueOptions);
8272     }
8273 
8274     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8275     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(EnumValueOptions other)8276     public bool Equals(EnumValueOptions other) {
8277       if (ReferenceEquals(other, null)) {
8278         return false;
8279       }
8280       if (ReferenceEquals(other, this)) {
8281         return true;
8282       }
8283       if (Deprecated != other.Deprecated) return false;
8284       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
8285       if (!Equals(_extensions, other._extensions)) {
8286         return false;
8287       }
8288       return Equals(_unknownFields, other._unknownFields);
8289     }
8290 
8291     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8292     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()8293     public override int GetHashCode() {
8294       int hash = 1;
8295       if (HasDeprecated) hash ^= Deprecated.GetHashCode();
8296       hash ^= uninterpretedOption_.GetHashCode();
8297       if (_extensions != null) {
8298         hash ^= _extensions.GetHashCode();
8299       }
8300       if (_unknownFields != null) {
8301         hash ^= _unknownFields.GetHashCode();
8302       }
8303       return hash;
8304     }
8305 
8306     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8307     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()8308     public override string ToString() {
8309       return pb::JsonFormatter.ToDiagnosticString(this);
8310     }
8311 
8312     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8313     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)8314     public void WriteTo(pb::CodedOutputStream output) {
8315     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8316       output.WriteRawMessage(this);
8317     #else
8318       if (HasDeprecated) {
8319         output.WriteRawTag(8);
8320         output.WriteBool(Deprecated);
8321       }
8322       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
8323       if (_extensions != null) {
8324         _extensions.WriteTo(output);
8325       }
8326       if (_unknownFields != null) {
8327         _unknownFields.WriteTo(output);
8328       }
8329     #endif
8330     }
8331 
8332     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8333     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8334     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)8335     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8336       if (HasDeprecated) {
8337         output.WriteRawTag(8);
8338         output.WriteBool(Deprecated);
8339       }
8340       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
8341       if (_extensions != null) {
8342         _extensions.WriteTo(ref output);
8343       }
8344       if (_unknownFields != null) {
8345         _unknownFields.WriteTo(ref output);
8346       }
8347     }
8348     #endif
8349 
8350     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8351     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()8352     public int CalculateSize() {
8353       int size = 0;
8354       if (HasDeprecated) {
8355         size += 1 + 1;
8356       }
8357       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
8358       if (_extensions != null) {
8359         size += _extensions.CalculateSize();
8360       }
8361       if (_unknownFields != null) {
8362         size += _unknownFields.CalculateSize();
8363       }
8364       return size;
8365     }
8366 
8367     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8368     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(EnumValueOptions other)8369     public void MergeFrom(EnumValueOptions other) {
8370       if (other == null) {
8371         return;
8372       }
8373       if (other.HasDeprecated) {
8374         Deprecated = other.Deprecated;
8375       }
8376       uninterpretedOption_.Add(other.uninterpretedOption_);
8377       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
8378       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8379     }
8380 
8381     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8382     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)8383     public void MergeFrom(pb::CodedInputStream input) {
8384     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8385       input.ReadRawMessage(this);
8386     #else
8387       uint tag;
8388       while ((tag = input.ReadTag()) != 0) {
8389         switch(tag) {
8390           default:
8391             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
8392               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8393             }
8394             break;
8395           case 8: {
8396             Deprecated = input.ReadBool();
8397             break;
8398           }
8399           case 7994: {
8400             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
8401             break;
8402           }
8403         }
8404       }
8405     #endif
8406     }
8407 
8408     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8409     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8410     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)8411     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8412       uint tag;
8413       while ((tag = input.ReadTag()) != 0) {
8414         switch(tag) {
8415           default:
8416             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
8417               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8418             }
8419             break;
8420           case 8: {
8421             Deprecated = input.ReadBool();
8422             break;
8423           }
8424           case 7994: {
8425             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
8426             break;
8427           }
8428         }
8429       }
8430     }
8431     #endif
8432 
GetExtension(pb::Extension<EnumValueOptions, TValue> extension)8433     public TValue GetExtension<TValue>(pb::Extension<EnumValueOptions, TValue> extension) {
8434       return pb::ExtensionSet.Get(ref _extensions, extension);
8435     }
GetExtension(pb::RepeatedExtension<EnumValueOptions, TValue> extension)8436     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<EnumValueOptions, TValue> extension) {
8437       return pb::ExtensionSet.Get(ref _extensions, extension);
8438     }
GetOrInitializeExtension(pb::RepeatedExtension<EnumValueOptions, TValue> extension)8439     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<EnumValueOptions, TValue> extension) {
8440       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
8441     }
SetExtension(pb::Extension<EnumValueOptions, TValue> extension, TValue value)8442     public void SetExtension<TValue>(pb::Extension<EnumValueOptions, TValue> extension, TValue value) {
8443       pb::ExtensionSet.Set(ref _extensions, extension, value);
8444     }
HasExtension(pb::Extension<EnumValueOptions, TValue> extension)8445     public bool HasExtension<TValue>(pb::Extension<EnumValueOptions, TValue> extension) {
8446       return pb::ExtensionSet.Has(ref _extensions, extension);
8447     }
ClearExtension(pb::Extension<EnumValueOptions, TValue> extension)8448     public void ClearExtension<TValue>(pb::Extension<EnumValueOptions, TValue> extension) {
8449       pb::ExtensionSet.Clear(ref _extensions, extension);
8450     }
ClearExtension(pb::RepeatedExtension<EnumValueOptions, TValue> extension)8451     public void ClearExtension<TValue>(pb::RepeatedExtension<EnumValueOptions, TValue> extension) {
8452       pb::ExtensionSet.Clear(ref _extensions, extension);
8453     }
8454 
8455   }
8456 
8457   public sealed partial class ServiceOptions : pb::IExtendableMessage<ServiceOptions>
8458   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8459       , pb::IBufferMessage
8460   #endif
8461   {
8462     private static readonly pb::MessageParser<ServiceOptions> _parser = new pb::MessageParser<ServiceOptions>(() => new ServiceOptions());
8463     private pb::UnknownFieldSet _unknownFields;
8464     internal pb::ExtensionSet<ServiceOptions> _extensions;
8465     private pb::ExtensionSet<ServiceOptions> _Extensions { get { return _extensions; } }
8466     private int _hasBits0;
8467     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8468     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8469     public static pb::MessageParser<ServiceOptions> Parser { get { return _parser; } }
8470 
8471     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8472     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8473     public static pbr::MessageDescriptor Descriptor {
8474       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[16]; }
8475     }
8476 
8477     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8478     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8479     pbr::MessageDescriptor pb::IMessage.Descriptor {
8480       get { return Descriptor; }
8481     }
8482 
8483     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8484     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ServiceOptions()8485     public ServiceOptions() {
8486       OnConstruction();
8487     }
8488 
OnConstruction()8489     partial void OnConstruction();
8490 
8491     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8492     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ServiceOptions(ServiceOptions other)8493     public ServiceOptions(ServiceOptions other) : this() {
8494       _hasBits0 = other._hasBits0;
8495       deprecated_ = other.deprecated_;
8496       uninterpretedOption_ = other.uninterpretedOption_.Clone();
8497       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8498       _extensions = pb::ExtensionSet.Clone(other._extensions);
8499     }
8500 
8501     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8502     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()8503     public ServiceOptions Clone() {
8504       return new ServiceOptions(this);
8505     }
8506 
8507     /// <summary>Field number for the "deprecated" field.</summary>
8508     public const int DeprecatedFieldNumber = 33;
8509     private readonly static bool DeprecatedDefaultValue = false;
8510 
8511     private bool deprecated_;
8512     /// <summary>
8513     /// Is this service deprecated?
8514     /// Depending on the target platform, this can emit Deprecated annotations
8515     /// for the service, or it will be completely ignored; in the very least,
8516     /// this is a formalization for deprecating services.
8517     /// </summary>
8518     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8519     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8520     public bool Deprecated {
8521       get { if ((_hasBits0 & 1) != 0) { return deprecated_; } else { return DeprecatedDefaultValue; } }
8522       set {
8523         _hasBits0 |= 1;
8524         deprecated_ = value;
8525       }
8526     }
8527     /// <summary>Gets whether the "deprecated" field is set</summary>
8528     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8529     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8530     public bool HasDeprecated {
8531       get { return (_hasBits0 & 1) != 0; }
8532     }
8533     /// <summary>Clears the value of the "deprecated" field</summary>
8534     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8535     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDeprecated()8536     public void ClearDeprecated() {
8537       _hasBits0 &= ~1;
8538     }
8539 
8540     /// <summary>Field number for the "uninterpreted_option" field.</summary>
8541     public const int UninterpretedOptionFieldNumber = 999;
8542     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
8543         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
8544     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
8545     /// <summary>
8546     /// The parser stores options it doesn't recognize here. See above.
8547     /// </summary>
8548     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8549     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8550     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
8551       get { return uninterpretedOption_; }
8552     }
8553 
8554     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8555     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)8556     public override bool Equals(object other) {
8557       return Equals(other as ServiceOptions);
8558     }
8559 
8560     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8561     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(ServiceOptions other)8562     public bool Equals(ServiceOptions other) {
8563       if (ReferenceEquals(other, null)) {
8564         return false;
8565       }
8566       if (ReferenceEquals(other, this)) {
8567         return true;
8568       }
8569       if (Deprecated != other.Deprecated) return false;
8570       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
8571       if (!Equals(_extensions, other._extensions)) {
8572         return false;
8573       }
8574       return Equals(_unknownFields, other._unknownFields);
8575     }
8576 
8577     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8578     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()8579     public override int GetHashCode() {
8580       int hash = 1;
8581       if (HasDeprecated) hash ^= Deprecated.GetHashCode();
8582       hash ^= uninterpretedOption_.GetHashCode();
8583       if (_extensions != null) {
8584         hash ^= _extensions.GetHashCode();
8585       }
8586       if (_unknownFields != null) {
8587         hash ^= _unknownFields.GetHashCode();
8588       }
8589       return hash;
8590     }
8591 
8592     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8593     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()8594     public override string ToString() {
8595       return pb::JsonFormatter.ToDiagnosticString(this);
8596     }
8597 
8598     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8599     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)8600     public void WriteTo(pb::CodedOutputStream output) {
8601     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8602       output.WriteRawMessage(this);
8603     #else
8604       if (HasDeprecated) {
8605         output.WriteRawTag(136, 2);
8606         output.WriteBool(Deprecated);
8607       }
8608       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
8609       if (_extensions != null) {
8610         _extensions.WriteTo(output);
8611       }
8612       if (_unknownFields != null) {
8613         _unknownFields.WriteTo(output);
8614       }
8615     #endif
8616     }
8617 
8618     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8619     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8620     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)8621     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8622       if (HasDeprecated) {
8623         output.WriteRawTag(136, 2);
8624         output.WriteBool(Deprecated);
8625       }
8626       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
8627       if (_extensions != null) {
8628         _extensions.WriteTo(ref output);
8629       }
8630       if (_unknownFields != null) {
8631         _unknownFields.WriteTo(ref output);
8632       }
8633     }
8634     #endif
8635 
8636     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8637     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()8638     public int CalculateSize() {
8639       int size = 0;
8640       if (HasDeprecated) {
8641         size += 2 + 1;
8642       }
8643       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
8644       if (_extensions != null) {
8645         size += _extensions.CalculateSize();
8646       }
8647       if (_unknownFields != null) {
8648         size += _unknownFields.CalculateSize();
8649       }
8650       return size;
8651     }
8652 
8653     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8654     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(ServiceOptions other)8655     public void MergeFrom(ServiceOptions other) {
8656       if (other == null) {
8657         return;
8658       }
8659       if (other.HasDeprecated) {
8660         Deprecated = other.Deprecated;
8661       }
8662       uninterpretedOption_.Add(other.uninterpretedOption_);
8663       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
8664       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8665     }
8666 
8667     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8668     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)8669     public void MergeFrom(pb::CodedInputStream input) {
8670     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8671       input.ReadRawMessage(this);
8672     #else
8673       uint tag;
8674       while ((tag = input.ReadTag()) != 0) {
8675         switch(tag) {
8676           default:
8677             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
8678               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
8679             }
8680             break;
8681           case 264: {
8682             Deprecated = input.ReadBool();
8683             break;
8684           }
8685           case 7994: {
8686             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
8687             break;
8688           }
8689         }
8690       }
8691     #endif
8692     }
8693 
8694     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8695     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8696     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)8697     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
8698       uint tag;
8699       while ((tag = input.ReadTag()) != 0) {
8700         switch(tag) {
8701           default:
8702             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
8703               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
8704             }
8705             break;
8706           case 264: {
8707             Deprecated = input.ReadBool();
8708             break;
8709           }
8710           case 7994: {
8711             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
8712             break;
8713           }
8714         }
8715       }
8716     }
8717     #endif
8718 
GetExtension(pb::Extension<ServiceOptions, TValue> extension)8719     public TValue GetExtension<TValue>(pb::Extension<ServiceOptions, TValue> extension) {
8720       return pb::ExtensionSet.Get(ref _extensions, extension);
8721     }
GetExtension(pb::RepeatedExtension<ServiceOptions, TValue> extension)8722     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<ServiceOptions, TValue> extension) {
8723       return pb::ExtensionSet.Get(ref _extensions, extension);
8724     }
GetOrInitializeExtension(pb::RepeatedExtension<ServiceOptions, TValue> extension)8725     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<ServiceOptions, TValue> extension) {
8726       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
8727     }
SetExtension(pb::Extension<ServiceOptions, TValue> extension, TValue value)8728     public void SetExtension<TValue>(pb::Extension<ServiceOptions, TValue> extension, TValue value) {
8729       pb::ExtensionSet.Set(ref _extensions, extension, value);
8730     }
HasExtension(pb::Extension<ServiceOptions, TValue> extension)8731     public bool HasExtension<TValue>(pb::Extension<ServiceOptions, TValue> extension) {
8732       return pb::ExtensionSet.Has(ref _extensions, extension);
8733     }
ClearExtension(pb::Extension<ServiceOptions, TValue> extension)8734     public void ClearExtension<TValue>(pb::Extension<ServiceOptions, TValue> extension) {
8735       pb::ExtensionSet.Clear(ref _extensions, extension);
8736     }
ClearExtension(pb::RepeatedExtension<ServiceOptions, TValue> extension)8737     public void ClearExtension<TValue>(pb::RepeatedExtension<ServiceOptions, TValue> extension) {
8738       pb::ExtensionSet.Clear(ref _extensions, extension);
8739     }
8740 
8741   }
8742 
8743   public sealed partial class MethodOptions : pb::IExtendableMessage<MethodOptions>
8744   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8745       , pb::IBufferMessage
8746   #endif
8747   {
8748     private static readonly pb::MessageParser<MethodOptions> _parser = new pb::MessageParser<MethodOptions>(() => new MethodOptions());
8749     private pb::UnknownFieldSet _unknownFields;
8750     internal pb::ExtensionSet<MethodOptions> _extensions;
8751     private pb::ExtensionSet<MethodOptions> _Extensions { get { return _extensions; } }
8752     private int _hasBits0;
8753     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8754     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8755     public static pb::MessageParser<MethodOptions> Parser { get { return _parser; } }
8756 
8757     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8758     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8759     public static pbr::MessageDescriptor Descriptor {
8760       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[17]; }
8761     }
8762 
8763     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8764     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8765     pbr::MessageDescriptor pb::IMessage.Descriptor {
8766       get { return Descriptor; }
8767     }
8768 
8769     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8770     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MethodOptions()8771     public MethodOptions() {
8772       OnConstruction();
8773     }
8774 
OnConstruction()8775     partial void OnConstruction();
8776 
8777     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8778     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MethodOptions(MethodOptions other)8779     public MethodOptions(MethodOptions other) : this() {
8780       _hasBits0 = other._hasBits0;
8781       deprecated_ = other.deprecated_;
8782       idempotencyLevel_ = other.idempotencyLevel_;
8783       uninterpretedOption_ = other.uninterpretedOption_.Clone();
8784       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
8785       _extensions = pb::ExtensionSet.Clone(other._extensions);
8786     }
8787 
8788     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8789     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()8790     public MethodOptions Clone() {
8791       return new MethodOptions(this);
8792     }
8793 
8794     /// <summary>Field number for the "deprecated" field.</summary>
8795     public const int DeprecatedFieldNumber = 33;
8796     private readonly static bool DeprecatedDefaultValue = false;
8797 
8798     private bool deprecated_;
8799     /// <summary>
8800     /// Is this method deprecated?
8801     /// Depending on the target platform, this can emit Deprecated annotations
8802     /// for the method, or it will be completely ignored; in the very least,
8803     /// this is a formalization for deprecating methods.
8804     /// </summary>
8805     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8806     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8807     public bool Deprecated {
8808       get { if ((_hasBits0 & 1) != 0) { return deprecated_; } else { return DeprecatedDefaultValue; } }
8809       set {
8810         _hasBits0 |= 1;
8811         deprecated_ = value;
8812       }
8813     }
8814     /// <summary>Gets whether the "deprecated" field is set</summary>
8815     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8816     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8817     public bool HasDeprecated {
8818       get { return (_hasBits0 & 1) != 0; }
8819     }
8820     /// <summary>Clears the value of the "deprecated" field</summary>
8821     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8822     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDeprecated()8823     public void ClearDeprecated() {
8824       _hasBits0 &= ~1;
8825     }
8826 
8827     /// <summary>Field number for the "idempotency_level" field.</summary>
8828     public const int IdempotencyLevelFieldNumber = 34;
8829     private readonly static global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel IdempotencyLevelDefaultValue = global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel.IdempotencyUnknown;
8830 
8831     private global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel idempotencyLevel_;
8832     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8833     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8834     public global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel IdempotencyLevel {
8835       get { if ((_hasBits0 & 2) != 0) { return idempotencyLevel_; } else { return IdempotencyLevelDefaultValue; } }
8836       set {
8837         _hasBits0 |= 2;
8838         idempotencyLevel_ = value;
8839       }
8840     }
8841     /// <summary>Gets whether the "idempotency_level" field is set</summary>
8842     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8843     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8844     public bool HasIdempotencyLevel {
8845       get { return (_hasBits0 & 2) != 0; }
8846     }
8847     /// <summary>Clears the value of the "idempotency_level" field</summary>
8848     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8849     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearIdempotencyLevel()8850     public void ClearIdempotencyLevel() {
8851       _hasBits0 &= ~2;
8852     }
8853 
8854     /// <summary>Field number for the "uninterpreted_option" field.</summary>
8855     public const int UninterpretedOptionFieldNumber = 999;
8856     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption> _repeated_uninterpretedOption_codec
8857         = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.UninterpretedOption.Parser);
8858     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption>();
8859     /// <summary>
8860     /// The parser stores options it doesn't recognize here. See above.
8861     /// </summary>
8862     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8863     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
8864     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption> UninterpretedOption {
8865       get { return uninterpretedOption_; }
8866     }
8867 
8868     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8869     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)8870     public override bool Equals(object other) {
8871       return Equals(other as MethodOptions);
8872     }
8873 
8874     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8875     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(MethodOptions other)8876     public bool Equals(MethodOptions other) {
8877       if (ReferenceEquals(other, null)) {
8878         return false;
8879       }
8880       if (ReferenceEquals(other, this)) {
8881         return true;
8882       }
8883       if (Deprecated != other.Deprecated) return false;
8884       if (IdempotencyLevel != other.IdempotencyLevel) return false;
8885       if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
8886       if (!Equals(_extensions, other._extensions)) {
8887         return false;
8888       }
8889       return Equals(_unknownFields, other._unknownFields);
8890     }
8891 
8892     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8893     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()8894     public override int GetHashCode() {
8895       int hash = 1;
8896       if (HasDeprecated) hash ^= Deprecated.GetHashCode();
8897       if (HasIdempotencyLevel) hash ^= IdempotencyLevel.GetHashCode();
8898       hash ^= uninterpretedOption_.GetHashCode();
8899       if (_extensions != null) {
8900         hash ^= _extensions.GetHashCode();
8901       }
8902       if (_unknownFields != null) {
8903         hash ^= _unknownFields.GetHashCode();
8904       }
8905       return hash;
8906     }
8907 
8908     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8909     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()8910     public override string ToString() {
8911       return pb::JsonFormatter.ToDiagnosticString(this);
8912     }
8913 
8914     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8915     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)8916     public void WriteTo(pb::CodedOutputStream output) {
8917     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8918       output.WriteRawMessage(this);
8919     #else
8920       if (HasDeprecated) {
8921         output.WriteRawTag(136, 2);
8922         output.WriteBool(Deprecated);
8923       }
8924       if (HasIdempotencyLevel) {
8925         output.WriteRawTag(144, 2);
8926         output.WriteEnum((int) IdempotencyLevel);
8927       }
8928       uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
8929       if (_extensions != null) {
8930         _extensions.WriteTo(output);
8931       }
8932       if (_unknownFields != null) {
8933         _unknownFields.WriteTo(output);
8934       }
8935     #endif
8936     }
8937 
8938     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
8939     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8940     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)8941     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
8942       if (HasDeprecated) {
8943         output.WriteRawTag(136, 2);
8944         output.WriteBool(Deprecated);
8945       }
8946       if (HasIdempotencyLevel) {
8947         output.WriteRawTag(144, 2);
8948         output.WriteEnum((int) IdempotencyLevel);
8949       }
8950       uninterpretedOption_.WriteTo(ref output, _repeated_uninterpretedOption_codec);
8951       if (_extensions != null) {
8952         _extensions.WriteTo(ref output);
8953       }
8954       if (_unknownFields != null) {
8955         _unknownFields.WriteTo(ref output);
8956       }
8957     }
8958     #endif
8959 
8960     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8961     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()8962     public int CalculateSize() {
8963       int size = 0;
8964       if (HasDeprecated) {
8965         size += 2 + 1;
8966       }
8967       if (HasIdempotencyLevel) {
8968         size += 2 + pb::CodedOutputStream.ComputeEnumSize((int) IdempotencyLevel);
8969       }
8970       size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_codec);
8971       if (_extensions != null) {
8972         size += _extensions.CalculateSize();
8973       }
8974       if (_unknownFields != null) {
8975         size += _unknownFields.CalculateSize();
8976       }
8977       return size;
8978     }
8979 
8980     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8981     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(MethodOptions other)8982     public void MergeFrom(MethodOptions other) {
8983       if (other == null) {
8984         return;
8985       }
8986       if (other.HasDeprecated) {
8987         Deprecated = other.Deprecated;
8988       }
8989       if (other.HasIdempotencyLevel) {
8990         IdempotencyLevel = other.IdempotencyLevel;
8991       }
8992       uninterpretedOption_.Add(other.uninterpretedOption_);
8993       pb::ExtensionSet.MergeFrom(ref _extensions, other._extensions);
8994       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
8995     }
8996 
8997     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
8998     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)8999     public void MergeFrom(pb::CodedInputStream input) {
9000     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9001       input.ReadRawMessage(this);
9002     #else
9003       uint tag;
9004       while ((tag = input.ReadTag()) != 0) {
9005         switch(tag) {
9006           default:
9007             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, input)) {
9008               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9009             }
9010             break;
9011           case 264: {
9012             Deprecated = input.ReadBool();
9013             break;
9014           }
9015           case 272: {
9016             IdempotencyLevel = (global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel) input.ReadEnum();
9017             break;
9018           }
9019           case 7994: {
9020             uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOption_codec);
9021             break;
9022           }
9023         }
9024       }
9025     #endif
9026     }
9027 
9028     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9029     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9030     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)9031     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9032       uint tag;
9033       while ((tag = input.ReadTag()) != 0) {
9034         switch(tag) {
9035           default:
9036             if (!pb::ExtensionSet.TryMergeFieldFrom(ref _extensions, ref input)) {
9037               _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9038             }
9039             break;
9040           case 264: {
9041             Deprecated = input.ReadBool();
9042             break;
9043           }
9044           case 272: {
9045             IdempotencyLevel = (global::Google.Protobuf.Reflection.MethodOptions.Types.IdempotencyLevel) input.ReadEnum();
9046             break;
9047           }
9048           case 7994: {
9049             uninterpretedOption_.AddEntriesFrom(ref input, _repeated_uninterpretedOption_codec);
9050             break;
9051           }
9052         }
9053       }
9054     }
9055     #endif
9056 
GetExtension(pb::Extension<MethodOptions, TValue> extension)9057     public TValue GetExtension<TValue>(pb::Extension<MethodOptions, TValue> extension) {
9058       return pb::ExtensionSet.Get(ref _extensions, extension);
9059     }
GetExtension(pb::RepeatedExtension<MethodOptions, TValue> extension)9060     public pbc::RepeatedField<TValue> GetExtension<TValue>(pb::RepeatedExtension<MethodOptions, TValue> extension) {
9061       return pb::ExtensionSet.Get(ref _extensions, extension);
9062     }
GetOrInitializeExtension(pb::RepeatedExtension<MethodOptions, TValue> extension)9063     public pbc::RepeatedField<TValue> GetOrInitializeExtension<TValue>(pb::RepeatedExtension<MethodOptions, TValue> extension) {
9064       return pb::ExtensionSet.GetOrInitialize(ref _extensions, extension);
9065     }
SetExtension(pb::Extension<MethodOptions, TValue> extension, TValue value)9066     public void SetExtension<TValue>(pb::Extension<MethodOptions, TValue> extension, TValue value) {
9067       pb::ExtensionSet.Set(ref _extensions, extension, value);
9068     }
HasExtension(pb::Extension<MethodOptions, TValue> extension)9069     public bool HasExtension<TValue>(pb::Extension<MethodOptions, TValue> extension) {
9070       return pb::ExtensionSet.Has(ref _extensions, extension);
9071     }
ClearExtension(pb::Extension<MethodOptions, TValue> extension)9072     public void ClearExtension<TValue>(pb::Extension<MethodOptions, TValue> extension) {
9073       pb::ExtensionSet.Clear(ref _extensions, extension);
9074     }
ClearExtension(pb::RepeatedExtension<MethodOptions, TValue> extension)9075     public void ClearExtension<TValue>(pb::RepeatedExtension<MethodOptions, TValue> extension) {
9076       pb::ExtensionSet.Clear(ref _extensions, extension);
9077     }
9078 
9079     #region Nested types
9080     /// <summary>Container for nested types declared in the MethodOptions message type.</summary>
9081     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9082     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9083     public static partial class Types {
9084       /// <summary>
9085       /// Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
9086       /// or neither? HTTP based RPC implementation may choose GET verb for safe
9087       /// methods, and PUT verb for idempotent methods instead of the default POST.
9088       /// </summary>
9089       public enum IdempotencyLevel {
9090         [pbr::OriginalName("IDEMPOTENCY_UNKNOWN")] IdempotencyUnknown = 0,
9091         /// <summary>
9092         /// implies idempotent
9093         /// </summary>
9094         [pbr::OriginalName("NO_SIDE_EFFECTS")] NoSideEffects = 1,
9095         /// <summary>
9096         /// idempotent, but may have side effects
9097         /// </summary>
9098         [pbr::OriginalName("IDEMPOTENT")] Idempotent = 2,
9099       }
9100 
9101     }
9102     #endregion
9103 
9104   }
9105 
9106   /// <summary>
9107   /// A message representing a option the parser does not recognize. This only
9108   /// appears in options protos created by the compiler::Parser class.
9109   /// DescriptorPool resolves these when building Descriptor objects. Therefore,
9110   /// options protos in descriptor objects (e.g. returned by Descriptor::options(),
9111   /// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
9112   /// in them.
9113   /// </summary>
9114   public sealed partial class UninterpretedOption : pb::IMessage<UninterpretedOption>
9115   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9116       , pb::IBufferMessage
9117   #endif
9118   {
9119     private static readonly pb::MessageParser<UninterpretedOption> _parser = new pb::MessageParser<UninterpretedOption>(() => new UninterpretedOption());
9120     private pb::UnknownFieldSet _unknownFields;
9121     private int _hasBits0;
9122     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9123     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9124     public static pb::MessageParser<UninterpretedOption> Parser { get { return _parser; } }
9125 
9126     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9127     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9128     public static pbr::MessageDescriptor Descriptor {
9129       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[18]; }
9130     }
9131 
9132     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9133     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9134     pbr::MessageDescriptor pb::IMessage.Descriptor {
9135       get { return Descriptor; }
9136     }
9137 
9138     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9139     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
UninterpretedOption()9140     public UninterpretedOption() {
9141       OnConstruction();
9142     }
9143 
OnConstruction()9144     partial void OnConstruction();
9145 
9146     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9147     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
UninterpretedOption(UninterpretedOption other)9148     public UninterpretedOption(UninterpretedOption other) : this() {
9149       _hasBits0 = other._hasBits0;
9150       name_ = other.name_.Clone();
9151       identifierValue_ = other.identifierValue_;
9152       positiveIntValue_ = other.positiveIntValue_;
9153       negativeIntValue_ = other.negativeIntValue_;
9154       doubleValue_ = other.doubleValue_;
9155       stringValue_ = other.stringValue_;
9156       aggregateValue_ = other.aggregateValue_;
9157       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9158     }
9159 
9160     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9161     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()9162     public UninterpretedOption Clone() {
9163       return new UninterpretedOption(this);
9164     }
9165 
9166     /// <summary>Field number for the "name" field.</summary>
9167     public const int NameFieldNumber = 2;
9168     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> _repeated_name_codec
9169         = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart.Parser);
9170     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> name_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart>();
9171     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9172     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9173     public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOption.Types.NamePart> Name {
9174       get { return name_; }
9175     }
9176 
9177     /// <summary>Field number for the "identifier_value" field.</summary>
9178     public const int IdentifierValueFieldNumber = 3;
9179     private readonly static string IdentifierValueDefaultValue = "";
9180 
9181     private string identifierValue_;
9182     /// <summary>
9183     /// The value of the uninterpreted option, in whatever type the tokenizer
9184     /// identified it as during parsing. Exactly one of these should be set.
9185     /// </summary>
9186     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9187     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9188     public string IdentifierValue {
9189       get { return identifierValue_ ?? IdentifierValueDefaultValue; }
9190       set {
9191         identifierValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
9192       }
9193     }
9194     /// <summary>Gets whether the "identifier_value" field is set</summary>
9195     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9196     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9197     public bool HasIdentifierValue {
9198       get { return identifierValue_ != null; }
9199     }
9200     /// <summary>Clears the value of the "identifier_value" field</summary>
9201     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9202     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearIdentifierValue()9203     public void ClearIdentifierValue() {
9204       identifierValue_ = null;
9205     }
9206 
9207     /// <summary>Field number for the "positive_int_value" field.</summary>
9208     public const int PositiveIntValueFieldNumber = 4;
9209     private readonly static ulong PositiveIntValueDefaultValue = 0UL;
9210 
9211     private ulong positiveIntValue_;
9212     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9213     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9214     public ulong PositiveIntValue {
9215       get { if ((_hasBits0 & 1) != 0) { return positiveIntValue_; } else { return PositiveIntValueDefaultValue; } }
9216       set {
9217         _hasBits0 |= 1;
9218         positiveIntValue_ = value;
9219       }
9220     }
9221     /// <summary>Gets whether the "positive_int_value" field is set</summary>
9222     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9223     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9224     public bool HasPositiveIntValue {
9225       get { return (_hasBits0 & 1) != 0; }
9226     }
9227     /// <summary>Clears the value of the "positive_int_value" field</summary>
9228     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9229     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearPositiveIntValue()9230     public void ClearPositiveIntValue() {
9231       _hasBits0 &= ~1;
9232     }
9233 
9234     /// <summary>Field number for the "negative_int_value" field.</summary>
9235     public const int NegativeIntValueFieldNumber = 5;
9236     private readonly static long NegativeIntValueDefaultValue = 0L;
9237 
9238     private long negativeIntValue_;
9239     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9240     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9241     public long NegativeIntValue {
9242       get { if ((_hasBits0 & 2) != 0) { return negativeIntValue_; } else { return NegativeIntValueDefaultValue; } }
9243       set {
9244         _hasBits0 |= 2;
9245         negativeIntValue_ = value;
9246       }
9247     }
9248     /// <summary>Gets whether the "negative_int_value" field is set</summary>
9249     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9250     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9251     public bool HasNegativeIntValue {
9252       get { return (_hasBits0 & 2) != 0; }
9253     }
9254     /// <summary>Clears the value of the "negative_int_value" field</summary>
9255     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9256     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearNegativeIntValue()9257     public void ClearNegativeIntValue() {
9258       _hasBits0 &= ~2;
9259     }
9260 
9261     /// <summary>Field number for the "double_value" field.</summary>
9262     public const int DoubleValueFieldNumber = 6;
9263     private readonly static double DoubleValueDefaultValue = 0D;
9264 
9265     private double doubleValue_;
9266     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9267     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9268     public double DoubleValue {
9269       get { if ((_hasBits0 & 4) != 0) { return doubleValue_; } else { return DoubleValueDefaultValue; } }
9270       set {
9271         _hasBits0 |= 4;
9272         doubleValue_ = value;
9273       }
9274     }
9275     /// <summary>Gets whether the "double_value" field is set</summary>
9276     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9277     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9278     public bool HasDoubleValue {
9279       get { return (_hasBits0 & 4) != 0; }
9280     }
9281     /// <summary>Clears the value of the "double_value" field</summary>
9282     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9283     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearDoubleValue()9284     public void ClearDoubleValue() {
9285       _hasBits0 &= ~4;
9286     }
9287 
9288     /// <summary>Field number for the "string_value" field.</summary>
9289     public const int StringValueFieldNumber = 7;
9290     private readonly static pb::ByteString StringValueDefaultValue = pb::ByteString.Empty;
9291 
9292     private pb::ByteString stringValue_;
9293     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9294     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9295     public pb::ByteString StringValue {
9296       get { return stringValue_ ?? StringValueDefaultValue; }
9297       set {
9298         stringValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
9299       }
9300     }
9301     /// <summary>Gets whether the "string_value" field is set</summary>
9302     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9303     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9304     public bool HasStringValue {
9305       get { return stringValue_ != null; }
9306     }
9307     /// <summary>Clears the value of the "string_value" field</summary>
9308     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9309     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearStringValue()9310     public void ClearStringValue() {
9311       stringValue_ = null;
9312     }
9313 
9314     /// <summary>Field number for the "aggregate_value" field.</summary>
9315     public const int AggregateValueFieldNumber = 8;
9316     private readonly static string AggregateValueDefaultValue = "";
9317 
9318     private string aggregateValue_;
9319     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9320     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9321     public string AggregateValue {
9322       get { return aggregateValue_ ?? AggregateValueDefaultValue; }
9323       set {
9324         aggregateValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
9325       }
9326     }
9327     /// <summary>Gets whether the "aggregate_value" field is set</summary>
9328     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9329     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9330     public bool HasAggregateValue {
9331       get { return aggregateValue_ != null; }
9332     }
9333     /// <summary>Clears the value of the "aggregate_value" field</summary>
9334     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9335     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearAggregateValue()9336     public void ClearAggregateValue() {
9337       aggregateValue_ = null;
9338     }
9339 
9340     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9341     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)9342     public override bool Equals(object other) {
9343       return Equals(other as UninterpretedOption);
9344     }
9345 
9346     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9347     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(UninterpretedOption other)9348     public bool Equals(UninterpretedOption other) {
9349       if (ReferenceEquals(other, null)) {
9350         return false;
9351       }
9352       if (ReferenceEquals(other, this)) {
9353         return true;
9354       }
9355       if(!name_.Equals(other.name_)) return false;
9356       if (IdentifierValue != other.IdentifierValue) return false;
9357       if (PositiveIntValue != other.PositiveIntValue) return false;
9358       if (NegativeIntValue != other.NegativeIntValue) return false;
9359       if (!pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.Equals(DoubleValue, other.DoubleValue)) return false;
9360       if (StringValue != other.StringValue) return false;
9361       if (AggregateValue != other.AggregateValue) return false;
9362       return Equals(_unknownFields, other._unknownFields);
9363     }
9364 
9365     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9366     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()9367     public override int GetHashCode() {
9368       int hash = 1;
9369       hash ^= name_.GetHashCode();
9370       if (HasIdentifierValue) hash ^= IdentifierValue.GetHashCode();
9371       if (HasPositiveIntValue) hash ^= PositiveIntValue.GetHashCode();
9372       if (HasNegativeIntValue) hash ^= NegativeIntValue.GetHashCode();
9373       if (HasDoubleValue) hash ^= pbc::ProtobufEqualityComparers.BitwiseDoubleEqualityComparer.GetHashCode(DoubleValue);
9374       if (HasStringValue) hash ^= StringValue.GetHashCode();
9375       if (HasAggregateValue) hash ^= AggregateValue.GetHashCode();
9376       if (_unknownFields != null) {
9377         hash ^= _unknownFields.GetHashCode();
9378       }
9379       return hash;
9380     }
9381 
9382     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9383     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()9384     public override string ToString() {
9385       return pb::JsonFormatter.ToDiagnosticString(this);
9386     }
9387 
9388     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9389     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)9390     public void WriteTo(pb::CodedOutputStream output) {
9391     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9392       output.WriteRawMessage(this);
9393     #else
9394       name_.WriteTo(output, _repeated_name_codec);
9395       if (HasIdentifierValue) {
9396         output.WriteRawTag(26);
9397         output.WriteString(IdentifierValue);
9398       }
9399       if (HasPositiveIntValue) {
9400         output.WriteRawTag(32);
9401         output.WriteUInt64(PositiveIntValue);
9402       }
9403       if (HasNegativeIntValue) {
9404         output.WriteRawTag(40);
9405         output.WriteInt64(NegativeIntValue);
9406       }
9407       if (HasDoubleValue) {
9408         output.WriteRawTag(49);
9409         output.WriteDouble(DoubleValue);
9410       }
9411       if (HasStringValue) {
9412         output.WriteRawTag(58);
9413         output.WriteBytes(StringValue);
9414       }
9415       if (HasAggregateValue) {
9416         output.WriteRawTag(66);
9417         output.WriteString(AggregateValue);
9418       }
9419       if (_unknownFields != null) {
9420         _unknownFields.WriteTo(output);
9421       }
9422     #endif
9423     }
9424 
9425     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9426     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9427     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)9428     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9429       name_.WriteTo(ref output, _repeated_name_codec);
9430       if (HasIdentifierValue) {
9431         output.WriteRawTag(26);
9432         output.WriteString(IdentifierValue);
9433       }
9434       if (HasPositiveIntValue) {
9435         output.WriteRawTag(32);
9436         output.WriteUInt64(PositiveIntValue);
9437       }
9438       if (HasNegativeIntValue) {
9439         output.WriteRawTag(40);
9440         output.WriteInt64(NegativeIntValue);
9441       }
9442       if (HasDoubleValue) {
9443         output.WriteRawTag(49);
9444         output.WriteDouble(DoubleValue);
9445       }
9446       if (HasStringValue) {
9447         output.WriteRawTag(58);
9448         output.WriteBytes(StringValue);
9449       }
9450       if (HasAggregateValue) {
9451         output.WriteRawTag(66);
9452         output.WriteString(AggregateValue);
9453       }
9454       if (_unknownFields != null) {
9455         _unknownFields.WriteTo(ref output);
9456       }
9457     }
9458     #endif
9459 
9460     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9461     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()9462     public int CalculateSize() {
9463       int size = 0;
9464       size += name_.CalculateSize(_repeated_name_codec);
9465       if (HasIdentifierValue) {
9466         size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentifierValue);
9467       }
9468       if (HasPositiveIntValue) {
9469         size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PositiveIntValue);
9470       }
9471       if (HasNegativeIntValue) {
9472         size += 1 + pb::CodedOutputStream.ComputeInt64Size(NegativeIntValue);
9473       }
9474       if (HasDoubleValue) {
9475         size += 1 + 8;
9476       }
9477       if (HasStringValue) {
9478         size += 1 + pb::CodedOutputStream.ComputeBytesSize(StringValue);
9479       }
9480       if (HasAggregateValue) {
9481         size += 1 + pb::CodedOutputStream.ComputeStringSize(AggregateValue);
9482       }
9483       if (_unknownFields != null) {
9484         size += _unknownFields.CalculateSize();
9485       }
9486       return size;
9487     }
9488 
9489     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9490     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(UninterpretedOption other)9491     public void MergeFrom(UninterpretedOption other) {
9492       if (other == null) {
9493         return;
9494       }
9495       name_.Add(other.name_);
9496       if (other.HasIdentifierValue) {
9497         IdentifierValue = other.IdentifierValue;
9498       }
9499       if (other.HasPositiveIntValue) {
9500         PositiveIntValue = other.PositiveIntValue;
9501       }
9502       if (other.HasNegativeIntValue) {
9503         NegativeIntValue = other.NegativeIntValue;
9504       }
9505       if (other.HasDoubleValue) {
9506         DoubleValue = other.DoubleValue;
9507       }
9508       if (other.HasStringValue) {
9509         StringValue = other.StringValue;
9510       }
9511       if (other.HasAggregateValue) {
9512         AggregateValue = other.AggregateValue;
9513       }
9514       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9515     }
9516 
9517     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9518     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)9519     public void MergeFrom(pb::CodedInputStream input) {
9520     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9521       input.ReadRawMessage(this);
9522     #else
9523       uint tag;
9524       while ((tag = input.ReadTag()) != 0) {
9525         switch(tag) {
9526           default:
9527             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9528             break;
9529           case 18: {
9530             name_.AddEntriesFrom(input, _repeated_name_codec);
9531             break;
9532           }
9533           case 26: {
9534             IdentifierValue = input.ReadString();
9535             break;
9536           }
9537           case 32: {
9538             PositiveIntValue = input.ReadUInt64();
9539             break;
9540           }
9541           case 40: {
9542             NegativeIntValue = input.ReadInt64();
9543             break;
9544           }
9545           case 49: {
9546             DoubleValue = input.ReadDouble();
9547             break;
9548           }
9549           case 58: {
9550             StringValue = input.ReadBytes();
9551             break;
9552           }
9553           case 66: {
9554             AggregateValue = input.ReadString();
9555             break;
9556           }
9557         }
9558       }
9559     #endif
9560     }
9561 
9562     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9563     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9564     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)9565     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9566       uint tag;
9567       while ((tag = input.ReadTag()) != 0) {
9568         switch(tag) {
9569           default:
9570             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9571             break;
9572           case 18: {
9573             name_.AddEntriesFrom(ref input, _repeated_name_codec);
9574             break;
9575           }
9576           case 26: {
9577             IdentifierValue = input.ReadString();
9578             break;
9579           }
9580           case 32: {
9581             PositiveIntValue = input.ReadUInt64();
9582             break;
9583           }
9584           case 40: {
9585             NegativeIntValue = input.ReadInt64();
9586             break;
9587           }
9588           case 49: {
9589             DoubleValue = input.ReadDouble();
9590             break;
9591           }
9592           case 58: {
9593             StringValue = input.ReadBytes();
9594             break;
9595           }
9596           case 66: {
9597             AggregateValue = input.ReadString();
9598             break;
9599           }
9600         }
9601       }
9602     }
9603     #endif
9604 
9605     #region Nested types
9606     /// <summary>Container for nested types declared in the UninterpretedOption message type.</summary>
9607     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9608     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9609     public static partial class Types {
9610       /// <summary>
9611       /// The name of the uninterpreted option.  Each string represents a segment in
9612       /// a dot-separated name.  is_extension is true iff a segment represents an
9613       /// extension (denoted with parentheses in options specs in .proto files).
9614       /// E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
9615       /// "foo.(bar.baz).moo".
9616       /// </summary>
9617       public sealed partial class NamePart : pb::IMessage<NamePart>
9618       #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9619           , pb::IBufferMessage
9620       #endif
9621       {
9622         private static readonly pb::MessageParser<NamePart> _parser = new pb::MessageParser<NamePart>(() => new NamePart());
9623         private pb::UnknownFieldSet _unknownFields;
9624         private int _hasBits0;
9625         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9626         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9627         public static pb::MessageParser<NamePart> Parser { get { return _parser; } }
9628 
9629         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9630         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9631         public static pbr::MessageDescriptor Descriptor {
9632           get { return global::Google.Protobuf.Reflection.UninterpretedOption.Descriptor.NestedTypes[0]; }
9633         }
9634 
9635         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9636         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9637         pbr::MessageDescriptor pb::IMessage.Descriptor {
9638           get { return Descriptor; }
9639         }
9640 
9641         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9642         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
NamePart()9643         public NamePart() {
9644           OnConstruction();
9645         }
9646 
OnConstruction()9647         partial void OnConstruction();
9648 
9649         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9650         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
NamePart(NamePart other)9651         public NamePart(NamePart other) : this() {
9652           _hasBits0 = other._hasBits0;
9653           namePart_ = other.namePart_;
9654           isExtension_ = other.isExtension_;
9655           _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9656         }
9657 
9658         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9659         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()9660         public NamePart Clone() {
9661           return new NamePart(this);
9662         }
9663 
9664         /// <summary>Field number for the "name_part" field.</summary>
9665         public const int NamePart_FieldNumber = 1;
9666         private readonly static string NamePart_DefaultValue = "";
9667 
9668         private string namePart_;
9669         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9670         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9671         public string NamePart_ {
9672           get { return namePart_ ?? NamePart_DefaultValue; }
9673           set {
9674             namePart_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
9675           }
9676         }
9677         /// <summary>Gets whether the "name_part" field is set</summary>
9678         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9679         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9680         public bool HasNamePart_ {
9681           get { return namePart_ != null; }
9682         }
9683         /// <summary>Clears the value of the "name_part" field</summary>
9684         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9685         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearNamePart_()9686         public void ClearNamePart_() {
9687           namePart_ = null;
9688         }
9689 
9690         /// <summary>Field number for the "is_extension" field.</summary>
9691         public const int IsExtensionFieldNumber = 2;
9692         private readonly static bool IsExtensionDefaultValue = false;
9693 
9694         private bool isExtension_;
9695         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9696         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9697         public bool IsExtension {
9698           get { if ((_hasBits0 & 1) != 0) { return isExtension_; } else { return IsExtensionDefaultValue; } }
9699           set {
9700             _hasBits0 |= 1;
9701             isExtension_ = value;
9702           }
9703         }
9704         /// <summary>Gets whether the "is_extension" field is set</summary>
9705         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9706         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9707         public bool HasIsExtension {
9708           get { return (_hasBits0 & 1) != 0; }
9709         }
9710         /// <summary>Clears the value of the "is_extension" field</summary>
9711         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9712         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearIsExtension()9713         public void ClearIsExtension() {
9714           _hasBits0 &= ~1;
9715         }
9716 
9717         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9718         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)9719         public override bool Equals(object other) {
9720           return Equals(other as NamePart);
9721         }
9722 
9723         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9724         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(NamePart other)9725         public bool Equals(NamePart other) {
9726           if (ReferenceEquals(other, null)) {
9727             return false;
9728           }
9729           if (ReferenceEquals(other, this)) {
9730             return true;
9731           }
9732           if (NamePart_ != other.NamePart_) return false;
9733           if (IsExtension != other.IsExtension) return false;
9734           return Equals(_unknownFields, other._unknownFields);
9735         }
9736 
9737         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9738         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()9739         public override int GetHashCode() {
9740           int hash = 1;
9741           if (HasNamePart_) hash ^= NamePart_.GetHashCode();
9742           if (HasIsExtension) hash ^= IsExtension.GetHashCode();
9743           if (_unknownFields != null) {
9744             hash ^= _unknownFields.GetHashCode();
9745           }
9746           return hash;
9747         }
9748 
9749         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9750         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()9751         public override string ToString() {
9752           return pb::JsonFormatter.ToDiagnosticString(this);
9753         }
9754 
9755         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9756         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)9757         public void WriteTo(pb::CodedOutputStream output) {
9758         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9759           output.WriteRawMessage(this);
9760         #else
9761           if (HasNamePart_) {
9762             output.WriteRawTag(10);
9763             output.WriteString(NamePart_);
9764           }
9765           if (HasIsExtension) {
9766             output.WriteRawTag(16);
9767             output.WriteBool(IsExtension);
9768           }
9769           if (_unknownFields != null) {
9770             _unknownFields.WriteTo(output);
9771           }
9772         #endif
9773         }
9774 
9775         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9776         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9777         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)9778         void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
9779           if (HasNamePart_) {
9780             output.WriteRawTag(10);
9781             output.WriteString(NamePart_);
9782           }
9783           if (HasIsExtension) {
9784             output.WriteRawTag(16);
9785             output.WriteBool(IsExtension);
9786           }
9787           if (_unknownFields != null) {
9788             _unknownFields.WriteTo(ref output);
9789           }
9790         }
9791         #endif
9792 
9793         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9794         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()9795         public int CalculateSize() {
9796           int size = 0;
9797           if (HasNamePart_) {
9798             size += 1 + pb::CodedOutputStream.ComputeStringSize(NamePart_);
9799           }
9800           if (HasIsExtension) {
9801             size += 1 + 1;
9802           }
9803           if (_unknownFields != null) {
9804             size += _unknownFields.CalculateSize();
9805           }
9806           return size;
9807         }
9808 
9809         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9810         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(NamePart other)9811         public void MergeFrom(NamePart other) {
9812           if (other == null) {
9813             return;
9814           }
9815           if (other.HasNamePart_) {
9816             NamePart_ = other.NamePart_;
9817           }
9818           if (other.HasIsExtension) {
9819             IsExtension = other.IsExtension;
9820           }
9821           _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
9822         }
9823 
9824         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9825         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)9826         public void MergeFrom(pb::CodedInputStream input) {
9827         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9828           input.ReadRawMessage(this);
9829         #else
9830           uint tag;
9831           while ((tag = input.ReadTag()) != 0) {
9832             switch(tag) {
9833               default:
9834                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
9835                 break;
9836               case 10: {
9837                 NamePart_ = input.ReadString();
9838                 break;
9839               }
9840               case 16: {
9841                 IsExtension = input.ReadBool();
9842                 break;
9843               }
9844             }
9845           }
9846         #endif
9847         }
9848 
9849         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9850         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9851         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)9852         void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
9853           uint tag;
9854           while ((tag = input.ReadTag()) != 0) {
9855             switch(tag) {
9856               default:
9857                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
9858                 break;
9859               case 10: {
9860                 NamePart_ = input.ReadString();
9861                 break;
9862               }
9863               case 16: {
9864                 IsExtension = input.ReadBool();
9865                 break;
9866               }
9867             }
9868           }
9869         }
9870         #endif
9871 
9872       }
9873 
9874     }
9875     #endregion
9876 
9877   }
9878 
9879   /// <summary>
9880   /// Encapsulates information about the original source file from which a
9881   /// FileDescriptorProto was generated.
9882   /// </summary>
9883   public sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo>
9884   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
9885       , pb::IBufferMessage
9886   #endif
9887   {
9888     private static readonly pb::MessageParser<SourceCodeInfo> _parser = new pb::MessageParser<SourceCodeInfo>(() => new SourceCodeInfo());
9889     private pb::UnknownFieldSet _unknownFields;
9890     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9891     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9892     public static pb::MessageParser<SourceCodeInfo> Parser { get { return _parser; } }
9893 
9894     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9895     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9896     public static pbr::MessageDescriptor Descriptor {
9897       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[19]; }
9898     }
9899 
9900     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9901     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9902     pbr::MessageDescriptor pb::IMessage.Descriptor {
9903       get { return Descriptor; }
9904     }
9905 
9906     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9907     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
SourceCodeInfo()9908     public SourceCodeInfo() {
9909       OnConstruction();
9910     }
9911 
OnConstruction()9912     partial void OnConstruction();
9913 
9914     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9915     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
SourceCodeInfo(SourceCodeInfo other)9916     public SourceCodeInfo(SourceCodeInfo other) : this() {
9917       location_ = other.location_.Clone();
9918       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
9919     }
9920 
9921     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9922     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()9923     public SourceCodeInfo Clone() {
9924       return new SourceCodeInfo(this);
9925     }
9926 
9927     /// <summary>Field number for the "location" field.</summary>
9928     public const int LocationFieldNumber = 1;
9929     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> _repeated_location_codec
9930         = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parser);
9931     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> location_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location>();
9932     /// <summary>
9933     /// A Location identifies a piece of source code in a .proto file which
9934     /// corresponds to a particular definition.  This information is intended
9935     /// to be useful to IDEs, code indexers, documentation generators, and similar
9936     /// tools.
9937     ///
9938     /// For example, say we have a file like:
9939     ///   message Foo {
9940     ///     optional string foo = 1;
9941     ///   }
9942     /// Let's look at just the field definition:
9943     ///   optional string foo = 1;
9944     ///   ^       ^^     ^^  ^  ^^^
9945     ///   a       bc     de  f  ghi
9946     /// We have the following locations:
9947     ///   span   path               represents
9948     ///   [a,i)  [ 4, 0, 2, 0 ]     The whole field definition.
9949     ///   [a,b)  [ 4, 0, 2, 0, 4 ]  The label (optional).
9950     ///   [c,d)  [ 4, 0, 2, 0, 5 ]  The type (string).
9951     ///   [e,f)  [ 4, 0, 2, 0, 1 ]  The name (foo).
9952     ///   [g,h)  [ 4, 0, 2, 0, 3 ]  The number (1).
9953     ///
9954     /// Notes:
9955     /// - A location may refer to a repeated field itself (i.e. not to any
9956     ///   particular index within it).  This is used whenever a set of elements are
9957     ///   logically enclosed in a single code segment.  For example, an entire
9958     ///   extend block (possibly containing multiple extension definitions) will
9959     ///   have an outer location whose path refers to the "extensions" repeated
9960     ///   field without an index.
9961     /// - Multiple locations may have the same path.  This happens when a single
9962     ///   logical declaration is spread out across multiple places.  The most
9963     ///   obvious example is the "extend" block again -- there may be multiple
9964     ///   extend blocks in the same scope, each of which will have the same path.
9965     /// - A location's span is not always a subset of its parent's span.  For
9966     ///   example, the "extendee" of an extension declaration appears at the
9967     ///   beginning of the "extend" block and is shared by all extensions within
9968     ///   the block.
9969     /// - Just because a location's span is a subset of some other location's span
9970     ///   does not mean that it is a descendant.  For example, a "group" defines
9971     ///   both a type and a field in a single declaration.  Thus, the locations
9972     ///   corresponding to the type and field and their components will overlap.
9973     /// - Code which tries to interpret locations should probably be designed to
9974     ///   ignore those that it doesn't understand, as more types of locations could
9975     ///   be recorded in the future.
9976     /// </summary>
9977     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9978     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
9979     public pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location> Location {
9980       get { return location_; }
9981     }
9982 
9983     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9984     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)9985     public override bool Equals(object other) {
9986       return Equals(other as SourceCodeInfo);
9987     }
9988 
9989     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
9990     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(SourceCodeInfo other)9991     public bool Equals(SourceCodeInfo other) {
9992       if (ReferenceEquals(other, null)) {
9993         return false;
9994       }
9995       if (ReferenceEquals(other, this)) {
9996         return true;
9997       }
9998       if(!location_.Equals(other.location_)) return false;
9999       return Equals(_unknownFields, other._unknownFields);
10000     }
10001 
10002     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10003     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()10004     public override int GetHashCode() {
10005       int hash = 1;
10006       hash ^= location_.GetHashCode();
10007       if (_unknownFields != null) {
10008         hash ^= _unknownFields.GetHashCode();
10009       }
10010       return hash;
10011     }
10012 
10013     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10014     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()10015     public override string ToString() {
10016       return pb::JsonFormatter.ToDiagnosticString(this);
10017     }
10018 
10019     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10020     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)10021     public void WriteTo(pb::CodedOutputStream output) {
10022     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10023       output.WriteRawMessage(this);
10024     #else
10025       location_.WriteTo(output, _repeated_location_codec);
10026       if (_unknownFields != null) {
10027         _unknownFields.WriteTo(output);
10028       }
10029     #endif
10030     }
10031 
10032     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10033     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10034     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)10035     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
10036       location_.WriteTo(ref output, _repeated_location_codec);
10037       if (_unknownFields != null) {
10038         _unknownFields.WriteTo(ref output);
10039       }
10040     }
10041     #endif
10042 
10043     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10044     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()10045     public int CalculateSize() {
10046       int size = 0;
10047       size += location_.CalculateSize(_repeated_location_codec);
10048       if (_unknownFields != null) {
10049         size += _unknownFields.CalculateSize();
10050       }
10051       return size;
10052     }
10053 
10054     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10055     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(SourceCodeInfo other)10056     public void MergeFrom(SourceCodeInfo other) {
10057       if (other == null) {
10058         return;
10059       }
10060       location_.Add(other.location_);
10061       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
10062     }
10063 
10064     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10065     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)10066     public void MergeFrom(pb::CodedInputStream input) {
10067     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10068       input.ReadRawMessage(this);
10069     #else
10070       uint tag;
10071       while ((tag = input.ReadTag()) != 0) {
10072         switch(tag) {
10073           default:
10074             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
10075             break;
10076           case 10: {
10077             location_.AddEntriesFrom(input, _repeated_location_codec);
10078             break;
10079           }
10080         }
10081       }
10082     #endif
10083     }
10084 
10085     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10086     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10087     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)10088     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
10089       uint tag;
10090       while ((tag = input.ReadTag()) != 0) {
10091         switch(tag) {
10092           default:
10093             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
10094             break;
10095           case 10: {
10096             location_.AddEntriesFrom(ref input, _repeated_location_codec);
10097             break;
10098           }
10099         }
10100       }
10101     }
10102     #endif
10103 
10104     #region Nested types
10105     /// <summary>Container for nested types declared in the SourceCodeInfo message type.</summary>
10106     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10107     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10108     public static partial class Types {
10109       public sealed partial class Location : pb::IMessage<Location>
10110       #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10111           , pb::IBufferMessage
10112       #endif
10113       {
10114         private static readonly pb::MessageParser<Location> _parser = new pb::MessageParser<Location>(() => new Location());
10115         private pb::UnknownFieldSet _unknownFields;
10116         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10117         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10118         public static pb::MessageParser<Location> Parser { get { return _parser; } }
10119 
10120         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10121         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10122         public static pbr::MessageDescriptor Descriptor {
10123           get { return global::Google.Protobuf.Reflection.SourceCodeInfo.Descriptor.NestedTypes[0]; }
10124         }
10125 
10126         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10127         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10128         pbr::MessageDescriptor pb::IMessage.Descriptor {
10129           get { return Descriptor; }
10130         }
10131 
10132         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10133         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Location()10134         public Location() {
10135           OnConstruction();
10136         }
10137 
OnConstruction()10138         partial void OnConstruction();
10139 
10140         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10141         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Location(Location other)10142         public Location(Location other) : this() {
10143           path_ = other.path_.Clone();
10144           span_ = other.span_.Clone();
10145           leadingComments_ = other.leadingComments_;
10146           trailingComments_ = other.trailingComments_;
10147           leadingDetachedComments_ = other.leadingDetachedComments_.Clone();
10148           _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
10149         }
10150 
10151         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10152         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()10153         public Location Clone() {
10154           return new Location(this);
10155         }
10156 
10157         /// <summary>Field number for the "path" field.</summary>
10158         public const int PathFieldNumber = 1;
10159         private static readonly pb::FieldCodec<int> _repeated_path_codec
10160             = pb::FieldCodec.ForInt32(10);
10161         private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField<int>();
10162         /// <summary>
10163         /// Identifies which part of the FileDescriptorProto was defined at this
10164         /// location.
10165         ///
10166         /// Each element is a field number or an index.  They form a path from
10167         /// the root FileDescriptorProto to the place where the definition occurs.
10168         /// For example, this path:
10169         ///   [ 4, 3, 2, 7, 1 ]
10170         /// refers to:
10171         ///   file.message_type(3)  // 4, 3
10172         ///       .field(7)         // 2, 7
10173         ///       .name()           // 1
10174         /// This is because FileDescriptorProto.message_type has field number 4:
10175         ///   repeated DescriptorProto message_type = 4;
10176         /// and DescriptorProto.field has field number 2:
10177         ///   repeated FieldDescriptorProto field = 2;
10178         /// and FieldDescriptorProto.name has field number 1:
10179         ///   optional string name = 1;
10180         ///
10181         /// Thus, the above path gives the location of a field name.  If we removed
10182         /// the last element:
10183         ///   [ 4, 3, 2, 7 ]
10184         /// this path refers to the whole field declaration (from the beginning
10185         /// of the label to the terminating semicolon).
10186         /// </summary>
10187         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10188         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10189         public pbc::RepeatedField<int> Path {
10190           get { return path_; }
10191         }
10192 
10193         /// <summary>Field number for the "span" field.</summary>
10194         public const int SpanFieldNumber = 2;
10195         private static readonly pb::FieldCodec<int> _repeated_span_codec
10196             = pb::FieldCodec.ForInt32(18);
10197         private readonly pbc::RepeatedField<int> span_ = new pbc::RepeatedField<int>();
10198         /// <summary>
10199         /// Always has exactly three or four elements: start line, start column,
10200         /// end line (optional, otherwise assumed same as start line), end column.
10201         /// These are packed into a single field for efficiency.  Note that line
10202         /// and column numbers are zero-based -- typically you will want to add
10203         /// 1 to each before displaying to a user.
10204         /// </summary>
10205         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10206         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10207         public pbc::RepeatedField<int> Span {
10208           get { return span_; }
10209         }
10210 
10211         /// <summary>Field number for the "leading_comments" field.</summary>
10212         public const int LeadingCommentsFieldNumber = 3;
10213         private readonly static string LeadingCommentsDefaultValue = "";
10214 
10215         private string leadingComments_;
10216         /// <summary>
10217         /// If this SourceCodeInfo represents a complete declaration, these are any
10218         /// comments appearing before and after the declaration which appear to be
10219         /// attached to the declaration.
10220         ///
10221         /// A series of line comments appearing on consecutive lines, with no other
10222         /// tokens appearing on those lines, will be treated as a single comment.
10223         ///
10224         /// leading_detached_comments will keep paragraphs of comments that appear
10225         /// before (but not connected to) the current element. Each paragraph,
10226         /// separated by empty lines, will be one comment element in the repeated
10227         /// field.
10228         ///
10229         /// Only the comment content is provided; comment markers (e.g. //) are
10230         /// stripped out.  For block comments, leading whitespace and an asterisk
10231         /// will be stripped from the beginning of each line other than the first.
10232         /// Newlines are included in the output.
10233         ///
10234         /// Examples:
10235         ///
10236         ///   optional int32 foo = 1;  // Comment attached to foo.
10237         ///   // Comment attached to bar.
10238         ///   optional int32 bar = 2;
10239         ///
10240         ///   optional string baz = 3;
10241         ///   // Comment attached to baz.
10242         ///   // Another line attached to baz.
10243         ///
10244         ///   // Comment attached to moo.
10245         ///   //
10246         ///   // Another line attached to moo.
10247         ///   optional double moo = 4;
10248         ///
10249         ///   // Detached comment for corge. This is not leading or trailing comments
10250         ///   // to moo or corge because there are blank lines separating it from
10251         ///   // both.
10252         ///
10253         ///   // Detached comment for corge paragraph 2.
10254         ///
10255         ///   optional string corge = 5;
10256         ///   /* Block comment attached
10257         ///    * to corge.  Leading asterisks
10258         ///    * will be removed. */
10259         ///   /* Block comment attached to
10260         ///    * grault. */
10261         ///   optional int32 grault = 6;
10262         ///
10263         ///   // ignored detached comments.
10264         /// </summary>
10265         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10266         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10267         public string LeadingComments {
10268           get { return leadingComments_ ?? LeadingCommentsDefaultValue; }
10269           set {
10270             leadingComments_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
10271           }
10272         }
10273         /// <summary>Gets whether the "leading_comments" field is set</summary>
10274         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10275         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10276         public bool HasLeadingComments {
10277           get { return leadingComments_ != null; }
10278         }
10279         /// <summary>Clears the value of the "leading_comments" field</summary>
10280         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10281         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearLeadingComments()10282         public void ClearLeadingComments() {
10283           leadingComments_ = null;
10284         }
10285 
10286         /// <summary>Field number for the "trailing_comments" field.</summary>
10287         public const int TrailingCommentsFieldNumber = 4;
10288         private readonly static string TrailingCommentsDefaultValue = "";
10289 
10290         private string trailingComments_;
10291         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10292         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10293         public string TrailingComments {
10294           get { return trailingComments_ ?? TrailingCommentsDefaultValue; }
10295           set {
10296             trailingComments_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
10297           }
10298         }
10299         /// <summary>Gets whether the "trailing_comments" field is set</summary>
10300         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10301         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10302         public bool HasTrailingComments {
10303           get { return trailingComments_ != null; }
10304         }
10305         /// <summary>Clears the value of the "trailing_comments" field</summary>
10306         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10307         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearTrailingComments()10308         public void ClearTrailingComments() {
10309           trailingComments_ = null;
10310         }
10311 
10312         /// <summary>Field number for the "leading_detached_comments" field.</summary>
10313         public const int LeadingDetachedCommentsFieldNumber = 6;
10314         private static readonly pb::FieldCodec<string> _repeated_leadingDetachedComments_codec
10315             = pb::FieldCodec.ForString(50);
10316         private readonly pbc::RepeatedField<string> leadingDetachedComments_ = new pbc::RepeatedField<string>();
10317         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10318         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10319         public pbc::RepeatedField<string> LeadingDetachedComments {
10320           get { return leadingDetachedComments_; }
10321         }
10322 
10323         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10324         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)10325         public override bool Equals(object other) {
10326           return Equals(other as Location);
10327         }
10328 
10329         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10330         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(Location other)10331         public bool Equals(Location other) {
10332           if (ReferenceEquals(other, null)) {
10333             return false;
10334           }
10335           if (ReferenceEquals(other, this)) {
10336             return true;
10337           }
10338           if(!path_.Equals(other.path_)) return false;
10339           if(!span_.Equals(other.span_)) return false;
10340           if (LeadingComments != other.LeadingComments) return false;
10341           if (TrailingComments != other.TrailingComments) return false;
10342           if(!leadingDetachedComments_.Equals(other.leadingDetachedComments_)) return false;
10343           return Equals(_unknownFields, other._unknownFields);
10344         }
10345 
10346         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10347         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()10348         public override int GetHashCode() {
10349           int hash = 1;
10350           hash ^= path_.GetHashCode();
10351           hash ^= span_.GetHashCode();
10352           if (HasLeadingComments) hash ^= LeadingComments.GetHashCode();
10353           if (HasTrailingComments) hash ^= TrailingComments.GetHashCode();
10354           hash ^= leadingDetachedComments_.GetHashCode();
10355           if (_unknownFields != null) {
10356             hash ^= _unknownFields.GetHashCode();
10357           }
10358           return hash;
10359         }
10360 
10361         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10362         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()10363         public override string ToString() {
10364           return pb::JsonFormatter.ToDiagnosticString(this);
10365         }
10366 
10367         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10368         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)10369         public void WriteTo(pb::CodedOutputStream output) {
10370         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10371           output.WriteRawMessage(this);
10372         #else
10373           path_.WriteTo(output, _repeated_path_codec);
10374           span_.WriteTo(output, _repeated_span_codec);
10375           if (HasLeadingComments) {
10376             output.WriteRawTag(26);
10377             output.WriteString(LeadingComments);
10378           }
10379           if (HasTrailingComments) {
10380             output.WriteRawTag(34);
10381             output.WriteString(TrailingComments);
10382           }
10383           leadingDetachedComments_.WriteTo(output, _repeated_leadingDetachedComments_codec);
10384           if (_unknownFields != null) {
10385             _unknownFields.WriteTo(output);
10386           }
10387         #endif
10388         }
10389 
10390         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10391         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10392         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)10393         void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
10394           path_.WriteTo(ref output, _repeated_path_codec);
10395           span_.WriteTo(ref output, _repeated_span_codec);
10396           if (HasLeadingComments) {
10397             output.WriteRawTag(26);
10398             output.WriteString(LeadingComments);
10399           }
10400           if (HasTrailingComments) {
10401             output.WriteRawTag(34);
10402             output.WriteString(TrailingComments);
10403           }
10404           leadingDetachedComments_.WriteTo(ref output, _repeated_leadingDetachedComments_codec);
10405           if (_unknownFields != null) {
10406             _unknownFields.WriteTo(ref output);
10407           }
10408         }
10409         #endif
10410 
10411         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10412         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()10413         public int CalculateSize() {
10414           int size = 0;
10415           size += path_.CalculateSize(_repeated_path_codec);
10416           size += span_.CalculateSize(_repeated_span_codec);
10417           if (HasLeadingComments) {
10418             size += 1 + pb::CodedOutputStream.ComputeStringSize(LeadingComments);
10419           }
10420           if (HasTrailingComments) {
10421             size += 1 + pb::CodedOutputStream.ComputeStringSize(TrailingComments);
10422           }
10423           size += leadingDetachedComments_.CalculateSize(_repeated_leadingDetachedComments_codec);
10424           if (_unknownFields != null) {
10425             size += _unknownFields.CalculateSize();
10426           }
10427           return size;
10428         }
10429 
10430         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10431         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(Location other)10432         public void MergeFrom(Location other) {
10433           if (other == null) {
10434             return;
10435           }
10436           path_.Add(other.path_);
10437           span_.Add(other.span_);
10438           if (other.HasLeadingComments) {
10439             LeadingComments = other.LeadingComments;
10440           }
10441           if (other.HasTrailingComments) {
10442             TrailingComments = other.TrailingComments;
10443           }
10444           leadingDetachedComments_.Add(other.leadingDetachedComments_);
10445           _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
10446         }
10447 
10448         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10449         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)10450         public void MergeFrom(pb::CodedInputStream input) {
10451         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10452           input.ReadRawMessage(this);
10453         #else
10454           uint tag;
10455           while ((tag = input.ReadTag()) != 0) {
10456             switch(tag) {
10457               default:
10458                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
10459                 break;
10460               case 10:
10461               case 8: {
10462                 path_.AddEntriesFrom(input, _repeated_path_codec);
10463                 break;
10464               }
10465               case 18:
10466               case 16: {
10467                 span_.AddEntriesFrom(input, _repeated_span_codec);
10468                 break;
10469               }
10470               case 26: {
10471                 LeadingComments = input.ReadString();
10472                 break;
10473               }
10474               case 34: {
10475                 TrailingComments = input.ReadString();
10476                 break;
10477               }
10478               case 50: {
10479                 leadingDetachedComments_.AddEntriesFrom(input, _repeated_leadingDetachedComments_codec);
10480                 break;
10481               }
10482             }
10483           }
10484         #endif
10485         }
10486 
10487         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10488         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10489         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)10490         void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
10491           uint tag;
10492           while ((tag = input.ReadTag()) != 0) {
10493             switch(tag) {
10494               default:
10495                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
10496                 break;
10497               case 10:
10498               case 8: {
10499                 path_.AddEntriesFrom(ref input, _repeated_path_codec);
10500                 break;
10501               }
10502               case 18:
10503               case 16: {
10504                 span_.AddEntriesFrom(ref input, _repeated_span_codec);
10505                 break;
10506               }
10507               case 26: {
10508                 LeadingComments = input.ReadString();
10509                 break;
10510               }
10511               case 34: {
10512                 TrailingComments = input.ReadString();
10513                 break;
10514               }
10515               case 50: {
10516                 leadingDetachedComments_.AddEntriesFrom(ref input, _repeated_leadingDetachedComments_codec);
10517                 break;
10518               }
10519             }
10520           }
10521         }
10522         #endif
10523 
10524       }
10525 
10526     }
10527     #endregion
10528 
10529   }
10530 
10531   /// <summary>
10532   /// Describes the relationship between generated code and its original source
10533   /// file. A GeneratedCodeInfo message is associated with only one generated
10534   /// source file, but may contain references to different source .proto files.
10535   /// </summary>
10536   public sealed partial class GeneratedCodeInfo : pb::IMessage<GeneratedCodeInfo>
10537   #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10538       , pb::IBufferMessage
10539   #endif
10540   {
10541     private static readonly pb::MessageParser<GeneratedCodeInfo> _parser = new pb::MessageParser<GeneratedCodeInfo>(() => new GeneratedCodeInfo());
10542     private pb::UnknownFieldSet _unknownFields;
10543     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10544     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10545     public static pb::MessageParser<GeneratedCodeInfo> Parser { get { return _parser; } }
10546 
10547     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10548     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10549     public static pbr::MessageDescriptor Descriptor {
10550       get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descriptor.MessageTypes[20]; }
10551     }
10552 
10553     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10554     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10555     pbr::MessageDescriptor pb::IMessage.Descriptor {
10556       get { return Descriptor; }
10557     }
10558 
10559     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10560     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GeneratedCodeInfo()10561     public GeneratedCodeInfo() {
10562       OnConstruction();
10563     }
10564 
OnConstruction()10565     partial void OnConstruction();
10566 
10567     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10568     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GeneratedCodeInfo(GeneratedCodeInfo other)10569     public GeneratedCodeInfo(GeneratedCodeInfo other) : this() {
10570       annotation_ = other.annotation_.Clone();
10571       _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
10572     }
10573 
10574     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10575     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()10576     public GeneratedCodeInfo Clone() {
10577       return new GeneratedCodeInfo(this);
10578     }
10579 
10580     /// <summary>Field number for the "annotation" field.</summary>
10581     public const int AnnotationFieldNumber = 1;
10582     private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation> _repeated_annotation_codec
10583         = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation.Parser);
10584     private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation> annotation_ = new pbc::RepeatedField<global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation>();
10585     /// <summary>
10586     /// An Annotation connects some span of text in generated code to an element
10587     /// of its generating .proto file.
10588     /// </summary>
10589     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10590     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10591     public pbc::RepeatedField<global::Google.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation> Annotation {
10592       get { return annotation_; }
10593     }
10594 
10595     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10596     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)10597     public override bool Equals(object other) {
10598       return Equals(other as GeneratedCodeInfo);
10599     }
10600 
10601     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10602     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(GeneratedCodeInfo other)10603     public bool Equals(GeneratedCodeInfo other) {
10604       if (ReferenceEquals(other, null)) {
10605         return false;
10606       }
10607       if (ReferenceEquals(other, this)) {
10608         return true;
10609       }
10610       if(!annotation_.Equals(other.annotation_)) return false;
10611       return Equals(_unknownFields, other._unknownFields);
10612     }
10613 
10614     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10615     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()10616     public override int GetHashCode() {
10617       int hash = 1;
10618       hash ^= annotation_.GetHashCode();
10619       if (_unknownFields != null) {
10620         hash ^= _unknownFields.GetHashCode();
10621       }
10622       return hash;
10623     }
10624 
10625     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10626     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()10627     public override string ToString() {
10628       return pb::JsonFormatter.ToDiagnosticString(this);
10629     }
10630 
10631     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10632     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)10633     public void WriteTo(pb::CodedOutputStream output) {
10634     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10635       output.WriteRawMessage(this);
10636     #else
10637       annotation_.WriteTo(output, _repeated_annotation_codec);
10638       if (_unknownFields != null) {
10639         _unknownFields.WriteTo(output);
10640       }
10641     #endif
10642     }
10643 
10644     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10645     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10646     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)10647     void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
10648       annotation_.WriteTo(ref output, _repeated_annotation_codec);
10649       if (_unknownFields != null) {
10650         _unknownFields.WriteTo(ref output);
10651       }
10652     }
10653     #endif
10654 
10655     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10656     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()10657     public int CalculateSize() {
10658       int size = 0;
10659       size += annotation_.CalculateSize(_repeated_annotation_codec);
10660       if (_unknownFields != null) {
10661         size += _unknownFields.CalculateSize();
10662       }
10663       return size;
10664     }
10665 
10666     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10667     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(GeneratedCodeInfo other)10668     public void MergeFrom(GeneratedCodeInfo other) {
10669       if (other == null) {
10670         return;
10671       }
10672       annotation_.Add(other.annotation_);
10673       _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
10674     }
10675 
10676     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10677     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)10678     public void MergeFrom(pb::CodedInputStream input) {
10679     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10680       input.ReadRawMessage(this);
10681     #else
10682       uint tag;
10683       while ((tag = input.ReadTag()) != 0) {
10684         switch(tag) {
10685           default:
10686             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
10687             break;
10688           case 10: {
10689             annotation_.AddEntriesFrom(input, _repeated_annotation_codec);
10690             break;
10691           }
10692         }
10693       }
10694     #endif
10695     }
10696 
10697     #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10698     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10699     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)10700     void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
10701       uint tag;
10702       while ((tag = input.ReadTag()) != 0) {
10703         switch(tag) {
10704           default:
10705             _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
10706             break;
10707           case 10: {
10708             annotation_.AddEntriesFrom(ref input, _repeated_annotation_codec);
10709             break;
10710           }
10711         }
10712       }
10713     }
10714     #endif
10715 
10716     #region Nested types
10717     /// <summary>Container for nested types declared in the GeneratedCodeInfo message type.</summary>
10718     [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10719     [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10720     public static partial class Types {
10721       public sealed partial class Annotation : pb::IMessage<Annotation>
10722       #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10723           , pb::IBufferMessage
10724       #endif
10725       {
10726         private static readonly pb::MessageParser<Annotation> _parser = new pb::MessageParser<Annotation>(() => new Annotation());
10727         private pb::UnknownFieldSet _unknownFields;
10728         private int _hasBits0;
10729         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10730         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10731         public static pb::MessageParser<Annotation> Parser { get { return _parser; } }
10732 
10733         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10734         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10735         public static pbr::MessageDescriptor Descriptor {
10736           get { return global::Google.Protobuf.Reflection.GeneratedCodeInfo.Descriptor.NestedTypes[0]; }
10737         }
10738 
10739         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10740         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10741         pbr::MessageDescriptor pb::IMessage.Descriptor {
10742           get { return Descriptor; }
10743         }
10744 
10745         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10746         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Annotation()10747         public Annotation() {
10748           OnConstruction();
10749         }
10750 
OnConstruction()10751         partial void OnConstruction();
10752 
10753         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10754         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Annotation(Annotation other)10755         public Annotation(Annotation other) : this() {
10756           _hasBits0 = other._hasBits0;
10757           path_ = other.path_.Clone();
10758           sourceFile_ = other.sourceFile_;
10759           begin_ = other.begin_;
10760           end_ = other.end_;
10761           _unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
10762         }
10763 
10764         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10765         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Clone()10766         public Annotation Clone() {
10767           return new Annotation(this);
10768         }
10769 
10770         /// <summary>Field number for the "path" field.</summary>
10771         public const int PathFieldNumber = 1;
10772         private static readonly pb::FieldCodec<int> _repeated_path_codec
10773             = pb::FieldCodec.ForInt32(10);
10774         private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField<int>();
10775         /// <summary>
10776         /// Identifies the element in the original source .proto file. This field
10777         /// is formatted the same as SourceCodeInfo.Location.path.
10778         /// </summary>
10779         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10780         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10781         public pbc::RepeatedField<int> Path {
10782           get { return path_; }
10783         }
10784 
10785         /// <summary>Field number for the "source_file" field.</summary>
10786         public const int SourceFileFieldNumber = 2;
10787         private readonly static string SourceFileDefaultValue = "";
10788 
10789         private string sourceFile_;
10790         /// <summary>
10791         /// Identifies the filesystem path to the original source .proto.
10792         /// </summary>
10793         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10794         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10795         public string SourceFile {
10796           get { return sourceFile_ ?? SourceFileDefaultValue; }
10797           set {
10798             sourceFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
10799           }
10800         }
10801         /// <summary>Gets whether the "source_file" field is set</summary>
10802         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10803         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10804         public bool HasSourceFile {
10805           get { return sourceFile_ != null; }
10806         }
10807         /// <summary>Clears the value of the "source_file" field</summary>
10808         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10809         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearSourceFile()10810         public void ClearSourceFile() {
10811           sourceFile_ = null;
10812         }
10813 
10814         /// <summary>Field number for the "begin" field.</summary>
10815         public const int BeginFieldNumber = 3;
10816         private readonly static int BeginDefaultValue = 0;
10817 
10818         private int begin_;
10819         /// <summary>
10820         /// Identifies the starting offset in bytes in the generated code
10821         /// that relates to the identified object.
10822         /// </summary>
10823         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10824         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10825         public int Begin {
10826           get { if ((_hasBits0 & 1) != 0) { return begin_; } else { return BeginDefaultValue; } }
10827           set {
10828             _hasBits0 |= 1;
10829             begin_ = value;
10830           }
10831         }
10832         /// <summary>Gets whether the "begin" field is set</summary>
10833         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10834         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10835         public bool HasBegin {
10836           get { return (_hasBits0 & 1) != 0; }
10837         }
10838         /// <summary>Clears the value of the "begin" field</summary>
10839         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10840         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearBegin()10841         public void ClearBegin() {
10842           _hasBits0 &= ~1;
10843         }
10844 
10845         /// <summary>Field number for the "end" field.</summary>
10846         public const int EndFieldNumber = 4;
10847         private readonly static int EndDefaultValue = 0;
10848 
10849         private int end_;
10850         /// <summary>
10851         /// Identifies the ending offset in bytes in the generated code that
10852         /// relates to the identified offset. The end offset should be one past
10853         /// the last relevant byte (so the length of the text = end - begin).
10854         /// </summary>
10855         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10856         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10857         public int End {
10858           get { if ((_hasBits0 & 2) != 0) { return end_; } else { return EndDefaultValue; } }
10859           set {
10860             _hasBits0 |= 2;
10861             end_ = value;
10862           }
10863         }
10864         /// <summary>Gets whether the "end" field is set</summary>
10865         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10866         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
10867         public bool HasEnd {
10868           get { return (_hasBits0 & 2) != 0; }
10869         }
10870         /// <summary>Clears the value of the "end" field</summary>
10871         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10872         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ClearEnd()10873         public void ClearEnd() {
10874           _hasBits0 &= ~2;
10875         }
10876 
10877         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10878         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(object other)10879         public override bool Equals(object other) {
10880           return Equals(other as Annotation);
10881         }
10882 
10883         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10884         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
Equals(Annotation other)10885         public bool Equals(Annotation other) {
10886           if (ReferenceEquals(other, null)) {
10887             return false;
10888           }
10889           if (ReferenceEquals(other, this)) {
10890             return true;
10891           }
10892           if(!path_.Equals(other.path_)) return false;
10893           if (SourceFile != other.SourceFile) return false;
10894           if (Begin != other.Begin) return false;
10895           if (End != other.End) return false;
10896           return Equals(_unknownFields, other._unknownFields);
10897         }
10898 
10899         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10900         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
GetHashCode()10901         public override int GetHashCode() {
10902           int hash = 1;
10903           hash ^= path_.GetHashCode();
10904           if (HasSourceFile) hash ^= SourceFile.GetHashCode();
10905           if (HasBegin) hash ^= Begin.GetHashCode();
10906           if (HasEnd) hash ^= End.GetHashCode();
10907           if (_unknownFields != null) {
10908             hash ^= _unknownFields.GetHashCode();
10909           }
10910           return hash;
10911         }
10912 
10913         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10914         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
ToString()10915         public override string ToString() {
10916           return pb::JsonFormatter.ToDiagnosticString(this);
10917         }
10918 
10919         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10920         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
WriteTo(pb::CodedOutputStream output)10921         public void WriteTo(pb::CodedOutputStream output) {
10922         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10923           output.WriteRawMessage(this);
10924         #else
10925           path_.WriteTo(output, _repeated_path_codec);
10926           if (HasSourceFile) {
10927             output.WriteRawTag(18);
10928             output.WriteString(SourceFile);
10929           }
10930           if (HasBegin) {
10931             output.WriteRawTag(24);
10932             output.WriteInt32(Begin);
10933           }
10934           if (HasEnd) {
10935             output.WriteRawTag(32);
10936             output.WriteInt32(End);
10937           }
10938           if (_unknownFields != null) {
10939             _unknownFields.WriteTo(output);
10940           }
10941         #endif
10942         }
10943 
10944         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
10945         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10946         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalWriteTo(ref pb::WriteContext output)10947         void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
10948           path_.WriteTo(ref output, _repeated_path_codec);
10949           if (HasSourceFile) {
10950             output.WriteRawTag(18);
10951             output.WriteString(SourceFile);
10952           }
10953           if (HasBegin) {
10954             output.WriteRawTag(24);
10955             output.WriteInt32(Begin);
10956           }
10957           if (HasEnd) {
10958             output.WriteRawTag(32);
10959             output.WriteInt32(End);
10960           }
10961           if (_unknownFields != null) {
10962             _unknownFields.WriteTo(ref output);
10963           }
10964         }
10965         #endif
10966 
10967         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10968         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
CalculateSize()10969         public int CalculateSize() {
10970           int size = 0;
10971           size += path_.CalculateSize(_repeated_path_codec);
10972           if (HasSourceFile) {
10973             size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceFile);
10974           }
10975           if (HasBegin) {
10976             size += 1 + pb::CodedOutputStream.ComputeInt32Size(Begin);
10977           }
10978           if (HasEnd) {
10979             size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
10980           }
10981           if (_unknownFields != null) {
10982             size += _unknownFields.CalculateSize();
10983           }
10984           return size;
10985         }
10986 
10987         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
10988         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(Annotation other)10989         public void MergeFrom(Annotation other) {
10990           if (other == null) {
10991             return;
10992           }
10993           path_.Add(other.path_);
10994           if (other.HasSourceFile) {
10995             SourceFile = other.SourceFile;
10996           }
10997           if (other.HasBegin) {
10998             Begin = other.Begin;
10999           }
11000           if (other.HasEnd) {
11001             End = other.End;
11002           }
11003           _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
11004         }
11005 
11006         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
11007         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
MergeFrom(pb::CodedInputStream input)11008         public void MergeFrom(pb::CodedInputStream input) {
11009         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
11010           input.ReadRawMessage(this);
11011         #else
11012           uint tag;
11013           while ((tag = input.ReadTag()) != 0) {
11014             switch(tag) {
11015               default:
11016                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
11017                 break;
11018               case 10:
11019               case 8: {
11020                 path_.AddEntriesFrom(input, _repeated_path_codec);
11021                 break;
11022               }
11023               case 18: {
11024                 SourceFile = input.ReadString();
11025                 break;
11026               }
11027               case 24: {
11028                 Begin = input.ReadInt32();
11029                 break;
11030               }
11031               case 32: {
11032                 End = input.ReadInt32();
11033                 break;
11034               }
11035             }
11036           }
11037         #endif
11038         }
11039 
11040         #if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
11041         [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
11042         [global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
IBufferMessage.InternalMergeFrom(ref pb::ParseContext input)11043         void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
11044           uint tag;
11045           while ((tag = input.ReadTag()) != 0) {
11046             switch(tag) {
11047               default:
11048                 _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
11049                 break;
11050               case 10:
11051               case 8: {
11052                 path_.AddEntriesFrom(ref input, _repeated_path_codec);
11053                 break;
11054               }
11055               case 18: {
11056                 SourceFile = input.ReadString();
11057                 break;
11058               }
11059               case 24: {
11060                 Begin = input.ReadInt32();
11061                 break;
11062               }
11063               case 32: {
11064                 End = input.ReadInt32();
11065                 break;
11066               }
11067             }
11068           }
11069         }
11070         #endif
11071 
11072       }
11073 
11074     }
11075     #endregion
11076 
11077   }
11078 
11079   #endregion
11080 
11081 }
11082 
11083 #endregion Designer generated code
11084