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

Side by Side Diff: third_party/protobuf/csharp/src/Google.Protobuf/Reflection/Descriptor.cs

Issue 2495533002: third_party/protobuf: Update to HEAD (83d681ee2c) (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by the protocol buffer compiler. DO NOT EDIT! 1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: google/protobuf/descriptor.proto 2 // source: google/protobuf/descriptor.proto
3 #pragma warning disable 1591, 0612, 3021 3 #pragma warning disable 1591, 0612, 3021
4 #region Designer generated code 4 #region Designer generated code
5 5
6 using pb = global::Google.Protobuf; 6 using pb = global::Google.Protobuf;
7 using pbc = global::Google.Protobuf.Collections; 7 using pbc = global::Google.Protobuf.Collections;
8 using pbr = global::Google.Protobuf.Reflection; 8 using pbr = global::Google.Protobuf.Reflection;
9 using scg = global::System.Collections.Generic; 9 using scg = global::System.Collections.Generic;
10 namespace Google.Protobuf.Reflection { 10 namespace Google.Protobuf.Reflection {
11 11
12 /// <summary>Holder for reflection information generated from google/protobuf/ descriptor.proto</summary> 12 /// <summary>Holder for reflection information generated from google/protobuf/ descriptor.proto</summary>
13 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
14 internal static partial class DescriptorReflection { 13 internal static partial class DescriptorReflection {
15 14
16 #region Descriptor 15 #region Descriptor
17 /// <summary>File descriptor for google/protobuf/descriptor.proto</summary> 16 /// <summary>File descriptor for google/protobuf/descriptor.proto</summary>
18 public static pbr::FileDescriptor Descriptor { 17 public static pbr::FileDescriptor Descriptor {
19 get { return descriptor; } 18 get { return descriptor; }
20 } 19 }
21 private static pbr::FileDescriptor descriptor; 20 private static pbr::FileDescriptor descriptor;
22 21
23 static DescriptorReflection() { 22 static DescriptorReflection() {
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 "FQoNZGVmYXVsdF92YWx1ZRgHIAEoCRITCgtvbmVvZl9pbmRleBgJIAEoBRIR", 57 "FQoNZGVmYXVsdF92YWx1ZRgHIAEoCRITCgtvbmVvZl9pbmRleBgJIAEoBRIR",
59 "Cglqc29uX25hbWUYCiABKAkSLgoHb3B0aW9ucxgIIAEoCzIdLmdvb2dsZS5w", 58 "Cglqc29uX25hbWUYCiABKAkSLgoHb3B0aW9ucxgIIAEoCzIdLmdvb2dsZS5w",
60 "cm90b2J1Zi5GaWVsZE9wdGlvbnMitgIKBFR5cGUSDwoLVFlQRV9ET1VCTEUQ", 59 "cm90b2J1Zi5GaWVsZE9wdGlvbnMitgIKBFR5cGUSDwoLVFlQRV9ET1VCTEUQ",
61 "ARIOCgpUWVBFX0ZMT0FUEAISDgoKVFlQRV9JTlQ2NBADEg8KC1RZUEVfVUlO", 60 "ARIOCgpUWVBFX0ZMT0FUEAISDgoKVFlQRV9JTlQ2NBADEg8KC1RZUEVfVUlO",
62 "VDY0EAQSDgoKVFlQRV9JTlQzMhAFEhAKDFRZUEVfRklYRUQ2NBAGEhAKDFRZ", 61 "VDY0EAQSDgoKVFlQRV9JTlQzMhAFEhAKDFRZUEVfRklYRUQ2NBAGEhAKDFRZ",
63 "UEVfRklYRUQzMhAHEg0KCVRZUEVfQk9PTBAIEg8KC1RZUEVfU1RSSU5HEAkS", 62 "UEVfRklYRUQzMhAHEg0KCVRZUEVfQk9PTBAIEg8KC1RZUEVfU1RSSU5HEAkS",
64 "DgoKVFlQRV9HUk9VUBAKEhAKDFRZUEVfTUVTU0FHRRALEg4KClRZUEVfQllU", 63 "DgoKVFlQRV9HUk9VUBAKEhAKDFRZUEVfTUVTU0FHRRALEg4KClRZUEVfQllU",
65 "RVMQDBIPCgtUWVBFX1VJTlQzMhANEg0KCVRZUEVfRU5VTRAOEhEKDVRZUEVf", 64 "RVMQDBIPCgtUWVBFX1VJTlQzMhANEg0KCVRZUEVfRU5VTRAOEhEKDVRZUEVf",
66 "U0ZJWEVEMzIQDxIRCg1UWVBFX1NGSVhFRDY0EBASDwoLVFlQRV9TSU5UMzIQ", 65 "U0ZJWEVEMzIQDxIRCg1UWVBFX1NGSVhFRDY0EBASDwoLVFlQRV9TSU5UMzIQ",
67 "ERIPCgtUWVBFX1NJTlQ2NBASIkMKBUxhYmVsEhIKDkxBQkVMX09QVElPTkFM", 66 "ERIPCgtUWVBFX1NJTlQ2NBASIkMKBUxhYmVsEhIKDkxBQkVMX09QVElPTkFM",
68 "EAESEgoOTEFCRUxfUkVRVUlSRUQQAhISCg5MQUJFTF9SRVBFQVRFRBADIiQK", 67 "EAESEgoOTEFCRUxfUkVRVUlSRUQQAhISCg5MQUJFTF9SRVBFQVRFRBADIlQK",
69 "FE9uZW9mRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkijAEKE0VudW1E", 68 "FE9uZW9mRGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSLgoHb3B0aW9u",
70 "ZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRI4CgV2YWx1ZRgCIAMoCzIp", 69 "cxgCIAEoCzIdLmdvb2dsZS5wcm90b2J1Zi5PbmVvZk9wdGlvbnMijAEKE0Vu",
71 "Lmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8SLQoH", 70 "dW1EZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRI4CgV2YWx1ZRgCIAMo",
72 "b3B0aW9ucxgDIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5FbnVtT3B0aW9ucyJs", 71 "CzIpLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8S",
73 "ChhFbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRIOCgZu", 72 "LQoHb3B0aW9ucxgDIAEoCzIcLmdvb2dsZS5wcm90b2J1Zi5FbnVtT3B0aW9u",
74 "dW1iZXIYAiABKAUSMgoHb3B0aW9ucxgDIAEoCzIhLmdvb2dsZS5wcm90b2J1", 73 "cyJsChhFbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRIO",
75 "Zi5FbnVtVmFsdWVPcHRpb25zIpABChZTZXJ2aWNlRGVzY3JpcHRvclByb3Rv", 74 "CgZudW1iZXIYAiABKAUSMgoHb3B0aW9ucxgDIAEoCzIhLmdvb2dsZS5wcm90",
76 "EgwKBG5hbWUYASABKAkSNgoGbWV0aG9kGAIgAygLMiYuZ29vZ2xlLnByb3Rv", 75 "b2J1Zi5FbnVtVmFsdWVPcHRpb25zIpABChZTZXJ2aWNlRGVzY3JpcHRvclBy",
77 "YnVmLk1ldGhvZERlc2NyaXB0b3JQcm90bxIwCgdvcHRpb25zGAMgASgLMh8u", 76 "b3RvEgwKBG5hbWUYASABKAkSNgoGbWV0aG9kGAIgAygLMiYuZ29vZ2xlLnBy",
78 "Z29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zIsEBChVNZXRob2REZXNj", 77 "b3RvYnVmLk1ldGhvZERlc2NyaXB0b3JQcm90bxIwCgdvcHRpb25zGAMgASgL",
79 "cmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRISCgppbnB1dF90eXBlGAIgASgJ", 78 "Mh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25zIsEBChVNZXRob2RE",
80 "EhMKC291dHB1dF90eXBlGAMgASgJEi8KB29wdGlvbnMYBCABKAsyHi5nb29n", 79 "ZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRISCgppbnB1dF90eXBlGAIg",
81 "bGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxIfChBjbGllbnRfc3RyZWFtaW5n", 80 "ASgJEhMKC291dHB1dF90eXBlGAMgASgJEi8KB29wdGlvbnMYBCABKAsyHi5n",
82 "GAUgASgIOgVmYWxzZRIfChBzZXJ2ZXJfc3RyZWFtaW5nGAYgASgIOgVmYWxz", 81 "b29nbGUucHJvdG9idWYuTWV0aG9kT3B0aW9ucxIfChBjbGllbnRfc3RyZWFt",
83 "ZSKHBQoLRmlsZU9wdGlvbnMSFAoMamF2YV9wYWNrYWdlGAEgASgJEhwKFGph", 82 "aW5nGAUgASgIOgVmYWxzZRIfChBzZXJ2ZXJfc3RyZWFtaW5nGAYgASgIOgVm",
84 "dmFfb3V0ZXJfY2xhc3NuYW1lGAggASgJEiIKE2phdmFfbXVsdGlwbGVfZmls", 83 "YWxzZSKEBQoLRmlsZU9wdGlvbnMSFAoMamF2YV9wYWNrYWdlGAEgASgJEhwK",
85 "ZXMYCiABKAg6BWZhbHNlEiwKHWphdmFfZ2VuZXJhdGVfZXF1YWxzX2FuZF9o", 84 "FGphdmFfb3V0ZXJfY2xhc3NuYW1lGAggASgJEiIKE2phdmFfbXVsdGlwbGVf",
86 "YXNoGBQgASgIOgVmYWxzZRIlChZqYXZhX3N0cmluZ19jaGVja191dGY4GBsg", 85 "ZmlsZXMYCiABKAg6BWZhbHNlEikKHWphdmFfZ2VuZXJhdGVfZXF1YWxzX2Fu",
86 "ZF9oYXNoGBQgASgIQgIYARIlChZqYXZhX3N0cmluZ19jaGVja191dGY4GBsg",
87 "ASgIOgVmYWxzZRJGCgxvcHRpbWl6ZV9mb3IYCSABKA4yKS5nb29nbGUucHJv", 87 "ASgIOgVmYWxzZRJGCgxvcHRpbWl6ZV9mb3IYCSABKA4yKS5nb29nbGUucHJv",
88 "dG9idWYuRmlsZU9wdGlvbnMuT3B0aW1pemVNb2RlOgVTUEVFRBISCgpnb19w", 88 "dG9idWYuRmlsZU9wdGlvbnMuT3B0aW1pemVNb2RlOgVTUEVFRBISCgpnb19w",
89 "YWNrYWdlGAsgASgJEiIKE2NjX2dlbmVyaWNfc2VydmljZXMYECABKAg6BWZh", 89 "YWNrYWdlGAsgASgJEiIKE2NjX2dlbmVyaWNfc2VydmljZXMYECABKAg6BWZh",
90 "bHNlEiQKFWphdmFfZ2VuZXJpY19zZXJ2aWNlcxgRIAEoCDoFZmFsc2USIgoT", 90 "bHNlEiQKFWphdmFfZ2VuZXJpY19zZXJ2aWNlcxgRIAEoCDoFZmFsc2USIgoT",
91 "cHlfZ2VuZXJpY19zZXJ2aWNlcxgSIAEoCDoFZmFsc2USGQoKZGVwcmVjYXRl", 91 "cHlfZ2VuZXJpY19zZXJ2aWNlcxgSIAEoCDoFZmFsc2USGQoKZGVwcmVjYXRl",
92 "ZBgXIAEoCDoFZmFsc2USHwoQY2NfZW5hYmxlX2FyZW5hcxgfIAEoCDoFZmFs", 92 "ZBgXIAEoCDoFZmFsc2USHwoQY2NfZW5hYmxlX2FyZW5hcxgfIAEoCDoFZmFs",
93 "c2USGQoRb2JqY19jbGFzc19wcmVmaXgYJCABKAkSGAoQY3NoYXJwX25hbWVz", 93 "c2USGQoRb2JqY19jbGFzc19wcmVmaXgYJCABKAkSGAoQY3NoYXJwX25hbWVz",
94 "cGFjZRglIAEoCRJDChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5n", 94 "cGFjZRglIAEoCRJDChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5n",
95 "b29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlvbiI6CgxPcHRpbWl6", 95 "b29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlvbiI6CgxPcHRpbWl6",
96 "ZU1vZGUSCQoFU1BFRUQQARINCglDT0RFX1NJWkUQAhIQCgxMSVRFX1JVTlRJ", 96 "ZU1vZGUSCQoFU1BFRUQQARINCglDT0RFX1NJWkUQAhIQCgxMSVRFX1JVTlRJ",
97 "TUUQAyoJCOgHEICAgIACSgQIJhAnIuYBCg5NZXNzYWdlT3B0aW9ucxImChdt", 97 "TUUQAyoJCOgHEICAgIACSgQIJhAnIuwBCg5NZXNzYWdlT3B0aW9ucxImChdt",
98 "ZXNzYWdlX3NldF93aXJlX2Zvcm1hdBgBIAEoCDoFZmFsc2USLgofbm9fc3Rh", 98 "ZXNzYWdlX3NldF93aXJlX2Zvcm1hdBgBIAEoCDoFZmFsc2USLgofbm9fc3Rh",
99 "bmRhcmRfZGVzY3JpcHRvcl9hY2Nlc3NvchgCIAEoCDoFZmFsc2USGQoKZGVw", 99 "bmRhcmRfZGVzY3JpcHRvcl9hY2Nlc3NvchgCIAEoCDoFZmFsc2USGQoKZGVw",
100 "cmVjYXRlZBgDIAEoCDoFZmFsc2USEQoJbWFwX2VudHJ5GAcgASgIEkMKFHVu", 100 "cmVjYXRlZBgDIAEoCDoFZmFsc2USEQoJbWFwX2VudHJ5GAcgASgIEkMKFHVu",
101 "aW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5V", 101 "aW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5V",
102 "bmludGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAIimAMKDEZpZWxkT3B0aW9u", 102 "bmludGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAJKBAgIEAkingMKDEZpZWxk",
103 "cxI6CgVjdHlwZRgBIAEoDjIjLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlv", 103 "T3B0aW9ucxI6CgVjdHlwZRgBIAEoDjIjLmdvb2dsZS5wcm90b2J1Zi5GaWVs",
104 "bnMuQ1R5cGU6BlNUUklORxIOCgZwYWNrZWQYAiABKAgSPwoGanN0eXBlGAYg", 104 "ZE9wdGlvbnMuQ1R5cGU6BlNUUklORxIOCgZwYWNrZWQYAiABKAgSPwoGanN0",
105 "ASgOMiQuZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucy5KU1R5cGU6CUpT", 105 "eXBlGAYgASgOMiQuZ29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucy5KU1R5",
106 "X05PUk1BTBITCgRsYXp5GAUgASgIOgVmYWxzZRIZCgpkZXByZWNhdGVkGAMg", 106 "cGU6CUpTX05PUk1BTBITCgRsYXp5GAUgASgIOgVmYWxzZRIZCgpkZXByZWNh",
107 "ASgIOgVmYWxzZRITCgR3ZWFrGAogASgIOgVmYWxzZRJDChR1bmludGVycHJl", 107 "dGVkGAMgASgIOgVmYWxzZRITCgR3ZWFrGAogASgIOgVmYWxzZRJDChR1bmlu",
108 "dGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnBy", 108 "dGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5p",
109 "ZXRlZE9wdGlvbiIvCgVDVHlwZRIKCgZTVFJJTkcQABIICgRDT1JEEAESEAoM", 109 "bnRlcnByZXRlZE9wdGlvbiIvCgVDVHlwZRIKCgZTVFJJTkcQABIICgRDT1JE",
110 "U1RSSU5HX1BJRUNFEAIiNQoGSlNUeXBlEg0KCUpTX05PUk1BTBAAEg0KCUpT", 110 "EAESEAoMU1RSSU5HX1BJRUNFEAIiNQoGSlNUeXBlEg0KCUpTX05PUk1BTBAA",
111 "X1NUUklORxABEg0KCUpTX05VTUJFUhACKgkI6AcQgICAgAIijQEKC0VudW1P", 111 "Eg0KCUpTX1NUUklORxABEg0KCUpTX05VTUJFUhACKgkI6AcQgICAgAJKBAgE",
112 "cHRpb25zEhMKC2FsbG93X2FsaWFzGAIgASgIEhkKCmRlcHJlY2F0ZWQYAyAB", 112 "EAUiXgoMT25lb2ZPcHRpb25zEkMKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcH",
113 "IAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uKgkI",
114 "6AcQgICAgAIijQEKC0VudW1PcHRpb25zEhMKC2FsbG93X2FsaWFzGAIgASgI",
115 "EhkKCmRlcHJlY2F0ZWQYAyABKAg6BWZhbHNlEkMKFHVuaW50ZXJwcmV0ZWRf",
116 "b3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVk",
117 "T3B0aW9uKgkI6AcQgICAgAIifQoQRW51bVZhbHVlT3B0aW9ucxIZCgpkZXBy",
118 "ZWNhdGVkGAEgASgIOgVmYWxzZRJDChR1bmludGVycHJldGVkX29wdGlvbhjn",
119 "ByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlvbioJ",
120 "COgHEICAgIACInsKDlNlcnZpY2VPcHRpb25zEhkKCmRlcHJlY2F0ZWQYISAB",
113 "KAg6BWZhbHNlEkMKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdv", 121 "KAg6BWZhbHNlEkMKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdv",
114 "b2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAIi", 122 "b2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAIi",
115 "fQoQRW51bVZhbHVlT3B0aW9ucxIZCgpkZXByZWNhdGVkGAEgASgIOgVmYWxz", 123 "egoNTWV0aG9kT3B0aW9ucxIZCgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZRJD",
116 "ZRJDChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJv", 124 "ChR1bmludGVycHJldGVkX29wdGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9i",
117 "dG9idWYuVW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIACInsKDlNlcnZp", 125 "dWYuVW5pbnRlcnByZXRlZE9wdGlvbioJCOgHEICAgIACIp4CChNVbmludGVy",
118 "Y2VPcHRpb25zEhkKCmRlcHJlY2F0ZWQYISABKAg6BWZhbHNlEkMKFHVuaW50", 126 "cHJldGVkT3B0aW9uEjsKBG5hbWUYAiADKAsyLS5nb29nbGUucHJvdG9idWYu",
119 "ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5Vbmlu", 127 "VW5pbnRlcnByZXRlZE9wdGlvbi5OYW1lUGFydBIYChBpZGVudGlmaWVyX3Zh",
120 "dGVycHJldGVkT3B0aW9uKgkI6AcQgICAgAIiegoNTWV0aG9kT3B0aW9ucxIZ", 128 "bHVlGAMgASgJEhoKEnBvc2l0aXZlX2ludF92YWx1ZRgEIAEoBBIaChJuZWdh",
121 "CgpkZXByZWNhdGVkGCEgASgIOgVmYWxzZRJDChR1bmludGVycHJldGVkX29w", 129 "dGl2ZV9pbnRfdmFsdWUYBSABKAMSFAoMZG91YmxlX3ZhbHVlGAYgASgBEhQK",
122 "dGlvbhjnByADKAsyJC5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9w", 130 "DHN0cmluZ192YWx1ZRgHIAEoDBIXCg9hZ2dyZWdhdGVfdmFsdWUYCCABKAka",
123 "dGlvbioJCOgHEICAgIACIp4CChNVbmludGVycHJldGVkT3B0aW9uEjsKBG5h", 131 "MwoITmFtZVBhcnQSEQoJbmFtZV9wYXJ0GAEgAigJEhQKDGlzX2V4dGVuc2lv",
124 "bWUYAiADKAsyLS5nb29nbGUucHJvdG9idWYuVW5pbnRlcnByZXRlZE9wdGlv", 132 "bhgCIAIoCCLVAQoOU291cmNlQ29kZUluZm8SOgoIbG9jYXRpb24YASADKAsy",
125 "bi5OYW1lUGFydBIYChBpZGVudGlmaWVyX3ZhbHVlGAMgASgJEhoKEnBvc2l0", 133 "KC5nb29nbGUucHJvdG9idWYuU291cmNlQ29kZUluZm8uTG9jYXRpb24ahgEK",
126 "aXZlX2ludF92YWx1ZRgEIAEoBBIaChJuZWdhdGl2ZV9pbnRfdmFsdWUYBSAB", 134 "CExvY2F0aW9uEhAKBHBhdGgYASADKAVCAhABEhAKBHNwYW4YAiADKAVCAhAB",
127 "KAMSFAoMZG91YmxlX3ZhbHVlGAYgASgBEhQKDHN0cmluZ192YWx1ZRgHIAEo", 135 "EhgKEGxlYWRpbmdfY29tbWVudHMYAyABKAkSGQoRdHJhaWxpbmdfY29tbWVu",
128 "DBIXCg9hZ2dyZWdhdGVfdmFsdWUYCCABKAkaMwoITmFtZVBhcnQSEQoJbmFt", 136 "dHMYBCABKAkSIQoZbGVhZGluZ19kZXRhY2hlZF9jb21tZW50cxgGIAMoCSKn",
129 "ZV9wYXJ0GAEgAigJEhQKDGlzX2V4dGVuc2lvbhgCIAIoCCLVAQoOU291cmNl", 137 "AQoRR2VuZXJhdGVkQ29kZUluZm8SQQoKYW5ub3RhdGlvbhgBIAMoCzItLmdv",
130 "Q29kZUluZm8SOgoIbG9jYXRpb24YASADKAsyKC5nb29nbGUucHJvdG9idWYu", 138 "b2dsZS5wcm90b2J1Zi5HZW5lcmF0ZWRDb2RlSW5mby5Bbm5vdGF0aW9uGk8K",
131 "U291cmNlQ29kZUluZm8uTG9jYXRpb24ahgEKCExvY2F0aW9uEhAKBHBhdGgY", 139 "CkFubm90YXRpb24SEAoEcGF0aBgBIAMoBUICEAESEwoLc291cmNlX2ZpbGUY",
132 "ASADKAVCAhABEhAKBHNwYW4YAiADKAVCAhABEhgKEGxlYWRpbmdfY29tbWVu", 140 "AiABKAkSDQoFYmVnaW4YAyABKAUSCwoDZW5kGAQgASgFQlgKE2NvbS5nb29n",
133 "dHMYAyABKAkSGQoRdHJhaWxpbmdfY29tbWVudHMYBCABKAkSIQoZbGVhZGlu", 141 "bGUucHJvdG9idWZCEERlc2NyaXB0b3JQcm90b3NIAVoKZGVzY3JpcHRvcqIC",
134 "Z19kZXRhY2hlZF9jb21tZW50cxgGIAMoCSKnAQoRR2VuZXJhdGVkQ29kZUlu", 142 "A0dQQqoCGkdvb2dsZS5Qcm90b2J1Zi5SZWZsZWN0aW9u"));
135 "Zm8SQQoKYW5ub3RhdGlvbhgBIAMoCzItLmdvb2dsZS5wcm90b2J1Zi5HZW5l",
136 "cmF0ZWRDb2RlSW5mby5Bbm5vdGF0aW9uGk8KCkFubm90YXRpb24SEAoEcGF0",
137 "aBgBIAMoBUICEAESEwoLc291cmNlX2ZpbGUYAiABKAkSDQoFYmVnaW4YAyAB",
138 "KAUSCwoDZW5kGAQgASgFQlgKE2NvbS5nb29nbGUucHJvdG9idWZCEERlc2Ny",
139 "aXB0b3JQcm90b3NIAVoKZGVzY3JpcHRvcqICA0dQQqoCGkdvb2dsZS5Qcm90",
140 "b2J1Zi5SZWZsZWN0aW9u"));
141 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData, 143 descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
142 new pbr::FileDescriptor[] { }, 144 new pbr::FileDescriptor[] { },
143 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] { 145 new pbr::GeneratedClrTypeInfo(null, new pbr::GeneratedClrTypeInfo[] {
144 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FileDescriptorSet), global::Google.Protobuf.Reflection.FileDescriptorSet.Par ser, new[]{ "File" }, null, null, null), 146 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FileDescriptorSet), global::Google.Protobuf.Reflection.FileDescriptorSet.Par ser, new[]{ "File" }, null, null, null),
145 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FileDescriptorProto), global::Google.Protobuf.Reflection.FileDescriptorProto .Parser, new[]{ "Name", "Package", "Dependency", "PublicDependency", "WeakDepend ency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCode Info", "Syntax" }, null, null, null), 147 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FileDescriptorProto), global::Google.Protobuf.Reflection.FileDescriptorProto .Parser, new[]{ "Name", "Package", "Dependency", "PublicDependency", "WeakDepend ency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCode Info", "Syntax" }, null, null, null),
146 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.DescriptorProto), global::Google.Protobuf.Reflection.DescriptorProto.Parser, new[]{ "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange" , "OneofDecl", "Options", "ReservedRange", "ReservedName" }, null, null, new pbr ::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.P rotobuf.Reflection.DescriptorProto.Types.ExtensionRange), global::Google.Protobu f.Reflection.DescriptorProto.Types.ExtensionRange.Parser, new[]{ "Start", "End" }, null, null, null), 148 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.DescriptorProto), global::Google.Protobuf.Reflection.DescriptorProto.Parser, new[]{ "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange" , "OneofDecl", "Options", "ReservedRange", "ReservedName" }, null, null, new pbr ::GeneratedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.P rotobuf.Reflection.DescriptorProto.Types.ExtensionRange), global::Google.Protobu f.Reflection.DescriptorProto.Types.ExtensionRange.Parser, new[]{ "Start", "End" }, null, null, null),
147 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.DescriptorProto.Types.ReservedRange), global::Google.Protobuf.Reflection.Des criptorProto.Types.ReservedRange.Parser, new[]{ "Start", "End" }, null, null, nu ll)}), 149 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.DescriptorProto.Types.ReservedRange), global::Google.Protobuf.Reflection.Des criptorProto.Types.ReservedRange.Parser, new[]{ "Start", "End" }, null, null, nu ll)}),
148 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FieldDescriptorProto), global::Google.Protobuf.Reflection.FieldDescriptorPro to.Parser, new[]{ "Name", "Number", "Label", "Type", "TypeName", "Extendee", "De faultValue", "OneofIndex", "JsonName", "Options" }, null, new[]{ typeof(global:: Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type), typeof(global::Goog le.Protobuf.Reflection.FieldDescriptorProto.Types.Label) }, null), 150 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FieldDescriptorProto), global::Google.Protobuf.Reflection.FieldDescriptorPro to.Parser, new[]{ "Name", "Number", "Label", "Type", "TypeName", "Extendee", "De faultValue", "OneofIndex", "JsonName", "Options" }, null, new[]{ typeof(global:: Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type), typeof(global::Goog le.Protobuf.Reflection.FieldDescriptorProto.Types.Label) }, null),
149 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.OneofDescriptorProto), global::Google.Protobuf.Reflection.OneofDescriptorPro to.Parser, new[]{ "Name" }, null, null, null), 151 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.OneofDescriptorProto), global::Google.Protobuf.Reflection.OneofDescriptorPro to.Parser, new[]{ "Name", "Options" }, null, null, null),
150 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumDescriptorProto), global::Google.Protobuf.Reflection.EnumDescriptorProto .Parser, new[]{ "Name", "Value", "Options" }, null, null, null), 152 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumDescriptorProto), global::Google.Protobuf.Reflection.EnumDescriptorProto .Parser, new[]{ "Name", "Value", "Options" }, null, null, null),
151 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumValueDescriptorProto), global::Google.Protobuf.Reflection.EnumValueDescr iptorProto.Parser, new[]{ "Name", "Number", "Options" }, null, null, null), 153 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumValueDescriptorProto), global::Google.Protobuf.Reflection.EnumValueDescr iptorProto.Parser, new[]{ "Name", "Number", "Options" }, null, null, null),
152 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.ServiceDescriptorProto), global::Google.Protobuf.Reflection.ServiceDescripto rProto.Parser, new[]{ "Name", "Method", "Options" }, null, null, null), 154 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.ServiceDescriptorProto), global::Google.Protobuf.Reflection.ServiceDescripto rProto.Parser, new[]{ "Name", "Method", "Options" }, null, null, null),
153 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.MethodDescriptorProto), global::Google.Protobuf.Reflection.MethodDescriptorP roto.Parser, new[]{ "Name", "InputType", "OutputType", "Options", "ClientStreami ng", "ServerStreaming" }, null, null, null), 155 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.MethodDescriptorProto), global::Google.Protobuf.Reflection.MethodDescriptorP roto.Parser, new[]{ "Name", "InputType", "OutputType", "Options", "ClientStreami ng", "ServerStreaming" }, null, null, null),
154 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FileOptions), global::Google.Protobuf.Reflection.FileOptions.Parser, new[]{ "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAnd Hash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", " JavaGenericServices", "PyGenericServices", "Deprecated", "CcEnableArenas", "Objc ClassPrefix", "CsharpNamespace", "UninterpretedOption" }, null, new[]{ typeof(gl obal::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) }, null), 156 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FileOptions), global::Google.Protobuf.Reflection.FileOptions.Parser, new[]{ "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAnd Hash", "JavaStringCheckUtf8", "OptimizeFor", "GoPackage", "CcGenericServices", " JavaGenericServices", "PyGenericServices", "Deprecated", "CcEnableArenas", "Objc ClassPrefix", "CsharpNamespace", "UninterpretedOption" }, null, new[]{ typeof(gl obal::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode) }, null),
155 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.MessageOptions), global::Google.Protobuf.Reflection.MessageOptions.Parser, n ew[]{ "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "Map Entry", "UninterpretedOption" }, null, null, null), 157 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.MessageOptions), global::Google.Protobuf.Reflection.MessageOptions.Parser, n ew[]{ "MessageSetWireFormat", "NoStandardDescriptorAccessor", "Deprecated", "Map Entry", "UninterpretedOption" }, null, null, null),
156 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[] { "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOptio n" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldOptions.Types. CType), typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) }, null), 158 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.FieldOptions), global::Google.Protobuf.Reflection.FieldOptions.Parser, new[] { "Ctype", "Packed", "Jstype", "Lazy", "Deprecated", "Weak", "UninterpretedOptio n" }, null, new[]{ typeof(global::Google.Protobuf.Reflection.FieldOptions.Types. CType), typeof(global::Google.Protobuf.Reflection.FieldOptions.Types.JSType) }, null),
159 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.OneofOptions), global::Google.Protobuf.Reflection.OneofOptions.Parser, new[] { "UninterpretedOption" }, null, null, null),
157 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumOptions), global::Google.Protobuf.Reflection.EnumOptions.Parser, new[]{ "AllowAlias", "Deprecated", "UninterpretedOption" }, null, null, null), 160 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumOptions), global::Google.Protobuf.Reflection.EnumOptions.Parser, new[]{ "AllowAlias", "Deprecated", "UninterpretedOption" }, null, null, null),
158 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumValueOptions), global::Google.Protobuf.Reflection.EnumValueOptions.Parse r, new[]{ "Deprecated", "UninterpretedOption" }, null, null, null), 161 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.EnumValueOptions), global::Google.Protobuf.Reflection.EnumValueOptions.Parse r, new[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
159 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.ServiceOptions), global::Google.Protobuf.Reflection.ServiceOptions.Parser, n ew[]{ "Deprecated", "UninterpretedOption" }, null, null, null), 162 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.ServiceOptions), global::Google.Protobuf.Reflection.ServiceOptions.Parser, n ew[]{ "Deprecated", "UninterpretedOption" }, null, null, null),
160 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.MethodOptions), global::Google.Protobuf.Reflection.MethodOptions.Parser, new []{ "Deprecated", "UninterpretedOption" }, null, null, null), 163 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.MethodOptions), global::Google.Protobuf.Reflection.MethodOptions.Parser, new []{ "Deprecated", "UninterpretedOption" }, null, null, null),
161 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.UninterpretedOption), global::Google.Protobuf.Reflection.UninterpretedOption .Parser, new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue ", "DoubleValue", "StringValue", "AggregateValue" }, null, null, new pbr::Genera tedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf. Reflection.UninterpretedOption.Types.NamePart), global::Google.Protobuf.Reflecti on.UninterpretedOption.Types.NamePart.Parser, new[]{ "NamePart_", "IsExtension" }, null, null, null)}), 164 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.UninterpretedOption), global::Google.Protobuf.Reflection.UninterpretedOption .Parser, new[]{ "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue ", "DoubleValue", "StringValue", "AggregateValue" }, null, null, new pbr::Genera tedClrTypeInfo[] { new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf. Reflection.UninterpretedOption.Types.NamePart), global::Google.Protobuf.Reflecti on.UninterpretedOption.Types.NamePart.Parser, new[]{ "NamePart_", "IsExtension" }, null, null, null)}),
162 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, n ew[]{ "Location" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::Gener atedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.L ocation), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parse r, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetache dComments" }, null, null, null)}), 165 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.SourceCodeInfo), global::Google.Protobuf.Reflection.SourceCodeInfo.Parser, n ew[]{ "Location" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pbr::Gener atedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.SourceCodeInfo.Types.L ocation), global::Google.Protobuf.Reflection.SourceCodeInfo.Types.Location.Parse r, new[]{ "Path", "Span", "LeadingComments", "TrailingComments", "LeadingDetache dComments" }, null, null, null)}),
163 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Par ser, new[]{ "Annotation" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pb r::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeI nfo.Types.Annotation), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Type s.Annotation.Parser, new[]{ "Path", "SourceFile", "Begin", "End" }, null, null, null)}) 166 new pbr::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflect ion.GeneratedCodeInfo), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Par ser, new[]{ "Annotation" }, null, null, new pbr::GeneratedClrTypeInfo[] { new pb r::GeneratedClrTypeInfo(typeof(global::Google.Protobuf.Reflection.GeneratedCodeI nfo.Types.Annotation), global::Google.Protobuf.Reflection.GeneratedCodeInfo.Type s.Annotation.Parser, new[]{ "Path", "SourceFile", "Begin", "End" }, null, null, null)})
164 })); 167 }));
165 } 168 }
166 #endregion 169 #endregion
167 170
168 } 171 }
169 #region Messages 172 #region Messages
170 /// <summary> 173 /// <summary>
171 /// The protocol compiler can output a FileDescriptorSet containing the .prot o 174 /// The protocol compiler can output a FileDescriptorSet containing the .prot o
172 /// files it parses. 175 /// files it parses.
173 /// </summary> 176 /// </summary>
174 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
175 internal sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorS et> { 177 internal sealed partial class FileDescriptorSet : pb::IMessage<FileDescriptorS et> {
176 private static readonly pb::MessageParser<FileDescriptorSet> _parser = new p b::MessageParser<FileDescriptorSet>(() => new FileDescriptorSet()); 178 private static readonly pb::MessageParser<FileDescriptorSet> _parser = new p b::MessageParser<FileDescriptorSet>(() => new FileDescriptorSet());
179 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
177 public static pb::MessageParser<FileDescriptorSet> Parser { get { return _pa rser; } } 180 public static pb::MessageParser<FileDescriptorSet> Parser { get { return _pa rser; } }
178 181
182 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
179 public static pbr::MessageDescriptor Descriptor { 183 public static pbr::MessageDescriptor Descriptor {
180 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[0]; } 184 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[0]; }
181 } 185 }
182 186
187 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
183 pbr::MessageDescriptor pb::IMessage.Descriptor { 188 pbr::MessageDescriptor pb::IMessage.Descriptor {
184 get { return Descriptor; } 189 get { return Descriptor; }
185 } 190 }
186 191
192 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
187 public FileDescriptorSet() { 193 public FileDescriptorSet() {
188 OnConstruction(); 194 OnConstruction();
189 } 195 }
190 196
191 partial void OnConstruction(); 197 partial void OnConstruction();
192 198
199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
193 public FileDescriptorSet(FileDescriptorSet other) : this() { 200 public FileDescriptorSet(FileDescriptorSet other) : this() {
194 file_ = other.file_.Clone(); 201 file_ = other.file_.Clone();
195 } 202 }
196 203
204 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
197 public FileDescriptorSet Clone() { 205 public FileDescriptorSet Clone() {
198 return new FileDescriptorSet(this); 206 return new FileDescriptorSet(this);
199 } 207 }
200 208
201 /// <summary>Field number for the "file" field.</summary> 209 /// <summary>Field number for the "file" field.</summary>
202 public const int FileFieldNumber = 1; 210 public const int FileFieldNumber = 1;
203 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi leDescriptorProto> _repeated_file_codec 211 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi leDescriptorProto> _repeated_file_codec
204 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.FileD escriptorProto.Parser); 212 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.FileD escriptorProto.Parser);
205 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FileD escriptorProto> file_ = new pbc::RepeatedField<global::Google.Protobuf.Reflectio n.FileDescriptorProto>(); 213 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.FileD escriptorProto> file_ = new pbc::RepeatedField<global::Google.Protobuf.Reflectio n.FileDescriptorProto>();
214 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
206 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorP roto> File { 215 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FileDescriptorP roto> File {
207 get { return file_; } 216 get { return file_; }
208 } 217 }
209 218
219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
210 public override bool Equals(object other) { 220 public override bool Equals(object other) {
211 return Equals(other as FileDescriptorSet); 221 return Equals(other as FileDescriptorSet);
212 } 222 }
213 223
224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
214 public bool Equals(FileDescriptorSet other) { 225 public bool Equals(FileDescriptorSet other) {
215 if (ReferenceEquals(other, null)) { 226 if (ReferenceEquals(other, null)) {
216 return false; 227 return false;
217 } 228 }
218 if (ReferenceEquals(other, this)) { 229 if (ReferenceEquals(other, this)) {
219 return true; 230 return true;
220 } 231 }
221 if(!file_.Equals(other.file_)) return false; 232 if(!file_.Equals(other.file_)) return false;
222 return true; 233 return true;
223 } 234 }
224 235
236 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
225 public override int GetHashCode() { 237 public override int GetHashCode() {
226 int hash = 1; 238 int hash = 1;
227 hash ^= file_.GetHashCode(); 239 hash ^= file_.GetHashCode();
228 return hash; 240 return hash;
229 } 241 }
230 242
243 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
231 public override string ToString() { 244 public override string ToString() {
232 return pb::JsonFormatter.ToDiagnosticString(this); 245 return pb::JsonFormatter.ToDiagnosticString(this);
233 } 246 }
234 247
248 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
235 public void WriteTo(pb::CodedOutputStream output) { 249 public void WriteTo(pb::CodedOutputStream output) {
236 file_.WriteTo(output, _repeated_file_codec); 250 file_.WriteTo(output, _repeated_file_codec);
237 } 251 }
238 252
253 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
239 public int CalculateSize() { 254 public int CalculateSize() {
240 int size = 0; 255 int size = 0;
241 size += file_.CalculateSize(_repeated_file_codec); 256 size += file_.CalculateSize(_repeated_file_codec);
242 return size; 257 return size;
243 } 258 }
244 259
260 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
245 public void MergeFrom(FileDescriptorSet other) { 261 public void MergeFrom(FileDescriptorSet other) {
246 if (other == null) { 262 if (other == null) {
247 return; 263 return;
248 } 264 }
249 file_.Add(other.file_); 265 file_.Add(other.file_);
250 } 266 }
251 267
268 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
252 public void MergeFrom(pb::CodedInputStream input) { 269 public void MergeFrom(pb::CodedInputStream input) {
253 uint tag; 270 uint tag;
254 while ((tag = input.ReadTag()) != 0) { 271 while ((tag = input.ReadTag()) != 0) {
255 switch(tag) { 272 switch(tag) {
256 default: 273 default:
257 input.SkipLastField(); 274 input.SkipLastField();
258 break; 275 break;
259 case 10: { 276 case 10: {
260 file_.AddEntriesFrom(input, _repeated_file_codec); 277 file_.AddEntriesFrom(input, _repeated_file_codec);
261 break; 278 break;
262 } 279 }
263 } 280 }
264 } 281 }
265 } 282 }
266 283
267 } 284 }
268 285
269 /// <summary> 286 /// <summary>
270 /// Describes a complete .proto file. 287 /// Describes a complete .proto file.
271 /// </summary> 288 /// </summary>
272 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
273 internal sealed partial class FileDescriptorProto : pb::IMessage<FileDescripto rProto> { 289 internal sealed partial class FileDescriptorProto : pb::IMessage<FileDescripto rProto> {
274 private static readonly pb::MessageParser<FileDescriptorProto> _parser = new pb::MessageParser<FileDescriptorProto>(() => new FileDescriptorProto()); 290 private static readonly pb::MessageParser<FileDescriptorProto> _parser = new pb::MessageParser<FileDescriptorProto>(() => new FileDescriptorProto());
291 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
275 public static pb::MessageParser<FileDescriptorProto> Parser { get { return _ parser; } } 292 public static pb::MessageParser<FileDescriptorProto> Parser { get { return _ parser; } }
276 293
294 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
277 public static pbr::MessageDescriptor Descriptor { 295 public static pbr::MessageDescriptor Descriptor {
278 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[1]; } 296 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[1]; }
279 } 297 }
280 298
299 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
281 pbr::MessageDescriptor pb::IMessage.Descriptor { 300 pbr::MessageDescriptor pb::IMessage.Descriptor {
282 get { return Descriptor; } 301 get { return Descriptor; }
283 } 302 }
284 303
304 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
285 public FileDescriptorProto() { 305 public FileDescriptorProto() {
286 OnConstruction(); 306 OnConstruction();
287 } 307 }
288 308
289 partial void OnConstruction(); 309 partial void OnConstruction();
290 310
311 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
291 public FileDescriptorProto(FileDescriptorProto other) : this() { 312 public FileDescriptorProto(FileDescriptorProto other) : this() {
292 name_ = other.name_; 313 name_ = other.name_;
293 package_ = other.package_; 314 package_ = other.package_;
294 dependency_ = other.dependency_.Clone(); 315 dependency_ = other.dependency_.Clone();
295 publicDependency_ = other.publicDependency_.Clone(); 316 publicDependency_ = other.publicDependency_.Clone();
296 weakDependency_ = other.weakDependency_.Clone(); 317 weakDependency_ = other.weakDependency_.Clone();
297 messageType_ = other.messageType_.Clone(); 318 messageType_ = other.messageType_.Clone();
298 enumType_ = other.enumType_.Clone(); 319 enumType_ = other.enumType_.Clone();
299 service_ = other.service_.Clone(); 320 service_ = other.service_.Clone();
300 extension_ = other.extension_.Clone(); 321 extension_ = other.extension_.Clone();
301 Options = other.options_ != null ? other.Options.Clone() : null; 322 Options = other.options_ != null ? other.Options.Clone() : null;
302 SourceCodeInfo = other.sourceCodeInfo_ != null ? other.SourceCodeInfo.Clon e() : null; 323 SourceCodeInfo = other.sourceCodeInfo_ != null ? other.SourceCodeInfo.Clon e() : null;
303 syntax_ = other.syntax_; 324 syntax_ = other.syntax_;
304 } 325 }
305 326
327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
306 public FileDescriptorProto Clone() { 328 public FileDescriptorProto Clone() {
307 return new FileDescriptorProto(this); 329 return new FileDescriptorProto(this);
308 } 330 }
309 331
310 /// <summary>Field number for the "name" field.</summary> 332 /// <summary>Field number for the "name" field.</summary>
311 public const int NameFieldNumber = 1; 333 public const int NameFieldNumber = 1;
312 private string name_ = ""; 334 private string name_ = "";
313 /// <summary> 335 /// <summary>
314 /// file name, relative to root of source tree 336 /// file name, relative to root of source tree
315 /// </summary> 337 /// </summary>
338 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
316 public string Name { 339 public string Name {
317 get { return name_; } 340 get { return name_; }
318 set { 341 set {
319 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 342 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
320 } 343 }
321 } 344 }
322 345
323 /// <summary>Field number for the "package" field.</summary> 346 /// <summary>Field number for the "package" field.</summary>
324 public const int PackageFieldNumber = 2; 347 public const int PackageFieldNumber = 2;
325 private string package_ = ""; 348 private string package_ = "";
326 /// <summary> 349 /// <summary>
327 /// e.g. "foo", "foo.bar", etc. 350 /// e.g. "foo", "foo.bar", etc.
328 /// </summary> 351 /// </summary>
352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
329 public string Package { 353 public string Package {
330 get { return package_; } 354 get { return package_; }
331 set { 355 set {
332 package_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 356 package_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
333 } 357 }
334 } 358 }
335 359
336 /// <summary>Field number for the "dependency" field.</summary> 360 /// <summary>Field number for the "dependency" field.</summary>
337 public const int DependencyFieldNumber = 3; 361 public const int DependencyFieldNumber = 3;
338 private static readonly pb::FieldCodec<string> _repeated_dependency_codec 362 private static readonly pb::FieldCodec<string> _repeated_dependency_codec
339 = pb::FieldCodec.ForString(26); 363 = pb::FieldCodec.ForString(26);
340 private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedF ield<string>(); 364 private readonly pbc::RepeatedField<string> dependency_ = new pbc::RepeatedF ield<string>();
341 /// <summary> 365 /// <summary>
342 /// Names of files imported by this file. 366 /// Names of files imported by this file.
343 /// </summary> 367 /// </summary>
368 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
344 public pbc::RepeatedField<string> Dependency { 369 public pbc::RepeatedField<string> Dependency {
345 get { return dependency_; } 370 get { return dependency_; }
346 } 371 }
347 372
348 /// <summary>Field number for the "public_dependency" field.</summary> 373 /// <summary>Field number for the "public_dependency" field.</summary>
349 public const int PublicDependencyFieldNumber = 10; 374 public const int PublicDependencyFieldNumber = 10;
350 private static readonly pb::FieldCodec<int> _repeated_publicDependency_codec 375 private static readonly pb::FieldCodec<int> _repeated_publicDependency_codec
351 = pb::FieldCodec.ForInt32(80); 376 = pb::FieldCodec.ForInt32(80);
352 private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::Repeat edField<int>(); 377 private readonly pbc::RepeatedField<int> publicDependency_ = new pbc::Repeat edField<int>();
353 /// <summary> 378 /// <summary>
354 /// Indexes of the public imported files in the dependency list above. 379 /// Indexes of the public imported files in the dependency list above.
355 /// </summary> 380 /// </summary>
381 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
356 public pbc::RepeatedField<int> PublicDependency { 382 public pbc::RepeatedField<int> PublicDependency {
357 get { return publicDependency_; } 383 get { return publicDependency_; }
358 } 384 }
359 385
360 /// <summary>Field number for the "weak_dependency" field.</summary> 386 /// <summary>Field number for the "weak_dependency" field.</summary>
361 public const int WeakDependencyFieldNumber = 11; 387 public const int WeakDependencyFieldNumber = 11;
362 private static readonly pb::FieldCodec<int> _repeated_weakDependency_codec 388 private static readonly pb::FieldCodec<int> _repeated_weakDependency_codec
363 = pb::FieldCodec.ForInt32(88); 389 = pb::FieldCodec.ForInt32(88);
364 private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::Repeated Field<int>(); 390 private readonly pbc::RepeatedField<int> weakDependency_ = new pbc::Repeated Field<int>();
365 /// <summary> 391 /// <summary>
366 /// Indexes of the weak imported files in the dependency list. 392 /// Indexes of the weak imported files in the dependency list.
367 /// For Google-internal migration only. Do not use. 393 /// For Google-internal migration only. Do not use.
368 /// </summary> 394 /// </summary>
395 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
369 public pbc::RepeatedField<int> WeakDependency { 396 public pbc::RepeatedField<int> WeakDependency {
370 get { return weakDependency_; } 397 get { return weakDependency_; }
371 } 398 }
372 399
373 /// <summary>Field number for the "message_type" field.</summary> 400 /// <summary>Field number for the "message_type" field.</summary>
374 public const int MessageTypeFieldNumber = 4; 401 public const int MessageTypeFieldNumber = 4;
375 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto> _repeated_messageType_codec 402 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto> _repeated_messageType_codec
376 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.Descr iptorProto.Parser); 403 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.Descr iptorProto.Parser);
377 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto> messageType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflec tion.DescriptorProto>(); 404 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto> messageType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflec tion.DescriptorProto>();
378 /// <summary> 405 /// <summary>
379 /// All top-level definitions in this file. 406 /// All top-level definitions in this file.
380 /// </summary> 407 /// </summary>
408 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
381 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto > MessageType { 409 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto > MessageType {
382 get { return messageType_; } 410 get { return messageType_; }
383 } 411 }
384 412
385 /// <summary>Field number for the "enum_type" field.</summary> 413 /// <summary>Field number for the "enum_type" field.</summary>
386 public const int EnumTypeFieldNumber = 5; 414 public const int EnumTypeFieldNumber = 5;
387 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.En umDescriptorProto> _repeated_enumType_codec 415 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.En umDescriptorProto> _repeated_enumType_codec
388 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.EnumD escriptorProto.Parser); 416 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.EnumD escriptorProto.Parser);
389 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumD escriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Refle ction.EnumDescriptorProto>(); 417 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumD escriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Refle ction.EnumDescriptorProto>();
418 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
390 public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorP roto> EnumType { 419 public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorP roto> EnumType {
391 get { return enumType_; } 420 get { return enumType_; }
392 } 421 }
393 422
394 /// <summary>Field number for the "service" field.</summary> 423 /// <summary>Field number for the "service" field.</summary>
395 public const int ServiceFieldNumber = 6; 424 public const int ServiceFieldNumber = 6;
396 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Se rviceDescriptorProto> _repeated_service_codec 425 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Se rviceDescriptorProto> _repeated_service_codec
397 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.Servi ceDescriptorProto.Parser); 426 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.Servi ceDescriptorProto.Parser);
398 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Servi ceDescriptorProto> service_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.ServiceDescriptorProto>(); 427 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Servi ceDescriptorProto> service_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.ServiceDescriptorProto>();
428 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
399 public pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescript orProto> Service { 429 public pbc::RepeatedField<global::Google.Protobuf.Reflection.ServiceDescript orProto> Service {
400 get { return service_; } 430 get { return service_; }
401 } 431 }
402 432
403 /// <summary>Field number for the "extension" field.</summary> 433 /// <summary>Field number for the "extension" field.</summary>
404 public const int ExtensionFieldNumber = 7; 434 public const int ExtensionFieldNumber = 7;
405 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi eldDescriptorProto> _repeated_extension_codec 435 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi eldDescriptorProto> _repeated_extension_codec
406 = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.Reflection.Field DescriptorProto.Parser); 436 = pb::FieldCodec.ForMessage(58, global::Google.Protobuf.Reflection.Field DescriptorProto.Parser);
407 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Field DescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.FieldDescriptorProto>(); 437 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Field DescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.FieldDescriptorProto>();
438 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
408 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptor Proto> Extension { 439 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptor Proto> Extension {
409 get { return extension_; } 440 get { return extension_; }
410 } 441 }
411 442
412 /// <summary>Field number for the "options" field.</summary> 443 /// <summary>Field number for the "options" field.</summary>
413 public const int OptionsFieldNumber = 8; 444 public const int OptionsFieldNumber = 8;
414 private global::Google.Protobuf.Reflection.FileOptions options_; 445 private global::Google.Protobuf.Reflection.FileOptions options_;
446 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
415 public global::Google.Protobuf.Reflection.FileOptions Options { 447 public global::Google.Protobuf.Reflection.FileOptions Options {
416 get { return options_; } 448 get { return options_; }
417 set { 449 set {
418 options_ = value; 450 options_ = value;
419 } 451 }
420 } 452 }
421 453
422 /// <summary>Field number for the "source_code_info" field.</summary> 454 /// <summary>Field number for the "source_code_info" field.</summary>
423 public const int SourceCodeInfoFieldNumber = 9; 455 public const int SourceCodeInfoFieldNumber = 9;
424 private global::Google.Protobuf.Reflection.SourceCodeInfo sourceCodeInfo_; 456 private global::Google.Protobuf.Reflection.SourceCodeInfo sourceCodeInfo_;
425 /// <summary> 457 /// <summary>
426 /// This field contains optional information about the original source code . 458 /// This field contains optional information about the original source code .
427 /// You may safely remove this entire field without harming runtime 459 /// You may safely remove this entire field without harming runtime
428 /// functionality of the descriptors -- the information is needed only by 460 /// functionality of the descriptors -- the information is needed only by
429 /// development tools. 461 /// development tools.
430 /// </summary> 462 /// </summary>
463 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
431 public global::Google.Protobuf.Reflection.SourceCodeInfo SourceCodeInfo { 464 public global::Google.Protobuf.Reflection.SourceCodeInfo SourceCodeInfo {
432 get { return sourceCodeInfo_; } 465 get { return sourceCodeInfo_; }
433 set { 466 set {
434 sourceCodeInfo_ = value; 467 sourceCodeInfo_ = value;
435 } 468 }
436 } 469 }
437 470
438 /// <summary>Field number for the "syntax" field.</summary> 471 /// <summary>Field number for the "syntax" field.</summary>
439 public const int SyntaxFieldNumber = 12; 472 public const int SyntaxFieldNumber = 12;
440 private string syntax_ = ""; 473 private string syntax_ = "";
441 /// <summary> 474 /// <summary>
442 /// The syntax of the proto file. 475 /// The syntax of the proto file.
443 /// The supported values are "proto2" and "proto3". 476 /// The supported values are "proto2" and "proto3".
444 /// </summary> 477 /// </summary>
478 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
445 public string Syntax { 479 public string Syntax {
446 get { return syntax_; } 480 get { return syntax_; }
447 set { 481 set {
448 syntax_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 482 syntax_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
449 } 483 }
450 } 484 }
451 485
486 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
452 public override bool Equals(object other) { 487 public override bool Equals(object other) {
453 return Equals(other as FileDescriptorProto); 488 return Equals(other as FileDescriptorProto);
454 } 489 }
455 490
491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
456 public bool Equals(FileDescriptorProto other) { 492 public bool Equals(FileDescriptorProto other) {
457 if (ReferenceEquals(other, null)) { 493 if (ReferenceEquals(other, null)) {
458 return false; 494 return false;
459 } 495 }
460 if (ReferenceEquals(other, this)) { 496 if (ReferenceEquals(other, this)) {
461 return true; 497 return true;
462 } 498 }
463 if (Name != other.Name) return false; 499 if (Name != other.Name) return false;
464 if (Package != other.Package) return false; 500 if (Package != other.Package) return false;
465 if(!dependency_.Equals(other.dependency_)) return false; 501 if(!dependency_.Equals(other.dependency_)) return false;
466 if(!publicDependency_.Equals(other.publicDependency_)) return false; 502 if(!publicDependency_.Equals(other.publicDependency_)) return false;
467 if(!weakDependency_.Equals(other.weakDependency_)) return false; 503 if(!weakDependency_.Equals(other.weakDependency_)) return false;
468 if(!messageType_.Equals(other.messageType_)) return false; 504 if(!messageType_.Equals(other.messageType_)) return false;
469 if(!enumType_.Equals(other.enumType_)) return false; 505 if(!enumType_.Equals(other.enumType_)) return false;
470 if(!service_.Equals(other.service_)) return false; 506 if(!service_.Equals(other.service_)) return false;
471 if(!extension_.Equals(other.extension_)) return false; 507 if(!extension_.Equals(other.extension_)) return false;
472 if (!object.Equals(Options, other.Options)) return false; 508 if (!object.Equals(Options, other.Options)) return false;
473 if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) return false; 509 if (!object.Equals(SourceCodeInfo, other.SourceCodeInfo)) return false;
474 if (Syntax != other.Syntax) return false; 510 if (Syntax != other.Syntax) return false;
475 return true; 511 return true;
476 } 512 }
477 513
514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
478 public override int GetHashCode() { 515 public override int GetHashCode() {
479 int hash = 1; 516 int hash = 1;
480 if (Name.Length != 0) hash ^= Name.GetHashCode(); 517 if (Name.Length != 0) hash ^= Name.GetHashCode();
481 if (Package.Length != 0) hash ^= Package.GetHashCode(); 518 if (Package.Length != 0) hash ^= Package.GetHashCode();
482 hash ^= dependency_.GetHashCode(); 519 hash ^= dependency_.GetHashCode();
483 hash ^= publicDependency_.GetHashCode(); 520 hash ^= publicDependency_.GetHashCode();
484 hash ^= weakDependency_.GetHashCode(); 521 hash ^= weakDependency_.GetHashCode();
485 hash ^= messageType_.GetHashCode(); 522 hash ^= messageType_.GetHashCode();
486 hash ^= enumType_.GetHashCode(); 523 hash ^= enumType_.GetHashCode();
487 hash ^= service_.GetHashCode(); 524 hash ^= service_.GetHashCode();
488 hash ^= extension_.GetHashCode(); 525 hash ^= extension_.GetHashCode();
489 if (options_ != null) hash ^= Options.GetHashCode(); 526 if (options_ != null) hash ^= Options.GetHashCode();
490 if (sourceCodeInfo_ != null) hash ^= SourceCodeInfo.GetHashCode(); 527 if (sourceCodeInfo_ != null) hash ^= SourceCodeInfo.GetHashCode();
491 if (Syntax.Length != 0) hash ^= Syntax.GetHashCode(); 528 if (Syntax.Length != 0) hash ^= Syntax.GetHashCode();
492 return hash; 529 return hash;
493 } 530 }
494 531
532 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
495 public override string ToString() { 533 public override string ToString() {
496 return pb::JsonFormatter.ToDiagnosticString(this); 534 return pb::JsonFormatter.ToDiagnosticString(this);
497 } 535 }
498 536
537 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
499 public void WriteTo(pb::CodedOutputStream output) { 538 public void WriteTo(pb::CodedOutputStream output) {
500 if (Name.Length != 0) { 539 if (Name.Length != 0) {
501 output.WriteRawTag(10); 540 output.WriteRawTag(10);
502 output.WriteString(Name); 541 output.WriteString(Name);
503 } 542 }
504 if (Package.Length != 0) { 543 if (Package.Length != 0) {
505 output.WriteRawTag(18); 544 output.WriteRawTag(18);
506 output.WriteString(Package); 545 output.WriteString(Package);
507 } 546 }
508 dependency_.WriteTo(output, _repeated_dependency_codec); 547 dependency_.WriteTo(output, _repeated_dependency_codec);
(...skipping 10 matching lines...) Expand all
519 output.WriteMessage(SourceCodeInfo); 558 output.WriteMessage(SourceCodeInfo);
520 } 559 }
521 publicDependency_.WriteTo(output, _repeated_publicDependency_codec); 560 publicDependency_.WriteTo(output, _repeated_publicDependency_codec);
522 weakDependency_.WriteTo(output, _repeated_weakDependency_codec); 561 weakDependency_.WriteTo(output, _repeated_weakDependency_codec);
523 if (Syntax.Length != 0) { 562 if (Syntax.Length != 0) {
524 output.WriteRawTag(98); 563 output.WriteRawTag(98);
525 output.WriteString(Syntax); 564 output.WriteString(Syntax);
526 } 565 }
527 } 566 }
528 567
568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
529 public int CalculateSize() { 569 public int CalculateSize() {
530 int size = 0; 570 int size = 0;
531 if (Name.Length != 0) { 571 if (Name.Length != 0) {
532 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 572 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
533 } 573 }
534 if (Package.Length != 0) { 574 if (Package.Length != 0) {
535 size += 1 + pb::CodedOutputStream.ComputeStringSize(Package); 575 size += 1 + pb::CodedOutputStream.ComputeStringSize(Package);
536 } 576 }
537 size += dependency_.CalculateSize(_repeated_dependency_codec); 577 size += dependency_.CalculateSize(_repeated_dependency_codec);
538 size += publicDependency_.CalculateSize(_repeated_publicDependency_codec); 578 size += publicDependency_.CalculateSize(_repeated_publicDependency_codec);
539 size += weakDependency_.CalculateSize(_repeated_weakDependency_codec); 579 size += weakDependency_.CalculateSize(_repeated_weakDependency_codec);
540 size += messageType_.CalculateSize(_repeated_messageType_codec); 580 size += messageType_.CalculateSize(_repeated_messageType_codec);
541 size += enumType_.CalculateSize(_repeated_enumType_codec); 581 size += enumType_.CalculateSize(_repeated_enumType_codec);
542 size += service_.CalculateSize(_repeated_service_codec); 582 size += service_.CalculateSize(_repeated_service_codec);
543 size += extension_.CalculateSize(_repeated_extension_codec); 583 size += extension_.CalculateSize(_repeated_extension_codec);
544 if (options_ != null) { 584 if (options_ != null) {
545 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); 585 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
546 } 586 }
547 if (sourceCodeInfo_ != null) { 587 if (sourceCodeInfo_ != null) {
548 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceCodeInfo); 588 size += 1 + pb::CodedOutputStream.ComputeMessageSize(SourceCodeInfo);
549 } 589 }
550 if (Syntax.Length != 0) { 590 if (Syntax.Length != 0) {
551 size += 1 + pb::CodedOutputStream.ComputeStringSize(Syntax); 591 size += 1 + pb::CodedOutputStream.ComputeStringSize(Syntax);
552 } 592 }
553 return size; 593 return size;
554 } 594 }
555 595
596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
556 public void MergeFrom(FileDescriptorProto other) { 597 public void MergeFrom(FileDescriptorProto other) {
557 if (other == null) { 598 if (other == null) {
558 return; 599 return;
559 } 600 }
560 if (other.Name.Length != 0) { 601 if (other.Name.Length != 0) {
561 Name = other.Name; 602 Name = other.Name;
562 } 603 }
563 if (other.Package.Length != 0) { 604 if (other.Package.Length != 0) {
564 Package = other.Package; 605 Package = other.Package;
565 } 606 }
(...skipping 14 matching lines...) Expand all
580 if (sourceCodeInfo_ == null) { 621 if (sourceCodeInfo_ == null) {
581 sourceCodeInfo_ = new global::Google.Protobuf.Reflection.SourceCodeInf o(); 622 sourceCodeInfo_ = new global::Google.Protobuf.Reflection.SourceCodeInf o();
582 } 623 }
583 SourceCodeInfo.MergeFrom(other.SourceCodeInfo); 624 SourceCodeInfo.MergeFrom(other.SourceCodeInfo);
584 } 625 }
585 if (other.Syntax.Length != 0) { 626 if (other.Syntax.Length != 0) {
586 Syntax = other.Syntax; 627 Syntax = other.Syntax;
587 } 628 }
588 } 629 }
589 630
631 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
590 public void MergeFrom(pb::CodedInputStream input) { 632 public void MergeFrom(pb::CodedInputStream input) {
591 uint tag; 633 uint tag;
592 while ((tag = input.ReadTag()) != 0) { 634 while ((tag = input.ReadTag()) != 0) {
593 switch(tag) { 635 switch(tag) {
594 default: 636 default:
595 input.SkipLastField(); 637 input.SkipLastField();
596 break; 638 break;
597 case 10: { 639 case 10: {
598 Name = input.ReadString(); 640 Name = input.ReadString();
599 break; 641 break;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 } 694 }
653 } 695 }
654 } 696 }
655 } 697 }
656 698
657 } 699 }
658 700
659 /// <summary> 701 /// <summary>
660 /// Describes a message type. 702 /// Describes a message type.
661 /// </summary> 703 /// </summary>
662 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
663 internal sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> { 704 internal sealed partial class DescriptorProto : pb::IMessage<DescriptorProto> {
664 private static readonly pb::MessageParser<DescriptorProto> _parser = new pb: :MessageParser<DescriptorProto>(() => new DescriptorProto()); 705 private static readonly pb::MessageParser<DescriptorProto> _parser = new pb: :MessageParser<DescriptorProto>(() => new DescriptorProto());
706 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
665 public static pb::MessageParser<DescriptorProto> Parser { get { return _pars er; } } 707 public static pb::MessageParser<DescriptorProto> Parser { get { return _pars er; } }
666 708
709 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
667 public static pbr::MessageDescriptor Descriptor { 710 public static pbr::MessageDescriptor Descriptor {
668 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[2]; } 711 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[2]; }
669 } 712 }
670 713
714 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
671 pbr::MessageDescriptor pb::IMessage.Descriptor { 715 pbr::MessageDescriptor pb::IMessage.Descriptor {
672 get { return Descriptor; } 716 get { return Descriptor; }
673 } 717 }
674 718
719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
675 public DescriptorProto() { 720 public DescriptorProto() {
676 OnConstruction(); 721 OnConstruction();
677 } 722 }
678 723
679 partial void OnConstruction(); 724 partial void OnConstruction();
680 725
726 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
681 public DescriptorProto(DescriptorProto other) : this() { 727 public DescriptorProto(DescriptorProto other) : this() {
682 name_ = other.name_; 728 name_ = other.name_;
683 field_ = other.field_.Clone(); 729 field_ = other.field_.Clone();
684 extension_ = other.extension_.Clone(); 730 extension_ = other.extension_.Clone();
685 nestedType_ = other.nestedType_.Clone(); 731 nestedType_ = other.nestedType_.Clone();
686 enumType_ = other.enumType_.Clone(); 732 enumType_ = other.enumType_.Clone();
687 extensionRange_ = other.extensionRange_.Clone(); 733 extensionRange_ = other.extensionRange_.Clone();
688 oneofDecl_ = other.oneofDecl_.Clone(); 734 oneofDecl_ = other.oneofDecl_.Clone();
689 Options = other.options_ != null ? other.Options.Clone() : null; 735 Options = other.options_ != null ? other.Options.Clone() : null;
690 reservedRange_ = other.reservedRange_.Clone(); 736 reservedRange_ = other.reservedRange_.Clone();
691 reservedName_ = other.reservedName_.Clone(); 737 reservedName_ = other.reservedName_.Clone();
692 } 738 }
693 739
740 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
694 public DescriptorProto Clone() { 741 public DescriptorProto Clone() {
695 return new DescriptorProto(this); 742 return new DescriptorProto(this);
696 } 743 }
697 744
698 /// <summary>Field number for the "name" field.</summary> 745 /// <summary>Field number for the "name" field.</summary>
699 public const int NameFieldNumber = 1; 746 public const int NameFieldNumber = 1;
700 private string name_ = ""; 747 private string name_ = "";
748 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
701 public string Name { 749 public string Name {
702 get { return name_; } 750 get { return name_; }
703 set { 751 set {
704 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 752 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
705 } 753 }
706 } 754 }
707 755
708 /// <summary>Field number for the "field" field.</summary> 756 /// <summary>Field number for the "field" field.</summary>
709 public const int FieldFieldNumber = 2; 757 public const int FieldFieldNumber = 2;
710 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi eldDescriptorProto> _repeated_field_codec 758 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi eldDescriptorProto> _repeated_field_codec
711 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.Field DescriptorProto.Parser); 759 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.Field DescriptorProto.Parser);
712 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Field DescriptorProto> field_ = new pbc::RepeatedField<global::Google.Protobuf.Reflect ion.FieldDescriptorProto>(); 760 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Field DescriptorProto> field_ = new pbc::RepeatedField<global::Google.Protobuf.Reflect ion.FieldDescriptorProto>();
761 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
713 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptor Proto> Field { 762 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptor Proto> Field {
714 get { return field_; } 763 get { return field_; }
715 } 764 }
716 765
717 /// <summary>Field number for the "extension" field.</summary> 766 /// <summary>Field number for the "extension" field.</summary>
718 public const int ExtensionFieldNumber = 6; 767 public const int ExtensionFieldNumber = 6;
719 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi eldDescriptorProto> _repeated_extension_codec 768 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Fi eldDescriptorProto> _repeated_extension_codec
720 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.Field DescriptorProto.Parser); 769 = pb::FieldCodec.ForMessage(50, global::Google.Protobuf.Reflection.Field DescriptorProto.Parser);
721 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Field DescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.FieldDescriptorProto>(); 770 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Field DescriptorProto> extension_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.FieldDescriptorProto>();
771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
722 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptor Proto> Extension { 772 public pbc::RepeatedField<global::Google.Protobuf.Reflection.FieldDescriptor Proto> Extension {
723 get { return extension_; } 773 get { return extension_; }
724 } 774 }
725 775
726 /// <summary>Field number for the "nested_type" field.</summary> 776 /// <summary>Field number for the "nested_type" field.</summary>
727 public const int NestedTypeFieldNumber = 3; 777 public const int NestedTypeFieldNumber = 3;
728 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto> _repeated_nestedType_codec 778 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto> _repeated_nestedType_codec
729 = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.Reflection.Descr iptorProto.Parser); 779 = pb::FieldCodec.ForMessage(26, global::Google.Protobuf.Reflection.Descr iptorProto.Parser);
730 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto> nestedType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflect ion.DescriptorProto>(); 780 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto> nestedType_ = new pbc::RepeatedField<global::Google.Protobuf.Reflect ion.DescriptorProto>();
781 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
731 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto > NestedType { 782 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto > NestedType {
732 get { return nestedType_; } 783 get { return nestedType_; }
733 } 784 }
734 785
735 /// <summary>Field number for the "enum_type" field.</summary> 786 /// <summary>Field number for the "enum_type" field.</summary>
736 public const int EnumTypeFieldNumber = 4; 787 public const int EnumTypeFieldNumber = 4;
737 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.En umDescriptorProto> _repeated_enumType_codec 788 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.En umDescriptorProto> _repeated_enumType_codec
738 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.EnumD escriptorProto.Parser); 789 = pb::FieldCodec.ForMessage(34, global::Google.Protobuf.Reflection.EnumD escriptorProto.Parser);
739 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumD escriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Refle ction.EnumDescriptorProto>(); 790 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumD escriptorProto> enumType_ = new pbc::RepeatedField<global::Google.Protobuf.Refle ction.EnumDescriptorProto>();
791 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
740 public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorP roto> EnumType { 792 public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumDescriptorP roto> EnumType {
741 get { return enumType_; } 793 get { return enumType_; }
742 } 794 }
743 795
744 /// <summary>Field number for the "extension_range" field.</summary> 796 /// <summary>Field number for the "extension_range" field.</summary>
745 public const int ExtensionRangeFieldNumber = 5; 797 public const int ExtensionRangeFieldNumber = 5;
746 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto.Types.ExtensionRange> _repeated_extensionRange_codec 798 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto.Types.ExtensionRange> _repeated_extensionRange_codec
747 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.Descr iptorProto.Types.ExtensionRange.Parser); 799 = pb::FieldCodec.ForMessage(42, global::Google.Protobuf.Reflection.Descr iptorProto.Types.ExtensionRange.Parser);
748 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto.Types.ExtensionRange> extensionRange_ = new pbc::RepeatedField<global ::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange>(); 800 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto.Types.ExtensionRange> extensionRange_ = new pbc::RepeatedField<global ::Google.Protobuf.Reflection.DescriptorProto.Types.ExtensionRange>();
801 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
749 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto .Types.ExtensionRange> ExtensionRange { 802 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto .Types.ExtensionRange> ExtensionRange {
750 get { return extensionRange_; } 803 get { return extensionRange_; }
751 } 804 }
752 805
753 /// <summary>Field number for the "oneof_decl" field.</summary> 806 /// <summary>Field number for the "oneof_decl" field.</summary>
754 public const int OneofDeclFieldNumber = 8; 807 public const int OneofDeclFieldNumber = 8;
755 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.On eofDescriptorProto> _repeated_oneofDecl_codec 808 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.On eofDescriptorProto> _repeated_oneofDecl_codec
756 = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.Reflection.Oneof DescriptorProto.Parser); 809 = pb::FieldCodec.ForMessage(66, global::Google.Protobuf.Reflection.Oneof DescriptorProto.Parser);
757 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Oneof DescriptorProto> oneofDecl_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.OneofDescriptorProto>(); 810 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Oneof DescriptorProto> oneofDecl_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.OneofDescriptorProto>();
811 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
758 public pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptor Proto> OneofDecl { 812 public pbc::RepeatedField<global::Google.Protobuf.Reflection.OneofDescriptor Proto> OneofDecl {
759 get { return oneofDecl_; } 813 get { return oneofDecl_; }
760 } 814 }
761 815
762 /// <summary>Field number for the "options" field.</summary> 816 /// <summary>Field number for the "options" field.</summary>
763 public const int OptionsFieldNumber = 7; 817 public const int OptionsFieldNumber = 7;
764 private global::Google.Protobuf.Reflection.MessageOptions options_; 818 private global::Google.Protobuf.Reflection.MessageOptions options_;
819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
765 public global::Google.Protobuf.Reflection.MessageOptions Options { 820 public global::Google.Protobuf.Reflection.MessageOptions Options {
766 get { return options_; } 821 get { return options_; }
767 set { 822 set {
768 options_ = value; 823 options_ = value;
769 } 824 }
770 } 825 }
771 826
772 /// <summary>Field number for the "reserved_range" field.</summary> 827 /// <summary>Field number for the "reserved_range" field.</summary>
773 public const int ReservedRangeFieldNumber = 9; 828 public const int ReservedRangeFieldNumber = 9;
774 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto.Types.ReservedRange> _repeated_reservedRange_codec 829 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.De scriptorProto.Types.ReservedRange> _repeated_reservedRange_codec
775 = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.Reflection.Descr iptorProto.Types.ReservedRange.Parser); 830 = pb::FieldCodec.ForMessage(74, global::Google.Protobuf.Reflection.Descr iptorProto.Types.ReservedRange.Parser);
776 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto.Types.ReservedRange> reservedRange_ = new pbc::RepeatedField<global:: Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange>(); 831 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Descr iptorProto.Types.ReservedRange> reservedRange_ = new pbc::RepeatedField<global:: Google.Protobuf.Reflection.DescriptorProto.Types.ReservedRange>();
832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
777 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto .Types.ReservedRange> ReservedRange { 833 public pbc::RepeatedField<global::Google.Protobuf.Reflection.DescriptorProto .Types.ReservedRange> ReservedRange {
778 get { return reservedRange_; } 834 get { return reservedRange_; }
779 } 835 }
780 836
781 /// <summary>Field number for the "reserved_name" field.</summary> 837 /// <summary>Field number for the "reserved_name" field.</summary>
782 public const int ReservedNameFieldNumber = 10; 838 public const int ReservedNameFieldNumber = 10;
783 private static readonly pb::FieldCodec<string> _repeated_reservedName_codec 839 private static readonly pb::FieldCodec<string> _repeated_reservedName_codec
784 = pb::FieldCodec.ForString(82); 840 = pb::FieldCodec.ForString(82);
785 private readonly pbc::RepeatedField<string> reservedName_ = new pbc::Repeate dField<string>(); 841 private readonly pbc::RepeatedField<string> reservedName_ = new pbc::Repeate dField<string>();
786 /// <summary> 842 /// <summary>
787 /// Reserved field names, which may not be used by fields in the same messa ge. 843 /// Reserved field names, which may not be used by fields in the same messa ge.
788 /// A given name may only be reserved once. 844 /// A given name may only be reserved once.
789 /// </summary> 845 /// </summary>
846 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
790 public pbc::RepeatedField<string> ReservedName { 847 public pbc::RepeatedField<string> ReservedName {
791 get { return reservedName_; } 848 get { return reservedName_; }
792 } 849 }
793 850
851 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
794 public override bool Equals(object other) { 852 public override bool Equals(object other) {
795 return Equals(other as DescriptorProto); 853 return Equals(other as DescriptorProto);
796 } 854 }
797 855
856 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
798 public bool Equals(DescriptorProto other) { 857 public bool Equals(DescriptorProto other) {
799 if (ReferenceEquals(other, null)) { 858 if (ReferenceEquals(other, null)) {
800 return false; 859 return false;
801 } 860 }
802 if (ReferenceEquals(other, this)) { 861 if (ReferenceEquals(other, this)) {
803 return true; 862 return true;
804 } 863 }
805 if (Name != other.Name) return false; 864 if (Name != other.Name) return false;
806 if(!field_.Equals(other.field_)) return false; 865 if(!field_.Equals(other.field_)) return false;
807 if(!extension_.Equals(other.extension_)) return false; 866 if(!extension_.Equals(other.extension_)) return false;
808 if(!nestedType_.Equals(other.nestedType_)) return false; 867 if(!nestedType_.Equals(other.nestedType_)) return false;
809 if(!enumType_.Equals(other.enumType_)) return false; 868 if(!enumType_.Equals(other.enumType_)) return false;
810 if(!extensionRange_.Equals(other.extensionRange_)) return false; 869 if(!extensionRange_.Equals(other.extensionRange_)) return false;
811 if(!oneofDecl_.Equals(other.oneofDecl_)) return false; 870 if(!oneofDecl_.Equals(other.oneofDecl_)) return false;
812 if (!object.Equals(Options, other.Options)) return false; 871 if (!object.Equals(Options, other.Options)) return false;
813 if(!reservedRange_.Equals(other.reservedRange_)) return false; 872 if(!reservedRange_.Equals(other.reservedRange_)) return false;
814 if(!reservedName_.Equals(other.reservedName_)) return false; 873 if(!reservedName_.Equals(other.reservedName_)) return false;
815 return true; 874 return true;
816 } 875 }
817 876
877 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
818 public override int GetHashCode() { 878 public override int GetHashCode() {
819 int hash = 1; 879 int hash = 1;
820 if (Name.Length != 0) hash ^= Name.GetHashCode(); 880 if (Name.Length != 0) hash ^= Name.GetHashCode();
821 hash ^= field_.GetHashCode(); 881 hash ^= field_.GetHashCode();
822 hash ^= extension_.GetHashCode(); 882 hash ^= extension_.GetHashCode();
823 hash ^= nestedType_.GetHashCode(); 883 hash ^= nestedType_.GetHashCode();
824 hash ^= enumType_.GetHashCode(); 884 hash ^= enumType_.GetHashCode();
825 hash ^= extensionRange_.GetHashCode(); 885 hash ^= extensionRange_.GetHashCode();
826 hash ^= oneofDecl_.GetHashCode(); 886 hash ^= oneofDecl_.GetHashCode();
827 if (options_ != null) hash ^= Options.GetHashCode(); 887 if (options_ != null) hash ^= Options.GetHashCode();
828 hash ^= reservedRange_.GetHashCode(); 888 hash ^= reservedRange_.GetHashCode();
829 hash ^= reservedName_.GetHashCode(); 889 hash ^= reservedName_.GetHashCode();
830 return hash; 890 return hash;
831 } 891 }
832 892
893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
833 public override string ToString() { 894 public override string ToString() {
834 return pb::JsonFormatter.ToDiagnosticString(this); 895 return pb::JsonFormatter.ToDiagnosticString(this);
835 } 896 }
836 897
898 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
837 public void WriteTo(pb::CodedOutputStream output) { 899 public void WriteTo(pb::CodedOutputStream output) {
838 if (Name.Length != 0) { 900 if (Name.Length != 0) {
839 output.WriteRawTag(10); 901 output.WriteRawTag(10);
840 output.WriteString(Name); 902 output.WriteString(Name);
841 } 903 }
842 field_.WriteTo(output, _repeated_field_codec); 904 field_.WriteTo(output, _repeated_field_codec);
843 nestedType_.WriteTo(output, _repeated_nestedType_codec); 905 nestedType_.WriteTo(output, _repeated_nestedType_codec);
844 enumType_.WriteTo(output, _repeated_enumType_codec); 906 enumType_.WriteTo(output, _repeated_enumType_codec);
845 extensionRange_.WriteTo(output, _repeated_extensionRange_codec); 907 extensionRange_.WriteTo(output, _repeated_extensionRange_codec);
846 extension_.WriteTo(output, _repeated_extension_codec); 908 extension_.WriteTo(output, _repeated_extension_codec);
847 if (options_ != null) { 909 if (options_ != null) {
848 output.WriteRawTag(58); 910 output.WriteRawTag(58);
849 output.WriteMessage(Options); 911 output.WriteMessage(Options);
850 } 912 }
851 oneofDecl_.WriteTo(output, _repeated_oneofDecl_codec); 913 oneofDecl_.WriteTo(output, _repeated_oneofDecl_codec);
852 reservedRange_.WriteTo(output, _repeated_reservedRange_codec); 914 reservedRange_.WriteTo(output, _repeated_reservedRange_codec);
853 reservedName_.WriteTo(output, _repeated_reservedName_codec); 915 reservedName_.WriteTo(output, _repeated_reservedName_codec);
854 } 916 }
855 917
918 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
856 public int CalculateSize() { 919 public int CalculateSize() {
857 int size = 0; 920 int size = 0;
858 if (Name.Length != 0) { 921 if (Name.Length != 0) {
859 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 922 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
860 } 923 }
861 size += field_.CalculateSize(_repeated_field_codec); 924 size += field_.CalculateSize(_repeated_field_codec);
862 size += extension_.CalculateSize(_repeated_extension_codec); 925 size += extension_.CalculateSize(_repeated_extension_codec);
863 size += nestedType_.CalculateSize(_repeated_nestedType_codec); 926 size += nestedType_.CalculateSize(_repeated_nestedType_codec);
864 size += enumType_.CalculateSize(_repeated_enumType_codec); 927 size += enumType_.CalculateSize(_repeated_enumType_codec);
865 size += extensionRange_.CalculateSize(_repeated_extensionRange_codec); 928 size += extensionRange_.CalculateSize(_repeated_extensionRange_codec);
866 size += oneofDecl_.CalculateSize(_repeated_oneofDecl_codec); 929 size += oneofDecl_.CalculateSize(_repeated_oneofDecl_codec);
867 if (options_ != null) { 930 if (options_ != null) {
868 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); 931 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
869 } 932 }
870 size += reservedRange_.CalculateSize(_repeated_reservedRange_codec); 933 size += reservedRange_.CalculateSize(_repeated_reservedRange_codec);
871 size += reservedName_.CalculateSize(_repeated_reservedName_codec); 934 size += reservedName_.CalculateSize(_repeated_reservedName_codec);
872 return size; 935 return size;
873 } 936 }
874 937
938 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
875 public void MergeFrom(DescriptorProto other) { 939 public void MergeFrom(DescriptorProto other) {
876 if (other == null) { 940 if (other == null) {
877 return; 941 return;
878 } 942 }
879 if (other.Name.Length != 0) { 943 if (other.Name.Length != 0) {
880 Name = other.Name; 944 Name = other.Name;
881 } 945 }
882 field_.Add(other.field_); 946 field_.Add(other.field_);
883 extension_.Add(other.extension_); 947 extension_.Add(other.extension_);
884 nestedType_.Add(other.nestedType_); 948 nestedType_.Add(other.nestedType_);
885 enumType_.Add(other.enumType_); 949 enumType_.Add(other.enumType_);
886 extensionRange_.Add(other.extensionRange_); 950 extensionRange_.Add(other.extensionRange_);
887 oneofDecl_.Add(other.oneofDecl_); 951 oneofDecl_.Add(other.oneofDecl_);
888 if (other.options_ != null) { 952 if (other.options_ != null) {
889 if (options_ == null) { 953 if (options_ == null) {
890 options_ = new global::Google.Protobuf.Reflection.MessageOptions(); 954 options_ = new global::Google.Protobuf.Reflection.MessageOptions();
891 } 955 }
892 Options.MergeFrom(other.Options); 956 Options.MergeFrom(other.Options);
893 } 957 }
894 reservedRange_.Add(other.reservedRange_); 958 reservedRange_.Add(other.reservedRange_);
895 reservedName_.Add(other.reservedName_); 959 reservedName_.Add(other.reservedName_);
896 } 960 }
897 961
962 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
898 public void MergeFrom(pb::CodedInputStream input) { 963 public void MergeFrom(pb::CodedInputStream input) {
899 uint tag; 964 uint tag;
900 while ((tag = input.ReadTag()) != 0) { 965 while ((tag = input.ReadTag()) != 0) {
901 switch(tag) { 966 switch(tag) {
902 default: 967 default:
903 input.SkipLastField(); 968 input.SkipLastField();
904 break; 969 break;
905 case 10: { 970 case 10: {
906 Name = input.ReadString(); 971 Name = input.ReadString();
907 break; 972 break;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
944 case 82: { 1009 case 82: {
945 reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec); 1010 reservedName_.AddEntriesFrom(input, _repeated_reservedName_codec);
946 break; 1011 break;
947 } 1012 }
948 } 1013 }
949 } 1014 }
950 } 1015 }
951 1016
952 #region Nested types 1017 #region Nested types
953 /// <summary>Container for nested types declared in the DescriptorProto mess age type.</summary> 1018 /// <summary>Container for nested types declared in the DescriptorProto mess age type.</summary>
954 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1019 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
955 public static partial class Types { 1020 public static partial class Types {
956 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
957 internal sealed partial class ExtensionRange : pb::IMessage<ExtensionRange > { 1021 internal sealed partial class ExtensionRange : pb::IMessage<ExtensionRange > {
958 private static readonly pb::MessageParser<ExtensionRange> _parser = new pb::MessageParser<ExtensionRange>(() => new ExtensionRange()); 1022 private static readonly pb::MessageParser<ExtensionRange> _parser = new pb::MessageParser<ExtensionRange>(() => new ExtensionRange());
1023 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
959 public static pb::MessageParser<ExtensionRange> Parser { get { return _p arser; } } 1024 public static pb::MessageParser<ExtensionRange> Parser { get { return _p arser; } }
960 1025
1026 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
961 public static pbr::MessageDescriptor Descriptor { 1027 public static pbr::MessageDescriptor Descriptor {
962 get { return global::Google.Protobuf.Reflection.DescriptorProto.Descri ptor.NestedTypes[0]; } 1028 get { return global::Google.Protobuf.Reflection.DescriptorProto.Descri ptor.NestedTypes[0]; }
963 } 1029 }
964 1030
1031 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
965 pbr::MessageDescriptor pb::IMessage.Descriptor { 1032 pbr::MessageDescriptor pb::IMessage.Descriptor {
966 get { return Descriptor; } 1033 get { return Descriptor; }
967 } 1034 }
968 1035
1036 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
969 public ExtensionRange() { 1037 public ExtensionRange() {
970 OnConstruction(); 1038 OnConstruction();
971 } 1039 }
972 1040
973 partial void OnConstruction(); 1041 partial void OnConstruction();
974 1042
1043 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
975 public ExtensionRange(ExtensionRange other) : this() { 1044 public ExtensionRange(ExtensionRange other) : this() {
976 start_ = other.start_; 1045 start_ = other.start_;
977 end_ = other.end_; 1046 end_ = other.end_;
978 } 1047 }
979 1048
1049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
980 public ExtensionRange Clone() { 1050 public ExtensionRange Clone() {
981 return new ExtensionRange(this); 1051 return new ExtensionRange(this);
982 } 1052 }
983 1053
984 /// <summary>Field number for the "start" field.</summary> 1054 /// <summary>Field number for the "start" field.</summary>
985 public const int StartFieldNumber = 1; 1055 public const int StartFieldNumber = 1;
986 private int start_; 1056 private int start_;
1057 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
987 public int Start { 1058 public int Start {
988 get { return start_; } 1059 get { return start_; }
989 set { 1060 set {
990 start_ = value; 1061 start_ = value;
991 } 1062 }
992 } 1063 }
993 1064
994 /// <summary>Field number for the "end" field.</summary> 1065 /// <summary>Field number for the "end" field.</summary>
995 public const int EndFieldNumber = 2; 1066 public const int EndFieldNumber = 2;
996 private int end_; 1067 private int end_;
1068 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
997 public int End { 1069 public int End {
998 get { return end_; } 1070 get { return end_; }
999 set { 1071 set {
1000 end_ = value; 1072 end_ = value;
1001 } 1073 }
1002 } 1074 }
1003 1075
1076 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1004 public override bool Equals(object other) { 1077 public override bool Equals(object other) {
1005 return Equals(other as ExtensionRange); 1078 return Equals(other as ExtensionRange);
1006 } 1079 }
1007 1080
1081 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1008 public bool Equals(ExtensionRange other) { 1082 public bool Equals(ExtensionRange other) {
1009 if (ReferenceEquals(other, null)) { 1083 if (ReferenceEquals(other, null)) {
1010 return false; 1084 return false;
1011 } 1085 }
1012 if (ReferenceEquals(other, this)) { 1086 if (ReferenceEquals(other, this)) {
1013 return true; 1087 return true;
1014 } 1088 }
1015 if (Start != other.Start) return false; 1089 if (Start != other.Start) return false;
1016 if (End != other.End) return false; 1090 if (End != other.End) return false;
1017 return true; 1091 return true;
1018 } 1092 }
1019 1093
1094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1020 public override int GetHashCode() { 1095 public override int GetHashCode() {
1021 int hash = 1; 1096 int hash = 1;
1022 if (Start != 0) hash ^= Start.GetHashCode(); 1097 if (Start != 0) hash ^= Start.GetHashCode();
1023 if (End != 0) hash ^= End.GetHashCode(); 1098 if (End != 0) hash ^= End.GetHashCode();
1024 return hash; 1099 return hash;
1025 } 1100 }
1026 1101
1102 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1027 public override string ToString() { 1103 public override string ToString() {
1028 return pb::JsonFormatter.ToDiagnosticString(this); 1104 return pb::JsonFormatter.ToDiagnosticString(this);
1029 } 1105 }
1030 1106
1107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1031 public void WriteTo(pb::CodedOutputStream output) { 1108 public void WriteTo(pb::CodedOutputStream output) {
1032 if (Start != 0) { 1109 if (Start != 0) {
1033 output.WriteRawTag(8); 1110 output.WriteRawTag(8);
1034 output.WriteInt32(Start); 1111 output.WriteInt32(Start);
1035 } 1112 }
1036 if (End != 0) { 1113 if (End != 0) {
1037 output.WriteRawTag(16); 1114 output.WriteRawTag(16);
1038 output.WriteInt32(End); 1115 output.WriteInt32(End);
1039 } 1116 }
1040 } 1117 }
1041 1118
1119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1042 public int CalculateSize() { 1120 public int CalculateSize() {
1043 int size = 0; 1121 int size = 0;
1044 if (Start != 0) { 1122 if (Start != 0) {
1045 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); 1123 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
1046 } 1124 }
1047 if (End != 0) { 1125 if (End != 0) {
1048 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End); 1126 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
1049 } 1127 }
1050 return size; 1128 return size;
1051 } 1129 }
1052 1130
1131 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1053 public void MergeFrom(ExtensionRange other) { 1132 public void MergeFrom(ExtensionRange other) {
1054 if (other == null) { 1133 if (other == null) {
1055 return; 1134 return;
1056 } 1135 }
1057 if (other.Start != 0) { 1136 if (other.Start != 0) {
1058 Start = other.Start; 1137 Start = other.Start;
1059 } 1138 }
1060 if (other.End != 0) { 1139 if (other.End != 0) {
1061 End = other.End; 1140 End = other.End;
1062 } 1141 }
1063 } 1142 }
1064 1143
1144 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1065 public void MergeFrom(pb::CodedInputStream input) { 1145 public void MergeFrom(pb::CodedInputStream input) {
1066 uint tag; 1146 uint tag;
1067 while ((tag = input.ReadTag()) != 0) { 1147 while ((tag = input.ReadTag()) != 0) {
1068 switch(tag) { 1148 switch(tag) {
1069 default: 1149 default:
1070 input.SkipLastField(); 1150 input.SkipLastField();
1071 break; 1151 break;
1072 case 8: { 1152 case 8: {
1073 Start = input.ReadInt32(); 1153 Start = input.ReadInt32();
1074 break; 1154 break;
1075 } 1155 }
1076 case 16: { 1156 case 16: {
1077 End = input.ReadInt32(); 1157 End = input.ReadInt32();
1078 break; 1158 break;
1079 } 1159 }
1080 } 1160 }
1081 } 1161 }
1082 } 1162 }
1083 1163
1084 } 1164 }
1085 1165
1086 /// <summary> 1166 /// <summary>
1087 /// Range of reserved tag numbers. Reserved tag numbers may not be used b y 1167 /// Range of reserved tag numbers. Reserved tag numbers may not be used b y
1088 /// fields or extension ranges in the same message. Reserved ranges may 1168 /// fields or extension ranges in the same message. Reserved ranges may
1089 /// not overlap. 1169 /// not overlap.
1090 /// </summary> 1170 /// </summary>
1091 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1092 internal sealed partial class ReservedRange : pb::IMessage<ReservedRange> { 1171 internal sealed partial class ReservedRange : pb::IMessage<ReservedRange> {
1093 private static readonly pb::MessageParser<ReservedRange> _parser = new p b::MessageParser<ReservedRange>(() => new ReservedRange()); 1172 private static readonly pb::MessageParser<ReservedRange> _parser = new p b::MessageParser<ReservedRange>(() => new ReservedRange());
1173 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1094 public static pb::MessageParser<ReservedRange> Parser { get { return _pa rser; } } 1174 public static pb::MessageParser<ReservedRange> Parser { get { return _pa rser; } }
1095 1175
1176 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1096 public static pbr::MessageDescriptor Descriptor { 1177 public static pbr::MessageDescriptor Descriptor {
1097 get { return global::Google.Protobuf.Reflection.DescriptorProto.Descri ptor.NestedTypes[1]; } 1178 get { return global::Google.Protobuf.Reflection.DescriptorProto.Descri ptor.NestedTypes[1]; }
1098 } 1179 }
1099 1180
1181 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1100 pbr::MessageDescriptor pb::IMessage.Descriptor { 1182 pbr::MessageDescriptor pb::IMessage.Descriptor {
1101 get { return Descriptor; } 1183 get { return Descriptor; }
1102 } 1184 }
1103 1185
1186 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1104 public ReservedRange() { 1187 public ReservedRange() {
1105 OnConstruction(); 1188 OnConstruction();
1106 } 1189 }
1107 1190
1108 partial void OnConstruction(); 1191 partial void OnConstruction();
1109 1192
1193 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1110 public ReservedRange(ReservedRange other) : this() { 1194 public ReservedRange(ReservedRange other) : this() {
1111 start_ = other.start_; 1195 start_ = other.start_;
1112 end_ = other.end_; 1196 end_ = other.end_;
1113 } 1197 }
1114 1198
1199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1115 public ReservedRange Clone() { 1200 public ReservedRange Clone() {
1116 return new ReservedRange(this); 1201 return new ReservedRange(this);
1117 } 1202 }
1118 1203
1119 /// <summary>Field number for the "start" field.</summary> 1204 /// <summary>Field number for the "start" field.</summary>
1120 public const int StartFieldNumber = 1; 1205 public const int StartFieldNumber = 1;
1121 private int start_; 1206 private int start_;
1122 /// <summary> 1207 /// <summary>
1123 /// Inclusive. 1208 /// Inclusive.
1124 /// </summary> 1209 /// </summary>
1210 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1125 public int Start { 1211 public int Start {
1126 get { return start_; } 1212 get { return start_; }
1127 set { 1213 set {
1128 start_ = value; 1214 start_ = value;
1129 } 1215 }
1130 } 1216 }
1131 1217
1132 /// <summary>Field number for the "end" field.</summary> 1218 /// <summary>Field number for the "end" field.</summary>
1133 public const int EndFieldNumber = 2; 1219 public const int EndFieldNumber = 2;
1134 private int end_; 1220 private int end_;
1135 /// <summary> 1221 /// <summary>
1136 /// Exclusive. 1222 /// Exclusive.
1137 /// </summary> 1223 /// </summary>
1224 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1138 public int End { 1225 public int End {
1139 get { return end_; } 1226 get { return end_; }
1140 set { 1227 set {
1141 end_ = value; 1228 end_ = value;
1142 } 1229 }
1143 } 1230 }
1144 1231
1232 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1145 public override bool Equals(object other) { 1233 public override bool Equals(object other) {
1146 return Equals(other as ReservedRange); 1234 return Equals(other as ReservedRange);
1147 } 1235 }
1148 1236
1237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1149 public bool Equals(ReservedRange other) { 1238 public bool Equals(ReservedRange other) {
1150 if (ReferenceEquals(other, null)) { 1239 if (ReferenceEquals(other, null)) {
1151 return false; 1240 return false;
1152 } 1241 }
1153 if (ReferenceEquals(other, this)) { 1242 if (ReferenceEquals(other, this)) {
1154 return true; 1243 return true;
1155 } 1244 }
1156 if (Start != other.Start) return false; 1245 if (Start != other.Start) return false;
1157 if (End != other.End) return false; 1246 if (End != other.End) return false;
1158 return true; 1247 return true;
1159 } 1248 }
1160 1249
1250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1161 public override int GetHashCode() { 1251 public override int GetHashCode() {
1162 int hash = 1; 1252 int hash = 1;
1163 if (Start != 0) hash ^= Start.GetHashCode(); 1253 if (Start != 0) hash ^= Start.GetHashCode();
1164 if (End != 0) hash ^= End.GetHashCode(); 1254 if (End != 0) hash ^= End.GetHashCode();
1165 return hash; 1255 return hash;
1166 } 1256 }
1167 1257
1258 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1168 public override string ToString() { 1259 public override string ToString() {
1169 return pb::JsonFormatter.ToDiagnosticString(this); 1260 return pb::JsonFormatter.ToDiagnosticString(this);
1170 } 1261 }
1171 1262
1263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1172 public void WriteTo(pb::CodedOutputStream output) { 1264 public void WriteTo(pb::CodedOutputStream output) {
1173 if (Start != 0) { 1265 if (Start != 0) {
1174 output.WriteRawTag(8); 1266 output.WriteRawTag(8);
1175 output.WriteInt32(Start); 1267 output.WriteInt32(Start);
1176 } 1268 }
1177 if (End != 0) { 1269 if (End != 0) {
1178 output.WriteRawTag(16); 1270 output.WriteRawTag(16);
1179 output.WriteInt32(End); 1271 output.WriteInt32(End);
1180 } 1272 }
1181 } 1273 }
1182 1274
1275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1183 public int CalculateSize() { 1276 public int CalculateSize() {
1184 int size = 0; 1277 int size = 0;
1185 if (Start != 0) { 1278 if (Start != 0) {
1186 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start); 1279 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Start);
1187 } 1280 }
1188 if (End != 0) { 1281 if (End != 0) {
1189 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End); 1282 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
1190 } 1283 }
1191 return size; 1284 return size;
1192 } 1285 }
1193 1286
1287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1194 public void MergeFrom(ReservedRange other) { 1288 public void MergeFrom(ReservedRange other) {
1195 if (other == null) { 1289 if (other == null) {
1196 return; 1290 return;
1197 } 1291 }
1198 if (other.Start != 0) { 1292 if (other.Start != 0) {
1199 Start = other.Start; 1293 Start = other.Start;
1200 } 1294 }
1201 if (other.End != 0) { 1295 if (other.End != 0) {
1202 End = other.End; 1296 End = other.End;
1203 } 1297 }
1204 } 1298 }
1205 1299
1300 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1206 public void MergeFrom(pb::CodedInputStream input) { 1301 public void MergeFrom(pb::CodedInputStream input) {
1207 uint tag; 1302 uint tag;
1208 while ((tag = input.ReadTag()) != 0) { 1303 while ((tag = input.ReadTag()) != 0) {
1209 switch(tag) { 1304 switch(tag) {
1210 default: 1305 default:
1211 input.SkipLastField(); 1306 input.SkipLastField();
1212 break; 1307 break;
1213 case 8: { 1308 case 8: {
1214 Start = input.ReadInt32(); 1309 Start = input.ReadInt32();
1215 break; 1310 break;
1216 } 1311 }
1217 case 16: { 1312 case 16: {
1218 End = input.ReadInt32(); 1313 End = input.ReadInt32();
1219 break; 1314 break;
1220 } 1315 }
1221 } 1316 }
1222 } 1317 }
1223 } 1318 }
1224 1319
1225 } 1320 }
1226 1321
1227 } 1322 }
1228 #endregion 1323 #endregion
1229 1324
1230 } 1325 }
1231 1326
1232 /// <summary> 1327 /// <summary>
1233 /// Describes a field within a message. 1328 /// Describes a field within a message.
1234 /// </summary> 1329 /// </summary>
1235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1236 internal sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescrip torProto> { 1330 internal sealed partial class FieldDescriptorProto : pb::IMessage<FieldDescrip torProto> {
1237 private static readonly pb::MessageParser<FieldDescriptorProto> _parser = ne w pb::MessageParser<FieldDescriptorProto>(() => new FieldDescriptorProto()); 1331 private static readonly pb::MessageParser<FieldDescriptorProto> _parser = ne w pb::MessageParser<FieldDescriptorProto>(() => new FieldDescriptorProto());
1332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1238 public static pb::MessageParser<FieldDescriptorProto> Parser { get { return _parser; } } 1333 public static pb::MessageParser<FieldDescriptorProto> Parser { get { return _parser; } }
1239 1334
1335 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1240 public static pbr::MessageDescriptor Descriptor { 1336 public static pbr::MessageDescriptor Descriptor {
1241 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[3]; } 1337 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[3]; }
1242 } 1338 }
1243 1339
1340 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1244 pbr::MessageDescriptor pb::IMessage.Descriptor { 1341 pbr::MessageDescriptor pb::IMessage.Descriptor {
1245 get { return Descriptor; } 1342 get { return Descriptor; }
1246 } 1343 }
1247 1344
1345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1248 public FieldDescriptorProto() { 1346 public FieldDescriptorProto() {
1249 OnConstruction(); 1347 OnConstruction();
1250 } 1348 }
1251 1349
1252 partial void OnConstruction(); 1350 partial void OnConstruction();
1253 1351
1352 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1254 public FieldDescriptorProto(FieldDescriptorProto other) : this() { 1353 public FieldDescriptorProto(FieldDescriptorProto other) : this() {
1255 name_ = other.name_; 1354 name_ = other.name_;
1256 number_ = other.number_; 1355 number_ = other.number_;
1257 label_ = other.label_; 1356 label_ = other.label_;
1258 type_ = other.type_; 1357 type_ = other.type_;
1259 typeName_ = other.typeName_; 1358 typeName_ = other.typeName_;
1260 extendee_ = other.extendee_; 1359 extendee_ = other.extendee_;
1261 defaultValue_ = other.defaultValue_; 1360 defaultValue_ = other.defaultValue_;
1262 oneofIndex_ = other.oneofIndex_; 1361 oneofIndex_ = other.oneofIndex_;
1263 jsonName_ = other.jsonName_; 1362 jsonName_ = other.jsonName_;
1264 Options = other.options_ != null ? other.Options.Clone() : null; 1363 Options = other.options_ != null ? other.Options.Clone() : null;
1265 } 1364 }
1266 1365
1366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1267 public FieldDescriptorProto Clone() { 1367 public FieldDescriptorProto Clone() {
1268 return new FieldDescriptorProto(this); 1368 return new FieldDescriptorProto(this);
1269 } 1369 }
1270 1370
1271 /// <summary>Field number for the "name" field.</summary> 1371 /// <summary>Field number for the "name" field.</summary>
1272 public const int NameFieldNumber = 1; 1372 public const int NameFieldNumber = 1;
1273 private string name_ = ""; 1373 private string name_ = "";
1374 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1274 public string Name { 1375 public string Name {
1275 get { return name_; } 1376 get { return name_; }
1276 set { 1377 set {
1277 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1378 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1278 } 1379 }
1279 } 1380 }
1280 1381
1281 /// <summary>Field number for the "number" field.</summary> 1382 /// <summary>Field number for the "number" field.</summary>
1282 public const int NumberFieldNumber = 3; 1383 public const int NumberFieldNumber = 3;
1283 private int number_; 1384 private int number_;
1385 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1284 public int Number { 1386 public int Number {
1285 get { return number_; } 1387 get { return number_; }
1286 set { 1388 set {
1287 number_ = value; 1389 number_ = value;
1288 } 1390 }
1289 } 1391 }
1290 1392
1291 /// <summary>Field number for the "label" field.</summary> 1393 /// <summary>Field number for the "label" field.</summary>
1292 public const int LabelFieldNumber = 4; 1394 public const int LabelFieldNumber = 4;
1293 private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label label_ = 0; 1395 private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label label_ = 0;
1396 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1294 public global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label L abel { 1397 public global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Label L abel {
1295 get { return label_; } 1398 get { return label_; }
1296 set { 1399 set {
1297 label_ = value; 1400 label_ = value;
1298 } 1401 }
1299 } 1402 }
1300 1403
1301 /// <summary>Field number for the "type" field.</summary> 1404 /// <summary>Field number for the "type" field.</summary>
1302 public const int TypeFieldNumber = 5; 1405 public const int TypeFieldNumber = 5;
1303 private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type t ype_ = 0; 1406 private global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type t ype_ = 0;
1304 /// <summary> 1407 /// <summary>
1305 /// If type_name is set, this need not be set. If both this and type_name 1408 /// If type_name is set, this need not be set. If both this and type_name
1306 /// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP. 1409 /// are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
1307 /// </summary> 1410 /// </summary>
1411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1308 public global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type Ty pe { 1412 public global::Google.Protobuf.Reflection.FieldDescriptorProto.Types.Type Ty pe {
1309 get { return type_; } 1413 get { return type_; }
1310 set { 1414 set {
1311 type_ = value; 1415 type_ = value;
1312 } 1416 }
1313 } 1417 }
1314 1418
1315 /// <summary>Field number for the "type_name" field.</summary> 1419 /// <summary>Field number for the "type_name" field.</summary>
1316 public const int TypeNameFieldNumber = 6; 1420 public const int TypeNameFieldNumber = 6;
1317 private string typeName_ = ""; 1421 private string typeName_ = "";
1318 /// <summary> 1422 /// <summary>
1319 /// For message and enum types, this is the name of the type. If the name 1423 /// For message and enum types, this is the name of the type. If the name
1320 /// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping 1424 /// starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
1321 /// rules are used to find the type (i.e. first the nested types within thi s 1425 /// rules are used to find the type (i.e. first the nested types within thi s
1322 /// message are searched, then within the parent, on up to the root 1426 /// message are searched, then within the parent, on up to the root
1323 /// namespace). 1427 /// namespace).
1324 /// </summary> 1428 /// </summary>
1429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1325 public string TypeName { 1430 public string TypeName {
1326 get { return typeName_; } 1431 get { return typeName_; }
1327 set { 1432 set {
1328 typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1433 typeName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1329 } 1434 }
1330 } 1435 }
1331 1436
1332 /// <summary>Field number for the "extendee" field.</summary> 1437 /// <summary>Field number for the "extendee" field.</summary>
1333 public const int ExtendeeFieldNumber = 2; 1438 public const int ExtendeeFieldNumber = 2;
1334 private string extendee_ = ""; 1439 private string extendee_ = "";
1335 /// <summary> 1440 /// <summary>
1336 /// For extensions, this is the name of the type being extended. It is 1441 /// For extensions, this is the name of the type being extended. It is
1337 /// resolved in the same manner as type_name. 1442 /// resolved in the same manner as type_name.
1338 /// </summary> 1443 /// </summary>
1444 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1339 public string Extendee { 1445 public string Extendee {
1340 get { return extendee_; } 1446 get { return extendee_; }
1341 set { 1447 set {
1342 extendee_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1448 extendee_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1343 } 1449 }
1344 } 1450 }
1345 1451
1346 /// <summary>Field number for the "default_value" field.</summary> 1452 /// <summary>Field number for the "default_value" field.</summary>
1347 public const int DefaultValueFieldNumber = 7; 1453 public const int DefaultValueFieldNumber = 7;
1348 private string defaultValue_ = ""; 1454 private string defaultValue_ = "";
1349 /// <summary> 1455 /// <summary>
1350 /// For numeric types, contains the original text representation of the val ue. 1456 /// For numeric types, contains the original text representation of the val ue.
1351 /// For booleans, "true" or "false". 1457 /// For booleans, "true" or "false".
1352 /// For strings, contains the default text contents (not escaped in any way ). 1458 /// For strings, contains the default text contents (not escaped in any way ).
1353 /// For bytes, contains the C escaped value. All bytes >= 128 are escaped. 1459 /// For bytes, contains the C escaped value. All bytes >= 128 are escaped.
1354 /// TODO(kenton): Base-64 encode? 1460 /// TODO(kenton): Base-64 encode?
1355 /// </summary> 1461 /// </summary>
1462 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1356 public string DefaultValue { 1463 public string DefaultValue {
1357 get { return defaultValue_; } 1464 get { return defaultValue_; }
1358 set { 1465 set {
1359 defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1466 defaultValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1360 } 1467 }
1361 } 1468 }
1362 1469
1363 /// <summary>Field number for the "oneof_index" field.</summary> 1470 /// <summary>Field number for the "oneof_index" field.</summary>
1364 public const int OneofIndexFieldNumber = 9; 1471 public const int OneofIndexFieldNumber = 9;
1365 private int oneofIndex_; 1472 private int oneofIndex_;
1366 /// <summary> 1473 /// <summary>
1367 /// If set, gives the index of a oneof in the containing type's oneof_decl 1474 /// If set, gives the index of a oneof in the containing type's oneof_decl
1368 /// list. This field is a member of that oneof. 1475 /// list. This field is a member of that oneof.
1369 /// </summary> 1476 /// </summary>
1477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1370 public int OneofIndex { 1478 public int OneofIndex {
1371 get { return oneofIndex_; } 1479 get { return oneofIndex_; }
1372 set { 1480 set {
1373 oneofIndex_ = value; 1481 oneofIndex_ = value;
1374 } 1482 }
1375 } 1483 }
1376 1484
1377 /// <summary>Field number for the "json_name" field.</summary> 1485 /// <summary>Field number for the "json_name" field.</summary>
1378 public const int JsonNameFieldNumber = 10; 1486 public const int JsonNameFieldNumber = 10;
1379 private string jsonName_ = ""; 1487 private string jsonName_ = "";
1380 /// <summary> 1488 /// <summary>
1381 /// JSON name of this field. The value is set by protocol compiler. If the 1489 /// JSON name of this field. The value is set by protocol compiler. If the
1382 /// user has set a "json_name" option on this field, that option's value 1490 /// user has set a "json_name" option on this field, that option's value
1383 /// will be used. Otherwise, it's deduced from the field's name by converti ng 1491 /// will be used. Otherwise, it's deduced from the field's name by converti ng
1384 /// it to camelCase. 1492 /// it to camelCase.
1385 /// </summary> 1493 /// </summary>
1494 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1386 public string JsonName { 1495 public string JsonName {
1387 get { return jsonName_; } 1496 get { return jsonName_; }
1388 set { 1497 set {
1389 jsonName_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1498 jsonName_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1390 } 1499 }
1391 } 1500 }
1392 1501
1393 /// <summary>Field number for the "options" field.</summary> 1502 /// <summary>Field number for the "options" field.</summary>
1394 public const int OptionsFieldNumber = 8; 1503 public const int OptionsFieldNumber = 8;
1395 private global::Google.Protobuf.Reflection.FieldOptions options_; 1504 private global::Google.Protobuf.Reflection.FieldOptions options_;
1505 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1396 public global::Google.Protobuf.Reflection.FieldOptions Options { 1506 public global::Google.Protobuf.Reflection.FieldOptions Options {
1397 get { return options_; } 1507 get { return options_; }
1398 set { 1508 set {
1399 options_ = value; 1509 options_ = value;
1400 } 1510 }
1401 } 1511 }
1402 1512
1513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1403 public override bool Equals(object other) { 1514 public override bool Equals(object other) {
1404 return Equals(other as FieldDescriptorProto); 1515 return Equals(other as FieldDescriptorProto);
1405 } 1516 }
1406 1517
1518 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1407 public bool Equals(FieldDescriptorProto other) { 1519 public bool Equals(FieldDescriptorProto other) {
1408 if (ReferenceEquals(other, null)) { 1520 if (ReferenceEquals(other, null)) {
1409 return false; 1521 return false;
1410 } 1522 }
1411 if (ReferenceEquals(other, this)) { 1523 if (ReferenceEquals(other, this)) {
1412 return true; 1524 return true;
1413 } 1525 }
1414 if (Name != other.Name) return false; 1526 if (Name != other.Name) return false;
1415 if (Number != other.Number) return false; 1527 if (Number != other.Number) return false;
1416 if (Label != other.Label) return false; 1528 if (Label != other.Label) return false;
1417 if (Type != other.Type) return false; 1529 if (Type != other.Type) return false;
1418 if (TypeName != other.TypeName) return false; 1530 if (TypeName != other.TypeName) return false;
1419 if (Extendee != other.Extendee) return false; 1531 if (Extendee != other.Extendee) return false;
1420 if (DefaultValue != other.DefaultValue) return false; 1532 if (DefaultValue != other.DefaultValue) return false;
1421 if (OneofIndex != other.OneofIndex) return false; 1533 if (OneofIndex != other.OneofIndex) return false;
1422 if (JsonName != other.JsonName) return false; 1534 if (JsonName != other.JsonName) return false;
1423 if (!object.Equals(Options, other.Options)) return false; 1535 if (!object.Equals(Options, other.Options)) return false;
1424 return true; 1536 return true;
1425 } 1537 }
1426 1538
1539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1427 public override int GetHashCode() { 1540 public override int GetHashCode() {
1428 int hash = 1; 1541 int hash = 1;
1429 if (Name.Length != 0) hash ^= Name.GetHashCode(); 1542 if (Name.Length != 0) hash ^= Name.GetHashCode();
1430 if (Number != 0) hash ^= Number.GetHashCode(); 1543 if (Number != 0) hash ^= Number.GetHashCode();
1431 if (Label != 0) hash ^= Label.GetHashCode(); 1544 if (Label != 0) hash ^= Label.GetHashCode();
1432 if (Type != 0) hash ^= Type.GetHashCode(); 1545 if (Type != 0) hash ^= Type.GetHashCode();
1433 if (TypeName.Length != 0) hash ^= TypeName.GetHashCode(); 1546 if (TypeName.Length != 0) hash ^= TypeName.GetHashCode();
1434 if (Extendee.Length != 0) hash ^= Extendee.GetHashCode(); 1547 if (Extendee.Length != 0) hash ^= Extendee.GetHashCode();
1435 if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode(); 1548 if (DefaultValue.Length != 0) hash ^= DefaultValue.GetHashCode();
1436 if (OneofIndex != 0) hash ^= OneofIndex.GetHashCode(); 1549 if (OneofIndex != 0) hash ^= OneofIndex.GetHashCode();
1437 if (JsonName.Length != 0) hash ^= JsonName.GetHashCode(); 1550 if (JsonName.Length != 0) hash ^= JsonName.GetHashCode();
1438 if (options_ != null) hash ^= Options.GetHashCode(); 1551 if (options_ != null) hash ^= Options.GetHashCode();
1439 return hash; 1552 return hash;
1440 } 1553 }
1441 1554
1555 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1442 public override string ToString() { 1556 public override string ToString() {
1443 return pb::JsonFormatter.ToDiagnosticString(this); 1557 return pb::JsonFormatter.ToDiagnosticString(this);
1444 } 1558 }
1445 1559
1560 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1446 public void WriteTo(pb::CodedOutputStream output) { 1561 public void WriteTo(pb::CodedOutputStream output) {
1447 if (Name.Length != 0) { 1562 if (Name.Length != 0) {
1448 output.WriteRawTag(10); 1563 output.WriteRawTag(10);
1449 output.WriteString(Name); 1564 output.WriteString(Name);
1450 } 1565 }
1451 if (Extendee.Length != 0) { 1566 if (Extendee.Length != 0) {
1452 output.WriteRawTag(18); 1567 output.WriteRawTag(18);
1453 output.WriteString(Extendee); 1568 output.WriteString(Extendee);
1454 } 1569 }
1455 if (Number != 0) { 1570 if (Number != 0) {
(...skipping 23 matching lines...) Expand all
1479 if (OneofIndex != 0) { 1594 if (OneofIndex != 0) {
1480 output.WriteRawTag(72); 1595 output.WriteRawTag(72);
1481 output.WriteInt32(OneofIndex); 1596 output.WriteInt32(OneofIndex);
1482 } 1597 }
1483 if (JsonName.Length != 0) { 1598 if (JsonName.Length != 0) {
1484 output.WriteRawTag(82); 1599 output.WriteRawTag(82);
1485 output.WriteString(JsonName); 1600 output.WriteString(JsonName);
1486 } 1601 }
1487 } 1602 }
1488 1603
1604 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1489 public int CalculateSize() { 1605 public int CalculateSize() {
1490 int size = 0; 1606 int size = 0;
1491 if (Name.Length != 0) { 1607 if (Name.Length != 0) {
1492 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 1608 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
1493 } 1609 }
1494 if (Number != 0) { 1610 if (Number != 0) {
1495 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); 1611 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
1496 } 1612 }
1497 if (Label != 0) { 1613 if (Label != 0) {
1498 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label); 1614 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Label);
(...skipping 15 matching lines...) Expand all
1514 } 1630 }
1515 if (JsonName.Length != 0) { 1631 if (JsonName.Length != 0) {
1516 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonName); 1632 size += 1 + pb::CodedOutputStream.ComputeStringSize(JsonName);
1517 } 1633 }
1518 if (options_ != null) { 1634 if (options_ != null) {
1519 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); 1635 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
1520 } 1636 }
1521 return size; 1637 return size;
1522 } 1638 }
1523 1639
1640 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1524 public void MergeFrom(FieldDescriptorProto other) { 1641 public void MergeFrom(FieldDescriptorProto other) {
1525 if (other == null) { 1642 if (other == null) {
1526 return; 1643 return;
1527 } 1644 }
1528 if (other.Name.Length != 0) { 1645 if (other.Name.Length != 0) {
1529 Name = other.Name; 1646 Name = other.Name;
1530 } 1647 }
1531 if (other.Number != 0) { 1648 if (other.Number != 0) {
1532 Number = other.Number; 1649 Number = other.Number;
1533 } 1650 }
(...skipping 19 matching lines...) Expand all
1553 JsonName = other.JsonName; 1670 JsonName = other.JsonName;
1554 } 1671 }
1555 if (other.options_ != null) { 1672 if (other.options_ != null) {
1556 if (options_ == null) { 1673 if (options_ == null) {
1557 options_ = new global::Google.Protobuf.Reflection.FieldOptions(); 1674 options_ = new global::Google.Protobuf.Reflection.FieldOptions();
1558 } 1675 }
1559 Options.MergeFrom(other.Options); 1676 Options.MergeFrom(other.Options);
1560 } 1677 }
1561 } 1678 }
1562 1679
1680 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1563 public void MergeFrom(pb::CodedInputStream input) { 1681 public void MergeFrom(pb::CodedInputStream input) {
1564 uint tag; 1682 uint tag;
1565 while ((tag = input.ReadTag()) != 0) { 1683 while ((tag = input.ReadTag()) != 0) {
1566 switch(tag) { 1684 switch(tag) {
1567 default: 1685 default:
1568 input.SkipLastField(); 1686 input.SkipLastField();
1569 break; 1687 break;
1570 case 10: { 1688 case 10: {
1571 Name = input.ReadString(); 1689 Name = input.ReadString();
1572 break; 1690 break;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
1609 case 82: { 1727 case 82: {
1610 JsonName = input.ReadString(); 1728 JsonName = input.ReadString();
1611 break; 1729 break;
1612 } 1730 }
1613 } 1731 }
1614 } 1732 }
1615 } 1733 }
1616 1734
1617 #region Nested types 1735 #region Nested types
1618 /// <summary>Container for nested types declared in the FieldDescriptorProto message type.</summary> 1736 /// <summary>Container for nested types declared in the FieldDescriptorProto message type.</summary>
1619 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 1737 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1620 public static partial class Types { 1738 public static partial class Types {
1621 internal enum Type { 1739 internal enum Type {
1622 /// <summary> 1740 /// <summary>
1623 /// 0 is reserved for errors. 1741 /// 0 is reserved for errors.
1624 /// Order is weird for historical reasons. 1742 /// Order is weird for historical reasons.
1625 /// </summary> 1743 /// </summary>
1626 [pbr::OriginalName("TYPE_DOUBLE")] Double = 1, 1744 [pbr::OriginalName("TYPE_DOUBLE")] Double = 1,
1627 [pbr::OriginalName("TYPE_FLOAT")] Float = 2, 1745 [pbr::OriginalName("TYPE_FLOAT")] Float = 2,
1628 /// <summary> 1746 /// <summary>
1629 /// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT 64 if 1747 /// Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT 64 if
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
1679 } 1797 }
1680 1798
1681 } 1799 }
1682 #endregion 1800 #endregion
1683 1801
1684 } 1802 }
1685 1803
1686 /// <summary> 1804 /// <summary>
1687 /// Describes a oneof. 1805 /// Describes a oneof.
1688 /// </summary> 1806 /// </summary>
1689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1690 internal sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescrip torProto> { 1807 internal sealed partial class OneofDescriptorProto : pb::IMessage<OneofDescrip torProto> {
1691 private static readonly pb::MessageParser<OneofDescriptorProto> _parser = ne w pb::MessageParser<OneofDescriptorProto>(() => new OneofDescriptorProto()); 1808 private static readonly pb::MessageParser<OneofDescriptorProto> _parser = ne w pb::MessageParser<OneofDescriptorProto>(() => new OneofDescriptorProto());
1809 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1692 public static pb::MessageParser<OneofDescriptorProto> Parser { get { return _parser; } } 1810 public static pb::MessageParser<OneofDescriptorProto> Parser { get { return _parser; } }
1693 1811
1812 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1694 public static pbr::MessageDescriptor Descriptor { 1813 public static pbr::MessageDescriptor Descriptor {
1695 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[4]; } 1814 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[4]; }
1696 } 1815 }
1697 1816
1817 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1698 pbr::MessageDescriptor pb::IMessage.Descriptor { 1818 pbr::MessageDescriptor pb::IMessage.Descriptor {
1699 get { return Descriptor; } 1819 get { return Descriptor; }
1700 } 1820 }
1701 1821
1822 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1702 public OneofDescriptorProto() { 1823 public OneofDescriptorProto() {
1703 OnConstruction(); 1824 OnConstruction();
1704 } 1825 }
1705 1826
1706 partial void OnConstruction(); 1827 partial void OnConstruction();
1707 1828
1829 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1708 public OneofDescriptorProto(OneofDescriptorProto other) : this() { 1830 public OneofDescriptorProto(OneofDescriptorProto other) : this() {
1709 name_ = other.name_; 1831 name_ = other.name_;
1832 Options = other.options_ != null ? other.Options.Clone() : null;
1710 } 1833 }
1711 1834
1835 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1712 public OneofDescriptorProto Clone() { 1836 public OneofDescriptorProto Clone() {
1713 return new OneofDescriptorProto(this); 1837 return new OneofDescriptorProto(this);
1714 } 1838 }
1715 1839
1716 /// <summary>Field number for the "name" field.</summary> 1840 /// <summary>Field number for the "name" field.</summary>
1717 public const int NameFieldNumber = 1; 1841 public const int NameFieldNumber = 1;
1718 private string name_ = ""; 1842 private string name_ = "";
1843 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1719 public string Name { 1844 public string Name {
1720 get { return name_; } 1845 get { return name_; }
1721 set { 1846 set {
1722 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 1847 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1723 } 1848 }
1724 } 1849 }
1725 1850
1851 /// <summary>Field number for the "options" field.</summary>
1852 public const int OptionsFieldNumber = 2;
1853 private global::Google.Protobuf.Reflection.OneofOptions options_;
1854 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1855 public global::Google.Protobuf.Reflection.OneofOptions Options {
1856 get { return options_; }
1857 set {
1858 options_ = value;
1859 }
1860 }
1861
1862 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1726 public override bool Equals(object other) { 1863 public override bool Equals(object other) {
1727 return Equals(other as OneofDescriptorProto); 1864 return Equals(other as OneofDescriptorProto);
1728 } 1865 }
1729 1866
1867 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1730 public bool Equals(OneofDescriptorProto other) { 1868 public bool Equals(OneofDescriptorProto other) {
1731 if (ReferenceEquals(other, null)) { 1869 if (ReferenceEquals(other, null)) {
1732 return false; 1870 return false;
1733 } 1871 }
1734 if (ReferenceEquals(other, this)) { 1872 if (ReferenceEquals(other, this)) {
1735 return true; 1873 return true;
1736 } 1874 }
1737 if (Name != other.Name) return false; 1875 if (Name != other.Name) return false;
1876 if (!object.Equals(Options, other.Options)) return false;
1738 return true; 1877 return true;
1739 } 1878 }
1740 1879
1880 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1741 public override int GetHashCode() { 1881 public override int GetHashCode() {
1742 int hash = 1; 1882 int hash = 1;
1743 if (Name.Length != 0) hash ^= Name.GetHashCode(); 1883 if (Name.Length != 0) hash ^= Name.GetHashCode();
1884 if (options_ != null) hash ^= Options.GetHashCode();
1744 return hash; 1885 return hash;
1745 } 1886 }
1746 1887
1888 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1747 public override string ToString() { 1889 public override string ToString() {
1748 return pb::JsonFormatter.ToDiagnosticString(this); 1890 return pb::JsonFormatter.ToDiagnosticString(this);
1749 } 1891 }
1750 1892
1893 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1751 public void WriteTo(pb::CodedOutputStream output) { 1894 public void WriteTo(pb::CodedOutputStream output) {
1752 if (Name.Length != 0) { 1895 if (Name.Length != 0) {
1753 output.WriteRawTag(10); 1896 output.WriteRawTag(10);
1754 output.WriteString(Name); 1897 output.WriteString(Name);
1755 } 1898 }
1899 if (options_ != null) {
1900 output.WriteRawTag(18);
1901 output.WriteMessage(Options);
1902 }
1756 } 1903 }
1757 1904
1905 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1758 public int CalculateSize() { 1906 public int CalculateSize() {
1759 int size = 0; 1907 int size = 0;
1760 if (Name.Length != 0) { 1908 if (Name.Length != 0) {
1761 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 1909 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
1762 } 1910 }
1911 if (options_ != null) {
1912 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
1913 }
1763 return size; 1914 return size;
1764 } 1915 }
1765 1916
1917 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1766 public void MergeFrom(OneofDescriptorProto other) { 1918 public void MergeFrom(OneofDescriptorProto other) {
1767 if (other == null) { 1919 if (other == null) {
1768 return; 1920 return;
1769 } 1921 }
1770 if (other.Name.Length != 0) { 1922 if (other.Name.Length != 0) {
1771 Name = other.Name; 1923 Name = other.Name;
1772 } 1924 }
1925 if (other.options_ != null) {
1926 if (options_ == null) {
1927 options_ = new global::Google.Protobuf.Reflection.OneofOptions();
1928 }
1929 Options.MergeFrom(other.Options);
1930 }
1773 } 1931 }
1774 1932
1933 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1775 public void MergeFrom(pb::CodedInputStream input) { 1934 public void MergeFrom(pb::CodedInputStream input) {
1776 uint tag; 1935 uint tag;
1777 while ((tag = input.ReadTag()) != 0) { 1936 while ((tag = input.ReadTag()) != 0) {
1778 switch(tag) { 1937 switch(tag) {
1779 default: 1938 default:
1780 input.SkipLastField(); 1939 input.SkipLastField();
1781 break; 1940 break;
1782 case 10: { 1941 case 10: {
1783 Name = input.ReadString(); 1942 Name = input.ReadString();
1784 break; 1943 break;
1785 } 1944 }
1945 case 18: {
1946 if (options_ == null) {
1947 options_ = new global::Google.Protobuf.Reflection.OneofOptions();
1948 }
1949 input.ReadMessage(options_);
1950 break;
1951 }
1786 } 1952 }
1787 } 1953 }
1788 } 1954 }
1789 1955
1790 } 1956 }
1791 1957
1792 /// <summary> 1958 /// <summary>
1793 /// Describes an enum type. 1959 /// Describes an enum type.
1794 /// </summary> 1960 /// </summary>
1795 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1796 internal sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescripto rProto> { 1961 internal sealed partial class EnumDescriptorProto : pb::IMessage<EnumDescripto rProto> {
1797 private static readonly pb::MessageParser<EnumDescriptorProto> _parser = new pb::MessageParser<EnumDescriptorProto>(() => new EnumDescriptorProto()); 1962 private static readonly pb::MessageParser<EnumDescriptorProto> _parser = new pb::MessageParser<EnumDescriptorProto>(() => new EnumDescriptorProto());
1963 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1798 public static pb::MessageParser<EnumDescriptorProto> Parser { get { return _ parser; } } 1964 public static pb::MessageParser<EnumDescriptorProto> Parser { get { return _ parser; } }
1799 1965
1966 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1800 public static pbr::MessageDescriptor Descriptor { 1967 public static pbr::MessageDescriptor Descriptor {
1801 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[5]; } 1968 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[5]; }
1802 } 1969 }
1803 1970
1971 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1804 pbr::MessageDescriptor pb::IMessage.Descriptor { 1972 pbr::MessageDescriptor pb::IMessage.Descriptor {
1805 get { return Descriptor; } 1973 get { return Descriptor; }
1806 } 1974 }
1807 1975
1976 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1808 public EnumDescriptorProto() { 1977 public EnumDescriptorProto() {
1809 OnConstruction(); 1978 OnConstruction();
1810 } 1979 }
1811 1980
1812 partial void OnConstruction(); 1981 partial void OnConstruction();
1813 1982
1983 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1814 public EnumDescriptorProto(EnumDescriptorProto other) : this() { 1984 public EnumDescriptorProto(EnumDescriptorProto other) : this() {
1815 name_ = other.name_; 1985 name_ = other.name_;
1816 value_ = other.value_.Clone(); 1986 value_ = other.value_.Clone();
1817 Options = other.options_ != null ? other.Options.Clone() : null; 1987 Options = other.options_ != null ? other.Options.Clone() : null;
1818 } 1988 }
1819 1989
1990 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1820 public EnumDescriptorProto Clone() { 1991 public EnumDescriptorProto Clone() {
1821 return new EnumDescriptorProto(this); 1992 return new EnumDescriptorProto(this);
1822 } 1993 }
1823 1994
1824 /// <summary>Field number for the "name" field.</summary> 1995 /// <summary>Field number for the "name" field.</summary>
1825 public const int NameFieldNumber = 1; 1996 public const int NameFieldNumber = 1;
1826 private string name_ = ""; 1997 private string name_ = "";
1998 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1827 public string Name { 1999 public string Name {
1828 get { return name_; } 2000 get { return name_; }
1829 set { 2001 set {
1830 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2002 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1831 } 2003 }
1832 } 2004 }
1833 2005
1834 /// <summary>Field number for the "value" field.</summary> 2006 /// <summary>Field number for the "value" field.</summary>
1835 public const int ValueFieldNumber = 2; 2007 public const int ValueFieldNumber = 2;
1836 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.En umValueDescriptorProto> _repeated_value_codec 2008 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.En umValueDescriptorProto> _repeated_value_codec
1837 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.EnumV alueDescriptorProto.Parser); 2009 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.EnumV alueDescriptorProto.Parser);
1838 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumV alueDescriptorProto> value_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.EnumValueDescriptorProto>(); 2010 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumV alueDescriptorProto> value_ = new pbc::RepeatedField<global::Google.Protobuf.Ref lection.EnumValueDescriptorProto>();
2011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1839 public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescri ptorProto> Value { 2012 public pbc::RepeatedField<global::Google.Protobuf.Reflection.EnumValueDescri ptorProto> Value {
1840 get { return value_; } 2013 get { return value_; }
1841 } 2014 }
1842 2015
1843 /// <summary>Field number for the "options" field.</summary> 2016 /// <summary>Field number for the "options" field.</summary>
1844 public const int OptionsFieldNumber = 3; 2017 public const int OptionsFieldNumber = 3;
1845 private global::Google.Protobuf.Reflection.EnumOptions options_; 2018 private global::Google.Protobuf.Reflection.EnumOptions options_;
2019 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1846 public global::Google.Protobuf.Reflection.EnumOptions Options { 2020 public global::Google.Protobuf.Reflection.EnumOptions Options {
1847 get { return options_; } 2021 get { return options_; }
1848 set { 2022 set {
1849 options_ = value; 2023 options_ = value;
1850 } 2024 }
1851 } 2025 }
1852 2026
2027 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1853 public override bool Equals(object other) { 2028 public override bool Equals(object other) {
1854 return Equals(other as EnumDescriptorProto); 2029 return Equals(other as EnumDescriptorProto);
1855 } 2030 }
1856 2031
2032 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1857 public bool Equals(EnumDescriptorProto other) { 2033 public bool Equals(EnumDescriptorProto other) {
1858 if (ReferenceEquals(other, null)) { 2034 if (ReferenceEquals(other, null)) {
1859 return false; 2035 return false;
1860 } 2036 }
1861 if (ReferenceEquals(other, this)) { 2037 if (ReferenceEquals(other, this)) {
1862 return true; 2038 return true;
1863 } 2039 }
1864 if (Name != other.Name) return false; 2040 if (Name != other.Name) return false;
1865 if(!value_.Equals(other.value_)) return false; 2041 if(!value_.Equals(other.value_)) return false;
1866 if (!object.Equals(Options, other.Options)) return false; 2042 if (!object.Equals(Options, other.Options)) return false;
1867 return true; 2043 return true;
1868 } 2044 }
1869 2045
2046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1870 public override int GetHashCode() { 2047 public override int GetHashCode() {
1871 int hash = 1; 2048 int hash = 1;
1872 if (Name.Length != 0) hash ^= Name.GetHashCode(); 2049 if (Name.Length != 0) hash ^= Name.GetHashCode();
1873 hash ^= value_.GetHashCode(); 2050 hash ^= value_.GetHashCode();
1874 if (options_ != null) hash ^= Options.GetHashCode(); 2051 if (options_ != null) hash ^= Options.GetHashCode();
1875 return hash; 2052 return hash;
1876 } 2053 }
1877 2054
2055 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1878 public override string ToString() { 2056 public override string ToString() {
1879 return pb::JsonFormatter.ToDiagnosticString(this); 2057 return pb::JsonFormatter.ToDiagnosticString(this);
1880 } 2058 }
1881 2059
2060 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1882 public void WriteTo(pb::CodedOutputStream output) { 2061 public void WriteTo(pb::CodedOutputStream output) {
1883 if (Name.Length != 0) { 2062 if (Name.Length != 0) {
1884 output.WriteRawTag(10); 2063 output.WriteRawTag(10);
1885 output.WriteString(Name); 2064 output.WriteString(Name);
1886 } 2065 }
1887 value_.WriteTo(output, _repeated_value_codec); 2066 value_.WriteTo(output, _repeated_value_codec);
1888 if (options_ != null) { 2067 if (options_ != null) {
1889 output.WriteRawTag(26); 2068 output.WriteRawTag(26);
1890 output.WriteMessage(Options); 2069 output.WriteMessage(Options);
1891 } 2070 }
1892 } 2071 }
1893 2072
2073 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1894 public int CalculateSize() { 2074 public int CalculateSize() {
1895 int size = 0; 2075 int size = 0;
1896 if (Name.Length != 0) { 2076 if (Name.Length != 0) {
1897 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 2077 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
1898 } 2078 }
1899 size += value_.CalculateSize(_repeated_value_codec); 2079 size += value_.CalculateSize(_repeated_value_codec);
1900 if (options_ != null) { 2080 if (options_ != null) {
1901 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); 2081 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
1902 } 2082 }
1903 return size; 2083 return size;
1904 } 2084 }
1905 2085
2086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1906 public void MergeFrom(EnumDescriptorProto other) { 2087 public void MergeFrom(EnumDescriptorProto other) {
1907 if (other == null) { 2088 if (other == null) {
1908 return; 2089 return;
1909 } 2090 }
1910 if (other.Name.Length != 0) { 2091 if (other.Name.Length != 0) {
1911 Name = other.Name; 2092 Name = other.Name;
1912 } 2093 }
1913 value_.Add(other.value_); 2094 value_.Add(other.value_);
1914 if (other.options_ != null) { 2095 if (other.options_ != null) {
1915 if (options_ == null) { 2096 if (options_ == null) {
1916 options_ = new global::Google.Protobuf.Reflection.EnumOptions(); 2097 options_ = new global::Google.Protobuf.Reflection.EnumOptions();
1917 } 2098 }
1918 Options.MergeFrom(other.Options); 2099 Options.MergeFrom(other.Options);
1919 } 2100 }
1920 } 2101 }
1921 2102
2103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1922 public void MergeFrom(pb::CodedInputStream input) { 2104 public void MergeFrom(pb::CodedInputStream input) {
1923 uint tag; 2105 uint tag;
1924 while ((tag = input.ReadTag()) != 0) { 2106 while ((tag = input.ReadTag()) != 0) {
1925 switch(tag) { 2107 switch(tag) {
1926 default: 2108 default:
1927 input.SkipLastField(); 2109 input.SkipLastField();
1928 break; 2110 break;
1929 case 10: { 2111 case 10: {
1930 Name = input.ReadString(); 2112 Name = input.ReadString();
1931 break; 2113 break;
(...skipping 11 matching lines...) Expand all
1943 } 2125 }
1944 } 2126 }
1945 } 2127 }
1946 } 2128 }
1947 2129
1948 } 2130 }
1949 2131
1950 /// <summary> 2132 /// <summary>
1951 /// Describes a value within an enum. 2133 /// Describes a value within an enum.
1952 /// </summary> 2134 /// </summary>
1953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
1954 internal sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValu eDescriptorProto> { 2135 internal sealed partial class EnumValueDescriptorProto : pb::IMessage<EnumValu eDescriptorProto> {
1955 private static readonly pb::MessageParser<EnumValueDescriptorProto> _parser = new pb::MessageParser<EnumValueDescriptorProto>(() => new EnumValueDescriptorP roto()); 2136 private static readonly pb::MessageParser<EnumValueDescriptorProto> _parser = new pb::MessageParser<EnumValueDescriptorProto>(() => new EnumValueDescriptorP roto());
2137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1956 public static pb::MessageParser<EnumValueDescriptorProto> Parser { get { ret urn _parser; } } 2138 public static pb::MessageParser<EnumValueDescriptorProto> Parser { get { ret urn _parser; } }
1957 2139
2140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1958 public static pbr::MessageDescriptor Descriptor { 2141 public static pbr::MessageDescriptor Descriptor {
1959 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[6]; } 2142 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[6]; }
1960 } 2143 }
1961 2144
2145 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1962 pbr::MessageDescriptor pb::IMessage.Descriptor { 2146 pbr::MessageDescriptor pb::IMessage.Descriptor {
1963 get { return Descriptor; } 2147 get { return Descriptor; }
1964 } 2148 }
1965 2149
2150 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1966 public EnumValueDescriptorProto() { 2151 public EnumValueDescriptorProto() {
1967 OnConstruction(); 2152 OnConstruction();
1968 } 2153 }
1969 2154
1970 partial void OnConstruction(); 2155 partial void OnConstruction();
1971 2156
2157 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1972 public EnumValueDescriptorProto(EnumValueDescriptorProto other) : this() { 2158 public EnumValueDescriptorProto(EnumValueDescriptorProto other) : this() {
1973 name_ = other.name_; 2159 name_ = other.name_;
1974 number_ = other.number_; 2160 number_ = other.number_;
1975 Options = other.options_ != null ? other.Options.Clone() : null; 2161 Options = other.options_ != null ? other.Options.Clone() : null;
1976 } 2162 }
1977 2163
2164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1978 public EnumValueDescriptorProto Clone() { 2165 public EnumValueDescriptorProto Clone() {
1979 return new EnumValueDescriptorProto(this); 2166 return new EnumValueDescriptorProto(this);
1980 } 2167 }
1981 2168
1982 /// <summary>Field number for the "name" field.</summary> 2169 /// <summary>Field number for the "name" field.</summary>
1983 public const int NameFieldNumber = 1; 2170 public const int NameFieldNumber = 1;
1984 private string name_ = ""; 2171 private string name_ = "";
2172 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1985 public string Name { 2173 public string Name {
1986 get { return name_; } 2174 get { return name_; }
1987 set { 2175 set {
1988 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2176 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
1989 } 2177 }
1990 } 2178 }
1991 2179
1992 /// <summary>Field number for the "number" field.</summary> 2180 /// <summary>Field number for the "number" field.</summary>
1993 public const int NumberFieldNumber = 2; 2181 public const int NumberFieldNumber = 2;
1994 private int number_; 2182 private int number_;
2183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
1995 public int Number { 2184 public int Number {
1996 get { return number_; } 2185 get { return number_; }
1997 set { 2186 set {
1998 number_ = value; 2187 number_ = value;
1999 } 2188 }
2000 } 2189 }
2001 2190
2002 /// <summary>Field number for the "options" field.</summary> 2191 /// <summary>Field number for the "options" field.</summary>
2003 public const int OptionsFieldNumber = 3; 2192 public const int OptionsFieldNumber = 3;
2004 private global::Google.Protobuf.Reflection.EnumValueOptions options_; 2193 private global::Google.Protobuf.Reflection.EnumValueOptions options_;
2194 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2005 public global::Google.Protobuf.Reflection.EnumValueOptions Options { 2195 public global::Google.Protobuf.Reflection.EnumValueOptions Options {
2006 get { return options_; } 2196 get { return options_; }
2007 set { 2197 set {
2008 options_ = value; 2198 options_ = value;
2009 } 2199 }
2010 } 2200 }
2011 2201
2202 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2012 public override bool Equals(object other) { 2203 public override bool Equals(object other) {
2013 return Equals(other as EnumValueDescriptorProto); 2204 return Equals(other as EnumValueDescriptorProto);
2014 } 2205 }
2015 2206
2207 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2016 public bool Equals(EnumValueDescriptorProto other) { 2208 public bool Equals(EnumValueDescriptorProto other) {
2017 if (ReferenceEquals(other, null)) { 2209 if (ReferenceEquals(other, null)) {
2018 return false; 2210 return false;
2019 } 2211 }
2020 if (ReferenceEquals(other, this)) { 2212 if (ReferenceEquals(other, this)) {
2021 return true; 2213 return true;
2022 } 2214 }
2023 if (Name != other.Name) return false; 2215 if (Name != other.Name) return false;
2024 if (Number != other.Number) return false; 2216 if (Number != other.Number) return false;
2025 if (!object.Equals(Options, other.Options)) return false; 2217 if (!object.Equals(Options, other.Options)) return false;
2026 return true; 2218 return true;
2027 } 2219 }
2028 2220
2221 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2029 public override int GetHashCode() { 2222 public override int GetHashCode() {
2030 int hash = 1; 2223 int hash = 1;
2031 if (Name.Length != 0) hash ^= Name.GetHashCode(); 2224 if (Name.Length != 0) hash ^= Name.GetHashCode();
2032 if (Number != 0) hash ^= Number.GetHashCode(); 2225 if (Number != 0) hash ^= Number.GetHashCode();
2033 if (options_ != null) hash ^= Options.GetHashCode(); 2226 if (options_ != null) hash ^= Options.GetHashCode();
2034 return hash; 2227 return hash;
2035 } 2228 }
2036 2229
2230 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2037 public override string ToString() { 2231 public override string ToString() {
2038 return pb::JsonFormatter.ToDiagnosticString(this); 2232 return pb::JsonFormatter.ToDiagnosticString(this);
2039 } 2233 }
2040 2234
2235 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2041 public void WriteTo(pb::CodedOutputStream output) { 2236 public void WriteTo(pb::CodedOutputStream output) {
2042 if (Name.Length != 0) { 2237 if (Name.Length != 0) {
2043 output.WriteRawTag(10); 2238 output.WriteRawTag(10);
2044 output.WriteString(Name); 2239 output.WriteString(Name);
2045 } 2240 }
2046 if (Number != 0) { 2241 if (Number != 0) {
2047 output.WriteRawTag(16); 2242 output.WriteRawTag(16);
2048 output.WriteInt32(Number); 2243 output.WriteInt32(Number);
2049 } 2244 }
2050 if (options_ != null) { 2245 if (options_ != null) {
2051 output.WriteRawTag(26); 2246 output.WriteRawTag(26);
2052 output.WriteMessage(Options); 2247 output.WriteMessage(Options);
2053 } 2248 }
2054 } 2249 }
2055 2250
2251 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2056 public int CalculateSize() { 2252 public int CalculateSize() {
2057 int size = 0; 2253 int size = 0;
2058 if (Name.Length != 0) { 2254 if (Name.Length != 0) {
2059 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 2255 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
2060 } 2256 }
2061 if (Number != 0) { 2257 if (Number != 0) {
2062 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number); 2258 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Number);
2063 } 2259 }
2064 if (options_ != null) { 2260 if (options_ != null) {
2065 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); 2261 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
2066 } 2262 }
2067 return size; 2263 return size;
2068 } 2264 }
2069 2265
2266 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2070 public void MergeFrom(EnumValueDescriptorProto other) { 2267 public void MergeFrom(EnumValueDescriptorProto other) {
2071 if (other == null) { 2268 if (other == null) {
2072 return; 2269 return;
2073 } 2270 }
2074 if (other.Name.Length != 0) { 2271 if (other.Name.Length != 0) {
2075 Name = other.Name; 2272 Name = other.Name;
2076 } 2273 }
2077 if (other.Number != 0) { 2274 if (other.Number != 0) {
2078 Number = other.Number; 2275 Number = other.Number;
2079 } 2276 }
2080 if (other.options_ != null) { 2277 if (other.options_ != null) {
2081 if (options_ == null) { 2278 if (options_ == null) {
2082 options_ = new global::Google.Protobuf.Reflection.EnumValueOptions(); 2279 options_ = new global::Google.Protobuf.Reflection.EnumValueOptions();
2083 } 2280 }
2084 Options.MergeFrom(other.Options); 2281 Options.MergeFrom(other.Options);
2085 } 2282 }
2086 } 2283 }
2087 2284
2285 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2088 public void MergeFrom(pb::CodedInputStream input) { 2286 public void MergeFrom(pb::CodedInputStream input) {
2089 uint tag; 2287 uint tag;
2090 while ((tag = input.ReadTag()) != 0) { 2288 while ((tag = input.ReadTag()) != 0) {
2091 switch(tag) { 2289 switch(tag) {
2092 default: 2290 default:
2093 input.SkipLastField(); 2291 input.SkipLastField();
2094 break; 2292 break;
2095 case 10: { 2293 case 10: {
2096 Name = input.ReadString(); 2294 Name = input.ReadString();
2097 break; 2295 break;
(...skipping 11 matching lines...) Expand all
2109 } 2307 }
2110 } 2308 }
2111 } 2309 }
2112 } 2310 }
2113 2311
2114 } 2312 }
2115 2313
2116 /// <summary> 2314 /// <summary>
2117 /// Describes a service. 2315 /// Describes a service.
2118 /// </summary> 2316 /// </summary>
2119 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2120 internal sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDes criptorProto> { 2317 internal sealed partial class ServiceDescriptorProto : pb::IMessage<ServiceDes criptorProto> {
2121 private static readonly pb::MessageParser<ServiceDescriptorProto> _parser = new pb::MessageParser<ServiceDescriptorProto>(() => new ServiceDescriptorProto() ); 2318 private static readonly pb::MessageParser<ServiceDescriptorProto> _parser = new pb::MessageParser<ServiceDescriptorProto>(() => new ServiceDescriptorProto() );
2319 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2122 public static pb::MessageParser<ServiceDescriptorProto> Parser { get { retur n _parser; } } 2320 public static pb::MessageParser<ServiceDescriptorProto> Parser { get { retur n _parser; } }
2123 2321
2322 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2124 public static pbr::MessageDescriptor Descriptor { 2323 public static pbr::MessageDescriptor Descriptor {
2125 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[7]; } 2324 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[7]; }
2126 } 2325 }
2127 2326
2327 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2128 pbr::MessageDescriptor pb::IMessage.Descriptor { 2328 pbr::MessageDescriptor pb::IMessage.Descriptor {
2129 get { return Descriptor; } 2329 get { return Descriptor; }
2130 } 2330 }
2131 2331
2332 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2132 public ServiceDescriptorProto() { 2333 public ServiceDescriptorProto() {
2133 OnConstruction(); 2334 OnConstruction();
2134 } 2335 }
2135 2336
2136 partial void OnConstruction(); 2337 partial void OnConstruction();
2137 2338
2339 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2138 public ServiceDescriptorProto(ServiceDescriptorProto other) : this() { 2340 public ServiceDescriptorProto(ServiceDescriptorProto other) : this() {
2139 name_ = other.name_; 2341 name_ = other.name_;
2140 method_ = other.method_.Clone(); 2342 method_ = other.method_.Clone();
2141 Options = other.options_ != null ? other.Options.Clone() : null; 2343 Options = other.options_ != null ? other.Options.Clone() : null;
2142 } 2344 }
2143 2345
2346 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2144 public ServiceDescriptorProto Clone() { 2347 public ServiceDescriptorProto Clone() {
2145 return new ServiceDescriptorProto(this); 2348 return new ServiceDescriptorProto(this);
2146 } 2349 }
2147 2350
2148 /// <summary>Field number for the "name" field.</summary> 2351 /// <summary>Field number for the "name" field.</summary>
2149 public const int NameFieldNumber = 1; 2352 public const int NameFieldNumber = 1;
2150 private string name_ = ""; 2353 private string name_ = "";
2354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2151 public string Name { 2355 public string Name {
2152 get { return name_; } 2356 get { return name_; }
2153 set { 2357 set {
2154 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2358 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2155 } 2359 }
2156 } 2360 }
2157 2361
2158 /// <summary>Field number for the "method" field.</summary> 2362 /// <summary>Field number for the "method" field.</summary>
2159 public const int MethodFieldNumber = 2; 2363 public const int MethodFieldNumber = 2;
2160 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Me thodDescriptorProto> _repeated_method_codec 2364 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Me thodDescriptorProto> _repeated_method_codec
2161 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.Metho dDescriptorProto.Parser); 2365 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.Metho dDescriptorProto.Parser);
2162 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Metho dDescriptorProto> method_ = new pbc::RepeatedField<global::Google.Protobuf.Refle ction.MethodDescriptorProto>(); 2366 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Metho dDescriptorProto> method_ = new pbc::RepeatedField<global::Google.Protobuf.Refle ction.MethodDescriptorProto>();
2367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2163 public pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescripto rProto> Method { 2368 public pbc::RepeatedField<global::Google.Protobuf.Reflection.MethodDescripto rProto> Method {
2164 get { return method_; } 2369 get { return method_; }
2165 } 2370 }
2166 2371
2167 /// <summary>Field number for the "options" field.</summary> 2372 /// <summary>Field number for the "options" field.</summary>
2168 public const int OptionsFieldNumber = 3; 2373 public const int OptionsFieldNumber = 3;
2169 private global::Google.Protobuf.Reflection.ServiceOptions options_; 2374 private global::Google.Protobuf.Reflection.ServiceOptions options_;
2375 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2170 public global::Google.Protobuf.Reflection.ServiceOptions Options { 2376 public global::Google.Protobuf.Reflection.ServiceOptions Options {
2171 get { return options_; } 2377 get { return options_; }
2172 set { 2378 set {
2173 options_ = value; 2379 options_ = value;
2174 } 2380 }
2175 } 2381 }
2176 2382
2383 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2177 public override bool Equals(object other) { 2384 public override bool Equals(object other) {
2178 return Equals(other as ServiceDescriptorProto); 2385 return Equals(other as ServiceDescriptorProto);
2179 } 2386 }
2180 2387
2388 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2181 public bool Equals(ServiceDescriptorProto other) { 2389 public bool Equals(ServiceDescriptorProto other) {
2182 if (ReferenceEquals(other, null)) { 2390 if (ReferenceEquals(other, null)) {
2183 return false; 2391 return false;
2184 } 2392 }
2185 if (ReferenceEquals(other, this)) { 2393 if (ReferenceEquals(other, this)) {
2186 return true; 2394 return true;
2187 } 2395 }
2188 if (Name != other.Name) return false; 2396 if (Name != other.Name) return false;
2189 if(!method_.Equals(other.method_)) return false; 2397 if(!method_.Equals(other.method_)) return false;
2190 if (!object.Equals(Options, other.Options)) return false; 2398 if (!object.Equals(Options, other.Options)) return false;
2191 return true; 2399 return true;
2192 } 2400 }
2193 2401
2402 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2194 public override int GetHashCode() { 2403 public override int GetHashCode() {
2195 int hash = 1; 2404 int hash = 1;
2196 if (Name.Length != 0) hash ^= Name.GetHashCode(); 2405 if (Name.Length != 0) hash ^= Name.GetHashCode();
2197 hash ^= method_.GetHashCode(); 2406 hash ^= method_.GetHashCode();
2198 if (options_ != null) hash ^= Options.GetHashCode(); 2407 if (options_ != null) hash ^= Options.GetHashCode();
2199 return hash; 2408 return hash;
2200 } 2409 }
2201 2410
2411 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2202 public override string ToString() { 2412 public override string ToString() {
2203 return pb::JsonFormatter.ToDiagnosticString(this); 2413 return pb::JsonFormatter.ToDiagnosticString(this);
2204 } 2414 }
2205 2415
2416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2206 public void WriteTo(pb::CodedOutputStream output) { 2417 public void WriteTo(pb::CodedOutputStream output) {
2207 if (Name.Length != 0) { 2418 if (Name.Length != 0) {
2208 output.WriteRawTag(10); 2419 output.WriteRawTag(10);
2209 output.WriteString(Name); 2420 output.WriteString(Name);
2210 } 2421 }
2211 method_.WriteTo(output, _repeated_method_codec); 2422 method_.WriteTo(output, _repeated_method_codec);
2212 if (options_ != null) { 2423 if (options_ != null) {
2213 output.WriteRawTag(26); 2424 output.WriteRawTag(26);
2214 output.WriteMessage(Options); 2425 output.WriteMessage(Options);
2215 } 2426 }
2216 } 2427 }
2217 2428
2429 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2218 public int CalculateSize() { 2430 public int CalculateSize() {
2219 int size = 0; 2431 int size = 0;
2220 if (Name.Length != 0) { 2432 if (Name.Length != 0) {
2221 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 2433 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
2222 } 2434 }
2223 size += method_.CalculateSize(_repeated_method_codec); 2435 size += method_.CalculateSize(_repeated_method_codec);
2224 if (options_ != null) { 2436 if (options_ != null) {
2225 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); 2437 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
2226 } 2438 }
2227 return size; 2439 return size;
2228 } 2440 }
2229 2441
2442 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2230 public void MergeFrom(ServiceDescriptorProto other) { 2443 public void MergeFrom(ServiceDescriptorProto other) {
2231 if (other == null) { 2444 if (other == null) {
2232 return; 2445 return;
2233 } 2446 }
2234 if (other.Name.Length != 0) { 2447 if (other.Name.Length != 0) {
2235 Name = other.Name; 2448 Name = other.Name;
2236 } 2449 }
2237 method_.Add(other.method_); 2450 method_.Add(other.method_);
2238 if (other.options_ != null) { 2451 if (other.options_ != null) {
2239 if (options_ == null) { 2452 if (options_ == null) {
2240 options_ = new global::Google.Protobuf.Reflection.ServiceOptions(); 2453 options_ = new global::Google.Protobuf.Reflection.ServiceOptions();
2241 } 2454 }
2242 Options.MergeFrom(other.Options); 2455 Options.MergeFrom(other.Options);
2243 } 2456 }
2244 } 2457 }
2245 2458
2459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2246 public void MergeFrom(pb::CodedInputStream input) { 2460 public void MergeFrom(pb::CodedInputStream input) {
2247 uint tag; 2461 uint tag;
2248 while ((tag = input.ReadTag()) != 0) { 2462 while ((tag = input.ReadTag()) != 0) {
2249 switch(tag) { 2463 switch(tag) {
2250 default: 2464 default:
2251 input.SkipLastField(); 2465 input.SkipLastField();
2252 break; 2466 break;
2253 case 10: { 2467 case 10: {
2254 Name = input.ReadString(); 2468 Name = input.ReadString();
2255 break; 2469 break;
(...skipping 11 matching lines...) Expand all
2267 } 2481 }
2268 } 2482 }
2269 } 2483 }
2270 } 2484 }
2271 2485
2272 } 2486 }
2273 2487
2274 /// <summary> 2488 /// <summary>
2275 /// Describes a method of a service. 2489 /// Describes a method of a service.
2276 /// </summary> 2490 /// </summary>
2277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2278 internal sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescr iptorProto> { 2491 internal sealed partial class MethodDescriptorProto : pb::IMessage<MethodDescr iptorProto> {
2279 private static readonly pb::MessageParser<MethodDescriptorProto> _parser = n ew pb::MessageParser<MethodDescriptorProto>(() => new MethodDescriptorProto()); 2492 private static readonly pb::MessageParser<MethodDescriptorProto> _parser = n ew pb::MessageParser<MethodDescriptorProto>(() => new MethodDescriptorProto());
2493 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2280 public static pb::MessageParser<MethodDescriptorProto> Parser { get { return _parser; } } 2494 public static pb::MessageParser<MethodDescriptorProto> Parser { get { return _parser; } }
2281 2495
2496 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2282 public static pbr::MessageDescriptor Descriptor { 2497 public static pbr::MessageDescriptor Descriptor {
2283 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[8]; } 2498 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[8]; }
2284 } 2499 }
2285 2500
2501 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2286 pbr::MessageDescriptor pb::IMessage.Descriptor { 2502 pbr::MessageDescriptor pb::IMessage.Descriptor {
2287 get { return Descriptor; } 2503 get { return Descriptor; }
2288 } 2504 }
2289 2505
2506 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2290 public MethodDescriptorProto() { 2507 public MethodDescriptorProto() {
2291 OnConstruction(); 2508 OnConstruction();
2292 } 2509 }
2293 2510
2294 partial void OnConstruction(); 2511 partial void OnConstruction();
2295 2512
2513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2296 public MethodDescriptorProto(MethodDescriptorProto other) : this() { 2514 public MethodDescriptorProto(MethodDescriptorProto other) : this() {
2297 name_ = other.name_; 2515 name_ = other.name_;
2298 inputType_ = other.inputType_; 2516 inputType_ = other.inputType_;
2299 outputType_ = other.outputType_; 2517 outputType_ = other.outputType_;
2300 Options = other.options_ != null ? other.Options.Clone() : null; 2518 Options = other.options_ != null ? other.Options.Clone() : null;
2301 clientStreaming_ = other.clientStreaming_; 2519 clientStreaming_ = other.clientStreaming_;
2302 serverStreaming_ = other.serverStreaming_; 2520 serverStreaming_ = other.serverStreaming_;
2303 } 2521 }
2304 2522
2523 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2305 public MethodDescriptorProto Clone() { 2524 public MethodDescriptorProto Clone() {
2306 return new MethodDescriptorProto(this); 2525 return new MethodDescriptorProto(this);
2307 } 2526 }
2308 2527
2309 /// <summary>Field number for the "name" field.</summary> 2528 /// <summary>Field number for the "name" field.</summary>
2310 public const int NameFieldNumber = 1; 2529 public const int NameFieldNumber = 1;
2311 private string name_ = ""; 2530 private string name_ = "";
2531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2312 public string Name { 2532 public string Name {
2313 get { return name_; } 2533 get { return name_; }
2314 set { 2534 set {
2315 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2535 name_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2316 } 2536 }
2317 } 2537 }
2318 2538
2319 /// <summary>Field number for the "input_type" field.</summary> 2539 /// <summary>Field number for the "input_type" field.</summary>
2320 public const int InputTypeFieldNumber = 2; 2540 public const int InputTypeFieldNumber = 2;
2321 private string inputType_ = ""; 2541 private string inputType_ = "";
2322 /// <summary> 2542 /// <summary>
2323 /// Input and output type names. These are resolved in the same way as 2543 /// Input and output type names. These are resolved in the same way as
2324 /// FieldDescriptorProto.type_name, but must refer to a message type. 2544 /// FieldDescriptorProto.type_name, but must refer to a message type.
2325 /// </summary> 2545 /// </summary>
2546 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2326 public string InputType { 2547 public string InputType {
2327 get { return inputType_; } 2548 get { return inputType_; }
2328 set { 2549 set {
2329 inputType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2550 inputType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2330 } 2551 }
2331 } 2552 }
2332 2553
2333 /// <summary>Field number for the "output_type" field.</summary> 2554 /// <summary>Field number for the "output_type" field.</summary>
2334 public const int OutputTypeFieldNumber = 3; 2555 public const int OutputTypeFieldNumber = 3;
2335 private string outputType_ = ""; 2556 private string outputType_ = "";
2557 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2336 public string OutputType { 2558 public string OutputType {
2337 get { return outputType_; } 2559 get { return outputType_; }
2338 set { 2560 set {
2339 outputType_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2561 outputType_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2340 } 2562 }
2341 } 2563 }
2342 2564
2343 /// <summary>Field number for the "options" field.</summary> 2565 /// <summary>Field number for the "options" field.</summary>
2344 public const int OptionsFieldNumber = 4; 2566 public const int OptionsFieldNumber = 4;
2345 private global::Google.Protobuf.Reflection.MethodOptions options_; 2567 private global::Google.Protobuf.Reflection.MethodOptions options_;
2568 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2346 public global::Google.Protobuf.Reflection.MethodOptions Options { 2569 public global::Google.Protobuf.Reflection.MethodOptions Options {
2347 get { return options_; } 2570 get { return options_; }
2348 set { 2571 set {
2349 options_ = value; 2572 options_ = value;
2350 } 2573 }
2351 } 2574 }
2352 2575
2353 /// <summary>Field number for the "client_streaming" field.</summary> 2576 /// <summary>Field number for the "client_streaming" field.</summary>
2354 public const int ClientStreamingFieldNumber = 5; 2577 public const int ClientStreamingFieldNumber = 5;
2355 private bool clientStreaming_; 2578 private bool clientStreaming_;
2356 /// <summary> 2579 /// <summary>
2357 /// Identifies if client streams multiple client messages 2580 /// Identifies if client streams multiple client messages
2358 /// </summary> 2581 /// </summary>
2582 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2359 public bool ClientStreaming { 2583 public bool ClientStreaming {
2360 get { return clientStreaming_; } 2584 get { return clientStreaming_; }
2361 set { 2585 set {
2362 clientStreaming_ = value; 2586 clientStreaming_ = value;
2363 } 2587 }
2364 } 2588 }
2365 2589
2366 /// <summary>Field number for the "server_streaming" field.</summary> 2590 /// <summary>Field number for the "server_streaming" field.</summary>
2367 public const int ServerStreamingFieldNumber = 6; 2591 public const int ServerStreamingFieldNumber = 6;
2368 private bool serverStreaming_; 2592 private bool serverStreaming_;
2369 /// <summary> 2593 /// <summary>
2370 /// Identifies if server streams multiple server messages 2594 /// Identifies if server streams multiple server messages
2371 /// </summary> 2595 /// </summary>
2596 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2372 public bool ServerStreaming { 2597 public bool ServerStreaming {
2373 get { return serverStreaming_; } 2598 get { return serverStreaming_; }
2374 set { 2599 set {
2375 serverStreaming_ = value; 2600 serverStreaming_ = value;
2376 } 2601 }
2377 } 2602 }
2378 2603
2604 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2379 public override bool Equals(object other) { 2605 public override bool Equals(object other) {
2380 return Equals(other as MethodDescriptorProto); 2606 return Equals(other as MethodDescriptorProto);
2381 } 2607 }
2382 2608
2609 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2383 public bool Equals(MethodDescriptorProto other) { 2610 public bool Equals(MethodDescriptorProto other) {
2384 if (ReferenceEquals(other, null)) { 2611 if (ReferenceEquals(other, null)) {
2385 return false; 2612 return false;
2386 } 2613 }
2387 if (ReferenceEquals(other, this)) { 2614 if (ReferenceEquals(other, this)) {
2388 return true; 2615 return true;
2389 } 2616 }
2390 if (Name != other.Name) return false; 2617 if (Name != other.Name) return false;
2391 if (InputType != other.InputType) return false; 2618 if (InputType != other.InputType) return false;
2392 if (OutputType != other.OutputType) return false; 2619 if (OutputType != other.OutputType) return false;
2393 if (!object.Equals(Options, other.Options)) return false; 2620 if (!object.Equals(Options, other.Options)) return false;
2394 if (ClientStreaming != other.ClientStreaming) return false; 2621 if (ClientStreaming != other.ClientStreaming) return false;
2395 if (ServerStreaming != other.ServerStreaming) return false; 2622 if (ServerStreaming != other.ServerStreaming) return false;
2396 return true; 2623 return true;
2397 } 2624 }
2398 2625
2626 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2399 public override int GetHashCode() { 2627 public override int GetHashCode() {
2400 int hash = 1; 2628 int hash = 1;
2401 if (Name.Length != 0) hash ^= Name.GetHashCode(); 2629 if (Name.Length != 0) hash ^= Name.GetHashCode();
2402 if (InputType.Length != 0) hash ^= InputType.GetHashCode(); 2630 if (InputType.Length != 0) hash ^= InputType.GetHashCode();
2403 if (OutputType.Length != 0) hash ^= OutputType.GetHashCode(); 2631 if (OutputType.Length != 0) hash ^= OutputType.GetHashCode();
2404 if (options_ != null) hash ^= Options.GetHashCode(); 2632 if (options_ != null) hash ^= Options.GetHashCode();
2405 if (ClientStreaming != false) hash ^= ClientStreaming.GetHashCode(); 2633 if (ClientStreaming != false) hash ^= ClientStreaming.GetHashCode();
2406 if (ServerStreaming != false) hash ^= ServerStreaming.GetHashCode(); 2634 if (ServerStreaming != false) hash ^= ServerStreaming.GetHashCode();
2407 return hash; 2635 return hash;
2408 } 2636 }
2409 2637
2638 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2410 public override string ToString() { 2639 public override string ToString() {
2411 return pb::JsonFormatter.ToDiagnosticString(this); 2640 return pb::JsonFormatter.ToDiagnosticString(this);
2412 } 2641 }
2413 2642
2643 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2414 public void WriteTo(pb::CodedOutputStream output) { 2644 public void WriteTo(pb::CodedOutputStream output) {
2415 if (Name.Length != 0) { 2645 if (Name.Length != 0) {
2416 output.WriteRawTag(10); 2646 output.WriteRawTag(10);
2417 output.WriteString(Name); 2647 output.WriteString(Name);
2418 } 2648 }
2419 if (InputType.Length != 0) { 2649 if (InputType.Length != 0) {
2420 output.WriteRawTag(18); 2650 output.WriteRawTag(18);
2421 output.WriteString(InputType); 2651 output.WriteString(InputType);
2422 } 2652 }
2423 if (OutputType.Length != 0) { 2653 if (OutputType.Length != 0) {
2424 output.WriteRawTag(26); 2654 output.WriteRawTag(26);
2425 output.WriteString(OutputType); 2655 output.WriteString(OutputType);
2426 } 2656 }
2427 if (options_ != null) { 2657 if (options_ != null) {
2428 output.WriteRawTag(34); 2658 output.WriteRawTag(34);
2429 output.WriteMessage(Options); 2659 output.WriteMessage(Options);
2430 } 2660 }
2431 if (ClientStreaming != false) { 2661 if (ClientStreaming != false) {
2432 output.WriteRawTag(40); 2662 output.WriteRawTag(40);
2433 output.WriteBool(ClientStreaming); 2663 output.WriteBool(ClientStreaming);
2434 } 2664 }
2435 if (ServerStreaming != false) { 2665 if (ServerStreaming != false) {
2436 output.WriteRawTag(48); 2666 output.WriteRawTag(48);
2437 output.WriteBool(ServerStreaming); 2667 output.WriteBool(ServerStreaming);
2438 } 2668 }
2439 } 2669 }
2440 2670
2671 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2441 public int CalculateSize() { 2672 public int CalculateSize() {
2442 int size = 0; 2673 int size = 0;
2443 if (Name.Length != 0) { 2674 if (Name.Length != 0) {
2444 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name); 2675 size += 1 + pb::CodedOutputStream.ComputeStringSize(Name);
2445 } 2676 }
2446 if (InputType.Length != 0) { 2677 if (InputType.Length != 0) {
2447 size += 1 + pb::CodedOutputStream.ComputeStringSize(InputType); 2678 size += 1 + pb::CodedOutputStream.ComputeStringSize(InputType);
2448 } 2679 }
2449 if (OutputType.Length != 0) { 2680 if (OutputType.Length != 0) {
2450 size += 1 + pb::CodedOutputStream.ComputeStringSize(OutputType); 2681 size += 1 + pb::CodedOutputStream.ComputeStringSize(OutputType);
2451 } 2682 }
2452 if (options_ != null) { 2683 if (options_ != null) {
2453 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options); 2684 size += 1 + pb::CodedOutputStream.ComputeMessageSize(Options);
2454 } 2685 }
2455 if (ClientStreaming != false) { 2686 if (ClientStreaming != false) {
2456 size += 1 + 1; 2687 size += 1 + 1;
2457 } 2688 }
2458 if (ServerStreaming != false) { 2689 if (ServerStreaming != false) {
2459 size += 1 + 1; 2690 size += 1 + 1;
2460 } 2691 }
2461 return size; 2692 return size;
2462 } 2693 }
2463 2694
2695 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2464 public void MergeFrom(MethodDescriptorProto other) { 2696 public void MergeFrom(MethodDescriptorProto other) {
2465 if (other == null) { 2697 if (other == null) {
2466 return; 2698 return;
2467 } 2699 }
2468 if (other.Name.Length != 0) { 2700 if (other.Name.Length != 0) {
2469 Name = other.Name; 2701 Name = other.Name;
2470 } 2702 }
2471 if (other.InputType.Length != 0) { 2703 if (other.InputType.Length != 0) {
2472 InputType = other.InputType; 2704 InputType = other.InputType;
2473 } 2705 }
2474 if (other.OutputType.Length != 0) { 2706 if (other.OutputType.Length != 0) {
2475 OutputType = other.OutputType; 2707 OutputType = other.OutputType;
2476 } 2708 }
2477 if (other.options_ != null) { 2709 if (other.options_ != null) {
2478 if (options_ == null) { 2710 if (options_ == null) {
2479 options_ = new global::Google.Protobuf.Reflection.MethodOptions(); 2711 options_ = new global::Google.Protobuf.Reflection.MethodOptions();
2480 } 2712 }
2481 Options.MergeFrom(other.Options); 2713 Options.MergeFrom(other.Options);
2482 } 2714 }
2483 if (other.ClientStreaming != false) { 2715 if (other.ClientStreaming != false) {
2484 ClientStreaming = other.ClientStreaming; 2716 ClientStreaming = other.ClientStreaming;
2485 } 2717 }
2486 if (other.ServerStreaming != false) { 2718 if (other.ServerStreaming != false) {
2487 ServerStreaming = other.ServerStreaming; 2719 ServerStreaming = other.ServerStreaming;
2488 } 2720 }
2489 } 2721 }
2490 2722
2723 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2491 public void MergeFrom(pb::CodedInputStream input) { 2724 public void MergeFrom(pb::CodedInputStream input) {
2492 uint tag; 2725 uint tag;
2493 while ((tag = input.ReadTag()) != 0) { 2726 while ((tag = input.ReadTag()) != 0) {
2494 switch(tag) { 2727 switch(tag) {
2495 default: 2728 default:
2496 input.SkipLastField(); 2729 input.SkipLastField();
2497 break; 2730 break;
2498 case 10: { 2731 case 10: {
2499 Name = input.ReadString(); 2732 Name = input.ReadString();
2500 break; 2733 break;
(...skipping 20 matching lines...) Expand all
2521 case 48: { 2754 case 48: {
2522 ServerStreaming = input.ReadBool(); 2755 ServerStreaming = input.ReadBool();
2523 break; 2756 break;
2524 } 2757 }
2525 } 2758 }
2526 } 2759 }
2527 } 2760 }
2528 2761
2529 } 2762 }
2530 2763
2531 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
2532 internal sealed partial class FileOptions : pb::IMessage<FileOptions> { 2764 internal sealed partial class FileOptions : pb::IMessage<FileOptions> {
2533 private static readonly pb::MessageParser<FileOptions> _parser = new pb::Mes sageParser<FileOptions>(() => new FileOptions()); 2765 private static readonly pb::MessageParser<FileOptions> _parser = new pb::Mes sageParser<FileOptions>(() => new FileOptions());
2766 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2534 public static pb::MessageParser<FileOptions> Parser { get { return _parser; } } 2767 public static pb::MessageParser<FileOptions> Parser { get { return _parser; } }
2535 2768
2769 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2536 public static pbr::MessageDescriptor Descriptor { 2770 public static pbr::MessageDescriptor Descriptor {
2537 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[9]; } 2771 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[9]; }
2538 } 2772 }
2539 2773
2774 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2540 pbr::MessageDescriptor pb::IMessage.Descriptor { 2775 pbr::MessageDescriptor pb::IMessage.Descriptor {
2541 get { return Descriptor; } 2776 get { return Descriptor; }
2542 } 2777 }
2543 2778
2779 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2544 public FileOptions() { 2780 public FileOptions() {
2545 OnConstruction(); 2781 OnConstruction();
2546 } 2782 }
2547 2783
2548 partial void OnConstruction(); 2784 partial void OnConstruction();
2549 2785
2786 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2550 public FileOptions(FileOptions other) : this() { 2787 public FileOptions(FileOptions other) : this() {
2551 javaPackage_ = other.javaPackage_; 2788 javaPackage_ = other.javaPackage_;
2552 javaOuterClassname_ = other.javaOuterClassname_; 2789 javaOuterClassname_ = other.javaOuterClassname_;
2553 javaMultipleFiles_ = other.javaMultipleFiles_; 2790 javaMultipleFiles_ = other.javaMultipleFiles_;
2554 javaGenerateEqualsAndHash_ = other.javaGenerateEqualsAndHash_; 2791 javaGenerateEqualsAndHash_ = other.javaGenerateEqualsAndHash_;
2555 javaStringCheckUtf8_ = other.javaStringCheckUtf8_; 2792 javaStringCheckUtf8_ = other.javaStringCheckUtf8_;
2556 optimizeFor_ = other.optimizeFor_; 2793 optimizeFor_ = other.optimizeFor_;
2557 goPackage_ = other.goPackage_; 2794 goPackage_ = other.goPackage_;
2558 ccGenericServices_ = other.ccGenericServices_; 2795 ccGenericServices_ = other.ccGenericServices_;
2559 javaGenericServices_ = other.javaGenericServices_; 2796 javaGenericServices_ = other.javaGenericServices_;
2560 pyGenericServices_ = other.pyGenericServices_; 2797 pyGenericServices_ = other.pyGenericServices_;
2561 deprecated_ = other.deprecated_; 2798 deprecated_ = other.deprecated_;
2562 ccEnableArenas_ = other.ccEnableArenas_; 2799 ccEnableArenas_ = other.ccEnableArenas_;
2563 objcClassPrefix_ = other.objcClassPrefix_; 2800 objcClassPrefix_ = other.objcClassPrefix_;
2564 csharpNamespace_ = other.csharpNamespace_; 2801 csharpNamespace_ = other.csharpNamespace_;
2565 uninterpretedOption_ = other.uninterpretedOption_.Clone(); 2802 uninterpretedOption_ = other.uninterpretedOption_.Clone();
2566 } 2803 }
2567 2804
2805 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2568 public FileOptions Clone() { 2806 public FileOptions Clone() {
2569 return new FileOptions(this); 2807 return new FileOptions(this);
2570 } 2808 }
2571 2809
2572 /// <summary>Field number for the "java_package" field.</summary> 2810 /// <summary>Field number for the "java_package" field.</summary>
2573 public const int JavaPackageFieldNumber = 1; 2811 public const int JavaPackageFieldNumber = 1;
2574 private string javaPackage_ = ""; 2812 private string javaPackage_ = "";
2575 /// <summary> 2813 /// <summary>
2576 /// Sets the Java package where classes generated from this .proto will be 2814 /// Sets the Java package where classes generated from this .proto will be
2577 /// placed. By default, the proto package is used, but this is often 2815 /// placed. By default, the proto package is used, but this is often
2578 /// inappropriate because proto packages do not normally start with backwar ds 2816 /// inappropriate because proto packages do not normally start with backwar ds
2579 /// domain names. 2817 /// domain names.
2580 /// </summary> 2818 /// </summary>
2819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2581 public string JavaPackage { 2820 public string JavaPackage {
2582 get { return javaPackage_; } 2821 get { return javaPackage_; }
2583 set { 2822 set {
2584 javaPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2823 javaPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2585 } 2824 }
2586 } 2825 }
2587 2826
2588 /// <summary>Field number for the "java_outer_classname" field.</summary> 2827 /// <summary>Field number for the "java_outer_classname" field.</summary>
2589 public const int JavaOuterClassnameFieldNumber = 8; 2828 public const int JavaOuterClassnameFieldNumber = 8;
2590 private string javaOuterClassname_ = ""; 2829 private string javaOuterClassname_ = "";
2591 /// <summary> 2830 /// <summary>
2592 /// If set, all the classes from the .proto file are wrapped in a single 2831 /// If set, all the classes from the .proto file are wrapped in a single
2593 /// outer class with the given name. This applies to both Proto1 2832 /// outer class with the given name. This applies to both Proto1
2594 /// (equivalent to the old "--one_java_file" option) and Proto2 (where 2833 /// (equivalent to the old "--one_java_file" option) and Proto2 (where
2595 /// a .proto always translates to a single class, but you may want to 2834 /// a .proto always translates to a single class, but you may want to
2596 /// explicitly choose the class name). 2835 /// explicitly choose the class name).
2597 /// </summary> 2836 /// </summary>
2837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2598 public string JavaOuterClassname { 2838 public string JavaOuterClassname {
2599 get { return javaOuterClassname_; } 2839 get { return javaOuterClassname_; }
2600 set { 2840 set {
2601 javaOuterClassname_ = pb::ProtoPreconditions.CheckNotNull(value, "value" ); 2841 javaOuterClassname_ = pb::ProtoPreconditions.CheckNotNull(value, "value" );
2602 } 2842 }
2603 } 2843 }
2604 2844
2605 /// <summary>Field number for the "java_multiple_files" field.</summary> 2845 /// <summary>Field number for the "java_multiple_files" field.</summary>
2606 public const int JavaMultipleFilesFieldNumber = 10; 2846 public const int JavaMultipleFilesFieldNumber = 10;
2607 private bool javaMultipleFiles_; 2847 private bool javaMultipleFiles_;
2608 /// <summary> 2848 /// <summary>
2609 /// If set true, then the Java code generator will generate a separate .jav a 2849 /// If set true, then the Java code generator will generate a separate .jav a
2610 /// file for each top-level message, enum, and service defined in the .prot o 2850 /// file for each top-level message, enum, and service defined in the .prot o
2611 /// file. Thus, these types will *not* be nested inside the outer class 2851 /// file. Thus, these types will *not* be nested inside the outer class
2612 /// named by java_outer_classname. However, the outer class will still be 2852 /// named by java_outer_classname. However, the outer class will still be
2613 /// generated to contain the file's getDescriptor() method as well as any 2853 /// generated to contain the file's getDescriptor() method as well as any
2614 /// top-level extensions defined in the file. 2854 /// top-level extensions defined in the file.
2615 /// </summary> 2855 /// </summary>
2856 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2616 public bool JavaMultipleFiles { 2857 public bool JavaMultipleFiles {
2617 get { return javaMultipleFiles_; } 2858 get { return javaMultipleFiles_; }
2618 set { 2859 set {
2619 javaMultipleFiles_ = value; 2860 javaMultipleFiles_ = value;
2620 } 2861 }
2621 } 2862 }
2622 2863
2623 /// <summary>Field number for the "java_generate_equals_and_hash" field.</su mmary> 2864 /// <summary>Field number for the "java_generate_equals_and_hash" field.</su mmary>
2624 public const int JavaGenerateEqualsAndHashFieldNumber = 20; 2865 public const int JavaGenerateEqualsAndHashFieldNumber = 20;
2625 private bool javaGenerateEqualsAndHash_; 2866 private bool javaGenerateEqualsAndHash_;
2626 /// <summary> 2867 /// <summary>
2627 /// If set true, then the Java code generator will generate equals() and 2868 /// This option does nothing.
2628 /// hashCode() methods for all messages defined in the .proto file.
2629 /// This increases generated code size, potentially substantially for large
2630 /// protos, which may harm a memory-constrained application.
2631 /// - In the full runtime this is a speed optimization, as the
2632 /// AbstractMessage base class includes reflection-based implementations of
2633 /// these methods.
2634 /// - In the lite runtime, setting this option changes the semantics of
2635 /// equals() and hashCode() to more closely match those of the full runtime ;
2636 /// the generated methods compute their results based on field values rathe r
2637 /// than object identity. (Implementations should not assume that hashcodes
2638 /// will be consistent across runtimes or versions of the protocol compiler .)
2639 /// </summary> 2869 /// </summary>
2870 [global::System.ObsoleteAttribute]
2871 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2640 public bool JavaGenerateEqualsAndHash { 2872 public bool JavaGenerateEqualsAndHash {
2641 get { return javaGenerateEqualsAndHash_; } 2873 get { return javaGenerateEqualsAndHash_; }
2642 set { 2874 set {
2643 javaGenerateEqualsAndHash_ = value; 2875 javaGenerateEqualsAndHash_ = value;
2644 } 2876 }
2645 } 2877 }
2646 2878
2647 /// <summary>Field number for the "java_string_check_utf8" field.</summary> 2879 /// <summary>Field number for the "java_string_check_utf8" field.</summary>
2648 public const int JavaStringCheckUtf8FieldNumber = 27; 2880 public const int JavaStringCheckUtf8FieldNumber = 27;
2649 private bool javaStringCheckUtf8_; 2881 private bool javaStringCheckUtf8_;
2650 /// <summary> 2882 /// <summary>
2651 /// If set true, then the Java2 code generator will generate code that 2883 /// If set true, then the Java2 code generator will generate code that
2652 /// throws an exception whenever an attempt is made to assign a non-UTF-8 2884 /// throws an exception whenever an attempt is made to assign a non-UTF-8
2653 /// byte sequence to a string field. 2885 /// byte sequence to a string field.
2654 /// Message reflection will do the same. 2886 /// Message reflection will do the same.
2655 /// However, an extension field still accepts non-UTF-8 byte sequences. 2887 /// However, an extension field still accepts non-UTF-8 byte sequences.
2656 /// This option has no effect on when used with the lite runtime. 2888 /// This option has no effect on when used with the lite runtime.
2657 /// </summary> 2889 /// </summary>
2890 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2658 public bool JavaStringCheckUtf8 { 2891 public bool JavaStringCheckUtf8 {
2659 get { return javaStringCheckUtf8_; } 2892 get { return javaStringCheckUtf8_; }
2660 set { 2893 set {
2661 javaStringCheckUtf8_ = value; 2894 javaStringCheckUtf8_ = value;
2662 } 2895 }
2663 } 2896 }
2664 2897
2665 /// <summary>Field number for the "optimize_for" field.</summary> 2898 /// <summary>Field number for the "optimize_for" field.</summary>
2666 public const int OptimizeForFieldNumber = 9; 2899 public const int OptimizeForFieldNumber = 9;
2667 private global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode op timizeFor_ = 0; 2900 private global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode op timizeFor_ = 0;
2901 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2668 public global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode Opt imizeFor { 2902 public global::Google.Protobuf.Reflection.FileOptions.Types.OptimizeMode Opt imizeFor {
2669 get { return optimizeFor_; } 2903 get { return optimizeFor_; }
2670 set { 2904 set {
2671 optimizeFor_ = value; 2905 optimizeFor_ = value;
2672 } 2906 }
2673 } 2907 }
2674 2908
2675 /// <summary>Field number for the "go_package" field.</summary> 2909 /// <summary>Field number for the "go_package" field.</summary>
2676 public const int GoPackageFieldNumber = 11; 2910 public const int GoPackageFieldNumber = 11;
2677 private string goPackage_ = ""; 2911 private string goPackage_ = "";
2678 /// <summary> 2912 /// <summary>
2679 /// Sets the Go package where structs generated from this .proto will be 2913 /// Sets the Go package where structs generated from this .proto will be
2680 /// placed. If omitted, the Go package will be derived from the following: 2914 /// placed. If omitted, the Go package will be derived from the following:
2681 /// - The basename of the package import path, if provided. 2915 /// - The basename of the package import path, if provided.
2682 /// - Otherwise, the package statement in the .proto file, if present. 2916 /// - Otherwise, the package statement in the .proto file, if present.
2683 /// - Otherwise, the basename of the .proto file, without extension. 2917 /// - Otherwise, the basename of the .proto file, without extension.
2684 /// </summary> 2918 /// </summary>
2919 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2685 public string GoPackage { 2920 public string GoPackage {
2686 get { return goPackage_; } 2921 get { return goPackage_; }
2687 set { 2922 set {
2688 goPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 2923 goPackage_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2689 } 2924 }
2690 } 2925 }
2691 2926
2692 /// <summary>Field number for the "cc_generic_services" field.</summary> 2927 /// <summary>Field number for the "cc_generic_services" field.</summary>
2693 public const int CcGenericServicesFieldNumber = 16; 2928 public const int CcGenericServicesFieldNumber = 16;
2694 private bool ccGenericServices_; 2929 private bool ccGenericServices_;
2695 /// <summary> 2930 /// <summary>
2696 /// Should generic services be generated in each language? "Generic" servi ces 2931 /// Should generic services be generated in each language? "Generic" servi ces
2697 /// are not specific to any particular RPC system. They are generated by t he 2932 /// are not specific to any particular RPC system. They are generated by t he
2698 /// main code generators in each language (without additional plugins). 2933 /// main code generators in each language (without additional plugins).
2699 /// Generic services were the only kind of service generation supported by 2934 /// Generic services were the only kind of service generation supported by
2700 /// early versions of google.protobuf. 2935 /// early versions of google.protobuf.
2701 /// 2936 ///
2702 /// Generic services are now considered deprecated in favor of using plugin s 2937 /// Generic services are now considered deprecated in favor of using plugin s
2703 /// that generate code specific to your particular RPC system. Therefore, 2938 /// that generate code specific to your particular RPC system. Therefore,
2704 /// these default to false. Old code which depends on generic services sho uld 2939 /// these default to false. Old code which depends on generic services sho uld
2705 /// explicitly set them to true. 2940 /// explicitly set them to true.
2706 /// </summary> 2941 /// </summary>
2942 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2707 public bool CcGenericServices { 2943 public bool CcGenericServices {
2708 get { return ccGenericServices_; } 2944 get { return ccGenericServices_; }
2709 set { 2945 set {
2710 ccGenericServices_ = value; 2946 ccGenericServices_ = value;
2711 } 2947 }
2712 } 2948 }
2713 2949
2714 /// <summary>Field number for the "java_generic_services" field.</summary> 2950 /// <summary>Field number for the "java_generic_services" field.</summary>
2715 public const int JavaGenericServicesFieldNumber = 17; 2951 public const int JavaGenericServicesFieldNumber = 17;
2716 private bool javaGenericServices_; 2952 private bool javaGenericServices_;
2953 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2717 public bool JavaGenericServices { 2954 public bool JavaGenericServices {
2718 get { return javaGenericServices_; } 2955 get { return javaGenericServices_; }
2719 set { 2956 set {
2720 javaGenericServices_ = value; 2957 javaGenericServices_ = value;
2721 } 2958 }
2722 } 2959 }
2723 2960
2724 /// <summary>Field number for the "py_generic_services" field.</summary> 2961 /// <summary>Field number for the "py_generic_services" field.</summary>
2725 public const int PyGenericServicesFieldNumber = 18; 2962 public const int PyGenericServicesFieldNumber = 18;
2726 private bool pyGenericServices_; 2963 private bool pyGenericServices_;
2964 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2727 public bool PyGenericServices { 2965 public bool PyGenericServices {
2728 get { return pyGenericServices_; } 2966 get { return pyGenericServices_; }
2729 set { 2967 set {
2730 pyGenericServices_ = value; 2968 pyGenericServices_ = value;
2731 } 2969 }
2732 } 2970 }
2733 2971
2734 /// <summary>Field number for the "deprecated" field.</summary> 2972 /// <summary>Field number for the "deprecated" field.</summary>
2735 public const int DeprecatedFieldNumber = 23; 2973 public const int DeprecatedFieldNumber = 23;
2736 private bool deprecated_; 2974 private bool deprecated_;
2737 /// <summary> 2975 /// <summary>
2738 /// Is this file deprecated? 2976 /// Is this file deprecated?
2739 /// Depending on the target platform, this can emit Deprecated annotations 2977 /// Depending on the target platform, this can emit Deprecated annotations
2740 /// for everything in the file, or it will be completely ignored; in the ve ry 2978 /// for everything in the file, or it will be completely ignored; in the ve ry
2741 /// least, this is a formalization for deprecating files. 2979 /// least, this is a formalization for deprecating files.
2742 /// </summary> 2980 /// </summary>
2981 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2743 public bool Deprecated { 2982 public bool Deprecated {
2744 get { return deprecated_; } 2983 get { return deprecated_; }
2745 set { 2984 set {
2746 deprecated_ = value; 2985 deprecated_ = value;
2747 } 2986 }
2748 } 2987 }
2749 2988
2750 /// <summary>Field number for the "cc_enable_arenas" field.</summary> 2989 /// <summary>Field number for the "cc_enable_arenas" field.</summary>
2751 public const int CcEnableArenasFieldNumber = 31; 2990 public const int CcEnableArenasFieldNumber = 31;
2752 private bool ccEnableArenas_; 2991 private bool ccEnableArenas_;
2753 /// <summary> 2992 /// <summary>
2754 /// Enables the use of arenas for the proto messages in this file. This app lies 2993 /// Enables the use of arenas for the proto messages in this file. This app lies
2755 /// only to generated classes for C++. 2994 /// only to generated classes for C++.
2756 /// </summary> 2995 /// </summary>
2996 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2757 public bool CcEnableArenas { 2997 public bool CcEnableArenas {
2758 get { return ccEnableArenas_; } 2998 get { return ccEnableArenas_; }
2759 set { 2999 set {
2760 ccEnableArenas_ = value; 3000 ccEnableArenas_ = value;
2761 } 3001 }
2762 } 3002 }
2763 3003
2764 /// <summary>Field number for the "objc_class_prefix" field.</summary> 3004 /// <summary>Field number for the "objc_class_prefix" field.</summary>
2765 public const int ObjcClassPrefixFieldNumber = 36; 3005 public const int ObjcClassPrefixFieldNumber = 36;
2766 private string objcClassPrefix_ = ""; 3006 private string objcClassPrefix_ = "";
2767 /// <summary> 3007 /// <summary>
2768 /// Sets the objective c class prefix which is prepended to all objective c 3008 /// Sets the objective c class prefix which is prepended to all objective c
2769 /// generated classes from this .proto. There is no default. 3009 /// generated classes from this .proto. There is no default.
2770 /// </summary> 3010 /// </summary>
3011 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2771 public string ObjcClassPrefix { 3012 public string ObjcClassPrefix {
2772 get { return objcClassPrefix_; } 3013 get { return objcClassPrefix_; }
2773 set { 3014 set {
2774 objcClassPrefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 3015 objcClassPrefix_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2775 } 3016 }
2776 } 3017 }
2777 3018
2778 /// <summary>Field number for the "csharp_namespace" field.</summary> 3019 /// <summary>Field number for the "csharp_namespace" field.</summary>
2779 public const int CsharpNamespaceFieldNumber = 37; 3020 public const int CsharpNamespaceFieldNumber = 37;
2780 private string csharpNamespace_ = ""; 3021 private string csharpNamespace_ = "";
2781 /// <summary> 3022 /// <summary>
2782 /// Namespace for generated classes; defaults to the package. 3023 /// Namespace for generated classes; defaults to the package.
2783 /// </summary> 3024 /// </summary>
3025 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2784 public string CsharpNamespace { 3026 public string CsharpNamespace {
2785 get { return csharpNamespace_; } 3027 get { return csharpNamespace_; }
2786 set { 3028 set {
2787 csharpNamespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 3029 csharpNamespace_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
2788 } 3030 }
2789 } 3031 }
2790 3032
2791 /// <summary>Field number for the "uninterpreted_option" field.</summary> 3033 /// <summary>Field number for the "uninterpreted_option" field.</summary>
2792 public const int UninterpretedOptionFieldNumber = 999; 3034 public const int UninterpretedOptionFieldNumber = 999;
2793 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec 3035 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
2794 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser); 3036 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
2795 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>(); 3037 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
2796 /// <summary> 3038 /// <summary>
2797 /// The parser stores options it doesn't recognize here. See above. 3039 /// The parser stores options it doesn't recognize here. See above.
2798 /// </summary> 3040 /// </summary>
3041 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2799 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption { 3042 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
2800 get { return uninterpretedOption_; } 3043 get { return uninterpretedOption_; }
2801 } 3044 }
2802 3045
3046 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2803 public override bool Equals(object other) { 3047 public override bool Equals(object other) {
2804 return Equals(other as FileOptions); 3048 return Equals(other as FileOptions);
2805 } 3049 }
2806 3050
3051 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2807 public bool Equals(FileOptions other) { 3052 public bool Equals(FileOptions other) {
2808 if (ReferenceEquals(other, null)) { 3053 if (ReferenceEquals(other, null)) {
2809 return false; 3054 return false;
2810 } 3055 }
2811 if (ReferenceEquals(other, this)) { 3056 if (ReferenceEquals(other, this)) {
2812 return true; 3057 return true;
2813 } 3058 }
2814 if (JavaPackage != other.JavaPackage) return false; 3059 if (JavaPackage != other.JavaPackage) return false;
2815 if (JavaOuterClassname != other.JavaOuterClassname) return false; 3060 if (JavaOuterClassname != other.JavaOuterClassname) return false;
2816 if (JavaMultipleFiles != other.JavaMultipleFiles) return false; 3061 if (JavaMultipleFiles != other.JavaMultipleFiles) return false;
2817 if (JavaGenerateEqualsAndHash != other.JavaGenerateEqualsAndHash) return f alse; 3062 if (JavaGenerateEqualsAndHash != other.JavaGenerateEqualsAndHash) return f alse;
2818 if (JavaStringCheckUtf8 != other.JavaStringCheckUtf8) return false; 3063 if (JavaStringCheckUtf8 != other.JavaStringCheckUtf8) return false;
2819 if (OptimizeFor != other.OptimizeFor) return false; 3064 if (OptimizeFor != other.OptimizeFor) return false;
2820 if (GoPackage != other.GoPackage) return false; 3065 if (GoPackage != other.GoPackage) return false;
2821 if (CcGenericServices != other.CcGenericServices) return false; 3066 if (CcGenericServices != other.CcGenericServices) return false;
2822 if (JavaGenericServices != other.JavaGenericServices) return false; 3067 if (JavaGenericServices != other.JavaGenericServices) return false;
2823 if (PyGenericServices != other.PyGenericServices) return false; 3068 if (PyGenericServices != other.PyGenericServices) return false;
2824 if (Deprecated != other.Deprecated) return false; 3069 if (Deprecated != other.Deprecated) return false;
2825 if (CcEnableArenas != other.CcEnableArenas) return false; 3070 if (CcEnableArenas != other.CcEnableArenas) return false;
2826 if (ObjcClassPrefix != other.ObjcClassPrefix) return false; 3071 if (ObjcClassPrefix != other.ObjcClassPrefix) return false;
2827 if (CsharpNamespace != other.CsharpNamespace) return false; 3072 if (CsharpNamespace != other.CsharpNamespace) return false;
2828 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false; 3073 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
2829 return true; 3074 return true;
2830 } 3075 }
2831 3076
3077 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2832 public override int GetHashCode() { 3078 public override int GetHashCode() {
2833 int hash = 1; 3079 int hash = 1;
2834 if (JavaPackage.Length != 0) hash ^= JavaPackage.GetHashCode(); 3080 if (JavaPackage.Length != 0) hash ^= JavaPackage.GetHashCode();
2835 if (JavaOuterClassname.Length != 0) hash ^= JavaOuterClassname.GetHashCode (); 3081 if (JavaOuterClassname.Length != 0) hash ^= JavaOuterClassname.GetHashCode ();
2836 if (JavaMultipleFiles != false) hash ^= JavaMultipleFiles.GetHashCode(); 3082 if (JavaMultipleFiles != false) hash ^= JavaMultipleFiles.GetHashCode();
2837 if (JavaGenerateEqualsAndHash != false) hash ^= JavaGenerateEqualsAndHash. GetHashCode(); 3083 if (JavaGenerateEqualsAndHash != false) hash ^= JavaGenerateEqualsAndHash. GetHashCode();
2838 if (JavaStringCheckUtf8 != false) hash ^= JavaStringCheckUtf8.GetHashCode( ); 3084 if (JavaStringCheckUtf8 != false) hash ^= JavaStringCheckUtf8.GetHashCode( );
2839 if (OptimizeFor != 0) hash ^= OptimizeFor.GetHashCode(); 3085 if (OptimizeFor != 0) hash ^= OptimizeFor.GetHashCode();
2840 if (GoPackage.Length != 0) hash ^= GoPackage.GetHashCode(); 3086 if (GoPackage.Length != 0) hash ^= GoPackage.GetHashCode();
2841 if (CcGenericServices != false) hash ^= CcGenericServices.GetHashCode(); 3087 if (CcGenericServices != false) hash ^= CcGenericServices.GetHashCode();
2842 if (JavaGenericServices != false) hash ^= JavaGenericServices.GetHashCode( ); 3088 if (JavaGenericServices != false) hash ^= JavaGenericServices.GetHashCode( );
2843 if (PyGenericServices != false) hash ^= PyGenericServices.GetHashCode(); 3089 if (PyGenericServices != false) hash ^= PyGenericServices.GetHashCode();
2844 if (Deprecated != false) hash ^= Deprecated.GetHashCode(); 3090 if (Deprecated != false) hash ^= Deprecated.GetHashCode();
2845 if (CcEnableArenas != false) hash ^= CcEnableArenas.GetHashCode(); 3091 if (CcEnableArenas != false) hash ^= CcEnableArenas.GetHashCode();
2846 if (ObjcClassPrefix.Length != 0) hash ^= ObjcClassPrefix.GetHashCode(); 3092 if (ObjcClassPrefix.Length != 0) hash ^= ObjcClassPrefix.GetHashCode();
2847 if (CsharpNamespace.Length != 0) hash ^= CsharpNamespace.GetHashCode(); 3093 if (CsharpNamespace.Length != 0) hash ^= CsharpNamespace.GetHashCode();
2848 hash ^= uninterpretedOption_.GetHashCode(); 3094 hash ^= uninterpretedOption_.GetHashCode();
2849 return hash; 3095 return hash;
2850 } 3096 }
2851 3097
3098 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2852 public override string ToString() { 3099 public override string ToString() {
2853 return pb::JsonFormatter.ToDiagnosticString(this); 3100 return pb::JsonFormatter.ToDiagnosticString(this);
2854 } 3101 }
2855 3102
3103 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2856 public void WriteTo(pb::CodedOutputStream output) { 3104 public void WriteTo(pb::CodedOutputStream output) {
2857 if (JavaPackage.Length != 0) { 3105 if (JavaPackage.Length != 0) {
2858 output.WriteRawTag(10); 3106 output.WriteRawTag(10);
2859 output.WriteString(JavaPackage); 3107 output.WriteString(JavaPackage);
2860 } 3108 }
2861 if (JavaOuterClassname.Length != 0) { 3109 if (JavaOuterClassname.Length != 0) {
2862 output.WriteRawTag(66); 3110 output.WriteRawTag(66);
2863 output.WriteString(JavaOuterClassname); 3111 output.WriteString(JavaOuterClassname);
2864 } 3112 }
2865 if (OptimizeFor != 0) { 3113 if (OptimizeFor != 0) {
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
2906 output.WriteRawTag(162, 2); 3154 output.WriteRawTag(162, 2);
2907 output.WriteString(ObjcClassPrefix); 3155 output.WriteString(ObjcClassPrefix);
2908 } 3156 }
2909 if (CsharpNamespace.Length != 0) { 3157 if (CsharpNamespace.Length != 0) {
2910 output.WriteRawTag(170, 2); 3158 output.WriteRawTag(170, 2);
2911 output.WriteString(CsharpNamespace); 3159 output.WriteString(CsharpNamespace);
2912 } 3160 }
2913 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec); 3161 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
2914 } 3162 }
2915 3163
3164 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2916 public int CalculateSize() { 3165 public int CalculateSize() {
2917 int size = 0; 3166 int size = 0;
2918 if (JavaPackage.Length != 0) { 3167 if (JavaPackage.Length != 0) {
2919 size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaPackage); 3168 size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaPackage);
2920 } 3169 }
2921 if (JavaOuterClassname.Length != 0) { 3170 if (JavaOuterClassname.Length != 0) {
2922 size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaOuterClassname); 3171 size += 1 + pb::CodedOutputStream.ComputeStringSize(JavaOuterClassname);
2923 } 3172 }
2924 if (JavaMultipleFiles != false) { 3173 if (JavaMultipleFiles != false) {
2925 size += 1 + 1; 3174 size += 1 + 1;
(...skipping 28 matching lines...) Expand all
2954 if (ObjcClassPrefix.Length != 0) { 3203 if (ObjcClassPrefix.Length != 0) {
2955 size += 2 + pb::CodedOutputStream.ComputeStringSize(ObjcClassPrefix); 3204 size += 2 + pb::CodedOutputStream.ComputeStringSize(ObjcClassPrefix);
2956 } 3205 }
2957 if (CsharpNamespace.Length != 0) { 3206 if (CsharpNamespace.Length != 0) {
2958 size += 2 + pb::CodedOutputStream.ComputeStringSize(CsharpNamespace); 3207 size += 2 + pb::CodedOutputStream.ComputeStringSize(CsharpNamespace);
2959 } 3208 }
2960 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec); 3209 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
2961 return size; 3210 return size;
2962 } 3211 }
2963 3212
3213 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
2964 public void MergeFrom(FileOptions other) { 3214 public void MergeFrom(FileOptions other) {
2965 if (other == null) { 3215 if (other == null) {
2966 return; 3216 return;
2967 } 3217 }
2968 if (other.JavaPackage.Length != 0) { 3218 if (other.JavaPackage.Length != 0) {
2969 JavaPackage = other.JavaPackage; 3219 JavaPackage = other.JavaPackage;
2970 } 3220 }
2971 if (other.JavaOuterClassname.Length != 0) { 3221 if (other.JavaOuterClassname.Length != 0) {
2972 JavaOuterClassname = other.JavaOuterClassname; 3222 JavaOuterClassname = other.JavaOuterClassname;
2973 } 3223 }
(...skipping 29 matching lines...) Expand all
3003 } 3253 }
3004 if (other.ObjcClassPrefix.Length != 0) { 3254 if (other.ObjcClassPrefix.Length != 0) {
3005 ObjcClassPrefix = other.ObjcClassPrefix; 3255 ObjcClassPrefix = other.ObjcClassPrefix;
3006 } 3256 }
3007 if (other.CsharpNamespace.Length != 0) { 3257 if (other.CsharpNamespace.Length != 0) {
3008 CsharpNamespace = other.CsharpNamespace; 3258 CsharpNamespace = other.CsharpNamespace;
3009 } 3259 }
3010 uninterpretedOption_.Add(other.uninterpretedOption_); 3260 uninterpretedOption_.Add(other.uninterpretedOption_);
3011 } 3261 }
3012 3262
3263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3013 public void MergeFrom(pb::CodedInputStream input) { 3264 public void MergeFrom(pb::CodedInputStream input) {
3014 uint tag; 3265 uint tag;
3015 while ((tag = input.ReadTag()) != 0) { 3266 while ((tag = input.ReadTag()) != 0) {
3016 switch(tag) { 3267 switch(tag) {
3017 default: 3268 default:
3018 input.SkipLastField(); 3269 input.SkipLastField();
3019 break; 3270 break;
3020 case 10: { 3271 case 10: {
3021 JavaPackage = input.ReadString(); 3272 JavaPackage = input.ReadString();
3022 break; 3273 break;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
3076 case 7994: { 3327 case 7994: {
3077 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec); 3328 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
3078 break; 3329 break;
3079 } 3330 }
3080 } 3331 }
3081 } 3332 }
3082 } 3333 }
3083 3334
3084 #region Nested types 3335 #region Nested types
3085 /// <summary>Container for nested types declared in the FileOptions message type.</summary> 3336 /// <summary>Container for nested types declared in the FileOptions message type.</summary>
3086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3337 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3087 public static partial class Types { 3338 public static partial class Types {
3088 /// <summary> 3339 /// <summary>
3089 /// Generated classes can be optimized for speed or code size. 3340 /// Generated classes can be optimized for speed or code size.
3090 /// </summary> 3341 /// </summary>
3091 internal enum OptimizeMode { 3342 internal enum OptimizeMode {
3092 /// <summary> 3343 /// <summary>
3093 /// Generate complete code for parsing, serialization, 3344 /// Generate complete code for parsing, serialization,
3094 /// </summary> 3345 /// </summary>
3095 [pbr::OriginalName("SPEED")] Speed = 1, 3346 [pbr::OriginalName("SPEED")] Speed = 1,
3096 /// <summary> 3347 /// <summary>
3097 /// etc. 3348 /// etc.
3098 /// </summary> 3349 /// </summary>
3099 [pbr::OriginalName("CODE_SIZE")] CodeSize = 2, 3350 [pbr::OriginalName("CODE_SIZE")] CodeSize = 2,
3100 /// <summary> 3351 /// <summary>
3101 /// Generate code using MessageLite and the lite runtime. 3352 /// Generate code using MessageLite and the lite runtime.
3102 /// </summary> 3353 /// </summary>
3103 [pbr::OriginalName("LITE_RUNTIME")] LiteRuntime = 3, 3354 [pbr::OriginalName("LITE_RUNTIME")] LiteRuntime = 3,
3104 } 3355 }
3105 3356
3106 } 3357 }
3107 #endregion 3358 #endregion
3108 3359
3109 } 3360 }
3110 3361
3111 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3112 internal sealed partial class MessageOptions : pb::IMessage<MessageOptions> { 3362 internal sealed partial class MessageOptions : pb::IMessage<MessageOptions> {
3113 private static readonly pb::MessageParser<MessageOptions> _parser = new pb:: MessageParser<MessageOptions>(() => new MessageOptions()); 3363 private static readonly pb::MessageParser<MessageOptions> _parser = new pb:: MessageParser<MessageOptions>(() => new MessageOptions());
3364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3114 public static pb::MessageParser<MessageOptions> Parser { get { return _parse r; } } 3365 public static pb::MessageParser<MessageOptions> Parser { get { return _parse r; } }
3115 3366
3367 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3116 public static pbr::MessageDescriptor Descriptor { 3368 public static pbr::MessageDescriptor Descriptor {
3117 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[10]; } 3369 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[10]; }
3118 } 3370 }
3119 3371
3372 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3120 pbr::MessageDescriptor pb::IMessage.Descriptor { 3373 pbr::MessageDescriptor pb::IMessage.Descriptor {
3121 get { return Descriptor; } 3374 get { return Descriptor; }
3122 } 3375 }
3123 3376
3377 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3124 public MessageOptions() { 3378 public MessageOptions() {
3125 OnConstruction(); 3379 OnConstruction();
3126 } 3380 }
3127 3381
3128 partial void OnConstruction(); 3382 partial void OnConstruction();
3129 3383
3384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3130 public MessageOptions(MessageOptions other) : this() { 3385 public MessageOptions(MessageOptions other) : this() {
3131 messageSetWireFormat_ = other.messageSetWireFormat_; 3386 messageSetWireFormat_ = other.messageSetWireFormat_;
3132 noStandardDescriptorAccessor_ = other.noStandardDescriptorAccessor_; 3387 noStandardDescriptorAccessor_ = other.noStandardDescriptorAccessor_;
3133 deprecated_ = other.deprecated_; 3388 deprecated_ = other.deprecated_;
3134 mapEntry_ = other.mapEntry_; 3389 mapEntry_ = other.mapEntry_;
3135 uninterpretedOption_ = other.uninterpretedOption_.Clone(); 3390 uninterpretedOption_ = other.uninterpretedOption_.Clone();
3136 } 3391 }
3137 3392
3393 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3138 public MessageOptions Clone() { 3394 public MessageOptions Clone() {
3139 return new MessageOptions(this); 3395 return new MessageOptions(this);
3140 } 3396 }
3141 3397
3142 /// <summary>Field number for the "message_set_wire_format" field.</summary> 3398 /// <summary>Field number for the "message_set_wire_format" field.</summary>
3143 public const int MessageSetWireFormatFieldNumber = 1; 3399 public const int MessageSetWireFormatFieldNumber = 1;
3144 private bool messageSetWireFormat_; 3400 private bool messageSetWireFormat_;
3145 /// <summary> 3401 /// <summary>
3146 /// Set true to use the old proto1 MessageSet wire format for extensions. 3402 /// Set true to use the old proto1 MessageSet wire format for extensions.
3147 /// This is provided for backwards-compatibility with the MessageSet wire 3403 /// This is provided for backwards-compatibility with the MessageSet wire
3148 /// format. You should not use this for any other reason: It's less 3404 /// format. You should not use this for any other reason: It's less
3149 /// efficient, has fewer features, and is more complicated. 3405 /// efficient, has fewer features, and is more complicated.
3150 /// 3406 ///
3151 /// The message must be defined exactly as follows: 3407 /// The message must be defined exactly as follows:
3152 /// message Foo { 3408 /// message Foo {
3153 /// option message_set_wire_format = true; 3409 /// option message_set_wire_format = true;
3154 /// extensions 4 to max; 3410 /// extensions 4 to max;
3155 /// } 3411 /// }
3156 /// Note that the message cannot have any defined fields; MessageSets only 3412 /// Note that the message cannot have any defined fields; MessageSets only
3157 /// have extensions. 3413 /// have extensions.
3158 /// 3414 ///
3159 /// All extensions of your type must be singular messages; e.g. they cannot 3415 /// All extensions of your type must be singular messages; e.g. they cannot
3160 /// be int32s, enums, or repeated messages. 3416 /// be int32s, enums, or repeated messages.
3161 /// 3417 ///
3162 /// Because this is an option, the above two restrictions are not enforced by 3418 /// Because this is an option, the above two restrictions are not enforced by
3163 /// the protocol compiler. 3419 /// the protocol compiler.
3164 /// </summary> 3420 /// </summary>
3421 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3165 public bool MessageSetWireFormat { 3422 public bool MessageSetWireFormat {
3166 get { return messageSetWireFormat_; } 3423 get { return messageSetWireFormat_; }
3167 set { 3424 set {
3168 messageSetWireFormat_ = value; 3425 messageSetWireFormat_ = value;
3169 } 3426 }
3170 } 3427 }
3171 3428
3172 /// <summary>Field number for the "no_standard_descriptor_accessor" field.</ summary> 3429 /// <summary>Field number for the "no_standard_descriptor_accessor" field.</ summary>
3173 public const int NoStandardDescriptorAccessorFieldNumber = 2; 3430 public const int NoStandardDescriptorAccessorFieldNumber = 2;
3174 private bool noStandardDescriptorAccessor_; 3431 private bool noStandardDescriptorAccessor_;
3175 /// <summary> 3432 /// <summary>
3176 /// Disables the generation of the standard "descriptor()" accessor, which can 3433 /// Disables the generation of the standard "descriptor()" accessor, which can
3177 /// conflict with a field of the same name. This is meant to make migratio n 3434 /// conflict with a field of the same name. This is meant to make migratio n
3178 /// from proto1 easier; new code should avoid fields named "descriptor". 3435 /// from proto1 easier; new code should avoid fields named "descriptor".
3179 /// </summary> 3436 /// </summary>
3437 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3180 public bool NoStandardDescriptorAccessor { 3438 public bool NoStandardDescriptorAccessor {
3181 get { return noStandardDescriptorAccessor_; } 3439 get { return noStandardDescriptorAccessor_; }
3182 set { 3440 set {
3183 noStandardDescriptorAccessor_ = value; 3441 noStandardDescriptorAccessor_ = value;
3184 } 3442 }
3185 } 3443 }
3186 3444
3187 /// <summary>Field number for the "deprecated" field.</summary> 3445 /// <summary>Field number for the "deprecated" field.</summary>
3188 public const int DeprecatedFieldNumber = 3; 3446 public const int DeprecatedFieldNumber = 3;
3189 private bool deprecated_; 3447 private bool deprecated_;
3190 /// <summary> 3448 /// <summary>
3191 /// Is this message deprecated? 3449 /// Is this message deprecated?
3192 /// Depending on the target platform, this can emit Deprecated annotations 3450 /// Depending on the target platform, this can emit Deprecated annotations
3193 /// for the message, or it will be completely ignored; in the very least, 3451 /// for the message, or it will be completely ignored; in the very least,
3194 /// this is a formalization for deprecating messages. 3452 /// this is a formalization for deprecating messages.
3195 /// </summary> 3453 /// </summary>
3454 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3196 public bool Deprecated { 3455 public bool Deprecated {
3197 get { return deprecated_; } 3456 get { return deprecated_; }
3198 set { 3457 set {
3199 deprecated_ = value; 3458 deprecated_ = value;
3200 } 3459 }
3201 } 3460 }
3202 3461
3203 /// <summary>Field number for the "map_entry" field.</summary> 3462 /// <summary>Field number for the "map_entry" field.</summary>
3204 public const int MapEntryFieldNumber = 7; 3463 public const int MapEntryFieldNumber = 7;
3205 private bool mapEntry_; 3464 private bool mapEntry_;
(...skipping 13 matching lines...) Expand all
3219 /// 3478 ///
3220 /// Implementations may choose not to generate the map_entry=true message, but 3479 /// Implementations may choose not to generate the map_entry=true message, but
3221 /// use a native map in the target language to hold the keys and values. 3480 /// use a native map in the target language to hold the keys and values.
3222 /// The reflection APIs in such implementions still need to work as 3481 /// The reflection APIs in such implementions still need to work as
3223 /// if the field is a repeated message field. 3482 /// if the field is a repeated message field.
3224 /// 3483 ///
3225 /// NOTE: Do not set the option in .proto files. Always use the maps syntax 3484 /// NOTE: Do not set the option in .proto files. Always use the maps syntax
3226 /// instead. The option should only be implicitly set by the proto compiler 3485 /// instead. The option should only be implicitly set by the proto compiler
3227 /// parser. 3486 /// parser.
3228 /// </summary> 3487 /// </summary>
3488 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3229 public bool MapEntry { 3489 public bool MapEntry {
3230 get { return mapEntry_; } 3490 get { return mapEntry_; }
3231 set { 3491 set {
3232 mapEntry_ = value; 3492 mapEntry_ = value;
3233 } 3493 }
3234 } 3494 }
3235 3495
3236 /// <summary>Field number for the "uninterpreted_option" field.</summary> 3496 /// <summary>Field number for the "uninterpreted_option" field.</summary>
3237 public const int UninterpretedOptionFieldNumber = 999; 3497 public const int UninterpretedOptionFieldNumber = 999;
3238 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec 3498 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
3239 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser); 3499 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
3240 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>(); 3500 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
3241 /// <summary> 3501 /// <summary>
3242 /// The parser stores options it doesn't recognize here. See above. 3502 /// The parser stores options it doesn't recognize here. See above.
3243 /// </summary> 3503 /// </summary>
3504 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3244 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption { 3505 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
3245 get { return uninterpretedOption_; } 3506 get { return uninterpretedOption_; }
3246 } 3507 }
3247 3508
3509 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3248 public override bool Equals(object other) { 3510 public override bool Equals(object other) {
3249 return Equals(other as MessageOptions); 3511 return Equals(other as MessageOptions);
3250 } 3512 }
3251 3513
3514 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3252 public bool Equals(MessageOptions other) { 3515 public bool Equals(MessageOptions other) {
3253 if (ReferenceEquals(other, null)) { 3516 if (ReferenceEquals(other, null)) {
3254 return false; 3517 return false;
3255 } 3518 }
3256 if (ReferenceEquals(other, this)) { 3519 if (ReferenceEquals(other, this)) {
3257 return true; 3520 return true;
3258 } 3521 }
3259 if (MessageSetWireFormat != other.MessageSetWireFormat) return false; 3522 if (MessageSetWireFormat != other.MessageSetWireFormat) return false;
3260 if (NoStandardDescriptorAccessor != other.NoStandardDescriptorAccessor) re turn false; 3523 if (NoStandardDescriptorAccessor != other.NoStandardDescriptorAccessor) re turn false;
3261 if (Deprecated != other.Deprecated) return false; 3524 if (Deprecated != other.Deprecated) return false;
3262 if (MapEntry != other.MapEntry) return false; 3525 if (MapEntry != other.MapEntry) return false;
3263 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false; 3526 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
3264 return true; 3527 return true;
3265 } 3528 }
3266 3529
3530 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3267 public override int GetHashCode() { 3531 public override int GetHashCode() {
3268 int hash = 1; 3532 int hash = 1;
3269 if (MessageSetWireFormat != false) hash ^= MessageSetWireFormat.GetHashCod e(); 3533 if (MessageSetWireFormat != false) hash ^= MessageSetWireFormat.GetHashCod e();
3270 if (NoStandardDescriptorAccessor != false) hash ^= NoStandardDescriptorAcc essor.GetHashCode(); 3534 if (NoStandardDescriptorAccessor != false) hash ^= NoStandardDescriptorAcc essor.GetHashCode();
3271 if (Deprecated != false) hash ^= Deprecated.GetHashCode(); 3535 if (Deprecated != false) hash ^= Deprecated.GetHashCode();
3272 if (MapEntry != false) hash ^= MapEntry.GetHashCode(); 3536 if (MapEntry != false) hash ^= MapEntry.GetHashCode();
3273 hash ^= uninterpretedOption_.GetHashCode(); 3537 hash ^= uninterpretedOption_.GetHashCode();
3274 return hash; 3538 return hash;
3275 } 3539 }
3276 3540
3541 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3277 public override string ToString() { 3542 public override string ToString() {
3278 return pb::JsonFormatter.ToDiagnosticString(this); 3543 return pb::JsonFormatter.ToDiagnosticString(this);
3279 } 3544 }
3280 3545
3546 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3281 public void WriteTo(pb::CodedOutputStream output) { 3547 public void WriteTo(pb::CodedOutputStream output) {
3282 if (MessageSetWireFormat != false) { 3548 if (MessageSetWireFormat != false) {
3283 output.WriteRawTag(8); 3549 output.WriteRawTag(8);
3284 output.WriteBool(MessageSetWireFormat); 3550 output.WriteBool(MessageSetWireFormat);
3285 } 3551 }
3286 if (NoStandardDescriptorAccessor != false) { 3552 if (NoStandardDescriptorAccessor != false) {
3287 output.WriteRawTag(16); 3553 output.WriteRawTag(16);
3288 output.WriteBool(NoStandardDescriptorAccessor); 3554 output.WriteBool(NoStandardDescriptorAccessor);
3289 } 3555 }
3290 if (Deprecated != false) { 3556 if (Deprecated != false) {
3291 output.WriteRawTag(24); 3557 output.WriteRawTag(24);
3292 output.WriteBool(Deprecated); 3558 output.WriteBool(Deprecated);
3293 } 3559 }
3294 if (MapEntry != false) { 3560 if (MapEntry != false) {
3295 output.WriteRawTag(56); 3561 output.WriteRawTag(56);
3296 output.WriteBool(MapEntry); 3562 output.WriteBool(MapEntry);
3297 } 3563 }
3298 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec); 3564 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
3299 } 3565 }
3300 3566
3567 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3301 public int CalculateSize() { 3568 public int CalculateSize() {
3302 int size = 0; 3569 int size = 0;
3303 if (MessageSetWireFormat != false) { 3570 if (MessageSetWireFormat != false) {
3304 size += 1 + 1; 3571 size += 1 + 1;
3305 } 3572 }
3306 if (NoStandardDescriptorAccessor != false) { 3573 if (NoStandardDescriptorAccessor != false) {
3307 size += 1 + 1; 3574 size += 1 + 1;
3308 } 3575 }
3309 if (Deprecated != false) { 3576 if (Deprecated != false) {
3310 size += 1 + 1; 3577 size += 1 + 1;
3311 } 3578 }
3312 if (MapEntry != false) { 3579 if (MapEntry != false) {
3313 size += 1 + 1; 3580 size += 1 + 1;
3314 } 3581 }
3315 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec); 3582 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
3316 return size; 3583 return size;
3317 } 3584 }
3318 3585
3586 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3319 public void MergeFrom(MessageOptions other) { 3587 public void MergeFrom(MessageOptions other) {
3320 if (other == null) { 3588 if (other == null) {
3321 return; 3589 return;
3322 } 3590 }
3323 if (other.MessageSetWireFormat != false) { 3591 if (other.MessageSetWireFormat != false) {
3324 MessageSetWireFormat = other.MessageSetWireFormat; 3592 MessageSetWireFormat = other.MessageSetWireFormat;
3325 } 3593 }
3326 if (other.NoStandardDescriptorAccessor != false) { 3594 if (other.NoStandardDescriptorAccessor != false) {
3327 NoStandardDescriptorAccessor = other.NoStandardDescriptorAccessor; 3595 NoStandardDescriptorAccessor = other.NoStandardDescriptorAccessor;
3328 } 3596 }
3329 if (other.Deprecated != false) { 3597 if (other.Deprecated != false) {
3330 Deprecated = other.Deprecated; 3598 Deprecated = other.Deprecated;
3331 } 3599 }
3332 if (other.MapEntry != false) { 3600 if (other.MapEntry != false) {
3333 MapEntry = other.MapEntry; 3601 MapEntry = other.MapEntry;
3334 } 3602 }
3335 uninterpretedOption_.Add(other.uninterpretedOption_); 3603 uninterpretedOption_.Add(other.uninterpretedOption_);
3336 } 3604 }
3337 3605
3606 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3338 public void MergeFrom(pb::CodedInputStream input) { 3607 public void MergeFrom(pb::CodedInputStream input) {
3339 uint tag; 3608 uint tag;
3340 while ((tag = input.ReadTag()) != 0) { 3609 while ((tag = input.ReadTag()) != 0) {
3341 switch(tag) { 3610 switch(tag) {
3342 default: 3611 default:
3343 input.SkipLastField(); 3612 input.SkipLastField();
3344 break; 3613 break;
3345 case 8: { 3614 case 8: {
3346 MessageSetWireFormat = input.ReadBool(); 3615 MessageSetWireFormat = input.ReadBool();
3347 break; 3616 break;
(...skipping 13 matching lines...) Expand all
3361 case 7994: { 3630 case 7994: {
3362 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec); 3631 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
3363 break; 3632 break;
3364 } 3633 }
3365 } 3634 }
3366 } 3635 }
3367 } 3636 }
3368 3637
3369 } 3638 }
3370 3639
3371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3372 internal sealed partial class FieldOptions : pb::IMessage<FieldOptions> { 3640 internal sealed partial class FieldOptions : pb::IMessage<FieldOptions> {
3373 private static readonly pb::MessageParser<FieldOptions> _parser = new pb::Me ssageParser<FieldOptions>(() => new FieldOptions()); 3641 private static readonly pb::MessageParser<FieldOptions> _parser = new pb::Me ssageParser<FieldOptions>(() => new FieldOptions());
3642 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3374 public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } } 3643 public static pb::MessageParser<FieldOptions> Parser { get { return _parser; } }
3375 3644
3645 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3376 public static pbr::MessageDescriptor Descriptor { 3646 public static pbr::MessageDescriptor Descriptor {
3377 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[11]; } 3647 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[11]; }
3378 } 3648 }
3379 3649
3650 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3380 pbr::MessageDescriptor pb::IMessage.Descriptor { 3651 pbr::MessageDescriptor pb::IMessage.Descriptor {
3381 get { return Descriptor; } 3652 get { return Descriptor; }
3382 } 3653 }
3383 3654
3655 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3384 public FieldOptions() { 3656 public FieldOptions() {
3385 OnConstruction(); 3657 OnConstruction();
3386 } 3658 }
3387 3659
3388 partial void OnConstruction(); 3660 partial void OnConstruction();
3389 3661
3662 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3390 public FieldOptions(FieldOptions other) : this() { 3663 public FieldOptions(FieldOptions other) : this() {
3391 ctype_ = other.ctype_; 3664 ctype_ = other.ctype_;
3392 packed_ = other.packed_; 3665 packed_ = other.packed_;
3393 jstype_ = other.jstype_; 3666 jstype_ = other.jstype_;
3394 lazy_ = other.lazy_; 3667 lazy_ = other.lazy_;
3395 deprecated_ = other.deprecated_; 3668 deprecated_ = other.deprecated_;
3396 weak_ = other.weak_; 3669 weak_ = other.weak_;
3397 uninterpretedOption_ = other.uninterpretedOption_.Clone(); 3670 uninterpretedOption_ = other.uninterpretedOption_.Clone();
3398 } 3671 }
3399 3672
3673 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3400 public FieldOptions Clone() { 3674 public FieldOptions Clone() {
3401 return new FieldOptions(this); 3675 return new FieldOptions(this);
3402 } 3676 }
3403 3677
3404 /// <summary>Field number for the "ctype" field.</summary> 3678 /// <summary>Field number for the "ctype" field.</summary>
3405 public const int CtypeFieldNumber = 1; 3679 public const int CtypeFieldNumber = 1;
3406 private global::Google.Protobuf.Reflection.FieldOptions.Types.CType ctype_ = 0; 3680 private global::Google.Protobuf.Reflection.FieldOptions.Types.CType ctype_ = 0;
3407 /// <summary> 3681 /// <summary>
3408 /// The ctype option instructs the C++ code generator to use a different 3682 /// The ctype option instructs the C++ code generator to use a different
3409 /// representation of the field than it normally would. See the specific 3683 /// representation of the field than it normally would. See the specific
3410 /// options below. This option is not yet implemented in the open source 3684 /// options below. This option is not yet implemented in the open source
3411 /// release -- sorry, we'll try to include it in a future version! 3685 /// release -- sorry, we'll try to include it in a future version!
3412 /// </summary> 3686 /// </summary>
3687 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3413 public global::Google.Protobuf.Reflection.FieldOptions.Types.CType Ctype { 3688 public global::Google.Protobuf.Reflection.FieldOptions.Types.CType Ctype {
3414 get { return ctype_; } 3689 get { return ctype_; }
3415 set { 3690 set {
3416 ctype_ = value; 3691 ctype_ = value;
3417 } 3692 }
3418 } 3693 }
3419 3694
3420 /// <summary>Field number for the "packed" field.</summary> 3695 /// <summary>Field number for the "packed" field.</summary>
3421 public const int PackedFieldNumber = 2; 3696 public const int PackedFieldNumber = 2;
3422 private bool packed_; 3697 private bool packed_;
3423 /// <summary> 3698 /// <summary>
3424 /// The packed option can be enabled for repeated primitive fields to enabl e 3699 /// The packed option can be enabled for repeated primitive fields to enabl e
3425 /// a more efficient representation on the wire. Rather than repeatedly 3700 /// a more efficient representation on the wire. Rather than repeatedly
3426 /// writing the tag and type for each element, the entire array is encoded as 3701 /// writing the tag and type for each element, the entire array is encoded as
3427 /// a single length-delimited blob. In proto3, only explicit setting it to 3702 /// a single length-delimited blob. In proto3, only explicit setting it to
3428 /// false will avoid using packed encoding. 3703 /// false will avoid using packed encoding.
3429 /// </summary> 3704 /// </summary>
3705 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3430 public bool Packed { 3706 public bool Packed {
3431 get { return packed_; } 3707 get { return packed_; }
3432 set { 3708 set {
3433 packed_ = value; 3709 packed_ = value;
3434 } 3710 }
3435 } 3711 }
3436 3712
3437 /// <summary>Field number for the "jstype" field.</summary> 3713 /// <summary>Field number for the "jstype" field.</summary>
3438 public const int JstypeFieldNumber = 6; 3714 public const int JstypeFieldNumber = 6;
3439 private global::Google.Protobuf.Reflection.FieldOptions.Types.JSType jstype_ = 0; 3715 private global::Google.Protobuf.Reflection.FieldOptions.Types.JSType jstype_ = 0;
3440 /// <summary> 3716 /// <summary>
3441 /// The jstype option determines the JavaScript type used for values of the 3717 /// The jstype option determines the JavaScript type used for values of the
3442 /// field. The option is permitted only for 64 bit integral and fixed type s 3718 /// field. The option is permitted only for 64 bit integral and fixed type s
3443 /// (int64, uint64, sint64, fixed64, sfixed64). By default these types are 3719 /// (int64, uint64, sint64, fixed64, sfixed64). By default these types are
3444 /// represented as JavaScript strings. This avoids loss of precision that can 3720 /// represented as JavaScript strings. This avoids loss of precision that can
3445 /// happen when a large value is converted to a floating point JavaScript 3721 /// happen when a large value is converted to a floating point JavaScript
3446 /// numbers. Specifying JS_NUMBER for the jstype causes the generated 3722 /// numbers. Specifying JS_NUMBER for the jstype causes the generated
3447 /// JavaScript code to use the JavaScript "number" type instead of strings. 3723 /// JavaScript code to use the JavaScript "number" type instead of strings.
3448 /// This option is an enum to permit additional types to be added, 3724 /// This option is an enum to permit additional types to be added,
3449 /// e.g. goog.math.Integer. 3725 /// e.g. goog.math.Integer.
3450 /// </summary> 3726 /// </summary>
3727 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3451 public global::Google.Protobuf.Reflection.FieldOptions.Types.JSType Jstype { 3728 public global::Google.Protobuf.Reflection.FieldOptions.Types.JSType Jstype {
3452 get { return jstype_; } 3729 get { return jstype_; }
3453 set { 3730 set {
3454 jstype_ = value; 3731 jstype_ = value;
3455 } 3732 }
3456 } 3733 }
3457 3734
3458 /// <summary>Field number for the "lazy" field.</summary> 3735 /// <summary>Field number for the "lazy" field.</summary>
3459 public const int LazyFieldNumber = 5; 3736 public const int LazyFieldNumber = 5;
3460 private bool lazy_; 3737 private bool lazy_;
3461 /// <summary> 3738 /// <summary>
3462 /// Should this field be parsed lazily? Lazy applies only to message-type 3739 /// Should this field be parsed lazily? Lazy applies only to message-type
3463 /// fields. It means that when the outer message is initially parsed, the 3740 /// fields. It means that when the outer message is initially parsed, the
3464 /// inner message's contents will not be parsed but instead stored in encod ed 3741 /// inner message's contents will not be parsed but instead stored in encod ed
3465 /// form. The inner message will actually be parsed when it is first acces sed. 3742 /// form. The inner message will actually be parsed when it is first acces sed.
3466 /// 3743 ///
3467 /// This is only a hint. Implementations are free to choose whether to use 3744 /// This is only a hint. Implementations are free to choose whether to use
3468 /// eager or lazy parsing regardless of the value of this option. However, 3745 /// eager or lazy parsing regardless of the value of this option. However,
3469 /// setting this option true suggests that the protocol author believes tha t 3746 /// setting this option true suggests that the protocol author believes tha t
3470 /// using lazy parsing on this field is worth the additional bookkeeping 3747 /// using lazy parsing on this field is worth the additional bookkeeping
3471 /// overhead typically needed to implement it. 3748 /// overhead typically needed to implement it.
3472 /// 3749 ///
3473 /// This option does not affect the public interface of any generated code; 3750 /// This option does not affect the public interface of any generated code;
3474 /// all method signatures remain the same. Furthermore, thread-safety of t he 3751 /// all method signatures remain the same. Furthermore, thread-safety of t he
3475 /// interface is not affected by this option; const methods remain safe to 3752 /// interface is not affected by this option; const methods remain safe to
3476 /// call from multiple threads concurrently, while non-const methods contin ue 3753 /// call from multiple threads concurrently, while non-const methods contin ue
3477 /// to require exclusive access. 3754 /// to require exclusive access.
3478 /// 3755 ///
3479 /// Note that implementations may choose not to check required fields withi n 3756 /// Note that implementations may choose not to check required fields withi n
3480 /// a lazy sub-message. That is, calling IsInitialized() on the outher mes sage 3757 /// a lazy sub-message. That is, calling IsInitialized() on the outer mess age
3481 /// may return true even if the inner message has missing required fields. 3758 /// may return true even if the inner message has missing required fields.
3482 /// This is necessary because otherwise the inner message would have to be 3759 /// This is necessary because otherwise the inner message would have to be
3483 /// parsed in order to perform the check, defeating the purpose of lazy 3760 /// parsed in order to perform the check, defeating the purpose of lazy
3484 /// parsing. An implementation which chooses not to check required fields 3761 /// parsing. An implementation which chooses not to check required fields
3485 /// must be consistent about it. That is, for any particular sub-message, the 3762 /// must be consistent about it. That is, for any particular sub-message, the
3486 /// implementation must either *always* check its required fields, or *neve r* 3763 /// implementation must either *always* check its required fields, or *neve r*
3487 /// check its required fields, regardless of whether or not the message has 3764 /// check its required fields, regardless of whether or not the message has
3488 /// been parsed. 3765 /// been parsed.
3489 /// </summary> 3766 /// </summary>
3767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3490 public bool Lazy { 3768 public bool Lazy {
3491 get { return lazy_; } 3769 get { return lazy_; }
3492 set { 3770 set {
3493 lazy_ = value; 3771 lazy_ = value;
3494 } 3772 }
3495 } 3773 }
3496 3774
3497 /// <summary>Field number for the "deprecated" field.</summary> 3775 /// <summary>Field number for the "deprecated" field.</summary>
3498 public const int DeprecatedFieldNumber = 3; 3776 public const int DeprecatedFieldNumber = 3;
3499 private bool deprecated_; 3777 private bool deprecated_;
3500 /// <summary> 3778 /// <summary>
3501 /// Is this field deprecated? 3779 /// Is this field deprecated?
3502 /// Depending on the target platform, this can emit Deprecated annotations 3780 /// Depending on the target platform, this can emit Deprecated annotations
3503 /// for accessors, or it will be completely ignored; in the very least, thi s 3781 /// for accessors, or it will be completely ignored; in the very least, thi s
3504 /// is a formalization for deprecating fields. 3782 /// is a formalization for deprecating fields.
3505 /// </summary> 3783 /// </summary>
3784 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3506 public bool Deprecated { 3785 public bool Deprecated {
3507 get { return deprecated_; } 3786 get { return deprecated_; }
3508 set { 3787 set {
3509 deprecated_ = value; 3788 deprecated_ = value;
3510 } 3789 }
3511 } 3790 }
3512 3791
3513 /// <summary>Field number for the "weak" field.</summary> 3792 /// <summary>Field number for the "weak" field.</summary>
3514 public const int WeakFieldNumber = 10; 3793 public const int WeakFieldNumber = 10;
3515 private bool weak_; 3794 private bool weak_;
3516 /// <summary> 3795 /// <summary>
3517 /// For Google-internal migration only. Do not use. 3796 /// For Google-internal migration only. Do not use.
3518 /// </summary> 3797 /// </summary>
3798 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3519 public bool Weak { 3799 public bool Weak {
3520 get { return weak_; } 3800 get { return weak_; }
3521 set { 3801 set {
3522 weak_ = value; 3802 weak_ = value;
3523 } 3803 }
3524 } 3804 }
3525 3805
3526 /// <summary>Field number for the "uninterpreted_option" field.</summary> 3806 /// <summary>Field number for the "uninterpreted_option" field.</summary>
3527 public const int UninterpretedOptionFieldNumber = 999; 3807 public const int UninterpretedOptionFieldNumber = 999;
3528 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec 3808 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
3529 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser); 3809 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
3530 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>(); 3810 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
3531 /// <summary> 3811 /// <summary>
3532 /// The parser stores options it doesn't recognize here. See above. 3812 /// The parser stores options it doesn't recognize here. See above.
3533 /// </summary> 3813 /// </summary>
3814 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3534 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption { 3815 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
3535 get { return uninterpretedOption_; } 3816 get { return uninterpretedOption_; }
3536 } 3817 }
3537 3818
3819 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3538 public override bool Equals(object other) { 3820 public override bool Equals(object other) {
3539 return Equals(other as FieldOptions); 3821 return Equals(other as FieldOptions);
3540 } 3822 }
3541 3823
3824 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3542 public bool Equals(FieldOptions other) { 3825 public bool Equals(FieldOptions other) {
3543 if (ReferenceEquals(other, null)) { 3826 if (ReferenceEquals(other, null)) {
3544 return false; 3827 return false;
3545 } 3828 }
3546 if (ReferenceEquals(other, this)) { 3829 if (ReferenceEquals(other, this)) {
3547 return true; 3830 return true;
3548 } 3831 }
3549 if (Ctype != other.Ctype) return false; 3832 if (Ctype != other.Ctype) return false;
3550 if (Packed != other.Packed) return false; 3833 if (Packed != other.Packed) return false;
3551 if (Jstype != other.Jstype) return false; 3834 if (Jstype != other.Jstype) return false;
3552 if (Lazy != other.Lazy) return false; 3835 if (Lazy != other.Lazy) return false;
3553 if (Deprecated != other.Deprecated) return false; 3836 if (Deprecated != other.Deprecated) return false;
3554 if (Weak != other.Weak) return false; 3837 if (Weak != other.Weak) return false;
3555 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false; 3838 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
3556 return true; 3839 return true;
3557 } 3840 }
3558 3841
3842 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3559 public override int GetHashCode() { 3843 public override int GetHashCode() {
3560 int hash = 1; 3844 int hash = 1;
3561 if (Ctype != 0) hash ^= Ctype.GetHashCode(); 3845 if (Ctype != 0) hash ^= Ctype.GetHashCode();
3562 if (Packed != false) hash ^= Packed.GetHashCode(); 3846 if (Packed != false) hash ^= Packed.GetHashCode();
3563 if (Jstype != 0) hash ^= Jstype.GetHashCode(); 3847 if (Jstype != 0) hash ^= Jstype.GetHashCode();
3564 if (Lazy != false) hash ^= Lazy.GetHashCode(); 3848 if (Lazy != false) hash ^= Lazy.GetHashCode();
3565 if (Deprecated != false) hash ^= Deprecated.GetHashCode(); 3849 if (Deprecated != false) hash ^= Deprecated.GetHashCode();
3566 if (Weak != false) hash ^= Weak.GetHashCode(); 3850 if (Weak != false) hash ^= Weak.GetHashCode();
3567 hash ^= uninterpretedOption_.GetHashCode(); 3851 hash ^= uninterpretedOption_.GetHashCode();
3568 return hash; 3852 return hash;
3569 } 3853 }
3570 3854
3855 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3571 public override string ToString() { 3856 public override string ToString() {
3572 return pb::JsonFormatter.ToDiagnosticString(this); 3857 return pb::JsonFormatter.ToDiagnosticString(this);
3573 } 3858 }
3574 3859
3860 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3575 public void WriteTo(pb::CodedOutputStream output) { 3861 public void WriteTo(pb::CodedOutputStream output) {
3576 if (Ctype != 0) { 3862 if (Ctype != 0) {
3577 output.WriteRawTag(8); 3863 output.WriteRawTag(8);
3578 output.WriteEnum((int) Ctype); 3864 output.WriteEnum((int) Ctype);
3579 } 3865 }
3580 if (Packed != false) { 3866 if (Packed != false) {
3581 output.WriteRawTag(16); 3867 output.WriteRawTag(16);
3582 output.WriteBool(Packed); 3868 output.WriteBool(Packed);
3583 } 3869 }
3584 if (Deprecated != false) { 3870 if (Deprecated != false) {
3585 output.WriteRawTag(24); 3871 output.WriteRawTag(24);
3586 output.WriteBool(Deprecated); 3872 output.WriteBool(Deprecated);
3587 } 3873 }
3588 if (Lazy != false) { 3874 if (Lazy != false) {
3589 output.WriteRawTag(40); 3875 output.WriteRawTag(40);
3590 output.WriteBool(Lazy); 3876 output.WriteBool(Lazy);
3591 } 3877 }
3592 if (Jstype != 0) { 3878 if (Jstype != 0) {
3593 output.WriteRawTag(48); 3879 output.WriteRawTag(48);
3594 output.WriteEnum((int) Jstype); 3880 output.WriteEnum((int) Jstype);
3595 } 3881 }
3596 if (Weak != false) { 3882 if (Weak != false) {
3597 output.WriteRawTag(80); 3883 output.WriteRawTag(80);
3598 output.WriteBool(Weak); 3884 output.WriteBool(Weak);
3599 } 3885 }
3600 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec); 3886 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
3601 } 3887 }
3602 3888
3889 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3603 public int CalculateSize() { 3890 public int CalculateSize() {
3604 int size = 0; 3891 int size = 0;
3605 if (Ctype != 0) { 3892 if (Ctype != 0) {
3606 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype); 3893 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Ctype);
3607 } 3894 }
3608 if (Packed != false) { 3895 if (Packed != false) {
3609 size += 1 + 1; 3896 size += 1 + 1;
3610 } 3897 }
3611 if (Jstype != 0) { 3898 if (Jstype != 0) {
3612 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype); 3899 size += 1 + pb::CodedOutputStream.ComputeEnumSize((int) Jstype);
3613 } 3900 }
3614 if (Lazy != false) { 3901 if (Lazy != false) {
3615 size += 1 + 1; 3902 size += 1 + 1;
3616 } 3903 }
3617 if (Deprecated != false) { 3904 if (Deprecated != false) {
3618 size += 1 + 1; 3905 size += 1 + 1;
3619 } 3906 }
3620 if (Weak != false) { 3907 if (Weak != false) {
3621 size += 1 + 1; 3908 size += 1 + 1;
3622 } 3909 }
3623 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec); 3910 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
3624 return size; 3911 return size;
3625 } 3912 }
3626 3913
3914 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3627 public void MergeFrom(FieldOptions other) { 3915 public void MergeFrom(FieldOptions other) {
3628 if (other == null) { 3916 if (other == null) {
3629 return; 3917 return;
3630 } 3918 }
3631 if (other.Ctype != 0) { 3919 if (other.Ctype != 0) {
3632 Ctype = other.Ctype; 3920 Ctype = other.Ctype;
3633 } 3921 }
3634 if (other.Packed != false) { 3922 if (other.Packed != false) {
3635 Packed = other.Packed; 3923 Packed = other.Packed;
3636 } 3924 }
3637 if (other.Jstype != 0) { 3925 if (other.Jstype != 0) {
3638 Jstype = other.Jstype; 3926 Jstype = other.Jstype;
3639 } 3927 }
3640 if (other.Lazy != false) { 3928 if (other.Lazy != false) {
3641 Lazy = other.Lazy; 3929 Lazy = other.Lazy;
3642 } 3930 }
3643 if (other.Deprecated != false) { 3931 if (other.Deprecated != false) {
3644 Deprecated = other.Deprecated; 3932 Deprecated = other.Deprecated;
3645 } 3933 }
3646 if (other.Weak != false) { 3934 if (other.Weak != false) {
3647 Weak = other.Weak; 3935 Weak = other.Weak;
3648 } 3936 }
3649 uninterpretedOption_.Add(other.uninterpretedOption_); 3937 uninterpretedOption_.Add(other.uninterpretedOption_);
3650 } 3938 }
3651 3939
3940 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3652 public void MergeFrom(pb::CodedInputStream input) { 3941 public void MergeFrom(pb::CodedInputStream input) {
3653 uint tag; 3942 uint tag;
3654 while ((tag = input.ReadTag()) != 0) { 3943 while ((tag = input.ReadTag()) != 0) {
3655 switch(tag) { 3944 switch(tag) {
3656 default: 3945 default:
3657 input.SkipLastField(); 3946 input.SkipLastField();
3658 break; 3947 break;
3659 case 8: { 3948 case 8: {
3660 ctype_ = (global::Google.Protobuf.Reflection.FieldOptions.Types.CTyp e) input.ReadEnum(); 3949 ctype_ = (global::Google.Protobuf.Reflection.FieldOptions.Types.CTyp e) input.ReadEnum();
3661 break; 3950 break;
(...skipping 21 matching lines...) Expand all
3683 case 7994: { 3972 case 7994: {
3684 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec); 3973 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
3685 break; 3974 break;
3686 } 3975 }
3687 } 3976 }
3688 } 3977 }
3689 } 3978 }
3690 3979
3691 #region Nested types 3980 #region Nested types
3692 /// <summary>Container for nested types declared in the FieldOptions message type.</summary> 3981 /// <summary>Container for nested types declared in the FieldOptions message type.</summary>
3693 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 3982 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3694 public static partial class Types { 3983 public static partial class Types {
3695 internal enum CType { 3984 internal enum CType {
3696 /// <summary> 3985 /// <summary>
3697 /// Default mode. 3986 /// Default mode.
3698 /// </summary> 3987 /// </summary>
3699 [pbr::OriginalName("STRING")] String = 0, 3988 [pbr::OriginalName("STRING")] String = 0,
3700 [pbr::OriginalName("CORD")] Cord = 1, 3989 [pbr::OriginalName("CORD")] Cord = 1,
3701 [pbr::OriginalName("STRING_PIECE")] StringPiece = 2, 3990 [pbr::OriginalName("STRING_PIECE")] StringPiece = 2,
3702 } 3991 }
3703 3992
(...skipping 10 matching lines...) Expand all
3714 /// Use JavaScript numbers. 4003 /// Use JavaScript numbers.
3715 /// </summary> 4004 /// </summary>
3716 [pbr::OriginalName("JS_NUMBER")] JsNumber = 2, 4005 [pbr::OriginalName("JS_NUMBER")] JsNumber = 2,
3717 } 4006 }
3718 4007
3719 } 4008 }
3720 #endregion 4009 #endregion
3721 4010
3722 } 4011 }
3723 4012
3724 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 4013 internal sealed partial class OneofOptions : pb::IMessage<OneofOptions> {
3725 internal sealed partial class EnumOptions : pb::IMessage<EnumOptions> { 4014 private static readonly pb::MessageParser<OneofOptions> _parser = new pb::Me ssageParser<OneofOptions>(() => new OneofOptions());
3726 private static readonly pb::MessageParser<EnumOptions> _parser = new pb::Mes sageParser<EnumOptions>(() => new EnumOptions()); 4015 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3727 public static pb::MessageParser<EnumOptions> Parser { get { return _parser; } } 4016 public static pb::MessageParser<OneofOptions> Parser { get { return _parser; } }
3728 4017
4018 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3729 public static pbr::MessageDescriptor Descriptor { 4019 public static pbr::MessageDescriptor Descriptor {
3730 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[12]; } 4020 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[12]; }
3731 } 4021 }
3732 4022
4023 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3733 pbr::MessageDescriptor pb::IMessage.Descriptor { 4024 pbr::MessageDescriptor pb::IMessage.Descriptor {
3734 get { return Descriptor; } 4025 get { return Descriptor; }
3735 } 4026 }
3736 4027
4028 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4029 public OneofOptions() {
4030 OnConstruction();
4031 }
4032
4033 partial void OnConstruction();
4034
4035 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4036 public OneofOptions(OneofOptions other) : this() {
4037 uninterpretedOption_ = other.uninterpretedOption_.Clone();
4038 }
4039
4040 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4041 public OneofOptions Clone() {
4042 return new OneofOptions(this);
4043 }
4044
4045 /// <summary>Field number for the "uninterpreted_option" field.</summary>
4046 public const int UninterpretedOptionFieldNumber = 999;
4047 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
4048 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
4049 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
4050 /// <summary>
4051 /// The parser stores options it doesn't recognize here. See above.
4052 /// </summary>
4053 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4054 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
4055 get { return uninterpretedOption_; }
4056 }
4057
4058 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4059 public override bool Equals(object other) {
4060 return Equals(other as OneofOptions);
4061 }
4062
4063 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4064 public bool Equals(OneofOptions other) {
4065 if (ReferenceEquals(other, null)) {
4066 return false;
4067 }
4068 if (ReferenceEquals(other, this)) {
4069 return true;
4070 }
4071 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
4072 return true;
4073 }
4074
4075 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4076 public override int GetHashCode() {
4077 int hash = 1;
4078 hash ^= uninterpretedOption_.GetHashCode();
4079 return hash;
4080 }
4081
4082 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4083 public override string ToString() {
4084 return pb::JsonFormatter.ToDiagnosticString(this);
4085 }
4086
4087 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4088 public void WriteTo(pb::CodedOutputStream output) {
4089 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
4090 }
4091
4092 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4093 public int CalculateSize() {
4094 int size = 0;
4095 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
4096 return size;
4097 }
4098
4099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4100 public void MergeFrom(OneofOptions other) {
4101 if (other == null) {
4102 return;
4103 }
4104 uninterpretedOption_.Add(other.uninterpretedOption_);
4105 }
4106
4107 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4108 public void MergeFrom(pb::CodedInputStream input) {
4109 uint tag;
4110 while ((tag = input.ReadTag()) != 0) {
4111 switch(tag) {
4112 default:
4113 input.SkipLastField();
4114 break;
4115 case 7994: {
4116 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
4117 break;
4118 }
4119 }
4120 }
4121 }
4122
4123 }
4124
4125 internal sealed partial class EnumOptions : pb::IMessage<EnumOptions> {
4126 private static readonly pb::MessageParser<EnumOptions> _parser = new pb::Mes sageParser<EnumOptions>(() => new EnumOptions());
4127 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4128 public static pb::MessageParser<EnumOptions> Parser { get { return _parser; } }
4129
4130 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4131 public static pbr::MessageDescriptor Descriptor {
4132 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[13]; }
4133 }
4134
4135 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4136 pbr::MessageDescriptor pb::IMessage.Descriptor {
4137 get { return Descriptor; }
4138 }
4139
4140 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3737 public EnumOptions() { 4141 public EnumOptions() {
3738 OnConstruction(); 4142 OnConstruction();
3739 } 4143 }
3740 4144
3741 partial void OnConstruction(); 4145 partial void OnConstruction();
3742 4146
4147 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3743 public EnumOptions(EnumOptions other) : this() { 4148 public EnumOptions(EnumOptions other) : this() {
3744 allowAlias_ = other.allowAlias_; 4149 allowAlias_ = other.allowAlias_;
3745 deprecated_ = other.deprecated_; 4150 deprecated_ = other.deprecated_;
3746 uninterpretedOption_ = other.uninterpretedOption_.Clone(); 4151 uninterpretedOption_ = other.uninterpretedOption_.Clone();
3747 } 4152 }
3748 4153
4154 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3749 public EnumOptions Clone() { 4155 public EnumOptions Clone() {
3750 return new EnumOptions(this); 4156 return new EnumOptions(this);
3751 } 4157 }
3752 4158
3753 /// <summary>Field number for the "allow_alias" field.</summary> 4159 /// <summary>Field number for the "allow_alias" field.</summary>
3754 public const int AllowAliasFieldNumber = 2; 4160 public const int AllowAliasFieldNumber = 2;
3755 private bool allowAlias_; 4161 private bool allowAlias_;
3756 /// <summary> 4162 /// <summary>
3757 /// Set this option to true to allow mapping different tag names to the sam e 4163 /// Set this option to true to allow mapping different tag names to the sam e
3758 /// value. 4164 /// value.
3759 /// </summary> 4165 /// </summary>
4166 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3760 public bool AllowAlias { 4167 public bool AllowAlias {
3761 get { return allowAlias_; } 4168 get { return allowAlias_; }
3762 set { 4169 set {
3763 allowAlias_ = value; 4170 allowAlias_ = value;
3764 } 4171 }
3765 } 4172 }
3766 4173
3767 /// <summary>Field number for the "deprecated" field.</summary> 4174 /// <summary>Field number for the "deprecated" field.</summary>
3768 public const int DeprecatedFieldNumber = 3; 4175 public const int DeprecatedFieldNumber = 3;
3769 private bool deprecated_; 4176 private bool deprecated_;
3770 /// <summary> 4177 /// <summary>
3771 /// Is this enum deprecated? 4178 /// Is this enum deprecated?
3772 /// Depending on the target platform, this can emit Deprecated annotations 4179 /// Depending on the target platform, this can emit Deprecated annotations
3773 /// for the enum, or it will be completely ignored; in the very least, this 4180 /// for the enum, or it will be completely ignored; in the very least, this
3774 /// is a formalization for deprecating enums. 4181 /// is a formalization for deprecating enums.
3775 /// </summary> 4182 /// </summary>
4183 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3776 public bool Deprecated { 4184 public bool Deprecated {
3777 get { return deprecated_; } 4185 get { return deprecated_; }
3778 set { 4186 set {
3779 deprecated_ = value; 4187 deprecated_ = value;
3780 } 4188 }
3781 } 4189 }
3782 4190
3783 /// <summary>Field number for the "uninterpreted_option" field.</summary> 4191 /// <summary>Field number for the "uninterpreted_option" field.</summary>
3784 public const int UninterpretedOptionFieldNumber = 999; 4192 public const int UninterpretedOptionFieldNumber = 999;
3785 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec 4193 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
3786 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser); 4194 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
3787 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>(); 4195 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
3788 /// <summary> 4196 /// <summary>
3789 /// The parser stores options it doesn't recognize here. See above. 4197 /// The parser stores options it doesn't recognize here. See above.
3790 /// </summary> 4198 /// </summary>
4199 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3791 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption { 4200 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
3792 get { return uninterpretedOption_; } 4201 get { return uninterpretedOption_; }
3793 } 4202 }
3794 4203
4204 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3795 public override bool Equals(object other) { 4205 public override bool Equals(object other) {
3796 return Equals(other as EnumOptions); 4206 return Equals(other as EnumOptions);
3797 } 4207 }
3798 4208
4209 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3799 public bool Equals(EnumOptions other) { 4210 public bool Equals(EnumOptions other) {
3800 if (ReferenceEquals(other, null)) { 4211 if (ReferenceEquals(other, null)) {
3801 return false; 4212 return false;
3802 } 4213 }
3803 if (ReferenceEquals(other, this)) { 4214 if (ReferenceEquals(other, this)) {
3804 return true; 4215 return true;
3805 } 4216 }
3806 if (AllowAlias != other.AllowAlias) return false; 4217 if (AllowAlias != other.AllowAlias) return false;
3807 if (Deprecated != other.Deprecated) return false; 4218 if (Deprecated != other.Deprecated) return false;
3808 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false; 4219 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
3809 return true; 4220 return true;
3810 } 4221 }
3811 4222
4223 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3812 public override int GetHashCode() { 4224 public override int GetHashCode() {
3813 int hash = 1; 4225 int hash = 1;
3814 if (AllowAlias != false) hash ^= AllowAlias.GetHashCode(); 4226 if (AllowAlias != false) hash ^= AllowAlias.GetHashCode();
3815 if (Deprecated != false) hash ^= Deprecated.GetHashCode(); 4227 if (Deprecated != false) hash ^= Deprecated.GetHashCode();
3816 hash ^= uninterpretedOption_.GetHashCode(); 4228 hash ^= uninterpretedOption_.GetHashCode();
3817 return hash; 4229 return hash;
3818 } 4230 }
3819 4231
4232 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3820 public override string ToString() { 4233 public override string ToString() {
3821 return pb::JsonFormatter.ToDiagnosticString(this); 4234 return pb::JsonFormatter.ToDiagnosticString(this);
3822 } 4235 }
3823 4236
4237 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3824 public void WriteTo(pb::CodedOutputStream output) { 4238 public void WriteTo(pb::CodedOutputStream output) {
3825 if (AllowAlias != false) { 4239 if (AllowAlias != false) {
3826 output.WriteRawTag(16); 4240 output.WriteRawTag(16);
3827 output.WriteBool(AllowAlias); 4241 output.WriteBool(AllowAlias);
3828 } 4242 }
3829 if (Deprecated != false) { 4243 if (Deprecated != false) {
3830 output.WriteRawTag(24); 4244 output.WriteRawTag(24);
3831 output.WriteBool(Deprecated); 4245 output.WriteBool(Deprecated);
3832 } 4246 }
3833 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec); 4247 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
3834 } 4248 }
3835 4249
4250 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3836 public int CalculateSize() { 4251 public int CalculateSize() {
3837 int size = 0; 4252 int size = 0;
3838 if (AllowAlias != false) { 4253 if (AllowAlias != false) {
3839 size += 1 + 1; 4254 size += 1 + 1;
3840 } 4255 }
3841 if (Deprecated != false) { 4256 if (Deprecated != false) {
3842 size += 1 + 1; 4257 size += 1 + 1;
3843 } 4258 }
3844 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec); 4259 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
3845 return size; 4260 return size;
3846 } 4261 }
3847 4262
4263 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3848 public void MergeFrom(EnumOptions other) { 4264 public void MergeFrom(EnumOptions other) {
3849 if (other == null) { 4265 if (other == null) {
3850 return; 4266 return;
3851 } 4267 }
3852 if (other.AllowAlias != false) { 4268 if (other.AllowAlias != false) {
3853 AllowAlias = other.AllowAlias; 4269 AllowAlias = other.AllowAlias;
3854 } 4270 }
3855 if (other.Deprecated != false) { 4271 if (other.Deprecated != false) {
3856 Deprecated = other.Deprecated; 4272 Deprecated = other.Deprecated;
3857 } 4273 }
3858 uninterpretedOption_.Add(other.uninterpretedOption_); 4274 uninterpretedOption_.Add(other.uninterpretedOption_);
3859 } 4275 }
3860 4276
4277 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3861 public void MergeFrom(pb::CodedInputStream input) { 4278 public void MergeFrom(pb::CodedInputStream input) {
3862 uint tag; 4279 uint tag;
3863 while ((tag = input.ReadTag()) != 0) { 4280 while ((tag = input.ReadTag()) != 0) {
3864 switch(tag) { 4281 switch(tag) {
3865 default: 4282 default:
3866 input.SkipLastField(); 4283 input.SkipLastField();
3867 break; 4284 break;
3868 case 16: { 4285 case 16: {
3869 AllowAlias = input.ReadBool(); 4286 AllowAlias = input.ReadBool();
3870 break; 4287 break;
3871 } 4288 }
3872 case 24: { 4289 case 24: {
3873 Deprecated = input.ReadBool(); 4290 Deprecated = input.ReadBool();
3874 break; 4291 break;
3875 } 4292 }
3876 case 7994: { 4293 case 7994: {
3877 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec); 4294 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
3878 break; 4295 break;
3879 } 4296 }
3880 } 4297 }
3881 } 4298 }
3882 } 4299 }
3883 4300
3884 } 4301 }
3885 4302
3886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
3887 internal sealed partial class EnumValueOptions : pb::IMessage<EnumValueOptions > { 4303 internal sealed partial class EnumValueOptions : pb::IMessage<EnumValueOptions > {
3888 private static readonly pb::MessageParser<EnumValueOptions> _parser = new pb ::MessageParser<EnumValueOptions>(() => new EnumValueOptions()); 4304 private static readonly pb::MessageParser<EnumValueOptions> _parser = new pb ::MessageParser<EnumValueOptions>(() => new EnumValueOptions());
4305 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3889 public static pb::MessageParser<EnumValueOptions> Parser { get { return _par ser; } } 4306 public static pb::MessageParser<EnumValueOptions> Parser { get { return _par ser; } }
3890 4307
4308 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3891 public static pbr::MessageDescriptor Descriptor { 4309 public static pbr::MessageDescriptor Descriptor {
3892 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[13]; } 4310 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[14]; }
3893 } 4311 }
3894 4312
4313 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3895 pbr::MessageDescriptor pb::IMessage.Descriptor { 4314 pbr::MessageDescriptor pb::IMessage.Descriptor {
3896 get { return Descriptor; } 4315 get { return Descriptor; }
3897 } 4316 }
3898 4317
4318 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3899 public EnumValueOptions() { 4319 public EnumValueOptions() {
3900 OnConstruction(); 4320 OnConstruction();
3901 } 4321 }
3902 4322
3903 partial void OnConstruction(); 4323 partial void OnConstruction();
3904 4324
4325 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3905 public EnumValueOptions(EnumValueOptions other) : this() { 4326 public EnumValueOptions(EnumValueOptions other) : this() {
3906 deprecated_ = other.deprecated_; 4327 deprecated_ = other.deprecated_;
3907 uninterpretedOption_ = other.uninterpretedOption_.Clone(); 4328 uninterpretedOption_ = other.uninterpretedOption_.Clone();
3908 } 4329 }
3909 4330
4331 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3910 public EnumValueOptions Clone() { 4332 public EnumValueOptions Clone() {
3911 return new EnumValueOptions(this); 4333 return new EnumValueOptions(this);
3912 } 4334 }
3913 4335
3914 /// <summary>Field number for the "deprecated" field.</summary> 4336 /// <summary>Field number for the "deprecated" field.</summary>
3915 public const int DeprecatedFieldNumber = 1; 4337 public const int DeprecatedFieldNumber = 1;
3916 private bool deprecated_; 4338 private bool deprecated_;
3917 /// <summary> 4339 /// <summary>
3918 /// Is this enum value deprecated? 4340 /// Is this enum value deprecated?
3919 /// Depending on the target platform, this can emit Deprecated annotations 4341 /// Depending on the target platform, this can emit Deprecated annotations
3920 /// for the enum value, or it will be completely ignored; in the very least , 4342 /// for the enum value, or it will be completely ignored; in the very least ,
3921 /// this is a formalization for deprecating enum values. 4343 /// this is a formalization for deprecating enum values.
3922 /// </summary> 4344 /// </summary>
4345 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3923 public bool Deprecated { 4346 public bool Deprecated {
3924 get { return deprecated_; } 4347 get { return deprecated_; }
3925 set { 4348 set {
3926 deprecated_ = value; 4349 deprecated_ = value;
3927 } 4350 }
3928 } 4351 }
3929 4352
3930 /// <summary>Field number for the "uninterpreted_option" field.</summary> 4353 /// <summary>Field number for the "uninterpreted_option" field.</summary>
3931 public const int UninterpretedOptionFieldNumber = 999; 4354 public const int UninterpretedOptionFieldNumber = 999;
3932 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec 4355 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
3933 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser); 4356 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
3934 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>(); 4357 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
3935 /// <summary> 4358 /// <summary>
3936 /// The parser stores options it doesn't recognize here. See above. 4359 /// The parser stores options it doesn't recognize here. See above.
3937 /// </summary> 4360 /// </summary>
4361 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3938 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption { 4362 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
3939 get { return uninterpretedOption_; } 4363 get { return uninterpretedOption_; }
3940 } 4364 }
3941 4365
4366 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3942 public override bool Equals(object other) { 4367 public override bool Equals(object other) {
3943 return Equals(other as EnumValueOptions); 4368 return Equals(other as EnumValueOptions);
3944 } 4369 }
3945 4370
4371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3946 public bool Equals(EnumValueOptions other) { 4372 public bool Equals(EnumValueOptions other) {
3947 if (ReferenceEquals(other, null)) { 4373 if (ReferenceEquals(other, null)) {
3948 return false; 4374 return false;
3949 } 4375 }
3950 if (ReferenceEquals(other, this)) { 4376 if (ReferenceEquals(other, this)) {
3951 return true; 4377 return true;
3952 } 4378 }
3953 if (Deprecated != other.Deprecated) return false; 4379 if (Deprecated != other.Deprecated) return false;
3954 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false; 4380 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
3955 return true; 4381 return true;
3956 } 4382 }
3957 4383
4384 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3958 public override int GetHashCode() { 4385 public override int GetHashCode() {
3959 int hash = 1; 4386 int hash = 1;
3960 if (Deprecated != false) hash ^= Deprecated.GetHashCode(); 4387 if (Deprecated != false) hash ^= Deprecated.GetHashCode();
3961 hash ^= uninterpretedOption_.GetHashCode(); 4388 hash ^= uninterpretedOption_.GetHashCode();
3962 return hash; 4389 return hash;
3963 } 4390 }
3964 4391
4392 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3965 public override string ToString() { 4393 public override string ToString() {
3966 return pb::JsonFormatter.ToDiagnosticString(this); 4394 return pb::JsonFormatter.ToDiagnosticString(this);
3967 } 4395 }
3968 4396
4397 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3969 public void WriteTo(pb::CodedOutputStream output) { 4398 public void WriteTo(pb::CodedOutputStream output) {
3970 if (Deprecated != false) { 4399 if (Deprecated != false) {
3971 output.WriteRawTag(8); 4400 output.WriteRawTag(8);
3972 output.WriteBool(Deprecated); 4401 output.WriteBool(Deprecated);
3973 } 4402 }
3974 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec); 4403 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
3975 } 4404 }
3976 4405
4406 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3977 public int CalculateSize() { 4407 public int CalculateSize() {
3978 int size = 0; 4408 int size = 0;
3979 if (Deprecated != false) { 4409 if (Deprecated != false) {
3980 size += 1 + 1; 4410 size += 1 + 1;
3981 } 4411 }
3982 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec); 4412 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
3983 return size; 4413 return size;
3984 } 4414 }
3985 4415
4416 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3986 public void MergeFrom(EnumValueOptions other) { 4417 public void MergeFrom(EnumValueOptions other) {
3987 if (other == null) { 4418 if (other == null) {
3988 return; 4419 return;
3989 } 4420 }
3990 if (other.Deprecated != false) { 4421 if (other.Deprecated != false) {
3991 Deprecated = other.Deprecated; 4422 Deprecated = other.Deprecated;
3992 } 4423 }
3993 uninterpretedOption_.Add(other.uninterpretedOption_); 4424 uninterpretedOption_.Add(other.uninterpretedOption_);
3994 } 4425 }
3995 4426
4427 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
3996 public void MergeFrom(pb::CodedInputStream input) { 4428 public void MergeFrom(pb::CodedInputStream input) {
3997 uint tag; 4429 uint tag;
3998 while ((tag = input.ReadTag()) != 0) { 4430 while ((tag = input.ReadTag()) != 0) {
3999 switch(tag) { 4431 switch(tag) {
4000 default: 4432 default:
4001 input.SkipLastField(); 4433 input.SkipLastField();
4002 break; 4434 break;
4003 case 8: { 4435 case 8: {
4004 Deprecated = input.ReadBool(); 4436 Deprecated = input.ReadBool();
4005 break; 4437 break;
4006 } 4438 }
4007 case 7994: { 4439 case 7994: {
4008 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec); 4440 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
4009 break; 4441 break;
4010 } 4442 }
4011 } 4443 }
4012 } 4444 }
4013 } 4445 }
4014 4446
4015 } 4447 }
4016 4448
4017 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4018 internal sealed partial class ServiceOptions : pb::IMessage<ServiceOptions> { 4449 internal sealed partial class ServiceOptions : pb::IMessage<ServiceOptions> {
4019 private static readonly pb::MessageParser<ServiceOptions> _parser = new pb:: MessageParser<ServiceOptions>(() => new ServiceOptions()); 4450 private static readonly pb::MessageParser<ServiceOptions> _parser = new pb:: MessageParser<ServiceOptions>(() => new ServiceOptions());
4451 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4020 public static pb::MessageParser<ServiceOptions> Parser { get { return _parse r; } } 4452 public static pb::MessageParser<ServiceOptions> Parser { get { return _parse r; } }
4021 4453
4454 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4022 public static pbr::MessageDescriptor Descriptor { 4455 public static pbr::MessageDescriptor Descriptor {
4023 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[14]; } 4456 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[15]; }
4024 } 4457 }
4025 4458
4459 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4026 pbr::MessageDescriptor pb::IMessage.Descriptor { 4460 pbr::MessageDescriptor pb::IMessage.Descriptor {
4027 get { return Descriptor; } 4461 get { return Descriptor; }
4028 } 4462 }
4029 4463
4464 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4030 public ServiceOptions() { 4465 public ServiceOptions() {
4031 OnConstruction(); 4466 OnConstruction();
4032 } 4467 }
4033 4468
4034 partial void OnConstruction(); 4469 partial void OnConstruction();
4035 4470
4471 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4036 public ServiceOptions(ServiceOptions other) : this() { 4472 public ServiceOptions(ServiceOptions other) : this() {
4037 deprecated_ = other.deprecated_; 4473 deprecated_ = other.deprecated_;
4038 uninterpretedOption_ = other.uninterpretedOption_.Clone(); 4474 uninterpretedOption_ = other.uninterpretedOption_.Clone();
4039 } 4475 }
4040 4476
4477 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4041 public ServiceOptions Clone() { 4478 public ServiceOptions Clone() {
4042 return new ServiceOptions(this); 4479 return new ServiceOptions(this);
4043 } 4480 }
4044 4481
4045 /// <summary>Field number for the "deprecated" field.</summary> 4482 /// <summary>Field number for the "deprecated" field.</summary>
4046 public const int DeprecatedFieldNumber = 33; 4483 public const int DeprecatedFieldNumber = 33;
4047 private bool deprecated_; 4484 private bool deprecated_;
4048 /// <summary> 4485 /// <summary>
4049 /// Is this service deprecated? 4486 /// Is this service deprecated?
4050 /// Depending on the target platform, this can emit Deprecated annotations 4487 /// Depending on the target platform, this can emit Deprecated annotations
4051 /// for the service, or it will be completely ignored; in the very least, 4488 /// for the service, or it will be completely ignored; in the very least,
4052 /// this is a formalization for deprecating services. 4489 /// this is a formalization for deprecating services.
4053 /// </summary> 4490 /// </summary>
4491 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4054 public bool Deprecated { 4492 public bool Deprecated {
4055 get { return deprecated_; } 4493 get { return deprecated_; }
4056 set { 4494 set {
4057 deprecated_ = value; 4495 deprecated_ = value;
4058 } 4496 }
4059 } 4497 }
4060 4498
4061 /// <summary>Field number for the "uninterpreted_option" field.</summary> 4499 /// <summary>Field number for the "uninterpreted_option" field.</summary>
4062 public const int UninterpretedOptionFieldNumber = 999; 4500 public const int UninterpretedOptionFieldNumber = 999;
4063 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec 4501 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
4064 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser); 4502 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
4065 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>(); 4503 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
4066 /// <summary> 4504 /// <summary>
4067 /// The parser stores options it doesn't recognize here. See above. 4505 /// The parser stores options it doesn't recognize here. See above.
4068 /// </summary> 4506 /// </summary>
4507 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4069 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption { 4508 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
4070 get { return uninterpretedOption_; } 4509 get { return uninterpretedOption_; }
4071 } 4510 }
4072 4511
4512 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4073 public override bool Equals(object other) { 4513 public override bool Equals(object other) {
4074 return Equals(other as ServiceOptions); 4514 return Equals(other as ServiceOptions);
4075 } 4515 }
4076 4516
4517 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4077 public bool Equals(ServiceOptions other) { 4518 public bool Equals(ServiceOptions other) {
4078 if (ReferenceEquals(other, null)) { 4519 if (ReferenceEquals(other, null)) {
4079 return false; 4520 return false;
4080 } 4521 }
4081 if (ReferenceEquals(other, this)) { 4522 if (ReferenceEquals(other, this)) {
4082 return true; 4523 return true;
4083 } 4524 }
4084 if (Deprecated != other.Deprecated) return false; 4525 if (Deprecated != other.Deprecated) return false;
4085 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false; 4526 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
4086 return true; 4527 return true;
4087 } 4528 }
4088 4529
4530 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4089 public override int GetHashCode() { 4531 public override int GetHashCode() {
4090 int hash = 1; 4532 int hash = 1;
4091 if (Deprecated != false) hash ^= Deprecated.GetHashCode(); 4533 if (Deprecated != false) hash ^= Deprecated.GetHashCode();
4092 hash ^= uninterpretedOption_.GetHashCode(); 4534 hash ^= uninterpretedOption_.GetHashCode();
4093 return hash; 4535 return hash;
4094 } 4536 }
4095 4537
4538 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4096 public override string ToString() { 4539 public override string ToString() {
4097 return pb::JsonFormatter.ToDiagnosticString(this); 4540 return pb::JsonFormatter.ToDiagnosticString(this);
4098 } 4541 }
4099 4542
4543 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4100 public void WriteTo(pb::CodedOutputStream output) { 4544 public void WriteTo(pb::CodedOutputStream output) {
4101 if (Deprecated != false) { 4545 if (Deprecated != false) {
4102 output.WriteRawTag(136, 2); 4546 output.WriteRawTag(136, 2);
4103 output.WriteBool(Deprecated); 4547 output.WriteBool(Deprecated);
4104 } 4548 }
4105 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec); 4549 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
4106 } 4550 }
4107 4551
4552 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4108 public int CalculateSize() { 4553 public int CalculateSize() {
4109 int size = 0; 4554 int size = 0;
4110 if (Deprecated != false) { 4555 if (Deprecated != false) {
4111 size += 2 + 1; 4556 size += 2 + 1;
4112 } 4557 }
4113 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec); 4558 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
4114 return size; 4559 return size;
4115 } 4560 }
4116 4561
4562 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4117 public void MergeFrom(ServiceOptions other) { 4563 public void MergeFrom(ServiceOptions other) {
4118 if (other == null) { 4564 if (other == null) {
4119 return; 4565 return;
4120 } 4566 }
4121 if (other.Deprecated != false) { 4567 if (other.Deprecated != false) {
4122 Deprecated = other.Deprecated; 4568 Deprecated = other.Deprecated;
4123 } 4569 }
4124 uninterpretedOption_.Add(other.uninterpretedOption_); 4570 uninterpretedOption_.Add(other.uninterpretedOption_);
4125 } 4571 }
4126 4572
4573 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4127 public void MergeFrom(pb::CodedInputStream input) { 4574 public void MergeFrom(pb::CodedInputStream input) {
4128 uint tag; 4575 uint tag;
4129 while ((tag = input.ReadTag()) != 0) { 4576 while ((tag = input.ReadTag()) != 0) {
4130 switch(tag) { 4577 switch(tag) {
4131 default: 4578 default:
4132 input.SkipLastField(); 4579 input.SkipLastField();
4133 break; 4580 break;
4134 case 264: { 4581 case 264: {
4135 Deprecated = input.ReadBool(); 4582 Deprecated = input.ReadBool();
4136 break; 4583 break;
4137 } 4584 }
4138 case 7994: { 4585 case 7994: {
4139 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec); 4586 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
4140 break; 4587 break;
4141 } 4588 }
4142 } 4589 }
4143 } 4590 }
4144 } 4591 }
4145 4592
4146 } 4593 }
4147 4594
4148 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4149 internal sealed partial class MethodOptions : pb::IMessage<MethodOptions> { 4595 internal sealed partial class MethodOptions : pb::IMessage<MethodOptions> {
4150 private static readonly pb::MessageParser<MethodOptions> _parser = new pb::M essageParser<MethodOptions>(() => new MethodOptions()); 4596 private static readonly pb::MessageParser<MethodOptions> _parser = new pb::M essageParser<MethodOptions>(() => new MethodOptions());
4597 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4151 public static pb::MessageParser<MethodOptions> Parser { get { return _parser ; } } 4598 public static pb::MessageParser<MethodOptions> Parser { get { return _parser ; } }
4152 4599
4600 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4153 public static pbr::MessageDescriptor Descriptor { 4601 public static pbr::MessageDescriptor Descriptor {
4154 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[15]; } 4602 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[16]; }
4155 } 4603 }
4156 4604
4605 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4157 pbr::MessageDescriptor pb::IMessage.Descriptor { 4606 pbr::MessageDescriptor pb::IMessage.Descriptor {
4158 get { return Descriptor; } 4607 get { return Descriptor; }
4159 } 4608 }
4160 4609
4610 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4161 public MethodOptions() { 4611 public MethodOptions() {
4162 OnConstruction(); 4612 OnConstruction();
4163 } 4613 }
4164 4614
4165 partial void OnConstruction(); 4615 partial void OnConstruction();
4166 4616
4617 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4167 public MethodOptions(MethodOptions other) : this() { 4618 public MethodOptions(MethodOptions other) : this() {
4168 deprecated_ = other.deprecated_; 4619 deprecated_ = other.deprecated_;
4169 uninterpretedOption_ = other.uninterpretedOption_.Clone(); 4620 uninterpretedOption_ = other.uninterpretedOption_.Clone();
4170 } 4621 }
4171 4622
4623 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4172 public MethodOptions Clone() { 4624 public MethodOptions Clone() {
4173 return new MethodOptions(this); 4625 return new MethodOptions(this);
4174 } 4626 }
4175 4627
4176 /// <summary>Field number for the "deprecated" field.</summary> 4628 /// <summary>Field number for the "deprecated" field.</summary>
4177 public const int DeprecatedFieldNumber = 33; 4629 public const int DeprecatedFieldNumber = 33;
4178 private bool deprecated_; 4630 private bool deprecated_;
4179 /// <summary> 4631 /// <summary>
4180 /// Is this method deprecated? 4632 /// Is this method deprecated?
4181 /// Depending on the target platform, this can emit Deprecated annotations 4633 /// Depending on the target platform, this can emit Deprecated annotations
4182 /// for the method, or it will be completely ignored; in the very least, 4634 /// for the method, or it will be completely ignored; in the very least,
4183 /// this is a formalization for deprecating methods. 4635 /// this is a formalization for deprecating methods.
4184 /// </summary> 4636 /// </summary>
4637 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4185 public bool Deprecated { 4638 public bool Deprecated {
4186 get { return deprecated_; } 4639 get { return deprecated_; }
4187 set { 4640 set {
4188 deprecated_ = value; 4641 deprecated_ = value;
4189 } 4642 }
4190 } 4643 }
4191 4644
4192 /// <summary>Field number for the "uninterpreted_option" field.</summary> 4645 /// <summary>Field number for the "uninterpreted_option" field.</summary>
4193 public const int UninterpretedOptionFieldNumber = 999; 4646 public const int UninterpretedOptionFieldNumber = 999;
4194 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec 4647 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption> _repeated_uninterpretedOption_codec
4195 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser); 4648 = pb::FieldCodec.ForMessage(7994, global::Google.Protobuf.Reflection.Uni nterpretedOption.Parser);
4196 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>(); 4649 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption> uninterpretedOption_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption>();
4197 /// <summary> 4650 /// <summary>
4198 /// The parser stores options it doesn't recognize here. See above. 4651 /// The parser stores options it doesn't recognize here. See above.
4199 /// </summary> 4652 /// </summary>
4653 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4200 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption { 4654 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion> UninterpretedOption {
4201 get { return uninterpretedOption_; } 4655 get { return uninterpretedOption_; }
4202 } 4656 }
4203 4657
4658 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4204 public override bool Equals(object other) { 4659 public override bool Equals(object other) {
4205 return Equals(other as MethodOptions); 4660 return Equals(other as MethodOptions);
4206 } 4661 }
4207 4662
4663 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4208 public bool Equals(MethodOptions other) { 4664 public bool Equals(MethodOptions other) {
4209 if (ReferenceEquals(other, null)) { 4665 if (ReferenceEquals(other, null)) {
4210 return false; 4666 return false;
4211 } 4667 }
4212 if (ReferenceEquals(other, this)) { 4668 if (ReferenceEquals(other, this)) {
4213 return true; 4669 return true;
4214 } 4670 }
4215 if (Deprecated != other.Deprecated) return false; 4671 if (Deprecated != other.Deprecated) return false;
4216 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false; 4672 if(!uninterpretedOption_.Equals(other.uninterpretedOption_)) return false;
4217 return true; 4673 return true;
4218 } 4674 }
4219 4675
4676 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4220 public override int GetHashCode() { 4677 public override int GetHashCode() {
4221 int hash = 1; 4678 int hash = 1;
4222 if (Deprecated != false) hash ^= Deprecated.GetHashCode(); 4679 if (Deprecated != false) hash ^= Deprecated.GetHashCode();
4223 hash ^= uninterpretedOption_.GetHashCode(); 4680 hash ^= uninterpretedOption_.GetHashCode();
4224 return hash; 4681 return hash;
4225 } 4682 }
4226 4683
4684 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4227 public override string ToString() { 4685 public override string ToString() {
4228 return pb::JsonFormatter.ToDiagnosticString(this); 4686 return pb::JsonFormatter.ToDiagnosticString(this);
4229 } 4687 }
4230 4688
4689 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4231 public void WriteTo(pb::CodedOutputStream output) { 4690 public void WriteTo(pb::CodedOutputStream output) {
4232 if (Deprecated != false) { 4691 if (Deprecated != false) {
4233 output.WriteRawTag(136, 2); 4692 output.WriteRawTag(136, 2);
4234 output.WriteBool(Deprecated); 4693 output.WriteBool(Deprecated);
4235 } 4694 }
4236 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec); 4695 uninterpretedOption_.WriteTo(output, _repeated_uninterpretedOption_codec);
4237 } 4696 }
4238 4697
4698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4239 public int CalculateSize() { 4699 public int CalculateSize() {
4240 int size = 0; 4700 int size = 0;
4241 if (Deprecated != false) { 4701 if (Deprecated != false) {
4242 size += 2 + 1; 4702 size += 2 + 1;
4243 } 4703 }
4244 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec); 4704 size += uninterpretedOption_.CalculateSize(_repeated_uninterpretedOption_c odec);
4245 return size; 4705 return size;
4246 } 4706 }
4247 4707
4708 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4248 public void MergeFrom(MethodOptions other) { 4709 public void MergeFrom(MethodOptions other) {
4249 if (other == null) { 4710 if (other == null) {
4250 return; 4711 return;
4251 } 4712 }
4252 if (other.Deprecated != false) { 4713 if (other.Deprecated != false) {
4253 Deprecated = other.Deprecated; 4714 Deprecated = other.Deprecated;
4254 } 4715 }
4255 uninterpretedOption_.Add(other.uninterpretedOption_); 4716 uninterpretedOption_.Add(other.uninterpretedOption_);
4256 } 4717 }
4257 4718
4719 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4258 public void MergeFrom(pb::CodedInputStream input) { 4720 public void MergeFrom(pb::CodedInputStream input) {
4259 uint tag; 4721 uint tag;
4260 while ((tag = input.ReadTag()) != 0) { 4722 while ((tag = input.ReadTag()) != 0) {
4261 switch(tag) { 4723 switch(tag) {
4262 default: 4724 default:
4263 input.SkipLastField(); 4725 input.SkipLastField();
4264 break; 4726 break;
4265 case 264: { 4727 case 264: {
4266 Deprecated = input.ReadBool(); 4728 Deprecated = input.ReadBool();
4267 break; 4729 break;
4268 } 4730 }
4269 case 7994: { 4731 case 7994: {
4270 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec); 4732 uninterpretedOption_.AddEntriesFrom(input, _repeated_uninterpretedOp tion_codec);
4271 break; 4733 break;
4272 } 4734 }
4273 } 4735 }
4274 } 4736 }
4275 } 4737 }
4276 4738
4277 } 4739 }
4278 4740
4279 /// <summary> 4741 /// <summary>
4280 /// A message representing a option the parser does not recognize. This only 4742 /// A message representing a option the parser does not recognize. This only
4281 /// appears in options protos created by the compiler::Parser class. 4743 /// appears in options protos created by the compiler::Parser class.
4282 /// DescriptorPool resolves these when building Descriptor objects. Therefore , 4744 /// DescriptorPool resolves these when building Descriptor objects. Therefore ,
4283 /// options protos in descriptor objects (e.g. returned by Descriptor::option s(), 4745 /// options protos in descriptor objects (e.g. returned by Descriptor::option s(),
4284 /// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions 4746 /// or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
4285 /// in them. 4747 /// in them.
4286 /// </summary> 4748 /// </summary>
4287 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4288 internal sealed partial class UninterpretedOption : pb::IMessage<Uninterpreted Option> { 4749 internal sealed partial class UninterpretedOption : pb::IMessage<Uninterpreted Option> {
4289 private static readonly pb::MessageParser<UninterpretedOption> _parser = new pb::MessageParser<UninterpretedOption>(() => new UninterpretedOption()); 4750 private static readonly pb::MessageParser<UninterpretedOption> _parser = new pb::MessageParser<UninterpretedOption>(() => new UninterpretedOption());
4751 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4290 public static pb::MessageParser<UninterpretedOption> Parser { get { return _ parser; } } 4752 public static pb::MessageParser<UninterpretedOption> Parser { get { return _ parser; } }
4291 4753
4754 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4292 public static pbr::MessageDescriptor Descriptor { 4755 public static pbr::MessageDescriptor Descriptor {
4293 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[16]; } 4756 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[17]; }
4294 } 4757 }
4295 4758
4759 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4296 pbr::MessageDescriptor pb::IMessage.Descriptor { 4760 pbr::MessageDescriptor pb::IMessage.Descriptor {
4297 get { return Descriptor; } 4761 get { return Descriptor; }
4298 } 4762 }
4299 4763
4764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4300 public UninterpretedOption() { 4765 public UninterpretedOption() {
4301 OnConstruction(); 4766 OnConstruction();
4302 } 4767 }
4303 4768
4304 partial void OnConstruction(); 4769 partial void OnConstruction();
4305 4770
4771 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4306 public UninterpretedOption(UninterpretedOption other) : this() { 4772 public UninterpretedOption(UninterpretedOption other) : this() {
4307 name_ = other.name_.Clone(); 4773 name_ = other.name_.Clone();
4308 identifierValue_ = other.identifierValue_; 4774 identifierValue_ = other.identifierValue_;
4309 positiveIntValue_ = other.positiveIntValue_; 4775 positiveIntValue_ = other.positiveIntValue_;
4310 negativeIntValue_ = other.negativeIntValue_; 4776 negativeIntValue_ = other.negativeIntValue_;
4311 doubleValue_ = other.doubleValue_; 4777 doubleValue_ = other.doubleValue_;
4312 stringValue_ = other.stringValue_; 4778 stringValue_ = other.stringValue_;
4313 aggregateValue_ = other.aggregateValue_; 4779 aggregateValue_ = other.aggregateValue_;
4314 } 4780 }
4315 4781
4782 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4316 public UninterpretedOption Clone() { 4783 public UninterpretedOption Clone() {
4317 return new UninterpretedOption(this); 4784 return new UninterpretedOption(this);
4318 } 4785 }
4319 4786
4320 /// <summary>Field number for the "name" field.</summary> 4787 /// <summary>Field number for the "name" field.</summary>
4321 public const int NameFieldNumber = 2; 4788 public const int NameFieldNumber = 2;
4322 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption.Types.NamePart> _repeated_name_codec 4789 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Un interpretedOption.Types.NamePart> _repeated_name_codec
4323 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.Unint erpretedOption.Types.NamePart.Parser); 4790 = pb::FieldCodec.ForMessage(18, global::Google.Protobuf.Reflection.Unint erpretedOption.Types.NamePart.Parser);
4324 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption.Types.NamePart> name_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption.Types.NamePart>(); 4791 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Unint erpretedOption.Types.NamePart> name_ = new pbc::RepeatedField<global::Google.Pro tobuf.Reflection.UninterpretedOption.Types.NamePart>();
4792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4325 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion.Types.NamePart> Name { 4793 public pbc::RepeatedField<global::Google.Protobuf.Reflection.UninterpretedOp tion.Types.NamePart> Name {
4326 get { return name_; } 4794 get { return name_; }
4327 } 4795 }
4328 4796
4329 /// <summary>Field number for the "identifier_value" field.</summary> 4797 /// <summary>Field number for the "identifier_value" field.</summary>
4330 public const int IdentifierValueFieldNumber = 3; 4798 public const int IdentifierValueFieldNumber = 3;
4331 private string identifierValue_ = ""; 4799 private string identifierValue_ = "";
4332 /// <summary> 4800 /// <summary>
4333 /// The value of the uninterpreted option, in whatever type the tokenizer 4801 /// The value of the uninterpreted option, in whatever type the tokenizer
4334 /// identified it as during parsing. Exactly one of these should be set. 4802 /// identified it as during parsing. Exactly one of these should be set.
4335 /// </summary> 4803 /// </summary>
4804 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4336 public string IdentifierValue { 4805 public string IdentifierValue {
4337 get { return identifierValue_; } 4806 get { return identifierValue_; }
4338 set { 4807 set {
4339 identifierValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 4808 identifierValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4340 } 4809 }
4341 } 4810 }
4342 4811
4343 /// <summary>Field number for the "positive_int_value" field.</summary> 4812 /// <summary>Field number for the "positive_int_value" field.</summary>
4344 public const int PositiveIntValueFieldNumber = 4; 4813 public const int PositiveIntValueFieldNumber = 4;
4345 private ulong positiveIntValue_; 4814 private ulong positiveIntValue_;
4815 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4346 public ulong PositiveIntValue { 4816 public ulong PositiveIntValue {
4347 get { return positiveIntValue_; } 4817 get { return positiveIntValue_; }
4348 set { 4818 set {
4349 positiveIntValue_ = value; 4819 positiveIntValue_ = value;
4350 } 4820 }
4351 } 4821 }
4352 4822
4353 /// <summary>Field number for the "negative_int_value" field.</summary> 4823 /// <summary>Field number for the "negative_int_value" field.</summary>
4354 public const int NegativeIntValueFieldNumber = 5; 4824 public const int NegativeIntValueFieldNumber = 5;
4355 private long negativeIntValue_; 4825 private long negativeIntValue_;
4826 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4356 public long NegativeIntValue { 4827 public long NegativeIntValue {
4357 get { return negativeIntValue_; } 4828 get { return negativeIntValue_; }
4358 set { 4829 set {
4359 negativeIntValue_ = value; 4830 negativeIntValue_ = value;
4360 } 4831 }
4361 } 4832 }
4362 4833
4363 /// <summary>Field number for the "double_value" field.</summary> 4834 /// <summary>Field number for the "double_value" field.</summary>
4364 public const int DoubleValueFieldNumber = 6; 4835 public const int DoubleValueFieldNumber = 6;
4365 private double doubleValue_; 4836 private double doubleValue_;
4837 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4366 public double DoubleValue { 4838 public double DoubleValue {
4367 get { return doubleValue_; } 4839 get { return doubleValue_; }
4368 set { 4840 set {
4369 doubleValue_ = value; 4841 doubleValue_ = value;
4370 } 4842 }
4371 } 4843 }
4372 4844
4373 /// <summary>Field number for the "string_value" field.</summary> 4845 /// <summary>Field number for the "string_value" field.</summary>
4374 public const int StringValueFieldNumber = 7; 4846 public const int StringValueFieldNumber = 7;
4375 private pb::ByteString stringValue_ = pb::ByteString.Empty; 4847 private pb::ByteString stringValue_ = pb::ByteString.Empty;
4848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4376 public pb::ByteString StringValue { 4849 public pb::ByteString StringValue {
4377 get { return stringValue_; } 4850 get { return stringValue_; }
4378 set { 4851 set {
4379 stringValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 4852 stringValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4380 } 4853 }
4381 } 4854 }
4382 4855
4383 /// <summary>Field number for the "aggregate_value" field.</summary> 4856 /// <summary>Field number for the "aggregate_value" field.</summary>
4384 public const int AggregateValueFieldNumber = 8; 4857 public const int AggregateValueFieldNumber = 8;
4385 private string aggregateValue_ = ""; 4858 private string aggregateValue_ = "";
4859 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4386 public string AggregateValue { 4860 public string AggregateValue {
4387 get { return aggregateValue_; } 4861 get { return aggregateValue_; }
4388 set { 4862 set {
4389 aggregateValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 4863 aggregateValue_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4390 } 4864 }
4391 } 4865 }
4392 4866
4867 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4393 public override bool Equals(object other) { 4868 public override bool Equals(object other) {
4394 return Equals(other as UninterpretedOption); 4869 return Equals(other as UninterpretedOption);
4395 } 4870 }
4396 4871
4872 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4397 public bool Equals(UninterpretedOption other) { 4873 public bool Equals(UninterpretedOption other) {
4398 if (ReferenceEquals(other, null)) { 4874 if (ReferenceEquals(other, null)) {
4399 return false; 4875 return false;
4400 } 4876 }
4401 if (ReferenceEquals(other, this)) { 4877 if (ReferenceEquals(other, this)) {
4402 return true; 4878 return true;
4403 } 4879 }
4404 if(!name_.Equals(other.name_)) return false; 4880 if(!name_.Equals(other.name_)) return false;
4405 if (IdentifierValue != other.IdentifierValue) return false; 4881 if (IdentifierValue != other.IdentifierValue) return false;
4406 if (PositiveIntValue != other.PositiveIntValue) return false; 4882 if (PositiveIntValue != other.PositiveIntValue) return false;
4407 if (NegativeIntValue != other.NegativeIntValue) return false; 4883 if (NegativeIntValue != other.NegativeIntValue) return false;
4408 if (DoubleValue != other.DoubleValue) return false; 4884 if (DoubleValue != other.DoubleValue) return false;
4409 if (StringValue != other.StringValue) return false; 4885 if (StringValue != other.StringValue) return false;
4410 if (AggregateValue != other.AggregateValue) return false; 4886 if (AggregateValue != other.AggregateValue) return false;
4411 return true; 4887 return true;
4412 } 4888 }
4413 4889
4890 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4414 public override int GetHashCode() { 4891 public override int GetHashCode() {
4415 int hash = 1; 4892 int hash = 1;
4416 hash ^= name_.GetHashCode(); 4893 hash ^= name_.GetHashCode();
4417 if (IdentifierValue.Length != 0) hash ^= IdentifierValue.GetHashCode(); 4894 if (IdentifierValue.Length != 0) hash ^= IdentifierValue.GetHashCode();
4418 if (PositiveIntValue != 0UL) hash ^= PositiveIntValue.GetHashCode(); 4895 if (PositiveIntValue != 0UL) hash ^= PositiveIntValue.GetHashCode();
4419 if (NegativeIntValue != 0L) hash ^= NegativeIntValue.GetHashCode(); 4896 if (NegativeIntValue != 0L) hash ^= NegativeIntValue.GetHashCode();
4420 if (DoubleValue != 0D) hash ^= DoubleValue.GetHashCode(); 4897 if (DoubleValue != 0D) hash ^= DoubleValue.GetHashCode();
4421 if (StringValue.Length != 0) hash ^= StringValue.GetHashCode(); 4898 if (StringValue.Length != 0) hash ^= StringValue.GetHashCode();
4422 if (AggregateValue.Length != 0) hash ^= AggregateValue.GetHashCode(); 4899 if (AggregateValue.Length != 0) hash ^= AggregateValue.GetHashCode();
4423 return hash; 4900 return hash;
4424 } 4901 }
4425 4902
4903 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4426 public override string ToString() { 4904 public override string ToString() {
4427 return pb::JsonFormatter.ToDiagnosticString(this); 4905 return pb::JsonFormatter.ToDiagnosticString(this);
4428 } 4906 }
4429 4907
4908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4430 public void WriteTo(pb::CodedOutputStream output) { 4909 public void WriteTo(pb::CodedOutputStream output) {
4431 name_.WriteTo(output, _repeated_name_codec); 4910 name_.WriteTo(output, _repeated_name_codec);
4432 if (IdentifierValue.Length != 0) { 4911 if (IdentifierValue.Length != 0) {
4433 output.WriteRawTag(26); 4912 output.WriteRawTag(26);
4434 output.WriteString(IdentifierValue); 4913 output.WriteString(IdentifierValue);
4435 } 4914 }
4436 if (PositiveIntValue != 0UL) { 4915 if (PositiveIntValue != 0UL) {
4437 output.WriteRawTag(32); 4916 output.WriteRawTag(32);
4438 output.WriteUInt64(PositiveIntValue); 4917 output.WriteUInt64(PositiveIntValue);
4439 } 4918 }
4440 if (NegativeIntValue != 0L) { 4919 if (NegativeIntValue != 0L) {
4441 output.WriteRawTag(40); 4920 output.WriteRawTag(40);
4442 output.WriteInt64(NegativeIntValue); 4921 output.WriteInt64(NegativeIntValue);
4443 } 4922 }
4444 if (DoubleValue != 0D) { 4923 if (DoubleValue != 0D) {
4445 output.WriteRawTag(49); 4924 output.WriteRawTag(49);
4446 output.WriteDouble(DoubleValue); 4925 output.WriteDouble(DoubleValue);
4447 } 4926 }
4448 if (StringValue.Length != 0) { 4927 if (StringValue.Length != 0) {
4449 output.WriteRawTag(58); 4928 output.WriteRawTag(58);
4450 output.WriteBytes(StringValue); 4929 output.WriteBytes(StringValue);
4451 } 4930 }
4452 if (AggregateValue.Length != 0) { 4931 if (AggregateValue.Length != 0) {
4453 output.WriteRawTag(66); 4932 output.WriteRawTag(66);
4454 output.WriteString(AggregateValue); 4933 output.WriteString(AggregateValue);
4455 } 4934 }
4456 } 4935 }
4457 4936
4937 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4458 public int CalculateSize() { 4938 public int CalculateSize() {
4459 int size = 0; 4939 int size = 0;
4460 size += name_.CalculateSize(_repeated_name_codec); 4940 size += name_.CalculateSize(_repeated_name_codec);
4461 if (IdentifierValue.Length != 0) { 4941 if (IdentifierValue.Length != 0) {
4462 size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentifierValue); 4942 size += 1 + pb::CodedOutputStream.ComputeStringSize(IdentifierValue);
4463 } 4943 }
4464 if (PositiveIntValue != 0UL) { 4944 if (PositiveIntValue != 0UL) {
4465 size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PositiveIntValue); 4945 size += 1 + pb::CodedOutputStream.ComputeUInt64Size(PositiveIntValue);
4466 } 4946 }
4467 if (NegativeIntValue != 0L) { 4947 if (NegativeIntValue != 0L) {
4468 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NegativeIntValue); 4948 size += 1 + pb::CodedOutputStream.ComputeInt64Size(NegativeIntValue);
4469 } 4949 }
4470 if (DoubleValue != 0D) { 4950 if (DoubleValue != 0D) {
4471 size += 1 + 8; 4951 size += 1 + 8;
4472 } 4952 }
4473 if (StringValue.Length != 0) { 4953 if (StringValue.Length != 0) {
4474 size += 1 + pb::CodedOutputStream.ComputeBytesSize(StringValue); 4954 size += 1 + pb::CodedOutputStream.ComputeBytesSize(StringValue);
4475 } 4955 }
4476 if (AggregateValue.Length != 0) { 4956 if (AggregateValue.Length != 0) {
4477 size += 1 + pb::CodedOutputStream.ComputeStringSize(AggregateValue); 4957 size += 1 + pb::CodedOutputStream.ComputeStringSize(AggregateValue);
4478 } 4958 }
4479 return size; 4959 return size;
4480 } 4960 }
4481 4961
4962 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4482 public void MergeFrom(UninterpretedOption other) { 4963 public void MergeFrom(UninterpretedOption other) {
4483 if (other == null) { 4964 if (other == null) {
4484 return; 4965 return;
4485 } 4966 }
4486 name_.Add(other.name_); 4967 name_.Add(other.name_);
4487 if (other.IdentifierValue.Length != 0) { 4968 if (other.IdentifierValue.Length != 0) {
4488 IdentifierValue = other.IdentifierValue; 4969 IdentifierValue = other.IdentifierValue;
4489 } 4970 }
4490 if (other.PositiveIntValue != 0UL) { 4971 if (other.PositiveIntValue != 0UL) {
4491 PositiveIntValue = other.PositiveIntValue; 4972 PositiveIntValue = other.PositiveIntValue;
4492 } 4973 }
4493 if (other.NegativeIntValue != 0L) { 4974 if (other.NegativeIntValue != 0L) {
4494 NegativeIntValue = other.NegativeIntValue; 4975 NegativeIntValue = other.NegativeIntValue;
4495 } 4976 }
4496 if (other.DoubleValue != 0D) { 4977 if (other.DoubleValue != 0D) {
4497 DoubleValue = other.DoubleValue; 4978 DoubleValue = other.DoubleValue;
4498 } 4979 }
4499 if (other.StringValue.Length != 0) { 4980 if (other.StringValue.Length != 0) {
4500 StringValue = other.StringValue; 4981 StringValue = other.StringValue;
4501 } 4982 }
4502 if (other.AggregateValue.Length != 0) { 4983 if (other.AggregateValue.Length != 0) {
4503 AggregateValue = other.AggregateValue; 4984 AggregateValue = other.AggregateValue;
4504 } 4985 }
4505 } 4986 }
4506 4987
4988 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4507 public void MergeFrom(pb::CodedInputStream input) { 4989 public void MergeFrom(pb::CodedInputStream input) {
4508 uint tag; 4990 uint tag;
4509 while ((tag = input.ReadTag()) != 0) { 4991 while ((tag = input.ReadTag()) != 0) {
4510 switch(tag) { 4992 switch(tag) {
4511 default: 4993 default:
4512 input.SkipLastField(); 4994 input.SkipLastField();
4513 break; 4995 break;
4514 case 18: { 4996 case 18: {
4515 name_.AddEntriesFrom(input, _repeated_name_codec); 4997 name_.AddEntriesFrom(input, _repeated_name_codec);
4516 break; 4998 break;
(...skipping 21 matching lines...) Expand all
4538 case 66: { 5020 case 66: {
4539 AggregateValue = input.ReadString(); 5021 AggregateValue = input.ReadString();
4540 break; 5022 break;
4541 } 5023 }
4542 } 5024 }
4543 } 5025 }
4544 } 5026 }
4545 5027
4546 #region Nested types 5028 #region Nested types
4547 /// <summary>Container for nested types declared in the UninterpretedOption message type.</summary> 5029 /// <summary>Container for nested types declared in the UninterpretedOption message type.</summary>
4548 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5030 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4549 public static partial class Types { 5031 public static partial class Types {
4550 /// <summary> 5032 /// <summary>
4551 /// The name of the uninterpreted option. Each string represents a segme nt in 5033 /// The name of the uninterpreted option. Each string represents a segme nt in
4552 /// a dot-separated name. is_extension is true iff a segment represents an 5034 /// a dot-separated name. is_extension is true iff a segment represents an
4553 /// extension (denoted with parentheses in options specs in .proto files) . 5035 /// extension (denoted with parentheses in options specs in .proto files) .
4554 /// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents 5036 /// E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
4555 /// "foo.(bar.baz).qux". 5037 /// "foo.(bar.baz).qux".
4556 /// </summary> 5038 /// </summary>
4557 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4558 internal sealed partial class NamePart : pb::IMessage<NamePart> { 5039 internal sealed partial class NamePart : pb::IMessage<NamePart> {
4559 private static readonly pb::MessageParser<NamePart> _parser = new pb::Me ssageParser<NamePart>(() => new NamePart()); 5040 private static readonly pb::MessageParser<NamePart> _parser = new pb::Me ssageParser<NamePart>(() => new NamePart());
5041 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4560 public static pb::MessageParser<NamePart> Parser { get { return _parser; } } 5042 public static pb::MessageParser<NamePart> Parser { get { return _parser; } }
4561 5043
5044 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4562 public static pbr::MessageDescriptor Descriptor { 5045 public static pbr::MessageDescriptor Descriptor {
4563 get { return global::Google.Protobuf.Reflection.UninterpretedOption.De scriptor.NestedTypes[0]; } 5046 get { return global::Google.Protobuf.Reflection.UninterpretedOption.De scriptor.NestedTypes[0]; }
4564 } 5047 }
4565 5048
5049 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4566 pbr::MessageDescriptor pb::IMessage.Descriptor { 5050 pbr::MessageDescriptor pb::IMessage.Descriptor {
4567 get { return Descriptor; } 5051 get { return Descriptor; }
4568 } 5052 }
4569 5053
5054 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4570 public NamePart() { 5055 public NamePart() {
4571 OnConstruction(); 5056 OnConstruction();
4572 } 5057 }
4573 5058
4574 partial void OnConstruction(); 5059 partial void OnConstruction();
4575 5060
5061 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4576 public NamePart(NamePart other) : this() { 5062 public NamePart(NamePart other) : this() {
4577 namePart_ = other.namePart_; 5063 namePart_ = other.namePart_;
4578 isExtension_ = other.isExtension_; 5064 isExtension_ = other.isExtension_;
4579 } 5065 }
4580 5066
5067 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4581 public NamePart Clone() { 5068 public NamePart Clone() {
4582 return new NamePart(this); 5069 return new NamePart(this);
4583 } 5070 }
4584 5071
4585 /// <summary>Field number for the "name_part" field.</summary> 5072 /// <summary>Field number for the "name_part" field.</summary>
4586 public const int NamePart_FieldNumber = 1; 5073 public const int NamePart_FieldNumber = 1;
4587 private string namePart_ = ""; 5074 private string namePart_ = "";
5075 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4588 public string NamePart_ { 5076 public string NamePart_ {
4589 get { return namePart_; } 5077 get { return namePart_; }
4590 set { 5078 set {
4591 namePart_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 5079 namePart_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
4592 } 5080 }
4593 } 5081 }
4594 5082
4595 /// <summary>Field number for the "is_extension" field.</summary> 5083 /// <summary>Field number for the "is_extension" field.</summary>
4596 public const int IsExtensionFieldNumber = 2; 5084 public const int IsExtensionFieldNumber = 2;
4597 private bool isExtension_; 5085 private bool isExtension_;
5086 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4598 public bool IsExtension { 5087 public bool IsExtension {
4599 get { return isExtension_; } 5088 get { return isExtension_; }
4600 set { 5089 set {
4601 isExtension_ = value; 5090 isExtension_ = value;
4602 } 5091 }
4603 } 5092 }
4604 5093
5094 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4605 public override bool Equals(object other) { 5095 public override bool Equals(object other) {
4606 return Equals(other as NamePart); 5096 return Equals(other as NamePart);
4607 } 5097 }
4608 5098
5099 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4609 public bool Equals(NamePart other) { 5100 public bool Equals(NamePart other) {
4610 if (ReferenceEquals(other, null)) { 5101 if (ReferenceEquals(other, null)) {
4611 return false; 5102 return false;
4612 } 5103 }
4613 if (ReferenceEquals(other, this)) { 5104 if (ReferenceEquals(other, this)) {
4614 return true; 5105 return true;
4615 } 5106 }
4616 if (NamePart_ != other.NamePart_) return false; 5107 if (NamePart_ != other.NamePart_) return false;
4617 if (IsExtension != other.IsExtension) return false; 5108 if (IsExtension != other.IsExtension) return false;
4618 return true; 5109 return true;
4619 } 5110 }
4620 5111
5112 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4621 public override int GetHashCode() { 5113 public override int GetHashCode() {
4622 int hash = 1; 5114 int hash = 1;
4623 if (NamePart_.Length != 0) hash ^= NamePart_.GetHashCode(); 5115 if (NamePart_.Length != 0) hash ^= NamePart_.GetHashCode();
4624 if (IsExtension != false) hash ^= IsExtension.GetHashCode(); 5116 if (IsExtension != false) hash ^= IsExtension.GetHashCode();
4625 return hash; 5117 return hash;
4626 } 5118 }
4627 5119
5120 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4628 public override string ToString() { 5121 public override string ToString() {
4629 return pb::JsonFormatter.ToDiagnosticString(this); 5122 return pb::JsonFormatter.ToDiagnosticString(this);
4630 } 5123 }
4631 5124
5125 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4632 public void WriteTo(pb::CodedOutputStream output) { 5126 public void WriteTo(pb::CodedOutputStream output) {
4633 if (NamePart_.Length != 0) { 5127 if (NamePart_.Length != 0) {
4634 output.WriteRawTag(10); 5128 output.WriteRawTag(10);
4635 output.WriteString(NamePart_); 5129 output.WriteString(NamePart_);
4636 } 5130 }
4637 if (IsExtension != false) { 5131 if (IsExtension != false) {
4638 output.WriteRawTag(16); 5132 output.WriteRawTag(16);
4639 output.WriteBool(IsExtension); 5133 output.WriteBool(IsExtension);
4640 } 5134 }
4641 } 5135 }
4642 5136
5137 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4643 public int CalculateSize() { 5138 public int CalculateSize() {
4644 int size = 0; 5139 int size = 0;
4645 if (NamePart_.Length != 0) { 5140 if (NamePart_.Length != 0) {
4646 size += 1 + pb::CodedOutputStream.ComputeStringSize(NamePart_); 5141 size += 1 + pb::CodedOutputStream.ComputeStringSize(NamePart_);
4647 } 5142 }
4648 if (IsExtension != false) { 5143 if (IsExtension != false) {
4649 size += 1 + 1; 5144 size += 1 + 1;
4650 } 5145 }
4651 return size; 5146 return size;
4652 } 5147 }
4653 5148
5149 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4654 public void MergeFrom(NamePart other) { 5150 public void MergeFrom(NamePart other) {
4655 if (other == null) { 5151 if (other == null) {
4656 return; 5152 return;
4657 } 5153 }
4658 if (other.NamePart_.Length != 0) { 5154 if (other.NamePart_.Length != 0) {
4659 NamePart_ = other.NamePart_; 5155 NamePart_ = other.NamePart_;
4660 } 5156 }
4661 if (other.IsExtension != false) { 5157 if (other.IsExtension != false) {
4662 IsExtension = other.IsExtension; 5158 IsExtension = other.IsExtension;
4663 } 5159 }
4664 } 5160 }
4665 5161
5162 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4666 public void MergeFrom(pb::CodedInputStream input) { 5163 public void MergeFrom(pb::CodedInputStream input) {
4667 uint tag; 5164 uint tag;
4668 while ((tag = input.ReadTag()) != 0) { 5165 while ((tag = input.ReadTag()) != 0) {
4669 switch(tag) { 5166 switch(tag) {
4670 default: 5167 default:
4671 input.SkipLastField(); 5168 input.SkipLastField();
4672 break; 5169 break;
4673 case 10: { 5170 case 10: {
4674 NamePart_ = input.ReadString(); 5171 NamePart_ = input.ReadString();
4675 break; 5172 break;
(...skipping 10 matching lines...) Expand all
4686 5183
4687 } 5184 }
4688 #endregion 5185 #endregion
4689 5186
4690 } 5187 }
4691 5188
4692 /// <summary> 5189 /// <summary>
4693 /// Encapsulates information about the original source file from which a 5190 /// Encapsulates information about the original source file from which a
4694 /// FileDescriptorProto was generated. 5191 /// FileDescriptorProto was generated.
4695 /// </summary> 5192 /// </summary>
4696 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4697 internal sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo> { 5193 internal sealed partial class SourceCodeInfo : pb::IMessage<SourceCodeInfo> {
4698 private static readonly pb::MessageParser<SourceCodeInfo> _parser = new pb:: MessageParser<SourceCodeInfo>(() => new SourceCodeInfo()); 5194 private static readonly pb::MessageParser<SourceCodeInfo> _parser = new pb:: MessageParser<SourceCodeInfo>(() => new SourceCodeInfo());
5195 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4699 public static pb::MessageParser<SourceCodeInfo> Parser { get { return _parse r; } } 5196 public static pb::MessageParser<SourceCodeInfo> Parser { get { return _parse r; } }
4700 5197
5198 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4701 public static pbr::MessageDescriptor Descriptor { 5199 public static pbr::MessageDescriptor Descriptor {
4702 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[17]; } 5200 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[18]; }
4703 } 5201 }
4704 5202
5203 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4705 pbr::MessageDescriptor pb::IMessage.Descriptor { 5204 pbr::MessageDescriptor pb::IMessage.Descriptor {
4706 get { return Descriptor; } 5205 get { return Descriptor; }
4707 } 5206 }
4708 5207
5208 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4709 public SourceCodeInfo() { 5209 public SourceCodeInfo() {
4710 OnConstruction(); 5210 OnConstruction();
4711 } 5211 }
4712 5212
4713 partial void OnConstruction(); 5213 partial void OnConstruction();
4714 5214
5215 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4715 public SourceCodeInfo(SourceCodeInfo other) : this() { 5216 public SourceCodeInfo(SourceCodeInfo other) : this() {
4716 location_ = other.location_.Clone(); 5217 location_ = other.location_.Clone();
4717 } 5218 }
4718 5219
5220 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4719 public SourceCodeInfo Clone() { 5221 public SourceCodeInfo Clone() {
4720 return new SourceCodeInfo(this); 5222 return new SourceCodeInfo(this);
4721 } 5223 }
4722 5224
4723 /// <summary>Field number for the "location" field.</summary> 5225 /// <summary>Field number for the "location" field.</summary>
4724 public const int LocationFieldNumber = 1; 5226 public const int LocationFieldNumber = 1;
4725 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.So urceCodeInfo.Types.Location> _repeated_location_codec 5227 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.So urceCodeInfo.Types.Location> _repeated_location_codec
4726 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.Sourc eCodeInfo.Types.Location.Parser); 5228 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.Sourc eCodeInfo.Types.Location.Parser);
4727 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Sourc eCodeInfo.Types.Location> location_ = new pbc::RepeatedField<global::Google.Prot obuf.Reflection.SourceCodeInfo.Types.Location>(); 5229 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Sourc eCodeInfo.Types.Location> location_ = new pbc::RepeatedField<global::Google.Prot obuf.Reflection.SourceCodeInfo.Types.Location>();
4728 /// <summary> 5230 /// <summary>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
4763 /// beginning of the "extend" block and is shared by all extensions withi n 5265 /// beginning of the "extend" block and is shared by all extensions withi n
4764 /// the block. 5266 /// the block.
4765 /// - Just because a location's span is a subset of some other location's s pan 5267 /// - Just because a location's span is a subset of some other location's s pan
4766 /// does not mean that it is a descendent. For example, a "group" define s 5268 /// does not mean that it is a descendent. For example, a "group" define s
4767 /// both a type and a field in a single declaration. Thus, the locations 5269 /// both a type and a field in a single declaration. Thus, the locations
4768 /// corresponding to the type and field and their components will overlap . 5270 /// corresponding to the type and field and their components will overlap .
4769 /// - Code which tries to interpret locations should probably be designed t o 5271 /// - Code which tries to interpret locations should probably be designed t o
4770 /// ignore those that it doesn't understand, as more types of locations c ould 5272 /// ignore those that it doesn't understand, as more types of locations c ould
4771 /// be recorded in the future. 5273 /// be recorded in the future.
4772 /// </summary> 5274 /// </summary>
5275 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4773 public pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo. Types.Location> Location { 5276 public pbc::RepeatedField<global::Google.Protobuf.Reflection.SourceCodeInfo. Types.Location> Location {
4774 get { return location_; } 5277 get { return location_; }
4775 } 5278 }
4776 5279
5280 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4777 public override bool Equals(object other) { 5281 public override bool Equals(object other) {
4778 return Equals(other as SourceCodeInfo); 5282 return Equals(other as SourceCodeInfo);
4779 } 5283 }
4780 5284
5285 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4781 public bool Equals(SourceCodeInfo other) { 5286 public bool Equals(SourceCodeInfo other) {
4782 if (ReferenceEquals(other, null)) { 5287 if (ReferenceEquals(other, null)) {
4783 return false; 5288 return false;
4784 } 5289 }
4785 if (ReferenceEquals(other, this)) { 5290 if (ReferenceEquals(other, this)) {
4786 return true; 5291 return true;
4787 } 5292 }
4788 if(!location_.Equals(other.location_)) return false; 5293 if(!location_.Equals(other.location_)) return false;
4789 return true; 5294 return true;
4790 } 5295 }
4791 5296
5297 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4792 public override int GetHashCode() { 5298 public override int GetHashCode() {
4793 int hash = 1; 5299 int hash = 1;
4794 hash ^= location_.GetHashCode(); 5300 hash ^= location_.GetHashCode();
4795 return hash; 5301 return hash;
4796 } 5302 }
4797 5303
5304 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4798 public override string ToString() { 5305 public override string ToString() {
4799 return pb::JsonFormatter.ToDiagnosticString(this); 5306 return pb::JsonFormatter.ToDiagnosticString(this);
4800 } 5307 }
4801 5308
5309 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4802 public void WriteTo(pb::CodedOutputStream output) { 5310 public void WriteTo(pb::CodedOutputStream output) {
4803 location_.WriteTo(output, _repeated_location_codec); 5311 location_.WriteTo(output, _repeated_location_codec);
4804 } 5312 }
4805 5313
5314 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4806 public int CalculateSize() { 5315 public int CalculateSize() {
4807 int size = 0; 5316 int size = 0;
4808 size += location_.CalculateSize(_repeated_location_codec); 5317 size += location_.CalculateSize(_repeated_location_codec);
4809 return size; 5318 return size;
4810 } 5319 }
4811 5320
5321 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4812 public void MergeFrom(SourceCodeInfo other) { 5322 public void MergeFrom(SourceCodeInfo other) {
4813 if (other == null) { 5323 if (other == null) {
4814 return; 5324 return;
4815 } 5325 }
4816 location_.Add(other.location_); 5326 location_.Add(other.location_);
4817 } 5327 }
4818 5328
5329 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4819 public void MergeFrom(pb::CodedInputStream input) { 5330 public void MergeFrom(pb::CodedInputStream input) {
4820 uint tag; 5331 uint tag;
4821 while ((tag = input.ReadTag()) != 0) { 5332 while ((tag = input.ReadTag()) != 0) {
4822 switch(tag) { 5333 switch(tag) {
4823 default: 5334 default:
4824 input.SkipLastField(); 5335 input.SkipLastField();
4825 break; 5336 break;
4826 case 10: { 5337 case 10: {
4827 location_.AddEntriesFrom(input, _repeated_location_codec); 5338 location_.AddEntriesFrom(input, _repeated_location_codec);
4828 break; 5339 break;
4829 } 5340 }
4830 } 5341 }
4831 } 5342 }
4832 } 5343 }
4833 5344
4834 #region Nested types 5345 #region Nested types
4835 /// <summary>Container for nested types declared in the SourceCodeInfo messa ge type.</summary> 5346 /// <summary>Container for nested types declared in the SourceCodeInfo messa ge type.</summary>
4836 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5347 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4837 public static partial class Types { 5348 public static partial class Types {
4838 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
4839 internal sealed partial class Location : pb::IMessage<Location> { 5349 internal sealed partial class Location : pb::IMessage<Location> {
4840 private static readonly pb::MessageParser<Location> _parser = new pb::Me ssageParser<Location>(() => new Location()); 5350 private static readonly pb::MessageParser<Location> _parser = new pb::Me ssageParser<Location>(() => new Location());
5351 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4841 public static pb::MessageParser<Location> Parser { get { return _parser; } } 5352 public static pb::MessageParser<Location> Parser { get { return _parser; } }
4842 5353
5354 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4843 public static pbr::MessageDescriptor Descriptor { 5355 public static pbr::MessageDescriptor Descriptor {
4844 get { return global::Google.Protobuf.Reflection.SourceCodeInfo.Descrip tor.NestedTypes[0]; } 5356 get { return global::Google.Protobuf.Reflection.SourceCodeInfo.Descrip tor.NestedTypes[0]; }
4845 } 5357 }
4846 5358
5359 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4847 pbr::MessageDescriptor pb::IMessage.Descriptor { 5360 pbr::MessageDescriptor pb::IMessage.Descriptor {
4848 get { return Descriptor; } 5361 get { return Descriptor; }
4849 } 5362 }
4850 5363
5364 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4851 public Location() { 5365 public Location() {
4852 OnConstruction(); 5366 OnConstruction();
4853 } 5367 }
4854 5368
4855 partial void OnConstruction(); 5369 partial void OnConstruction();
4856 5370
5371 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4857 public Location(Location other) : this() { 5372 public Location(Location other) : this() {
4858 path_ = other.path_.Clone(); 5373 path_ = other.path_.Clone();
4859 span_ = other.span_.Clone(); 5374 span_ = other.span_.Clone();
4860 leadingComments_ = other.leadingComments_; 5375 leadingComments_ = other.leadingComments_;
4861 trailingComments_ = other.trailingComments_; 5376 trailingComments_ = other.trailingComments_;
4862 leadingDetachedComments_ = other.leadingDetachedComments_.Clone(); 5377 leadingDetachedComments_ = other.leadingDetachedComments_.Clone();
4863 } 5378 }
4864 5379
5380 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4865 public Location Clone() { 5381 public Location Clone() {
4866 return new Location(this); 5382 return new Location(this);
4867 } 5383 }
4868 5384
4869 /// <summary>Field number for the "path" field.</summary> 5385 /// <summary>Field number for the "path" field.</summary>
4870 public const int PathFieldNumber = 1; 5386 public const int PathFieldNumber = 1;
4871 private static readonly pb::FieldCodec<int> _repeated_path_codec 5387 private static readonly pb::FieldCodec<int> _repeated_path_codec
4872 = pb::FieldCodec.ForInt32(10); 5388 = pb::FieldCodec.ForInt32(10);
4873 private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField< int>(); 5389 private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField< int>();
4874 /// <summary> 5390 /// <summary>
(...skipping 14 matching lines...) Expand all
4889 /// repeated FieldDescriptorProto field = 2; 5405 /// repeated FieldDescriptorProto field = 2;
4890 /// and FieldDescriptorProto.name has field number 1: 5406 /// and FieldDescriptorProto.name has field number 1:
4891 /// optional string name = 1; 5407 /// optional string name = 1;
4892 /// 5408 ///
4893 /// Thus, the above path gives the location of a field name. If we rem oved 5409 /// Thus, the above path gives the location of a field name. If we rem oved
4894 /// the last element: 5410 /// the last element:
4895 /// [ 4, 3, 2, 7 ] 5411 /// [ 4, 3, 2, 7 ]
4896 /// this path refers to the whole field declaration (from the beginning 5412 /// this path refers to the whole field declaration (from the beginning
4897 /// of the label to the terminating semicolon). 5413 /// of the label to the terminating semicolon).
4898 /// </summary> 5414 /// </summary>
5415 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4899 public pbc::RepeatedField<int> Path { 5416 public pbc::RepeatedField<int> Path {
4900 get { return path_; } 5417 get { return path_; }
4901 } 5418 }
4902 5419
4903 /// <summary>Field number for the "span" field.</summary> 5420 /// <summary>Field number for the "span" field.</summary>
4904 public const int SpanFieldNumber = 2; 5421 public const int SpanFieldNumber = 2;
4905 private static readonly pb::FieldCodec<int> _repeated_span_codec 5422 private static readonly pb::FieldCodec<int> _repeated_span_codec
4906 = pb::FieldCodec.ForInt32(18); 5423 = pb::FieldCodec.ForInt32(18);
4907 private readonly pbc::RepeatedField<int> span_ = new pbc::RepeatedField< int>(); 5424 private readonly pbc::RepeatedField<int> span_ = new pbc::RepeatedField< int>();
4908 /// <summary> 5425 /// <summary>
4909 /// Always has exactly three or four elements: start line, start column , 5426 /// Always has exactly three or four elements: start line, start column ,
4910 /// end line (optional, otherwise assumed same as start line), end colu mn. 5427 /// end line (optional, otherwise assumed same as start line), end colu mn.
4911 /// These are packed into a single field for efficiency. Note that lin e 5428 /// These are packed into a single field for efficiency. Note that lin e
4912 /// and column numbers are zero-based -- typically you will want to add 5429 /// and column numbers are zero-based -- typically you will want to add
4913 /// 1 to each before displaying to a user. 5430 /// 1 to each before displaying to a user.
4914 /// </summary> 5431 /// </summary>
5432 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4915 public pbc::RepeatedField<int> Span { 5433 public pbc::RepeatedField<int> Span {
4916 get { return span_; } 5434 get { return span_; }
4917 } 5435 }
4918 5436
4919 /// <summary>Field number for the "leading_comments" field.</summary> 5437 /// <summary>Field number for the "leading_comments" field.</summary>
4920 public const int LeadingCommentsFieldNumber = 3; 5438 public const int LeadingCommentsFieldNumber = 3;
4921 private string leadingComments_ = ""; 5439 private string leadingComments_ = "";
4922 /// <summary> 5440 /// <summary>
4923 /// If this SourceCodeInfo represents a complete declaration, these are any 5441 /// If this SourceCodeInfo represents a complete declaration, these are any
4924 /// comments appearing before and after the declaration which appear to be 5442 /// comments appearing before and after the declaration which appear to be
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
4961 /// optional string corge = 5; 5479 /// optional string corge = 5;
4962 /// /* Block comment attached 5480 /// /* Block comment attached
4963 /// * to corge. Leading asterisks 5481 /// * to corge. Leading asterisks
4964 /// * will be removed. */ 5482 /// * will be removed. */
4965 /// /* Block comment attached to 5483 /// /* Block comment attached to
4966 /// * grault. */ 5484 /// * grault. */
4967 /// optional int32 grault = 6; 5485 /// optional int32 grault = 6;
4968 /// 5486 ///
4969 /// // ignored detached comments. 5487 /// // ignored detached comments.
4970 /// </summary> 5488 /// </summary>
5489 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4971 public string LeadingComments { 5490 public string LeadingComments {
4972 get { return leadingComments_; } 5491 get { return leadingComments_; }
4973 set { 5492 set {
4974 leadingComments_ = pb::ProtoPreconditions.CheckNotNull(value, "value "); 5493 leadingComments_ = pb::ProtoPreconditions.CheckNotNull(value, "value ");
4975 } 5494 }
4976 } 5495 }
4977 5496
4978 /// <summary>Field number for the "trailing_comments" field.</summary> 5497 /// <summary>Field number for the "trailing_comments" field.</summary>
4979 public const int TrailingCommentsFieldNumber = 4; 5498 public const int TrailingCommentsFieldNumber = 4;
4980 private string trailingComments_ = ""; 5499 private string trailingComments_ = "";
5500 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4981 public string TrailingComments { 5501 public string TrailingComments {
4982 get { return trailingComments_; } 5502 get { return trailingComments_; }
4983 set { 5503 set {
4984 trailingComments_ = pb::ProtoPreconditions.CheckNotNull(value, "valu e"); 5504 trailingComments_ = pb::ProtoPreconditions.CheckNotNull(value, "valu e");
4985 } 5505 }
4986 } 5506 }
4987 5507
4988 /// <summary>Field number for the "leading_detached_comments" field.</su mmary> 5508 /// <summary>Field number for the "leading_detached_comments" field.</su mmary>
4989 public const int LeadingDetachedCommentsFieldNumber = 6; 5509 public const int LeadingDetachedCommentsFieldNumber = 6;
4990 private static readonly pb::FieldCodec<string> _repeated_leadingDetached Comments_codec 5510 private static readonly pb::FieldCodec<string> _repeated_leadingDetached Comments_codec
4991 = pb::FieldCodec.ForString(50); 5511 = pb::FieldCodec.ForString(50);
4992 private readonly pbc::RepeatedField<string> leadingDetachedComments_ = n ew pbc::RepeatedField<string>(); 5512 private readonly pbc::RepeatedField<string> leadingDetachedComments_ = n ew pbc::RepeatedField<string>();
5513 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4993 public pbc::RepeatedField<string> LeadingDetachedComments { 5514 public pbc::RepeatedField<string> LeadingDetachedComments {
4994 get { return leadingDetachedComments_; } 5515 get { return leadingDetachedComments_; }
4995 } 5516 }
4996 5517
5518 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
4997 public override bool Equals(object other) { 5519 public override bool Equals(object other) {
4998 return Equals(other as Location); 5520 return Equals(other as Location);
4999 } 5521 }
5000 5522
5523 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5001 public bool Equals(Location other) { 5524 public bool Equals(Location other) {
5002 if (ReferenceEquals(other, null)) { 5525 if (ReferenceEquals(other, null)) {
5003 return false; 5526 return false;
5004 } 5527 }
5005 if (ReferenceEquals(other, this)) { 5528 if (ReferenceEquals(other, this)) {
5006 return true; 5529 return true;
5007 } 5530 }
5008 if(!path_.Equals(other.path_)) return false; 5531 if(!path_.Equals(other.path_)) return false;
5009 if(!span_.Equals(other.span_)) return false; 5532 if(!span_.Equals(other.span_)) return false;
5010 if (LeadingComments != other.LeadingComments) return false; 5533 if (LeadingComments != other.LeadingComments) return false;
5011 if (TrailingComments != other.TrailingComments) return false; 5534 if (TrailingComments != other.TrailingComments) return false;
5012 if(!leadingDetachedComments_.Equals(other.leadingDetachedComments_)) r eturn false; 5535 if(!leadingDetachedComments_.Equals(other.leadingDetachedComments_)) r eturn false;
5013 return true; 5536 return true;
5014 } 5537 }
5015 5538
5539 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5016 public override int GetHashCode() { 5540 public override int GetHashCode() {
5017 int hash = 1; 5541 int hash = 1;
5018 hash ^= path_.GetHashCode(); 5542 hash ^= path_.GetHashCode();
5019 hash ^= span_.GetHashCode(); 5543 hash ^= span_.GetHashCode();
5020 if (LeadingComments.Length != 0) hash ^= LeadingComments.GetHashCode() ; 5544 if (LeadingComments.Length != 0) hash ^= LeadingComments.GetHashCode() ;
5021 if (TrailingComments.Length != 0) hash ^= TrailingComments.GetHashCode (); 5545 if (TrailingComments.Length != 0) hash ^= TrailingComments.GetHashCode ();
5022 hash ^= leadingDetachedComments_.GetHashCode(); 5546 hash ^= leadingDetachedComments_.GetHashCode();
5023 return hash; 5547 return hash;
5024 } 5548 }
5025 5549
5550 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5026 public override string ToString() { 5551 public override string ToString() {
5027 return pb::JsonFormatter.ToDiagnosticString(this); 5552 return pb::JsonFormatter.ToDiagnosticString(this);
5028 } 5553 }
5029 5554
5555 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5030 public void WriteTo(pb::CodedOutputStream output) { 5556 public void WriteTo(pb::CodedOutputStream output) {
5031 path_.WriteTo(output, _repeated_path_codec); 5557 path_.WriteTo(output, _repeated_path_codec);
5032 span_.WriteTo(output, _repeated_span_codec); 5558 span_.WriteTo(output, _repeated_span_codec);
5033 if (LeadingComments.Length != 0) { 5559 if (LeadingComments.Length != 0) {
5034 output.WriteRawTag(26); 5560 output.WriteRawTag(26);
5035 output.WriteString(LeadingComments); 5561 output.WriteString(LeadingComments);
5036 } 5562 }
5037 if (TrailingComments.Length != 0) { 5563 if (TrailingComments.Length != 0) {
5038 output.WriteRawTag(34); 5564 output.WriteRawTag(34);
5039 output.WriteString(TrailingComments); 5565 output.WriteString(TrailingComments);
5040 } 5566 }
5041 leadingDetachedComments_.WriteTo(output, _repeated_leadingDetachedComm ents_codec); 5567 leadingDetachedComments_.WriteTo(output, _repeated_leadingDetachedComm ents_codec);
5042 } 5568 }
5043 5569
5570 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5044 public int CalculateSize() { 5571 public int CalculateSize() {
5045 int size = 0; 5572 int size = 0;
5046 size += path_.CalculateSize(_repeated_path_codec); 5573 size += path_.CalculateSize(_repeated_path_codec);
5047 size += span_.CalculateSize(_repeated_span_codec); 5574 size += span_.CalculateSize(_repeated_span_codec);
5048 if (LeadingComments.Length != 0) { 5575 if (LeadingComments.Length != 0) {
5049 size += 1 + pb::CodedOutputStream.ComputeStringSize(LeadingComments) ; 5576 size += 1 + pb::CodedOutputStream.ComputeStringSize(LeadingComments) ;
5050 } 5577 }
5051 if (TrailingComments.Length != 0) { 5578 if (TrailingComments.Length != 0) {
5052 size += 1 + pb::CodedOutputStream.ComputeStringSize(TrailingComments ); 5579 size += 1 + pb::CodedOutputStream.ComputeStringSize(TrailingComments );
5053 } 5580 }
5054 size += leadingDetachedComments_.CalculateSize(_repeated_leadingDetach edComments_codec); 5581 size += leadingDetachedComments_.CalculateSize(_repeated_leadingDetach edComments_codec);
5055 return size; 5582 return size;
5056 } 5583 }
5057 5584
5585 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5058 public void MergeFrom(Location other) { 5586 public void MergeFrom(Location other) {
5059 if (other == null) { 5587 if (other == null) {
5060 return; 5588 return;
5061 } 5589 }
5062 path_.Add(other.path_); 5590 path_.Add(other.path_);
5063 span_.Add(other.span_); 5591 span_.Add(other.span_);
5064 if (other.LeadingComments.Length != 0) { 5592 if (other.LeadingComments.Length != 0) {
5065 LeadingComments = other.LeadingComments; 5593 LeadingComments = other.LeadingComments;
5066 } 5594 }
5067 if (other.TrailingComments.Length != 0) { 5595 if (other.TrailingComments.Length != 0) {
5068 TrailingComments = other.TrailingComments; 5596 TrailingComments = other.TrailingComments;
5069 } 5597 }
5070 leadingDetachedComments_.Add(other.leadingDetachedComments_); 5598 leadingDetachedComments_.Add(other.leadingDetachedComments_);
5071 } 5599 }
5072 5600
5601 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5073 public void MergeFrom(pb::CodedInputStream input) { 5602 public void MergeFrom(pb::CodedInputStream input) {
5074 uint tag; 5603 uint tag;
5075 while ((tag = input.ReadTag()) != 0) { 5604 while ((tag = input.ReadTag()) != 0) {
5076 switch(tag) { 5605 switch(tag) {
5077 default: 5606 default:
5078 input.SkipLastField(); 5607 input.SkipLastField();
5079 break; 5608 break;
5080 case 10: 5609 case 10:
5081 case 8: { 5610 case 8: {
5082 path_.AddEntriesFrom(input, _repeated_path_codec); 5611 path_.AddEntriesFrom(input, _repeated_path_codec);
(...skipping 25 matching lines...) Expand all
5108 } 5637 }
5109 #endregion 5638 #endregion
5110 5639
5111 } 5640 }
5112 5641
5113 /// <summary> 5642 /// <summary>
5114 /// Describes the relationship between generated code and its original source 5643 /// Describes the relationship between generated code and its original source
5115 /// file. A GeneratedCodeInfo message is associated with only one generated 5644 /// file. A GeneratedCodeInfo message is associated with only one generated
5116 /// source file, but may contain references to different source .proto files. 5645 /// source file, but may contain references to different source .proto files.
5117 /// </summary> 5646 /// </summary>
5118 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5119 internal sealed partial class GeneratedCodeInfo : pb::IMessage<GeneratedCodeIn fo> { 5647 internal sealed partial class GeneratedCodeInfo : pb::IMessage<GeneratedCodeIn fo> {
5120 private static readonly pb::MessageParser<GeneratedCodeInfo> _parser = new p b::MessageParser<GeneratedCodeInfo>(() => new GeneratedCodeInfo()); 5648 private static readonly pb::MessageParser<GeneratedCodeInfo> _parser = new p b::MessageParser<GeneratedCodeInfo>(() => new GeneratedCodeInfo());
5649 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5121 public static pb::MessageParser<GeneratedCodeInfo> Parser { get { return _pa rser; } } 5650 public static pb::MessageParser<GeneratedCodeInfo> Parser { get { return _pa rser; } }
5122 5651
5652 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5123 public static pbr::MessageDescriptor Descriptor { 5653 public static pbr::MessageDescriptor Descriptor {
5124 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[18]; } 5654 get { return global::Google.Protobuf.Reflection.DescriptorReflection.Descr iptor.MessageTypes[19]; }
5125 } 5655 }
5126 5656
5657 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5127 pbr::MessageDescriptor pb::IMessage.Descriptor { 5658 pbr::MessageDescriptor pb::IMessage.Descriptor {
5128 get { return Descriptor; } 5659 get { return Descriptor; }
5129 } 5660 }
5130 5661
5662 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5131 public GeneratedCodeInfo() { 5663 public GeneratedCodeInfo() {
5132 OnConstruction(); 5664 OnConstruction();
5133 } 5665 }
5134 5666
5135 partial void OnConstruction(); 5667 partial void OnConstruction();
5136 5668
5669 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5137 public GeneratedCodeInfo(GeneratedCodeInfo other) : this() { 5670 public GeneratedCodeInfo(GeneratedCodeInfo other) : this() {
5138 annotation_ = other.annotation_.Clone(); 5671 annotation_ = other.annotation_.Clone();
5139 } 5672 }
5140 5673
5674 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5141 public GeneratedCodeInfo Clone() { 5675 public GeneratedCodeInfo Clone() {
5142 return new GeneratedCodeInfo(this); 5676 return new GeneratedCodeInfo(this);
5143 } 5677 }
5144 5678
5145 /// <summary>Field number for the "annotation" field.</summary> 5679 /// <summary>Field number for the "annotation" field.</summary>
5146 public const int AnnotationFieldNumber = 1; 5680 public const int AnnotationFieldNumber = 1;
5147 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Ge neratedCodeInfo.Types.Annotation> _repeated_annotation_codec 5681 private static readonly pb::FieldCodec<global::Google.Protobuf.Reflection.Ge neratedCodeInfo.Types.Annotation> _repeated_annotation_codec
5148 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.Gener atedCodeInfo.Types.Annotation.Parser); 5682 = pb::FieldCodec.ForMessage(10, global::Google.Protobuf.Reflection.Gener atedCodeInfo.Types.Annotation.Parser);
5149 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Gener atedCodeInfo.Types.Annotation> annotation_ = new pbc::RepeatedField<global::Goog le.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation>(); 5683 private readonly pbc::RepeatedField<global::Google.Protobuf.Reflection.Gener atedCodeInfo.Types.Annotation> annotation_ = new pbc::RepeatedField<global::Goog le.Protobuf.Reflection.GeneratedCodeInfo.Types.Annotation>();
5150 /// <summary> 5684 /// <summary>
5151 /// An Annotation connects some span of text in generated code to an elemen t 5685 /// An Annotation connects some span of text in generated code to an elemen t
5152 /// of its generating .proto file. 5686 /// of its generating .proto file.
5153 /// </summary> 5687 /// </summary>
5688 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5154 public pbc::RepeatedField<global::Google.Protobuf.Reflection.GeneratedCodeIn fo.Types.Annotation> Annotation { 5689 public pbc::RepeatedField<global::Google.Protobuf.Reflection.GeneratedCodeIn fo.Types.Annotation> Annotation {
5155 get { return annotation_; } 5690 get { return annotation_; }
5156 } 5691 }
5157 5692
5693 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5158 public override bool Equals(object other) { 5694 public override bool Equals(object other) {
5159 return Equals(other as GeneratedCodeInfo); 5695 return Equals(other as GeneratedCodeInfo);
5160 } 5696 }
5161 5697
5698 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5162 public bool Equals(GeneratedCodeInfo other) { 5699 public bool Equals(GeneratedCodeInfo other) {
5163 if (ReferenceEquals(other, null)) { 5700 if (ReferenceEquals(other, null)) {
5164 return false; 5701 return false;
5165 } 5702 }
5166 if (ReferenceEquals(other, this)) { 5703 if (ReferenceEquals(other, this)) {
5167 return true; 5704 return true;
5168 } 5705 }
5169 if(!annotation_.Equals(other.annotation_)) return false; 5706 if(!annotation_.Equals(other.annotation_)) return false;
5170 return true; 5707 return true;
5171 } 5708 }
5172 5709
5710 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5173 public override int GetHashCode() { 5711 public override int GetHashCode() {
5174 int hash = 1; 5712 int hash = 1;
5175 hash ^= annotation_.GetHashCode(); 5713 hash ^= annotation_.GetHashCode();
5176 return hash; 5714 return hash;
5177 } 5715 }
5178 5716
5717 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5179 public override string ToString() { 5718 public override string ToString() {
5180 return pb::JsonFormatter.ToDiagnosticString(this); 5719 return pb::JsonFormatter.ToDiagnosticString(this);
5181 } 5720 }
5182 5721
5722 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5183 public void WriteTo(pb::CodedOutputStream output) { 5723 public void WriteTo(pb::CodedOutputStream output) {
5184 annotation_.WriteTo(output, _repeated_annotation_codec); 5724 annotation_.WriteTo(output, _repeated_annotation_codec);
5185 } 5725 }
5186 5726
5727 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5187 public int CalculateSize() { 5728 public int CalculateSize() {
5188 int size = 0; 5729 int size = 0;
5189 size += annotation_.CalculateSize(_repeated_annotation_codec); 5730 size += annotation_.CalculateSize(_repeated_annotation_codec);
5190 return size; 5731 return size;
5191 } 5732 }
5192 5733
5734 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5193 public void MergeFrom(GeneratedCodeInfo other) { 5735 public void MergeFrom(GeneratedCodeInfo other) {
5194 if (other == null) { 5736 if (other == null) {
5195 return; 5737 return;
5196 } 5738 }
5197 annotation_.Add(other.annotation_); 5739 annotation_.Add(other.annotation_);
5198 } 5740 }
5199 5741
5742 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5200 public void MergeFrom(pb::CodedInputStream input) { 5743 public void MergeFrom(pb::CodedInputStream input) {
5201 uint tag; 5744 uint tag;
5202 while ((tag = input.ReadTag()) != 0) { 5745 while ((tag = input.ReadTag()) != 0) {
5203 switch(tag) { 5746 switch(tag) {
5204 default: 5747 default:
5205 input.SkipLastField(); 5748 input.SkipLastField();
5206 break; 5749 break;
5207 case 10: { 5750 case 10: {
5208 annotation_.AddEntriesFrom(input, _repeated_annotation_codec); 5751 annotation_.AddEntriesFrom(input, _repeated_annotation_codec);
5209 break; 5752 break;
5210 } 5753 }
5211 } 5754 }
5212 } 5755 }
5213 } 5756 }
5214 5757
5215 #region Nested types 5758 #region Nested types
5216 /// <summary>Container for nested types declared in the GeneratedCodeInfo me ssage type.</summary> 5759 /// <summary>Container for nested types declared in the GeneratedCodeInfo me ssage type.</summary>
5217 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 5760 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5218 public static partial class Types { 5761 public static partial class Types {
5219 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
5220 internal sealed partial class Annotation : pb::IMessage<Annotation> { 5762 internal sealed partial class Annotation : pb::IMessage<Annotation> {
5221 private static readonly pb::MessageParser<Annotation> _parser = new pb:: MessageParser<Annotation>(() => new Annotation()); 5763 private static readonly pb::MessageParser<Annotation> _parser = new pb:: MessageParser<Annotation>(() => new Annotation());
5764 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5222 public static pb::MessageParser<Annotation> Parser { get { return _parse r; } } 5765 public static pb::MessageParser<Annotation> Parser { get { return _parse r; } }
5223 5766
5767 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5224 public static pbr::MessageDescriptor Descriptor { 5768 public static pbr::MessageDescriptor Descriptor {
5225 get { return global::Google.Protobuf.Reflection.GeneratedCodeInfo.Desc riptor.NestedTypes[0]; } 5769 get { return global::Google.Protobuf.Reflection.GeneratedCodeInfo.Desc riptor.NestedTypes[0]; }
5226 } 5770 }
5227 5771
5772 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5228 pbr::MessageDescriptor pb::IMessage.Descriptor { 5773 pbr::MessageDescriptor pb::IMessage.Descriptor {
5229 get { return Descriptor; } 5774 get { return Descriptor; }
5230 } 5775 }
5231 5776
5777 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5232 public Annotation() { 5778 public Annotation() {
5233 OnConstruction(); 5779 OnConstruction();
5234 } 5780 }
5235 5781
5236 partial void OnConstruction(); 5782 partial void OnConstruction();
5237 5783
5784 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5238 public Annotation(Annotation other) : this() { 5785 public Annotation(Annotation other) : this() {
5239 path_ = other.path_.Clone(); 5786 path_ = other.path_.Clone();
5240 sourceFile_ = other.sourceFile_; 5787 sourceFile_ = other.sourceFile_;
5241 begin_ = other.begin_; 5788 begin_ = other.begin_;
5242 end_ = other.end_; 5789 end_ = other.end_;
5243 } 5790 }
5244 5791
5792 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5245 public Annotation Clone() { 5793 public Annotation Clone() {
5246 return new Annotation(this); 5794 return new Annotation(this);
5247 } 5795 }
5248 5796
5249 /// <summary>Field number for the "path" field.</summary> 5797 /// <summary>Field number for the "path" field.</summary>
5250 public const int PathFieldNumber = 1; 5798 public const int PathFieldNumber = 1;
5251 private static readonly pb::FieldCodec<int> _repeated_path_codec 5799 private static readonly pb::FieldCodec<int> _repeated_path_codec
5252 = pb::FieldCodec.ForInt32(10); 5800 = pb::FieldCodec.ForInt32(10);
5253 private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField< int>(); 5801 private readonly pbc::RepeatedField<int> path_ = new pbc::RepeatedField< int>();
5254 /// <summary> 5802 /// <summary>
5255 /// Identifies the element in the original source .proto file. This fie ld 5803 /// Identifies the element in the original source .proto file. This fie ld
5256 /// is formatted the same as SourceCodeInfo.Location.path. 5804 /// is formatted the same as SourceCodeInfo.Location.path.
5257 /// </summary> 5805 /// </summary>
5806 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5258 public pbc::RepeatedField<int> Path { 5807 public pbc::RepeatedField<int> Path {
5259 get { return path_; } 5808 get { return path_; }
5260 } 5809 }
5261 5810
5262 /// <summary>Field number for the "source_file" field.</summary> 5811 /// <summary>Field number for the "source_file" field.</summary>
5263 public const int SourceFileFieldNumber = 2; 5812 public const int SourceFileFieldNumber = 2;
5264 private string sourceFile_ = ""; 5813 private string sourceFile_ = "";
5265 /// <summary> 5814 /// <summary>
5266 /// Identifies the filesystem path to the original source .proto. 5815 /// Identifies the filesystem path to the original source .proto.
5267 /// </summary> 5816 /// </summary>
5817 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5268 public string SourceFile { 5818 public string SourceFile {
5269 get { return sourceFile_; } 5819 get { return sourceFile_; }
5270 set { 5820 set {
5271 sourceFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value"); 5821 sourceFile_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
5272 } 5822 }
5273 } 5823 }
5274 5824
5275 /// <summary>Field number for the "begin" field.</summary> 5825 /// <summary>Field number for the "begin" field.</summary>
5276 public const int BeginFieldNumber = 3; 5826 public const int BeginFieldNumber = 3;
5277 private int begin_; 5827 private int begin_;
5278 /// <summary> 5828 /// <summary>
5279 /// Identifies the starting offset in bytes in the generated code 5829 /// Identifies the starting offset in bytes in the generated code
5280 /// that relates to the identified object. 5830 /// that relates to the identified object.
5281 /// </summary> 5831 /// </summary>
5832 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5282 public int Begin { 5833 public int Begin {
5283 get { return begin_; } 5834 get { return begin_; }
5284 set { 5835 set {
5285 begin_ = value; 5836 begin_ = value;
5286 } 5837 }
5287 } 5838 }
5288 5839
5289 /// <summary>Field number for the "end" field.</summary> 5840 /// <summary>Field number for the "end" field.</summary>
5290 public const int EndFieldNumber = 4; 5841 public const int EndFieldNumber = 4;
5291 private int end_; 5842 private int end_;
5292 /// <summary> 5843 /// <summary>
5293 /// Identifies the ending offset in bytes in the generated code that 5844 /// Identifies the ending offset in bytes in the generated code that
5294 /// relates to the identified offset. The end offset should be one past 5845 /// relates to the identified offset. The end offset should be one past
5295 /// the last relevant byte (so the length of the text = end - begin). 5846 /// the last relevant byte (so the length of the text = end - begin).
5296 /// </summary> 5847 /// </summary>
5848 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5297 public int End { 5849 public int End {
5298 get { return end_; } 5850 get { return end_; }
5299 set { 5851 set {
5300 end_ = value; 5852 end_ = value;
5301 } 5853 }
5302 } 5854 }
5303 5855
5856 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5304 public override bool Equals(object other) { 5857 public override bool Equals(object other) {
5305 return Equals(other as Annotation); 5858 return Equals(other as Annotation);
5306 } 5859 }
5307 5860
5861 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5308 public bool Equals(Annotation other) { 5862 public bool Equals(Annotation other) {
5309 if (ReferenceEquals(other, null)) { 5863 if (ReferenceEquals(other, null)) {
5310 return false; 5864 return false;
5311 } 5865 }
5312 if (ReferenceEquals(other, this)) { 5866 if (ReferenceEquals(other, this)) {
5313 return true; 5867 return true;
5314 } 5868 }
5315 if(!path_.Equals(other.path_)) return false; 5869 if(!path_.Equals(other.path_)) return false;
5316 if (SourceFile != other.SourceFile) return false; 5870 if (SourceFile != other.SourceFile) return false;
5317 if (Begin != other.Begin) return false; 5871 if (Begin != other.Begin) return false;
5318 if (End != other.End) return false; 5872 if (End != other.End) return false;
5319 return true; 5873 return true;
5320 } 5874 }
5321 5875
5876 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5322 public override int GetHashCode() { 5877 public override int GetHashCode() {
5323 int hash = 1; 5878 int hash = 1;
5324 hash ^= path_.GetHashCode(); 5879 hash ^= path_.GetHashCode();
5325 if (SourceFile.Length != 0) hash ^= SourceFile.GetHashCode(); 5880 if (SourceFile.Length != 0) hash ^= SourceFile.GetHashCode();
5326 if (Begin != 0) hash ^= Begin.GetHashCode(); 5881 if (Begin != 0) hash ^= Begin.GetHashCode();
5327 if (End != 0) hash ^= End.GetHashCode(); 5882 if (End != 0) hash ^= End.GetHashCode();
5328 return hash; 5883 return hash;
5329 } 5884 }
5330 5885
5886 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5331 public override string ToString() { 5887 public override string ToString() {
5332 return pb::JsonFormatter.ToDiagnosticString(this); 5888 return pb::JsonFormatter.ToDiagnosticString(this);
5333 } 5889 }
5334 5890
5891 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5335 public void WriteTo(pb::CodedOutputStream output) { 5892 public void WriteTo(pb::CodedOutputStream output) {
5336 path_.WriteTo(output, _repeated_path_codec); 5893 path_.WriteTo(output, _repeated_path_codec);
5337 if (SourceFile.Length != 0) { 5894 if (SourceFile.Length != 0) {
5338 output.WriteRawTag(18); 5895 output.WriteRawTag(18);
5339 output.WriteString(SourceFile); 5896 output.WriteString(SourceFile);
5340 } 5897 }
5341 if (Begin != 0) { 5898 if (Begin != 0) {
5342 output.WriteRawTag(24); 5899 output.WriteRawTag(24);
5343 output.WriteInt32(Begin); 5900 output.WriteInt32(Begin);
5344 } 5901 }
5345 if (End != 0) { 5902 if (End != 0) {
5346 output.WriteRawTag(32); 5903 output.WriteRawTag(32);
5347 output.WriteInt32(End); 5904 output.WriteInt32(End);
5348 } 5905 }
5349 } 5906 }
5350 5907
5908 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5351 public int CalculateSize() { 5909 public int CalculateSize() {
5352 int size = 0; 5910 int size = 0;
5353 size += path_.CalculateSize(_repeated_path_codec); 5911 size += path_.CalculateSize(_repeated_path_codec);
5354 if (SourceFile.Length != 0) { 5912 if (SourceFile.Length != 0) {
5355 size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceFile); 5913 size += 1 + pb::CodedOutputStream.ComputeStringSize(SourceFile);
5356 } 5914 }
5357 if (Begin != 0) { 5915 if (Begin != 0) {
5358 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Begin); 5916 size += 1 + pb::CodedOutputStream.ComputeInt32Size(Begin);
5359 } 5917 }
5360 if (End != 0) { 5918 if (End != 0) {
5361 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End); 5919 size += 1 + pb::CodedOutputStream.ComputeInt32Size(End);
5362 } 5920 }
5363 return size; 5921 return size;
5364 } 5922 }
5365 5923
5924 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5366 public void MergeFrom(Annotation other) { 5925 public void MergeFrom(Annotation other) {
5367 if (other == null) { 5926 if (other == null) {
5368 return; 5927 return;
5369 } 5928 }
5370 path_.Add(other.path_); 5929 path_.Add(other.path_);
5371 if (other.SourceFile.Length != 0) { 5930 if (other.SourceFile.Length != 0) {
5372 SourceFile = other.SourceFile; 5931 SourceFile = other.SourceFile;
5373 } 5932 }
5374 if (other.Begin != 0) { 5933 if (other.Begin != 0) {
5375 Begin = other.Begin; 5934 Begin = other.Begin;
5376 } 5935 }
5377 if (other.End != 0) { 5936 if (other.End != 0) {
5378 End = other.End; 5937 End = other.End;
5379 } 5938 }
5380 } 5939 }
5381 5940
5941 [global::System.Diagnostics.DebuggerNonUserCodeAttribute]
5382 public void MergeFrom(pb::CodedInputStream input) { 5942 public void MergeFrom(pb::CodedInputStream input) {
5383 uint tag; 5943 uint tag;
5384 while ((tag = input.ReadTag()) != 0) { 5944 while ((tag = input.ReadTag()) != 0) {
5385 switch(tag) { 5945 switch(tag) {
5386 default: 5946 default:
5387 input.SkipLastField(); 5947 input.SkipLastField();
5388 break; 5948 break;
5389 case 10: 5949 case 10:
5390 case 8: { 5950 case 8: {
5391 path_.AddEntriesFrom(input, _repeated_path_codec); 5951 path_.AddEntriesFrom(input, _repeated_path_codec);
(...skipping 20 matching lines...) Expand all
5412 } 5972 }
5413 #endregion 5973 #endregion
5414 5974
5415 } 5975 }
5416 5976
5417 #endregion 5977 #endregion
5418 5978
5419 } 5979 }
5420 5980
5421 #endregion Designer generated code 5981 #endregion Designer generated code
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698