PageRenderTime 51ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 1ms

/src/ProtocolBuffers/DescriptorProtos/DescriptorProtoFile.cs

https://code.google.com/p/protobuf-csharp-port/
C# | 1177 lines | 1102 code | 74 blank | 1 comment | 93 complexity | 70a168f15228c052082bbae61c06138b MD5 | raw file
Possible License(s): BSD-3-Clause, Apache-2.0, GPL-2.0

Large files files are truncated, but you can click here to view the full file

  1. // Generated by ProtoGen, Version=2.4.1.473, Culture=neutral, PublicKeyToken=17b3b1f090c3ea48. DO NOT EDIT!
  2. #pragma warning disable 1591, 0612
  3. #region Designer generated code
  4. using pb = global::Google.ProtocolBuffers;
  5. using pbc = global::Google.ProtocolBuffers.Collections;
  6. using pbd = global::Google.ProtocolBuffers.Descriptors;
  7. using scg = global::System.Collections.Generic;
  8. namespace Google.ProtocolBuffers.DescriptorProtos {
  9. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  10. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  11. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.4.1.473")]
  12. public static partial class DescriptorProtoFile {
  13. #region Extension registration
  14. public static void RegisterAllExtensions(pb::ExtensionRegistry registry) {
  15. }
  16. #endregion
  17. #region Static variables
  18. internal static pbd::MessageDescriptor internal__static_google_protobuf_FileDescriptorSet__Descriptor;
  19. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet, global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.Builder> internal__static_google_protobuf_FileDescriptorSet__FieldAccessorTable;
  20. internal static pbd::MessageDescriptor internal__static_google_protobuf_FileDescriptorProto__Descriptor;
  21. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.Builder> internal__static_google_protobuf_FileDescriptorProto__FieldAccessorTable;
  22. internal static pbd::MessageDescriptor internal__static_google_protobuf_DescriptorProto__Descriptor;
  23. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Builder> internal__static_google_protobuf_DescriptorProto__FieldAccessorTable;
  24. internal static pbd::MessageDescriptor internal__static_google_protobuf_DescriptorProto_ExtensionRange__Descriptor;
  25. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Types.ExtensionRange, global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Types.ExtensionRange.Builder> internal__static_google_protobuf_DescriptorProto_ExtensionRange__FieldAccessorTable;
  26. internal static pbd::MessageDescriptor internal__static_google_protobuf_FieldDescriptorProto__Descriptor;
  27. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto.Builder> internal__static_google_protobuf_FieldDescriptorProto__FieldAccessorTable;
  28. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumDescriptorProto__Descriptor;
  29. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto.Builder> internal__static_google_protobuf_EnumDescriptorProto__FieldAccessorTable;
  30. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumValueDescriptorProto__Descriptor;
  31. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumValueDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.EnumValueDescriptorProto.Builder> internal__static_google_protobuf_EnumValueDescriptorProto__FieldAccessorTable;
  32. internal static pbd::MessageDescriptor internal__static_google_protobuf_ServiceDescriptorProto__Descriptor;
  33. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto.Builder> internal__static_google_protobuf_ServiceDescriptorProto__FieldAccessorTable;
  34. internal static pbd::MessageDescriptor internal__static_google_protobuf_MethodDescriptorProto__Descriptor;
  35. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.MethodDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.MethodDescriptorProto.Builder> internal__static_google_protobuf_MethodDescriptorProto__FieldAccessorTable;
  36. internal static pbd::MessageDescriptor internal__static_google_protobuf_FileOptions__Descriptor;
  37. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FileOptions, global::Google.ProtocolBuffers.DescriptorProtos.FileOptions.Builder> internal__static_google_protobuf_FileOptions__FieldAccessorTable;
  38. internal static pbd::MessageDescriptor internal__static_google_protobuf_MessageOptions__Descriptor;
  39. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.MessageOptions, global::Google.ProtocolBuffers.DescriptorProtos.MessageOptions.Builder> internal__static_google_protobuf_MessageOptions__FieldAccessorTable;
  40. internal static pbd::MessageDescriptor internal__static_google_protobuf_FieldOptions__Descriptor;
  41. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FieldOptions, global::Google.ProtocolBuffers.DescriptorProtos.FieldOptions.Builder> internal__static_google_protobuf_FieldOptions__FieldAccessorTable;
  42. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumOptions__Descriptor;
  43. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumOptions, global::Google.ProtocolBuffers.DescriptorProtos.EnumOptions.Builder> internal__static_google_protobuf_EnumOptions__FieldAccessorTable;
  44. internal static pbd::MessageDescriptor internal__static_google_protobuf_EnumValueOptions__Descriptor;
  45. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumValueOptions, global::Google.ProtocolBuffers.DescriptorProtos.EnumValueOptions.Builder> internal__static_google_protobuf_EnumValueOptions__FieldAccessorTable;
  46. internal static pbd::MessageDescriptor internal__static_google_protobuf_ServiceOptions__Descriptor;
  47. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.ServiceOptions, global::Google.ProtocolBuffers.DescriptorProtos.ServiceOptions.Builder> internal__static_google_protobuf_ServiceOptions__FieldAccessorTable;
  48. internal static pbd::MessageDescriptor internal__static_google_protobuf_MethodOptions__Descriptor;
  49. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.MethodOptions, global::Google.ProtocolBuffers.DescriptorProtos.MethodOptions.Builder> internal__static_google_protobuf_MethodOptions__FieldAccessorTable;
  50. internal static pbd::MessageDescriptor internal__static_google_protobuf_UninterpretedOption__Descriptor;
  51. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption, global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Builder> internal__static_google_protobuf_UninterpretedOption__FieldAccessorTable;
  52. internal static pbd::MessageDescriptor internal__static_google_protobuf_UninterpretedOption_NamePart__Descriptor;
  53. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart, global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart.Builder> internal__static_google_protobuf_UninterpretedOption_NamePart__FieldAccessorTable;
  54. internal static pbd::MessageDescriptor internal__static_google_protobuf_SourceCodeInfo__Descriptor;
  55. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo, global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.Builder> internal__static_google_protobuf_SourceCodeInfo__FieldAccessorTable;
  56. internal static pbd::MessageDescriptor internal__static_google_protobuf_SourceCodeInfo_Location__Descriptor;
  57. internal static pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.Types.Location, global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.Types.Location.Builder> internal__static_google_protobuf_SourceCodeInfo_Location__FieldAccessorTable;
  58. #endregion
  59. #region Descriptor
  60. public static pbd::FileDescriptor Descriptor {
  61. get { return descriptor; }
  62. }
  63. private static pbd::FileDescriptor descriptor;
  64. static DescriptorProtoFile() {
  65. byte[] descriptorData = global::System.Convert.FromBase64String(
  66. "CiBnb29nbGUvcHJvdG9idWYvZGVzY3JpcHRvci5wcm90bxIPZ29vZ2xlLnBy" +
  67. "b3RvYnVmIkcKEUZpbGVEZXNjcmlwdG9yU2V0EjIKBGZpbGUYASADKAsyJC5n" +
  68. "b29nbGUucHJvdG9idWYuRmlsZURlc2NyaXB0b3JQcm90byKXAwoTRmlsZURl" +
  69. "c2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJEg8KB3BhY2thZ2UYAiABKAkS" +
  70. "EgoKZGVwZW5kZW5jeRgDIAMoCRI2CgxtZXNzYWdlX3R5cGUYBCADKAsyIC5n" +
  71. "b29nbGUucHJvdG9idWYuRGVzY3JpcHRvclByb3RvEjcKCWVudW1fdHlwZRgF" +
  72. "IAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5FbnVtRGVzY3JpcHRvclByb3RvEjgK" +
  73. "B3NlcnZpY2UYBiADKAsyJy5nb29nbGUucHJvdG9idWYuU2VydmljZURlc2Ny" +
  74. "aXB0b3JQcm90bxI4CglleHRlbnNpb24YByADKAsyJS5nb29nbGUucHJvdG9i" +
  75. "dWYuRmllbGREZXNjcmlwdG9yUHJvdG8SLQoHb3B0aW9ucxgIIAEoCzIcLmdv" +
  76. "b2dsZS5wcm90b2J1Zi5GaWxlT3B0aW9ucxI5ChBzb3VyY2VfY29kZV9pbmZv" +
  77. "GAkgASgLMh8uZ29vZ2xlLnByb3RvYnVmLlNvdXJjZUNvZGVJbmZvIqkDCg9E" +
  78. "ZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRI0CgVmaWVsZBgCIAMoCzIl" +
  79. "Lmdvb2dsZS5wcm90b2J1Zi5GaWVsZERlc2NyaXB0b3JQcm90bxI4CglleHRl" +
  80. "bnNpb24YBiADKAsyJS5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9y" +
  81. "UHJvdG8SNQoLbmVzdGVkX3R5cGUYAyADKAsyIC5nb29nbGUucHJvdG9idWYu" +
  82. "RGVzY3JpcHRvclByb3RvEjcKCWVudW1fdHlwZRgEIAMoCzIkLmdvb2dsZS5w" +
  83. "cm90b2J1Zi5FbnVtRGVzY3JpcHRvclByb3RvEkgKD2V4dGVuc2lvbl9yYW5n" +
  84. "ZRgFIAMoCzIvLmdvb2dsZS5wcm90b2J1Zi5EZXNjcmlwdG9yUHJvdG8uRXh0" +
  85. "ZW5zaW9uUmFuZ2USMAoHb3B0aW9ucxgHIAEoCzIfLmdvb2dsZS5wcm90b2J1" +
  86. "Zi5NZXNzYWdlT3B0aW9ucxosCg5FeHRlbnNpb25SYW5nZRINCgVzdGFydBgB" +
  87. "IAEoBRILCgNlbmQYAiABKAUilAUKFEZpZWxkRGVzY3JpcHRvclByb3RvEgwK" +
  88. "BG5hbWUYASABKAkSDgoGbnVtYmVyGAMgASgFEjoKBWxhYmVsGAQgASgOMisu" +
  89. "Z29vZ2xlLnByb3RvYnVmLkZpZWxkRGVzY3JpcHRvclByb3RvLkxhYmVsEjgK" +
  90. "BHR5cGUYBSABKA4yKi5nb29nbGUucHJvdG9idWYuRmllbGREZXNjcmlwdG9y" +
  91. "UHJvdG8uVHlwZRIRCgl0eXBlX25hbWUYBiABKAkSEAoIZXh0ZW5kZWUYAiAB" +
  92. "KAkSFQoNZGVmYXVsdF92YWx1ZRgHIAEoCRIuCgdvcHRpb25zGAggASgLMh0u" +
  93. "Z29vZ2xlLnByb3RvYnVmLkZpZWxkT3B0aW9ucyK2AgoEVHlwZRIPCgtUWVBF" +
  94. "X0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWVBFX0lOVDY0EAMSDwoL" +
  95. "VFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhFRDY0" +
  96. "EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9T" +
  97. "VFJJTkcQCRIOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoK" +
  98. "VFlQRV9CWVRFUxAMEg8KC1RZUEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4S" +
  99. "EQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0ZJWEVENjQQEBIPCgtUWVBF" +
  100. "X1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIiQwoFTGFiZWwSEgoOTEFCRUxf" +
  101. "T1BUSU9OQUwQARISCg5MQUJFTF9SRVFVSVJFRBACEhIKDkxBQkVMX1JFUEVB" +
  102. "VEVEEAMijAEKE0VudW1EZXNjcmlwdG9yUHJvdG8SDAoEbmFtZRgBIAEoCRI4" +
  103. "CgV2YWx1ZRgCIAMoCzIpLmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVEZXNj" +
  104. "cmlwdG9yUHJvdG8SLQoHb3B0aW9ucxgDIAEoCzIcLmdvb2dsZS5wcm90b2J1" +
  105. "Zi5FbnVtT3B0aW9ucyJsChhFbnVtVmFsdWVEZXNjcmlwdG9yUHJvdG8SDAoE" +
  106. "bmFtZRgBIAEoCRIOCgZudW1iZXIYAiABKAUSMgoHb3B0aW9ucxgDIAEoCzIh" +
  107. "Lmdvb2dsZS5wcm90b2J1Zi5FbnVtVmFsdWVPcHRpb25zIpABChZTZXJ2aWNl" +
  108. "RGVzY3JpcHRvclByb3RvEgwKBG5hbWUYASABKAkSNgoGbWV0aG9kGAIgAygL" +
  109. "MiYuZ29vZ2xlLnByb3RvYnVmLk1ldGhvZERlc2NyaXB0b3JQcm90bxIwCgdv" +
  110. "cHRpb25zGAMgASgLMh8uZ29vZ2xlLnByb3RvYnVmLlNlcnZpY2VPcHRpb25z" +
  111. "In8KFU1ldGhvZERlc2NyaXB0b3JQcm90bxIMCgRuYW1lGAEgASgJEhIKCmlu" +
  112. "cHV0X3R5cGUYAiABKAkSEwoLb3V0cHV0X3R5cGUYAyABKAkSLwoHb3B0aW9u" +
  113. "cxgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5NZXRob2RPcHRpb25zItUDCgtG" +
  114. "aWxlT3B0aW9ucxIUCgxqYXZhX3BhY2thZ2UYASABKAkSHAoUamF2YV9vdXRl" +
  115. "cl9jbGFzc25hbWUYCCABKAkSIgoTamF2YV9tdWx0aXBsZV9maWxlcxgKIAEo" +
  116. "CDoFZmFsc2USLAodamF2YV9nZW5lcmF0ZV9lcXVhbHNfYW5kX2hhc2gYFCAB" +
  117. "KAg6BWZhbHNlEkYKDG9wdGltaXplX2ZvchgJIAEoDjIpLmdvb2dsZS5wcm90" +
  118. "b2J1Zi5GaWxlT3B0aW9ucy5PcHRpbWl6ZU1vZGU6BVNQRUVEEiIKE2NjX2dl" +
  119. "bmVyaWNfc2VydmljZXMYECABKAg6BWZhbHNlEiQKFWphdmFfZ2VuZXJpY19z" +
  120. "ZXJ2aWNlcxgRIAEoCDoFZmFsc2USIgoTcHlfZ2VuZXJpY19zZXJ2aWNlcxgS" +
  121. "IAEoCDoFZmFsc2USQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQu" +
  122. "Z29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24iOgoMT3B0aW1p" +
  123. "emVNb2RlEgkKBVNQRUVEEAESDQoJQ09ERV9TSVpFEAISEAoMTElURV9SVU5U" +
  124. "SU1FEAMqCQjoBxCAgICAAiK4AQoOTWVzc2FnZU9wdGlvbnMSJgoXbWVzc2Fn" +
  125. "ZV9zZXRfd2lyZV9mb3JtYXQYASABKAg6BWZhbHNlEi4KH25vX3N0YW5kYXJk" +
  126. "X2Rlc2NyaXB0b3JfYWNjZXNzb3IYAiABKAg6BWZhbHNlEkMKFHVuaW50ZXJw" +
  127. "cmV0ZWRfb3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVy" +
  128. "cHJldGVkT3B0aW9uKgkI6AcQgICAgAIilAIKDEZpZWxkT3B0aW9ucxI6CgVj" +
  129. "dHlwZRgBIAEoDjIjLmdvb2dsZS5wcm90b2J1Zi5GaWVsZE9wdGlvbnMuQ1R5" +
  130. "cGU6BlNUUklORxIOCgZwYWNrZWQYAiABKAgSGQoKZGVwcmVjYXRlZBgDIAEo" +
  131. "CDoFZmFsc2USHAoUZXhwZXJpbWVudGFsX21hcF9rZXkYCSABKAkSQwoUdW5p" +
  132. "bnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVu" +
  133. "aW50ZXJwcmV0ZWRPcHRpb24iLwoFQ1R5cGUSCgoGU1RSSU5HEAASCAoEQ09S" +
  134. "RBABEhAKDFNUUklOR19QSUVDRRACKgkI6AcQgICAgAIiXQoLRW51bU9wdGlv" +
  135. "bnMSQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y5wcgAygLMiQuZ29vZ2xlLnBy" +
  136. "b3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24qCQjoBxCAgICAAiJiChBFbnVt" +
  137. "VmFsdWVPcHRpb25zEkMKFHVuaW50ZXJwcmV0ZWRfb3B0aW9uGOcHIAMoCzIk" +
  138. "Lmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0aW9uKgkI6AcQgICA" +
  139. "gAIiYAoOU2VydmljZU9wdGlvbnMSQwoUdW5pbnRlcnByZXRlZF9vcHRpb24Y" +
  140. "5wcgAygLMiQuZ29vZ2xlLnByb3RvYnVmLlVuaW50ZXJwcmV0ZWRPcHRpb24q" +
  141. "CQjoBxCAgICAAiJfCg1NZXRob2RPcHRpb25zEkMKFHVuaW50ZXJwcmV0ZWRf" +
  142. "b3B0aW9uGOcHIAMoCzIkLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVk" +
  143. "T3B0aW9uKgkI6AcQgICAgAIingIKE1VuaW50ZXJwcmV0ZWRPcHRpb24SOwoE" +
  144. "bmFtZRgCIAMoCzItLmdvb2dsZS5wcm90b2J1Zi5VbmludGVycHJldGVkT3B0" +
  145. "aW9uLk5hbWVQYXJ0EhgKEGlkZW50aWZpZXJfdmFsdWUYAyABKAkSGgoScG9z" +
  146. "aXRpdmVfaW50X3ZhbHVlGAQgASgEEhoKEm5lZ2F0aXZlX2ludF92YWx1ZRgF" +
  147. "IAEoAxIUCgxkb3VibGVfdmFsdWUYBiABKAESFAoMc3RyaW5nX3ZhbHVlGAcg" +
  148. "ASgMEhcKD2FnZ3JlZ2F0ZV92YWx1ZRgIIAEoCRozCghOYW1lUGFydBIRCglu" +
  149. "YW1lX3BhcnQYASACKAkSFAoMaXNfZXh0ZW5zaW9uGAIgAigIInwKDlNvdXJj" +
  150. "ZUNvZGVJbmZvEjoKCGxvY2F0aW9uGAEgAygLMiguZ29vZ2xlLnByb3RvYnVm" +
  151. "LlNvdXJjZUNvZGVJbmZvLkxvY2F0aW9uGi4KCExvY2F0aW9uEhAKBHBhdGgY" +
  152. "ASADKAVCAhABEhAKBHNwYW4YAiADKAVCAhABQikKE2NvbS5nb29nbGUucHJv" +
  153. "dG9idWZCEERlc2NyaXB0b3JQcm90b3NIAQ==");
  154. pbd::FileDescriptor.InternalDescriptorAssigner assigner = delegate(pbd::FileDescriptor root) {
  155. descriptor = root;
  156. internal__static_google_protobuf_FileDescriptorSet__Descriptor = Descriptor.MessageTypes[0];
  157. internal__static_google_protobuf_FileDescriptorSet__FieldAccessorTable =
  158. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet, global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.Builder>(internal__static_google_protobuf_FileDescriptorSet__Descriptor,
  159. new string[] { "File", });
  160. internal__static_google_protobuf_FileDescriptorProto__Descriptor = Descriptor.MessageTypes[1];
  161. internal__static_google_protobuf_FileDescriptorProto__FieldAccessorTable =
  162. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.Builder>(internal__static_google_protobuf_FileDescriptorProto__Descriptor,
  163. new string[] { "Name", "Package", "Dependency", "MessageType", "EnumType", "Service", "Extension", "Options", "SourceCodeInfo", });
  164. internal__static_google_protobuf_DescriptorProto__Descriptor = Descriptor.MessageTypes[2];
  165. internal__static_google_protobuf_DescriptorProto__FieldAccessorTable =
  166. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Builder>(internal__static_google_protobuf_DescriptorProto__Descriptor,
  167. new string[] { "Name", "Field", "Extension", "NestedType", "EnumType", "ExtensionRange", "Options", });
  168. internal__static_google_protobuf_DescriptorProto_ExtensionRange__Descriptor = internal__static_google_protobuf_DescriptorProto__Descriptor.NestedTypes[0];
  169. internal__static_google_protobuf_DescriptorProto_ExtensionRange__FieldAccessorTable =
  170. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Types.ExtensionRange, global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto.Types.ExtensionRange.Builder>(internal__static_google_protobuf_DescriptorProto_ExtensionRange__Descriptor,
  171. new string[] { "Start", "End", });
  172. internal__static_google_protobuf_FieldDescriptorProto__Descriptor = Descriptor.MessageTypes[3];
  173. internal__static_google_protobuf_FieldDescriptorProto__FieldAccessorTable =
  174. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto.Builder>(internal__static_google_protobuf_FieldDescriptorProto__Descriptor,
  175. new string[] { "Name", "Number", "Label", "Type", "TypeName", "Extendee", "DefaultValue", "Options", });
  176. internal__static_google_protobuf_EnumDescriptorProto__Descriptor = Descriptor.MessageTypes[4];
  177. internal__static_google_protobuf_EnumDescriptorProto__FieldAccessorTable =
  178. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto.Builder>(internal__static_google_protobuf_EnumDescriptorProto__Descriptor,
  179. new string[] { "Name", "Value", "Options", });
  180. internal__static_google_protobuf_EnumValueDescriptorProto__Descriptor = Descriptor.MessageTypes[5];
  181. internal__static_google_protobuf_EnumValueDescriptorProto__FieldAccessorTable =
  182. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumValueDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.EnumValueDescriptorProto.Builder>(internal__static_google_protobuf_EnumValueDescriptorProto__Descriptor,
  183. new string[] { "Name", "Number", "Options", });
  184. internal__static_google_protobuf_ServiceDescriptorProto__Descriptor = Descriptor.MessageTypes[6];
  185. internal__static_google_protobuf_ServiceDescriptorProto__FieldAccessorTable =
  186. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto.Builder>(internal__static_google_protobuf_ServiceDescriptorProto__Descriptor,
  187. new string[] { "Name", "Method", "Options", });
  188. internal__static_google_protobuf_MethodDescriptorProto__Descriptor = Descriptor.MessageTypes[7];
  189. internal__static_google_protobuf_MethodDescriptorProto__FieldAccessorTable =
  190. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.MethodDescriptorProto, global::Google.ProtocolBuffers.DescriptorProtos.MethodDescriptorProto.Builder>(internal__static_google_protobuf_MethodDescriptorProto__Descriptor,
  191. new string[] { "Name", "InputType", "OutputType", "Options", });
  192. internal__static_google_protobuf_FileOptions__Descriptor = Descriptor.MessageTypes[8];
  193. internal__static_google_protobuf_FileOptions__FieldAccessorTable =
  194. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FileOptions, global::Google.ProtocolBuffers.DescriptorProtos.FileOptions.Builder>(internal__static_google_protobuf_FileOptions__Descriptor,
  195. new string[] { "JavaPackage", "JavaOuterClassname", "JavaMultipleFiles", "JavaGenerateEqualsAndHash", "OptimizeFor", "CcGenericServices", "JavaGenericServices", "PyGenericServices", "UninterpretedOption", });
  196. internal__static_google_protobuf_MessageOptions__Descriptor = Descriptor.MessageTypes[9];
  197. internal__static_google_protobuf_MessageOptions__FieldAccessorTable =
  198. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.MessageOptions, global::Google.ProtocolBuffers.DescriptorProtos.MessageOptions.Builder>(internal__static_google_protobuf_MessageOptions__Descriptor,
  199. new string[] { "MessageSetWireFormat", "NoStandardDescriptorAccessor", "UninterpretedOption", });
  200. internal__static_google_protobuf_FieldOptions__Descriptor = Descriptor.MessageTypes[10];
  201. internal__static_google_protobuf_FieldOptions__FieldAccessorTable =
  202. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.FieldOptions, global::Google.ProtocolBuffers.DescriptorProtos.FieldOptions.Builder>(internal__static_google_protobuf_FieldOptions__Descriptor,
  203. new string[] { "Ctype", "Packed", "Deprecated", "ExperimentalMapKey", "UninterpretedOption", });
  204. internal__static_google_protobuf_EnumOptions__Descriptor = Descriptor.MessageTypes[11];
  205. internal__static_google_protobuf_EnumOptions__FieldAccessorTable =
  206. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumOptions, global::Google.ProtocolBuffers.DescriptorProtos.EnumOptions.Builder>(internal__static_google_protobuf_EnumOptions__Descriptor,
  207. new string[] { "UninterpretedOption", });
  208. internal__static_google_protobuf_EnumValueOptions__Descriptor = Descriptor.MessageTypes[12];
  209. internal__static_google_protobuf_EnumValueOptions__FieldAccessorTable =
  210. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.EnumValueOptions, global::Google.ProtocolBuffers.DescriptorProtos.EnumValueOptions.Builder>(internal__static_google_protobuf_EnumValueOptions__Descriptor,
  211. new string[] { "UninterpretedOption", });
  212. internal__static_google_protobuf_ServiceOptions__Descriptor = Descriptor.MessageTypes[13];
  213. internal__static_google_protobuf_ServiceOptions__FieldAccessorTable =
  214. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.ServiceOptions, global::Google.ProtocolBuffers.DescriptorProtos.ServiceOptions.Builder>(internal__static_google_protobuf_ServiceOptions__Descriptor,
  215. new string[] { "UninterpretedOption", });
  216. internal__static_google_protobuf_MethodOptions__Descriptor = Descriptor.MessageTypes[14];
  217. internal__static_google_protobuf_MethodOptions__FieldAccessorTable =
  218. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.MethodOptions, global::Google.ProtocolBuffers.DescriptorProtos.MethodOptions.Builder>(internal__static_google_protobuf_MethodOptions__Descriptor,
  219. new string[] { "UninterpretedOption", });
  220. internal__static_google_protobuf_UninterpretedOption__Descriptor = Descriptor.MessageTypes[15];
  221. internal__static_google_protobuf_UninterpretedOption__FieldAccessorTable =
  222. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption, global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Builder>(internal__static_google_protobuf_UninterpretedOption__Descriptor,
  223. new string[] { "Name", "IdentifierValue", "PositiveIntValue", "NegativeIntValue", "DoubleValue", "StringValue", "AggregateValue", });
  224. internal__static_google_protobuf_UninterpretedOption_NamePart__Descriptor = internal__static_google_protobuf_UninterpretedOption__Descriptor.NestedTypes[0];
  225. internal__static_google_protobuf_UninterpretedOption_NamePart__FieldAccessorTable =
  226. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart, global::Google.ProtocolBuffers.DescriptorProtos.UninterpretedOption.Types.NamePart.Builder>(internal__static_google_protobuf_UninterpretedOption_NamePart__Descriptor,
  227. new string[] { "NamePart_", "IsExtension", });
  228. internal__static_google_protobuf_SourceCodeInfo__Descriptor = Descriptor.MessageTypes[16];
  229. internal__static_google_protobuf_SourceCodeInfo__FieldAccessorTable =
  230. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo, global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.Builder>(internal__static_google_protobuf_SourceCodeInfo__Descriptor,
  231. new string[] { "Location", });
  232. internal__static_google_protobuf_SourceCodeInfo_Location__Descriptor = internal__static_google_protobuf_SourceCodeInfo__Descriptor.NestedTypes[0];
  233. internal__static_google_protobuf_SourceCodeInfo_Location__FieldAccessorTable =
  234. new pb::FieldAccess.FieldAccessorTable<global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.Types.Location, global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.Types.Location.Builder>(internal__static_google_protobuf_SourceCodeInfo_Location__Descriptor,
  235. new string[] { "Path", "Span", });
  236. return null;
  237. };
  238. pbd::FileDescriptor.InternalBuildGeneratedFileFrom(descriptorData,
  239. new pbd::FileDescriptor[] {
  240. }, assigner);
  241. }
  242. #endregion
  243. }
  244. #region Messages
  245. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  246. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  247. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.4.1.473")]
  248. public sealed partial class FileDescriptorSet : pb::GeneratedMessage<FileDescriptorSet, FileDescriptorSet.Builder> {
  249. private FileDescriptorSet() { }
  250. private static readonly FileDescriptorSet defaultInstance = new FileDescriptorSet().MakeReadOnly();
  251. private static readonly string[] _fileDescriptorSetFieldNames = new string[] { "file" };
  252. private static readonly uint[] _fileDescriptorSetFieldTags = new uint[] { 10 };
  253. public static FileDescriptorSet DefaultInstance {
  254. get { return defaultInstance; }
  255. }
  256. public override FileDescriptorSet DefaultInstanceForType {
  257. get { return DefaultInstance; }
  258. }
  259. protected override FileDescriptorSet ThisMessage {
  260. get { return this; }
  261. }
  262. public static pbd::MessageDescriptor Descriptor {
  263. get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorSet__Descriptor; }
  264. }
  265. protected override pb::FieldAccess.FieldAccessorTable<FileDescriptorSet, FileDescriptorSet.Builder> InternalFieldAccessors {
  266. get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorSet__FieldAccessorTable; }
  267. }
  268. public const int FileFieldNumber = 1;
  269. private pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto> file_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto>();
  270. public scg::IList<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto> FileList {
  271. get { return file_; }
  272. }
  273. public int FileCount {
  274. get { return file_.Count; }
  275. }
  276. public global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto GetFile(int index) {
  277. return file_[index];
  278. }
  279. public override bool IsInitialized {
  280. get {
  281. foreach (global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto element in FileList) {
  282. if (!element.IsInitialized) return false;
  283. }
  284. return true;
  285. }
  286. }
  287. public override void WriteTo(pb::ICodedOutputStream output) {
  288. int size = SerializedSize;
  289. string[] field_names = _fileDescriptorSetFieldNames;
  290. if (file_.Count > 0) {
  291. output.WriteMessageArray(1, field_names[0], file_);
  292. }
  293. UnknownFields.WriteTo(output);
  294. }
  295. private int memoizedSerializedSize = -1;
  296. public override int SerializedSize {
  297. get {
  298. int size = memoizedSerializedSize;
  299. if (size != -1) return size;
  300. size = 0;
  301. foreach (global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto element in FileList) {
  302. size += pb::CodedOutputStream.ComputeMessageSize(1, element);
  303. }
  304. size += UnknownFields.SerializedSize;
  305. memoizedSerializedSize = size;
  306. return size;
  307. }
  308. }
  309. public static FileDescriptorSet ParseFrom(pb::ByteString data) {
  310. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  311. }
  312. public static FileDescriptorSet ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
  313. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  314. }
  315. public static FileDescriptorSet ParseFrom(byte[] data) {
  316. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  317. }
  318. public static FileDescriptorSet ParseFrom(byte[] data, pb::ExtensionRegistry extensionRegistry) {
  319. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  320. }
  321. public static FileDescriptorSet ParseFrom(global::System.IO.Stream input) {
  322. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  323. }
  324. public static FileDescriptorSet ParseFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  325. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  326. }
  327. public static FileDescriptorSet ParseDelimitedFrom(global::System.IO.Stream input) {
  328. return CreateBuilder().MergeDelimitedFrom(input).BuildParsed();
  329. }
  330. public static FileDescriptorSet ParseDelimitedFrom(global::System.IO.Stream input, pb::ExtensionRegistry extensionRegistry) {
  331. return CreateBuilder().MergeDelimitedFrom(input, extensionRegistry).BuildParsed();
  332. }
  333. public static FileDescriptorSet ParseFrom(pb::ICodedInputStream input) {
  334. return ((Builder) CreateBuilder().MergeFrom(input)).BuildParsed();
  335. }
  336. public static FileDescriptorSet ParseFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  337. return ((Builder) CreateBuilder().MergeFrom(input, extensionRegistry)).BuildParsed();
  338. }
  339. private FileDescriptorSet MakeReadOnly() {
  340. file_.MakeReadOnly();
  341. return this;
  342. }
  343. public static Builder CreateBuilder() { return new Builder(); }
  344. public override Builder ToBuilder() { return CreateBuilder(this); }
  345. public override Builder CreateBuilderForType() { return new Builder(); }
  346. public static Builder CreateBuilder(FileDescriptorSet prototype) {
  347. return new Builder(prototype);
  348. }
  349. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  350. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  351. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.4.1.473")]
  352. public sealed partial class Builder : pb::GeneratedBuilder<FileDescriptorSet, Builder> {
  353. protected override Builder ThisBuilder {
  354. get { return this; }
  355. }
  356. public Builder() {
  357. result = DefaultInstance;
  358. resultIsReadOnly = true;
  359. }
  360. internal Builder(FileDescriptorSet cloneFrom) {
  361. result = cloneFrom;
  362. resultIsReadOnly = true;
  363. }
  364. private bool resultIsReadOnly;
  365. private FileDescriptorSet result;
  366. private FileDescriptorSet PrepareBuilder() {
  367. if (resultIsReadOnly) {
  368. FileDescriptorSet original = result;
  369. result = new FileDescriptorSet();
  370. resultIsReadOnly = false;
  371. MergeFrom(original);
  372. }
  373. return result;
  374. }
  375. public override bool IsInitialized {
  376. get { return result.IsInitialized; }
  377. }
  378. protected override FileDescriptorSet MessageBeingBuilt {
  379. get { return PrepareBuilder(); }
  380. }
  381. public override Builder Clear() {
  382. result = DefaultInstance;
  383. resultIsReadOnly = true;
  384. return this;
  385. }
  386. public override Builder Clone() {
  387. if (resultIsReadOnly) {
  388. return new Builder(result);
  389. } else {
  390. return new Builder().MergeFrom(result);
  391. }
  392. }
  393. public override pbd::MessageDescriptor DescriptorForType {
  394. get { return global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.Descriptor; }
  395. }
  396. public override FileDescriptorSet DefaultInstanceForType {
  397. get { return global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.DefaultInstance; }
  398. }
  399. public override FileDescriptorSet BuildPartial() {
  400. if (resultIsReadOnly) {
  401. return result;
  402. }
  403. resultIsReadOnly = true;
  404. return result.MakeReadOnly();
  405. }
  406. public override Builder MergeFrom(pb::IMessage other) {
  407. if (other is FileDescriptorSet) {
  408. return MergeFrom((FileDescriptorSet) other);
  409. } else {
  410. base.MergeFrom(other);
  411. return this;
  412. }
  413. }
  414. public override Builder MergeFrom(FileDescriptorSet other) {
  415. if (other == global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorSet.DefaultInstance) return this;
  416. PrepareBuilder();
  417. if (other.file_.Count != 0) {
  418. result.file_.Add(other.file_);
  419. }
  420. this.MergeUnknownFields(other.UnknownFields);
  421. return this;
  422. }
  423. public override Builder MergeFrom(pb::ICodedInputStream input) {
  424. return MergeFrom(input, pb::ExtensionRegistry.Empty);
  425. }
  426. public override Builder MergeFrom(pb::ICodedInputStream input, pb::ExtensionRegistry extensionRegistry) {
  427. PrepareBuilder();
  428. pb::UnknownFieldSet.Builder unknownFields = null;
  429. uint tag;
  430. string field_name;
  431. while (input.ReadTag(out tag, out field_name)) {
  432. if(tag == 0 && field_name != null) {
  433. int field_ordinal = global::System.Array.BinarySearch(_fileDescriptorSetFieldNames, field_name, global::System.StringComparer.Ordinal);
  434. if(field_ordinal >= 0)
  435. tag = _fileDescriptorSetFieldTags[field_ordinal];
  436. else {
  437. if (unknownFields == null) {
  438. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  439. }
  440. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  441. continue;
  442. }
  443. }
  444. switch (tag) {
  445. case 0: {
  446. throw pb::InvalidProtocolBufferException.InvalidTag();
  447. }
  448. default: {
  449. if (pb::WireFormat.IsEndGroupTag(tag)) {
  450. if (unknownFields != null) {
  451. this.UnknownFields = unknownFields.Build();
  452. }
  453. return this;
  454. }
  455. if (unknownFields == null) {
  456. unknownFields = pb::UnknownFieldSet.CreateBuilder(this.UnknownFields);
  457. }
  458. ParseUnknownField(input, unknownFields, extensionRegistry, tag, field_name);
  459. break;
  460. }
  461. case 10: {
  462. input.ReadMessageArray(tag, field_name, result.file_, global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.DefaultInstance, extensionRegistry);
  463. break;
  464. }
  465. }
  466. }
  467. if (unknownFields != null) {
  468. this.UnknownFields = unknownFields.Build();
  469. }
  470. return this;
  471. }
  472. public pbc::IPopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto> FileList {
  473. get { return PrepareBuilder().file_; }
  474. }
  475. public int FileCount {
  476. get { return result.FileCount; }
  477. }
  478. public global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto GetFile(int index) {
  479. return result.GetFile(index);
  480. }
  481. public Builder SetFile(int index, global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto value) {
  482. pb::ThrowHelper.ThrowIfNull(value, "value");
  483. PrepareBuilder();
  484. result.file_[index] = value;
  485. return this;
  486. }
  487. public Builder SetFile(int index, global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
  488. pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
  489. PrepareBuilder();
  490. result.file_[index] = builderForValue.Build();
  491. return this;
  492. }
  493. public Builder AddFile(global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto value) {
  494. pb::ThrowHelper.ThrowIfNull(value, "value");
  495. PrepareBuilder();
  496. result.file_.Add(value);
  497. return this;
  498. }
  499. public Builder AddFile(global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto.Builder builderForValue) {
  500. pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
  501. PrepareBuilder();
  502. result.file_.Add(builderForValue.Build());
  503. return this;
  504. }
  505. public Builder AddRangeFile(scg::IEnumerable<global::Google.ProtocolBuffers.DescriptorProtos.FileDescriptorProto> values) {
  506. PrepareBuilder();
  507. result.file_.Add(values);
  508. return this;
  509. }
  510. public Builder ClearFile() {
  511. PrepareBuilder();
  512. result.file_.Clear();
  513. return this;
  514. }
  515. }
  516. static FileDescriptorSet() {
  517. object.ReferenceEquals(global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProtoFile.Descriptor, null);
  518. }
  519. }
  520. [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
  521. [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
  522. [global::System.CodeDom.Compiler.GeneratedCodeAttribute("ProtoGen", "2.4.1.473")]
  523. public sealed partial class FileDescriptorProto : pb::GeneratedMessage<FileDescriptorProto, FileDescriptorProto.Builder> {
  524. private FileDescriptorProto() { }
  525. private static readonly FileDescriptorProto defaultInstance = new FileDescriptorProto().MakeReadOnly();
  526. private static readonly string[] _fileDescriptorProtoFieldNames = new string[] { "dependency", "enum_type", "extension", "message_type", "name", "options", "package", "service", "source_code_info" };
  527. private static readonly uint[] _fileDescriptorProtoFieldTags = new uint[] { 26, 42, 58, 34, 10, 66, 18, 50, 74 };
  528. public static FileDescriptorProto DefaultInstance {
  529. get { return defaultInstance; }
  530. }
  531. public override FileDescriptorProto DefaultInstanceForType {
  532. get { return DefaultInstance; }
  533. }
  534. protected override FileDescriptorProto ThisMessage {
  535. get { return this; }
  536. }
  537. public static pbd::MessageDescriptor Descriptor {
  538. get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorProto__Descriptor; }
  539. }
  540. protected override pb::FieldAccess.FieldAccessorTable<FileDescriptorProto, FileDescriptorProto.Builder> InternalFieldAccessors {
  541. get { return global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProtoFile.internal__static_google_protobuf_FileDescriptorProto__FieldAccessorTable; }
  542. }
  543. public const int NameFieldNumber = 1;
  544. private bool hasName;
  545. private string name_ = "";
  546. public bool HasName {
  547. get { return hasName; }
  548. }
  549. public string Name {
  550. get { return name_; }
  551. }
  552. public const int PackageFieldNumber = 2;
  553. private bool hasPackage;
  554. private string package_ = "";
  555. public bool HasPackage {
  556. get { return hasPackage; }
  557. }
  558. public string Package {
  559. get { return package_; }
  560. }
  561. public const int DependencyFieldNumber = 3;
  562. private pbc::PopsicleList<string> dependency_ = new pbc::PopsicleList<string>();
  563. public scg::IList<string> DependencyList {
  564. get { return pbc::Lists.AsReadOnly(dependency_); }
  565. }
  566. public int DependencyCount {
  567. get { return dependency_.Count; }
  568. }
  569. public string GetDependency(int index) {
  570. return dependency_[index];
  571. }
  572. public const int MessageTypeFieldNumber = 4;
  573. private pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto> messageType_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto>();
  574. public scg::IList<global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto> MessageTypeList {
  575. get { return messageType_; }
  576. }
  577. public int MessageTypeCount {
  578. get { return messageType_.Count; }
  579. }
  580. public global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto GetMessageType(int index) {
  581. return messageType_[index];
  582. }
  583. public const int EnumTypeFieldNumber = 5;
  584. private pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto> enumType_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto>();
  585. public scg::IList<global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto> EnumTypeList {
  586. get { return enumType_; }
  587. }
  588. public int EnumTypeCount {
  589. get { return enumType_.Count; }
  590. }
  591. public global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto GetEnumType(int index) {
  592. return enumType_[index];
  593. }
  594. public const int ServiceFieldNumber = 6;
  595. private pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto> service_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto>();
  596. public scg::IList<global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto> ServiceList {
  597. get { return service_; }
  598. }
  599. public int ServiceCount {
  600. get { return service_.Count; }
  601. }
  602. public global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto GetService(int index) {
  603. return service_[index];
  604. }
  605. public const int ExtensionFieldNumber = 7;
  606. private pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto> extension_ = new pbc::PopsicleList<global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto>();
  607. public scg::IList<global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto> ExtensionList {
  608. get { return extension_; }
  609. }
  610. public int ExtensionCount {
  611. get { return extension_.Count; }
  612. }
  613. public global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto GetExtension(int index) {
  614. return extension_[index];
  615. }
  616. public const int OptionsFieldNumber = 8;
  617. private bool hasOptions;
  618. private global::Google.ProtocolBuffers.DescriptorProtos.FileOptions options_;
  619. public bool HasOptions {
  620. get { return hasOptions; }
  621. }
  622. public global::Google.ProtocolBuffers.DescriptorProtos.FileOptions Options {
  623. get { return options_ ?? global::Google.ProtocolBuffers.DescriptorProtos.FileOptions.DefaultInstance; }
  624. }
  625. public const int SourceCodeInfoFieldNumber = 9;
  626. private bool hasSourceCodeInfo;
  627. private global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo sourceCodeInfo_;
  628. public bool HasSourceCodeInfo {
  629. get { return hasSourceCodeInfo; }
  630. }
  631. public global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo SourceCodeInfo {
  632. get { return sourceCodeInfo_ ?? global::Google.ProtocolBuffers.DescriptorProtos.SourceCodeInfo.DefaultInstance; }
  633. }
  634. public override bool IsInitialized {
  635. get {
  636. foreach (global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto element in MessageTypeList) {
  637. if (!element.IsInitialized) return false;
  638. }
  639. foreach (global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto element in EnumTypeList) {
  640. if (!element.IsInitialized) return false;
  641. }
  642. foreach (global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto element in ServiceList) {
  643. if (!element.IsInitialized) return false;
  644. }
  645. foreach (global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto element in ExtensionList) {
  646. if (!element.IsInitialized) return false;
  647. }
  648. if (HasOptions) {
  649. if (!Options.IsInitialized) return false;
  650. }
  651. return true;
  652. }
  653. }
  654. public override void WriteTo(pb::ICodedOutputStream output) {
  655. int size = SerializedSize;
  656. string[] field_names = _fileDescriptorProtoFieldNames;
  657. if (hasName) {
  658. output.WriteString(1, field_names[4], Name);
  659. }
  660. if (hasPackage) {
  661. output.WriteString(2, field_names[6], Package);
  662. }
  663. if (dependency_.Count > 0) {
  664. output.WriteStringArray(3, field_names[0], dependency_);
  665. }
  666. if (messageType_.Count > 0) {
  667. output.WriteMessageArray(4, field_names[3], messageType_);
  668. }
  669. if (enumType_.Count > 0) {
  670. output.WriteMessageArray(5, field_names[1], enumType_);
  671. }
  672. if (service_.Count > 0) {
  673. output.WriteMessageArray(6, field_names[7], service_);
  674. }
  675. if (extension_.Count > 0) {
  676. output.WriteMessageArray(7, field_names[2], extension_);
  677. }
  678. if (hasOptions) {
  679. output.WriteMessage(8, field_names[5], Options);
  680. }
  681. if (hasSourceCodeInfo) {
  682. output.WriteMessage(9, field_names[8], SourceCodeInfo);
  683. }
  684. UnknownFields.WriteTo(output);
  685. }
  686. private int memoizedSerializedSize = -1;
  687. public override int SerializedSize {
  688. get {
  689. int size = memoizedSerializedSize;
  690. if (size != -1) return size;
  691. size = 0;
  692. if (hasName) {
  693. size += pb::CodedOutputStream.ComputeStringSize(1, Name);
  694. }
  695. if (hasPackage) {
  696. size += pb::CodedOutputStream.ComputeStringSize(2, Package);
  697. }
  698. {
  699. int dataSize = 0;
  700. foreach (string element in DependencyList) {
  701. dataSize += pb::CodedOutputStream.ComputeStringSizeNoTag(element);
  702. }
  703. size += dataSize;
  704. size += 1 * dependency_.Count;
  705. }
  706. foreach (global::Google.ProtocolBuffers.DescriptorProtos.DescriptorProto element in MessageTypeList) {
  707. size += pb::CodedOutputStream.ComputeMessageSize(4, element);
  708. }
  709. foreach (global::Google.ProtocolBuffers.DescriptorProtos.EnumDescriptorProto element in EnumTypeList) {
  710. size += pb::CodedOutputStream.ComputeMessageSize(5, element);
  711. }
  712. foreach (global::Google.ProtocolBuffers.DescriptorProtos.ServiceDescriptorProto element in ServiceList) {
  713. size += pb::CodedOutputStream.ComputeMessageSize(6, element);
  714. }
  715. foreach (global::Google.ProtocolBuffers.DescriptorProtos.FieldDescriptorProto element in ExtensionList) {
  716. size += pb::CodedOutputStream.ComputeMessageSize(7, element);
  717. }
  718. if (hasOptions) {
  719. size += pb::CodedOutputStream.ComputeMessageSize(8, Options);
  720. }
  721. if (hasSourceCodeInfo) {
  722. size += pb::CodedOutputStream.ComputeMessageSize(9, SourceCodeInfo);
  723. }
  724. size += UnknownFields.SerializedSize;
  725. memoizedSerializedSize = size;
  726. return size;
  727. }
  728. }
  729. public static FileDescriptorProto ParseFrom(pb::ByteString data) {
  730. return ((Builder) CreateBuilder().MergeFrom(data)).BuildParsed();
  731. }
  732. public static FileDescriptorProto ParseFrom(pb::ByteString data, pb::ExtensionRegistry extensionRegistry) {
  733. return ((Builder) CreateBuilder().MergeFrom(data, extensionRegistry)).BuildParsed();
  734. }
  735. public static FileDescriptorProto ParseFrom(byte[] data) {
  736. return ((Builder) CreateBuilder().MergeFro

Large files files are truncated, but you can click here to view the full file