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

/OsmAnd/jni/protobuf/google/protobuf/descriptor.pb.cc

https://code.google.com/
C++ | 1478 lines | 1315 code | 120 blank | 43 comment | 145 complexity | 218b813d4d4e01e37be9f2cb07b6a4fd MD5 | raw file
Possible License(s): MIT

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

  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. #define INTERNAL_SUPPRESS_PROTOBUF_FIELD_DEPRECATION
  3. #include "google/protobuf/descriptor.pb.h"
  4. #include <google/protobuf/stubs/once.h>
  5. #include <google/protobuf/io/coded_stream.h>
  6. #include <google/protobuf/wire_format_lite_inl.h>
  7. #include <google/protobuf/descriptor.h>
  8. #include <google/protobuf/reflection_ops.h>
  9. #include <google/protobuf/wire_format.h>
  10. // @@protoc_insertion_point(includes)
  11. namespace google {
  12. namespace protobuf {
  13. namespace {
  14. const ::google::protobuf::Descriptor* FileDescriptorSet_descriptor_ = NULL;
  15. const ::google::protobuf::internal::GeneratedMessageReflection*
  16. FileDescriptorSet_reflection_ = NULL;
  17. const ::google::protobuf::Descriptor* FileDescriptorProto_descriptor_ = NULL;
  18. const ::google::protobuf::internal::GeneratedMessageReflection*
  19. FileDescriptorProto_reflection_ = NULL;
  20. const ::google::protobuf::Descriptor* DescriptorProto_descriptor_ = NULL;
  21. const ::google::protobuf::internal::GeneratedMessageReflection*
  22. DescriptorProto_reflection_ = NULL;
  23. const ::google::protobuf::Descriptor* DescriptorProto_ExtensionRange_descriptor_ = NULL;
  24. const ::google::protobuf::internal::GeneratedMessageReflection*
  25. DescriptorProto_ExtensionRange_reflection_ = NULL;
  26. const ::google::protobuf::Descriptor* FieldDescriptorProto_descriptor_ = NULL;
  27. const ::google::protobuf::internal::GeneratedMessageReflection*
  28. FieldDescriptorProto_reflection_ = NULL;
  29. const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor_ = NULL;
  30. const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor_ = NULL;
  31. const ::google::protobuf::Descriptor* EnumDescriptorProto_descriptor_ = NULL;
  32. const ::google::protobuf::internal::GeneratedMessageReflection*
  33. EnumDescriptorProto_reflection_ = NULL;
  34. const ::google::protobuf::Descriptor* EnumValueDescriptorProto_descriptor_ = NULL;
  35. const ::google::protobuf::internal::GeneratedMessageReflection*
  36. EnumValueDescriptorProto_reflection_ = NULL;
  37. const ::google::protobuf::Descriptor* ServiceDescriptorProto_descriptor_ = NULL;
  38. const ::google::protobuf::internal::GeneratedMessageReflection*
  39. ServiceDescriptorProto_reflection_ = NULL;
  40. const ::google::protobuf::Descriptor* MethodDescriptorProto_descriptor_ = NULL;
  41. const ::google::protobuf::internal::GeneratedMessageReflection*
  42. MethodDescriptorProto_reflection_ = NULL;
  43. const ::google::protobuf::Descriptor* FileOptions_descriptor_ = NULL;
  44. const ::google::protobuf::internal::GeneratedMessageReflection*
  45. FileOptions_reflection_ = NULL;
  46. const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor_ = NULL;
  47. const ::google::protobuf::Descriptor* MessageOptions_descriptor_ = NULL;
  48. const ::google::protobuf::internal::GeneratedMessageReflection*
  49. MessageOptions_reflection_ = NULL;
  50. const ::google::protobuf::Descriptor* FieldOptions_descriptor_ = NULL;
  51. const ::google::protobuf::internal::GeneratedMessageReflection*
  52. FieldOptions_reflection_ = NULL;
  53. const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor_ = NULL;
  54. const ::google::protobuf::Descriptor* EnumOptions_descriptor_ = NULL;
  55. const ::google::protobuf::internal::GeneratedMessageReflection*
  56. EnumOptions_reflection_ = NULL;
  57. const ::google::protobuf::Descriptor* EnumValueOptions_descriptor_ = NULL;
  58. const ::google::protobuf::internal::GeneratedMessageReflection*
  59. EnumValueOptions_reflection_ = NULL;
  60. const ::google::protobuf::Descriptor* ServiceOptions_descriptor_ = NULL;
  61. const ::google::protobuf::internal::GeneratedMessageReflection*
  62. ServiceOptions_reflection_ = NULL;
  63. const ::google::protobuf::Descriptor* MethodOptions_descriptor_ = NULL;
  64. const ::google::protobuf::internal::GeneratedMessageReflection*
  65. MethodOptions_reflection_ = NULL;
  66. const ::google::protobuf::Descriptor* UninterpretedOption_descriptor_ = NULL;
  67. const ::google::protobuf::internal::GeneratedMessageReflection*
  68. UninterpretedOption_reflection_ = NULL;
  69. const ::google::protobuf::Descriptor* UninterpretedOption_NamePart_descriptor_ = NULL;
  70. const ::google::protobuf::internal::GeneratedMessageReflection*
  71. UninterpretedOption_NamePart_reflection_ = NULL;
  72. } // namespace
  73. void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto() {
  74. protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  75. const ::google::protobuf::FileDescriptor* file =
  76. ::google::protobuf::DescriptorPool::generated_pool()->FindFileByName(
  77. "google/protobuf/descriptor.proto");
  78. GOOGLE_CHECK(file != NULL);
  79. FileDescriptorSet_descriptor_ = file->message_type(0);
  80. static const int FileDescriptorSet_offsets_[1] = {
  81. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, file_),
  82. };
  83. FileDescriptorSet_reflection_ =
  84. new ::google::protobuf::internal::GeneratedMessageReflection(
  85. FileDescriptorSet_descriptor_,
  86. FileDescriptorSet::default_instance_,
  87. FileDescriptorSet_offsets_,
  88. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, _has_bits_[0]),
  89. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorSet, _unknown_fields_),
  90. -1,
  91. ::google::protobuf::DescriptorPool::generated_pool(),
  92. ::google::protobuf::MessageFactory::generated_factory(),
  93. sizeof(FileDescriptorSet));
  94. FileDescriptorProto_descriptor_ = file->message_type(1);
  95. static const int FileDescriptorProto_offsets_[8] = {
  96. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, name_),
  97. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, package_),
  98. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, dependency_),
  99. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, message_type_),
  100. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, enum_type_),
  101. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, service_),
  102. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, extension_),
  103. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, options_),
  104. };
  105. FileDescriptorProto_reflection_ =
  106. new ::google::protobuf::internal::GeneratedMessageReflection(
  107. FileDescriptorProto_descriptor_,
  108. FileDescriptorProto::default_instance_,
  109. FileDescriptorProto_offsets_,
  110. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, _has_bits_[0]),
  111. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileDescriptorProto, _unknown_fields_),
  112. -1,
  113. ::google::protobuf::DescriptorPool::generated_pool(),
  114. ::google::protobuf::MessageFactory::generated_factory(),
  115. sizeof(FileDescriptorProto));
  116. DescriptorProto_descriptor_ = file->message_type(2);
  117. static const int DescriptorProto_offsets_[7] = {
  118. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, name_),
  119. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, field_),
  120. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_),
  121. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, nested_type_),
  122. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, enum_type_),
  123. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, extension_range_),
  124. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, options_),
  125. };
  126. DescriptorProto_reflection_ =
  127. new ::google::protobuf::internal::GeneratedMessageReflection(
  128. DescriptorProto_descriptor_,
  129. DescriptorProto::default_instance_,
  130. DescriptorProto_offsets_,
  131. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _has_bits_[0]),
  132. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto, _unknown_fields_),
  133. -1,
  134. ::google::protobuf::DescriptorPool::generated_pool(),
  135. ::google::protobuf::MessageFactory::generated_factory(),
  136. sizeof(DescriptorProto));
  137. DescriptorProto_ExtensionRange_descriptor_ = DescriptorProto_descriptor_->nested_type(0);
  138. static const int DescriptorProto_ExtensionRange_offsets_[2] = {
  139. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, start_),
  140. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, end_),
  141. };
  142. DescriptorProto_ExtensionRange_reflection_ =
  143. new ::google::protobuf::internal::GeneratedMessageReflection(
  144. DescriptorProto_ExtensionRange_descriptor_,
  145. DescriptorProto_ExtensionRange::default_instance_,
  146. DescriptorProto_ExtensionRange_offsets_,
  147. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, _has_bits_[0]),
  148. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(DescriptorProto_ExtensionRange, _unknown_fields_),
  149. -1,
  150. ::google::protobuf::DescriptorPool::generated_pool(),
  151. ::google::protobuf::MessageFactory::generated_factory(),
  152. sizeof(DescriptorProto_ExtensionRange));
  153. FieldDescriptorProto_descriptor_ = file->message_type(3);
  154. static const int FieldDescriptorProto_offsets_[8] = {
  155. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, name_),
  156. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, number_),
  157. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, label_),
  158. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_),
  159. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, type_name_),
  160. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, extendee_),
  161. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, default_value_),
  162. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, options_),
  163. };
  164. FieldDescriptorProto_reflection_ =
  165. new ::google::protobuf::internal::GeneratedMessageReflection(
  166. FieldDescriptorProto_descriptor_,
  167. FieldDescriptorProto::default_instance_,
  168. FieldDescriptorProto_offsets_,
  169. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, _has_bits_[0]),
  170. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldDescriptorProto, _unknown_fields_),
  171. -1,
  172. ::google::protobuf::DescriptorPool::generated_pool(),
  173. ::google::protobuf::MessageFactory::generated_factory(),
  174. sizeof(FieldDescriptorProto));
  175. FieldDescriptorProto_Type_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(0);
  176. FieldDescriptorProto_Label_descriptor_ = FieldDescriptorProto_descriptor_->enum_type(1);
  177. EnumDescriptorProto_descriptor_ = file->message_type(4);
  178. static const int EnumDescriptorProto_offsets_[3] = {
  179. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, name_),
  180. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, value_),
  181. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, options_),
  182. };
  183. EnumDescriptorProto_reflection_ =
  184. new ::google::protobuf::internal::GeneratedMessageReflection(
  185. EnumDescriptorProto_descriptor_,
  186. EnumDescriptorProto::default_instance_,
  187. EnumDescriptorProto_offsets_,
  188. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _has_bits_[0]),
  189. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumDescriptorProto, _unknown_fields_),
  190. -1,
  191. ::google::protobuf::DescriptorPool::generated_pool(),
  192. ::google::protobuf::MessageFactory::generated_factory(),
  193. sizeof(EnumDescriptorProto));
  194. EnumValueDescriptorProto_descriptor_ = file->message_type(5);
  195. static const int EnumValueDescriptorProto_offsets_[3] = {
  196. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, name_),
  197. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, number_),
  198. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, options_),
  199. };
  200. EnumValueDescriptorProto_reflection_ =
  201. new ::google::protobuf::internal::GeneratedMessageReflection(
  202. EnumValueDescriptorProto_descriptor_,
  203. EnumValueDescriptorProto::default_instance_,
  204. EnumValueDescriptorProto_offsets_,
  205. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, _has_bits_[0]),
  206. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueDescriptorProto, _unknown_fields_),
  207. -1,
  208. ::google::protobuf::DescriptorPool::generated_pool(),
  209. ::google::protobuf::MessageFactory::generated_factory(),
  210. sizeof(EnumValueDescriptorProto));
  211. ServiceDescriptorProto_descriptor_ = file->message_type(6);
  212. static const int ServiceDescriptorProto_offsets_[3] = {
  213. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, name_),
  214. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, method_),
  215. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, options_),
  216. };
  217. ServiceDescriptorProto_reflection_ =
  218. new ::google::protobuf::internal::GeneratedMessageReflection(
  219. ServiceDescriptorProto_descriptor_,
  220. ServiceDescriptorProto::default_instance_,
  221. ServiceDescriptorProto_offsets_,
  222. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, _has_bits_[0]),
  223. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceDescriptorProto, _unknown_fields_),
  224. -1,
  225. ::google::protobuf::DescriptorPool::generated_pool(),
  226. ::google::protobuf::MessageFactory::generated_factory(),
  227. sizeof(ServiceDescriptorProto));
  228. MethodDescriptorProto_descriptor_ = file->message_type(7);
  229. static const int MethodDescriptorProto_offsets_[4] = {
  230. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, name_),
  231. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, input_type_),
  232. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, output_type_),
  233. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, options_),
  234. };
  235. MethodDescriptorProto_reflection_ =
  236. new ::google::protobuf::internal::GeneratedMessageReflection(
  237. MethodDescriptorProto_descriptor_,
  238. MethodDescriptorProto::default_instance_,
  239. MethodDescriptorProto_offsets_,
  240. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _has_bits_[0]),
  241. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodDescriptorProto, _unknown_fields_),
  242. -1,
  243. ::google::protobuf::DescriptorPool::generated_pool(),
  244. ::google::protobuf::MessageFactory::generated_factory(),
  245. sizeof(MethodDescriptorProto));
  246. FileOptions_descriptor_ = file->message_type(8);
  247. static const int FileOptions_offsets_[8] = {
  248. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_package_),
  249. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_outer_classname_),
  250. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_multiple_files_),
  251. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, optimize_for_),
  252. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, cc_generic_services_),
  253. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, java_generic_services_),
  254. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, py_generic_services_),
  255. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, uninterpreted_option_),
  256. };
  257. FileOptions_reflection_ =
  258. new ::google::protobuf::internal::GeneratedMessageReflection(
  259. FileOptions_descriptor_,
  260. FileOptions::default_instance_,
  261. FileOptions_offsets_,
  262. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _has_bits_[0]),
  263. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _unknown_fields_),
  264. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FileOptions, _extensions_),
  265. ::google::protobuf::DescriptorPool::generated_pool(),
  266. ::google::protobuf::MessageFactory::generated_factory(),
  267. sizeof(FileOptions));
  268. FileOptions_OptimizeMode_descriptor_ = FileOptions_descriptor_->enum_type(0);
  269. MessageOptions_descriptor_ = file->message_type(9);
  270. static const int MessageOptions_offsets_[3] = {
  271. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, message_set_wire_format_),
  272. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, no_standard_descriptor_accessor_),
  273. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, uninterpreted_option_),
  274. };
  275. MessageOptions_reflection_ =
  276. new ::google::protobuf::internal::GeneratedMessageReflection(
  277. MessageOptions_descriptor_,
  278. MessageOptions::default_instance_,
  279. MessageOptions_offsets_,
  280. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _has_bits_[0]),
  281. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _unknown_fields_),
  282. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MessageOptions, _extensions_),
  283. ::google::protobuf::DescriptorPool::generated_pool(),
  284. ::google::protobuf::MessageFactory::generated_factory(),
  285. sizeof(MessageOptions));
  286. FieldOptions_descriptor_ = file->message_type(10);
  287. static const int FieldOptions_offsets_[5] = {
  288. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, ctype_),
  289. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, packed_),
  290. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, deprecated_),
  291. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, experimental_map_key_),
  292. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, uninterpreted_option_),
  293. };
  294. FieldOptions_reflection_ =
  295. new ::google::protobuf::internal::GeneratedMessageReflection(
  296. FieldOptions_descriptor_,
  297. FieldOptions::default_instance_,
  298. FieldOptions_offsets_,
  299. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _has_bits_[0]),
  300. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _unknown_fields_),
  301. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(FieldOptions, _extensions_),
  302. ::google::protobuf::DescriptorPool::generated_pool(),
  303. ::google::protobuf::MessageFactory::generated_factory(),
  304. sizeof(FieldOptions));
  305. FieldOptions_CType_descriptor_ = FieldOptions_descriptor_->enum_type(0);
  306. EnumOptions_descriptor_ = file->message_type(11);
  307. static const int EnumOptions_offsets_[1] = {
  308. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, uninterpreted_option_),
  309. };
  310. EnumOptions_reflection_ =
  311. new ::google::protobuf::internal::GeneratedMessageReflection(
  312. EnumOptions_descriptor_,
  313. EnumOptions::default_instance_,
  314. EnumOptions_offsets_,
  315. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _has_bits_[0]),
  316. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _unknown_fields_),
  317. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumOptions, _extensions_),
  318. ::google::protobuf::DescriptorPool::generated_pool(),
  319. ::google::protobuf::MessageFactory::generated_factory(),
  320. sizeof(EnumOptions));
  321. EnumValueOptions_descriptor_ = file->message_type(12);
  322. static const int EnumValueOptions_offsets_[1] = {
  323. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, uninterpreted_option_),
  324. };
  325. EnumValueOptions_reflection_ =
  326. new ::google::protobuf::internal::GeneratedMessageReflection(
  327. EnumValueOptions_descriptor_,
  328. EnumValueOptions::default_instance_,
  329. EnumValueOptions_offsets_,
  330. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _has_bits_[0]),
  331. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _unknown_fields_),
  332. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(EnumValueOptions, _extensions_),
  333. ::google::protobuf::DescriptorPool::generated_pool(),
  334. ::google::protobuf::MessageFactory::generated_factory(),
  335. sizeof(EnumValueOptions));
  336. ServiceOptions_descriptor_ = file->message_type(13);
  337. static const int ServiceOptions_offsets_[1] = {
  338. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, uninterpreted_option_),
  339. };
  340. ServiceOptions_reflection_ =
  341. new ::google::protobuf::internal::GeneratedMessageReflection(
  342. ServiceOptions_descriptor_,
  343. ServiceOptions::default_instance_,
  344. ServiceOptions_offsets_,
  345. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _has_bits_[0]),
  346. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _unknown_fields_),
  347. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(ServiceOptions, _extensions_),
  348. ::google::protobuf::DescriptorPool::generated_pool(),
  349. ::google::protobuf::MessageFactory::generated_factory(),
  350. sizeof(ServiceOptions));
  351. MethodOptions_descriptor_ = file->message_type(14);
  352. static const int MethodOptions_offsets_[1] = {
  353. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, uninterpreted_option_),
  354. };
  355. MethodOptions_reflection_ =
  356. new ::google::protobuf::internal::GeneratedMessageReflection(
  357. MethodOptions_descriptor_,
  358. MethodOptions::default_instance_,
  359. MethodOptions_offsets_,
  360. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _has_bits_[0]),
  361. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _unknown_fields_),
  362. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(MethodOptions, _extensions_),
  363. ::google::protobuf::DescriptorPool::generated_pool(),
  364. ::google::protobuf::MessageFactory::generated_factory(),
  365. sizeof(MethodOptions));
  366. UninterpretedOption_descriptor_ = file->message_type(15);
  367. static const int UninterpretedOption_offsets_[6] = {
  368. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, name_),
  369. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, identifier_value_),
  370. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, positive_int_value_),
  371. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, negative_int_value_),
  372. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, double_value_),
  373. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, string_value_),
  374. };
  375. UninterpretedOption_reflection_ =
  376. new ::google::protobuf::internal::GeneratedMessageReflection(
  377. UninterpretedOption_descriptor_,
  378. UninterpretedOption::default_instance_,
  379. UninterpretedOption_offsets_,
  380. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, _has_bits_[0]),
  381. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption, _unknown_fields_),
  382. -1,
  383. ::google::protobuf::DescriptorPool::generated_pool(),
  384. ::google::protobuf::MessageFactory::generated_factory(),
  385. sizeof(UninterpretedOption));
  386. UninterpretedOption_NamePart_descriptor_ = UninterpretedOption_descriptor_->nested_type(0);
  387. static const int UninterpretedOption_NamePart_offsets_[2] = {
  388. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, name_part_),
  389. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, is_extension_),
  390. };
  391. UninterpretedOption_NamePart_reflection_ =
  392. new ::google::protobuf::internal::GeneratedMessageReflection(
  393. UninterpretedOption_NamePart_descriptor_,
  394. UninterpretedOption_NamePart::default_instance_,
  395. UninterpretedOption_NamePart_offsets_,
  396. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, _has_bits_[0]),
  397. GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(UninterpretedOption_NamePart, _unknown_fields_),
  398. -1,
  399. ::google::protobuf::DescriptorPool::generated_pool(),
  400. ::google::protobuf::MessageFactory::generated_factory(),
  401. sizeof(UninterpretedOption_NamePart));
  402. }
  403. namespace {
  404. GOOGLE_PROTOBUF_DECLARE_ONCE(protobuf_AssignDescriptors_once_);
  405. inline void protobuf_AssignDescriptorsOnce() {
  406. ::google::protobuf::GoogleOnceInit(&protobuf_AssignDescriptors_once_,
  407. &protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto);
  408. }
  409. void protobuf_RegisterTypes(const ::std::string&) {
  410. protobuf_AssignDescriptorsOnce();
  411. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  412. FileDescriptorSet_descriptor_, &FileDescriptorSet::default_instance());
  413. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  414. FileDescriptorProto_descriptor_, &FileDescriptorProto::default_instance());
  415. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  416. DescriptorProto_descriptor_, &DescriptorProto::default_instance());
  417. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  418. DescriptorProto_ExtensionRange_descriptor_, &DescriptorProto_ExtensionRange::default_instance());
  419. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  420. FieldDescriptorProto_descriptor_, &FieldDescriptorProto::default_instance());
  421. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  422. EnumDescriptorProto_descriptor_, &EnumDescriptorProto::default_instance());
  423. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  424. EnumValueDescriptorProto_descriptor_, &EnumValueDescriptorProto::default_instance());
  425. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  426. ServiceDescriptorProto_descriptor_, &ServiceDescriptorProto::default_instance());
  427. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  428. MethodDescriptorProto_descriptor_, &MethodDescriptorProto::default_instance());
  429. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  430. FileOptions_descriptor_, &FileOptions::default_instance());
  431. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  432. MessageOptions_descriptor_, &MessageOptions::default_instance());
  433. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  434. FieldOptions_descriptor_, &FieldOptions::default_instance());
  435. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  436. EnumOptions_descriptor_, &EnumOptions::default_instance());
  437. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  438. EnumValueOptions_descriptor_, &EnumValueOptions::default_instance());
  439. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  440. ServiceOptions_descriptor_, &ServiceOptions::default_instance());
  441. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  442. MethodOptions_descriptor_, &MethodOptions::default_instance());
  443. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  444. UninterpretedOption_descriptor_, &UninterpretedOption::default_instance());
  445. ::google::protobuf::MessageFactory::InternalRegisterGeneratedMessage(
  446. UninterpretedOption_NamePart_descriptor_, &UninterpretedOption_NamePart::default_instance());
  447. }
  448. } // namespace
  449. void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto() {
  450. delete FileDescriptorSet::default_instance_;
  451. delete FileDescriptorSet_reflection_;
  452. delete FileDescriptorProto::default_instance_;
  453. delete FileDescriptorProto_reflection_;
  454. delete DescriptorProto::default_instance_;
  455. delete DescriptorProto_reflection_;
  456. delete DescriptorProto_ExtensionRange::default_instance_;
  457. delete DescriptorProto_ExtensionRange_reflection_;
  458. delete FieldDescriptorProto::default_instance_;
  459. delete FieldDescriptorProto_reflection_;
  460. delete EnumDescriptorProto::default_instance_;
  461. delete EnumDescriptorProto_reflection_;
  462. delete EnumValueDescriptorProto::default_instance_;
  463. delete EnumValueDescriptorProto_reflection_;
  464. delete ServiceDescriptorProto::default_instance_;
  465. delete ServiceDescriptorProto_reflection_;
  466. delete MethodDescriptorProto::default_instance_;
  467. delete MethodDescriptorProto_reflection_;
  468. delete FileOptions::default_instance_;
  469. delete FileOptions_reflection_;
  470. delete MessageOptions::default_instance_;
  471. delete MessageOptions_reflection_;
  472. delete FieldOptions::default_instance_;
  473. delete FieldOptions_reflection_;
  474. delete EnumOptions::default_instance_;
  475. delete EnumOptions_reflection_;
  476. delete EnumValueOptions::default_instance_;
  477. delete EnumValueOptions_reflection_;
  478. delete ServiceOptions::default_instance_;
  479. delete ServiceOptions_reflection_;
  480. delete MethodOptions::default_instance_;
  481. delete MethodOptions_reflection_;
  482. delete UninterpretedOption::default_instance_;
  483. delete UninterpretedOption_reflection_;
  484. delete UninterpretedOption_NamePart::default_instance_;
  485. delete UninterpretedOption_NamePart_reflection_;
  486. }
  487. void protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto() {
  488. static bool already_here = false;
  489. if (already_here) return;
  490. already_here = true;
  491. GOOGLE_PROTOBUF_VERIFY_VERSION;
  492. ::google::protobuf::DescriptorPool::InternalAddGeneratedFile(
  493. "\n google/protobuf/descriptor.proto\022\017goog"
  494. "le.protobuf\"G\n\021FileDescriptorSet\0222\n\004file"
  495. "\030\001 \003(\0132$.google.protobuf.FileDescriptorP"
  496. "roto\"\334\002\n\023FileDescriptorProto\022\014\n\004name\030\001 \001"
  497. "(\t\022\017\n\007package\030\002 \001(\t\022\022\n\ndependency\030\003 \003(\t\022"
  498. "6\n\014message_type\030\004 \003(\0132 .google.protobuf."
  499. "DescriptorProto\0227\n\tenum_type\030\005 \003(\0132$.goo"
  500. "gle.protobuf.EnumDescriptorProto\0228\n\007serv"
  501. "ice\030\006 \003(\0132\'.google.protobuf.ServiceDescr"
  502. "iptorProto\0228\n\textension\030\007 \003(\0132%.google.p"
  503. "rotobuf.FieldDescriptorProto\022-\n\007options\030"
  504. "\010 \001(\0132\034.google.protobuf.FileOptions\"\251\003\n\017"
  505. "DescriptorProto\022\014\n\004name\030\001 \001(\t\0224\n\005field\030\002"
  506. " \003(\0132%.google.protobuf.FieldDescriptorPr"
  507. "oto\0228\n\textension\030\006 \003(\0132%.google.protobuf"
  508. ".FieldDescriptorProto\0225\n\013nested_type\030\003 \003"
  509. "(\0132 .google.protobuf.DescriptorProto\0227\n\t"
  510. "enum_type\030\004 \003(\0132$.google.protobuf.EnumDe"
  511. "scriptorProto\022H\n\017extension_range\030\005 \003(\0132/"
  512. ".google.protobuf.DescriptorProto.Extensi"
  513. "onRange\0220\n\007options\030\007 \001(\0132\037.google.protob"
  514. "uf.MessageOptions\032,\n\016ExtensionRange\022\r\n\005s"
  515. "tart\030\001 \001(\005\022\013\n\003end\030\002 \001(\005\"\224\005\n\024FieldDescrip"
  516. "torProto\022\014\n\004name\030\001 \001(\t\022\016\n\006number\030\003 \001(\005\022:"
  517. "\n\005label\030\004 \001(\0162+.google.protobuf.FieldDes"
  518. "criptorProto.Label\0228\n\004type\030\005 \001(\0162*.googl"
  519. "e.protobuf.FieldDescriptorProto.Type\022\021\n\t"
  520. "type_name\030\006 \001(\t\022\020\n\010extendee\030\002 \001(\t\022\025\n\rdef"
  521. "ault_value\030\007 \001(\t\022.\n\007options\030\010 \001(\0132\035.goog"
  522. "le.protobuf.FieldOptions\"\266\002\n\004Type\022\017\n\013TYP"
  523. "E_DOUBLE\020\001\022\016\n\nTYPE_FLOAT\020\002\022\016\n\nTYPE_INT64"
  524. "\020\003\022\017\n\013TYPE_UINT64\020\004\022\016\n\nTYPE_INT32\020\005\022\020\n\014T"
  525. "YPE_FIXED64\020\006\022\020\n\014TYPE_FIXED32\020\007\022\r\n\tTYPE_"
  526. "BOOL\020\010\022\017\n\013TYPE_STRING\020\t\022\016\n\nTYPE_GROUP\020\n\022"
  527. "\020\n\014TYPE_MESSAGE\020\013\022\016\n\nTYPE_BYTES\020\014\022\017\n\013TYP"
  528. "E_UINT32\020\r\022\r\n\tTYPE_ENUM\020\016\022\021\n\rTYPE_SFIXED"
  529. "32\020\017\022\021\n\rTYPE_SFIXED64\020\020\022\017\n\013TYPE_SINT32\020\021"
  530. "\022\017\n\013TYPE_SINT64\020\022\"C\n\005Label\022\022\n\016LABEL_OPTI"
  531. "ONAL\020\001\022\022\n\016LABEL_REQUIRED\020\002\022\022\n\016LABEL_REPE"
  532. "ATED\020\003\"\214\001\n\023EnumDescriptorProto\022\014\n\004name\030\001"
  533. " \001(\t\0228\n\005value\030\002 \003(\0132).google.protobuf.En"
  534. "umValueDescriptorProto\022-\n\007options\030\003 \001(\0132"
  535. "\034.google.protobuf.EnumOptions\"l\n\030EnumVal"
  536. "ueDescriptorProto\022\014\n\004name\030\001 \001(\t\022\016\n\006numbe"
  537. "r\030\002 \001(\005\0222\n\007options\030\003 \001(\0132!.google.protob"
  538. "uf.EnumValueOptions\"\220\001\n\026ServiceDescripto"
  539. "rProto\022\014\n\004name\030\001 \001(\t\0226\n\006method\030\002 \003(\0132&.g"
  540. "oogle.protobuf.MethodDescriptorProto\0220\n\007"
  541. "options\030\003 \001(\0132\037.google.protobuf.ServiceO"
  542. "ptions\"\177\n\025MethodDescriptorProto\022\014\n\004name\030"
  543. "\001 \001(\t\022\022\n\ninput_type\030\002 \001(\t\022\023\n\013output_type"
  544. "\030\003 \001(\t\022/\n\007options\030\004 \001(\0132\036.google.protobu"
  545. "f.MethodOptions\"\244\003\n\013FileOptions\022\024\n\014java_"
  546. "package\030\001 \001(\t\022\034\n\024java_outer_classname\030\010 "
  547. "\001(\t\022\"\n\023java_multiple_files\030\n \001(\010:\005false\022"
  548. "F\n\014optimize_for\030\t \001(\0162).google.protobuf."
  549. "FileOptions.OptimizeMode:\005SPEED\022!\n\023cc_ge"
  550. "neric_services\030\020 \001(\010:\004true\022#\n\025java_gener"
  551. "ic_services\030\021 \001(\010:\004true\022!\n\023py_generic_se"
  552. "rvices\030\022 \001(\010:\004true\022C\n\024uninterpreted_opti"
  553. "on\030\347\007 \003(\0132$.google.protobuf.Uninterprete"
  554. "dOption\":\n\014OptimizeMode\022\t\n\005SPEED\020\001\022\r\n\tCO"
  555. "DE_SIZE\020\002\022\020\n\014LITE_RUNTIME\020\003*\t\010\350\007\020\200\200\200\200\002\"\270"
  556. "\001\n\016MessageOptions\022&\n\027message_set_wire_fo"
  557. "rmat\030\001 \001(\010:\005false\022.\n\037no_standard_descrip"
  558. "tor_accessor\030\002 \001(\010:\005false\022C\n\024uninterpret"
  559. "ed_option\030\347\007 \003(\0132$.google.protobuf.Unint"
  560. "erpretedOption*\t\010\350\007\020\200\200\200\200\002\"\224\002\n\014FieldOptio"
  561. "ns\022:\n\005ctype\030\001 \001(\0162#.google.protobuf.Fiel"
  562. "dOptions.CType:\006STRING\022\016\n\006packed\030\002 \001(\010\022\031"
  563. "\n\ndeprecated\030\003 \001(\010:\005false\022\034\n\024experimenta"
  564. "l_map_key\030\t \001(\t\022C\n\024uninterpreted_option\030"
  565. "\347\007 \003(\0132$.google.protobuf.UninterpretedOp"
  566. "tion\"/\n\005CType\022\n\n\006STRING\020\000\022\010\n\004CORD\020\001\022\020\n\014S"
  567. "TRING_PIECE\020\002*\t\010\350\007\020\200\200\200\200\002\"]\n\013EnumOptions\022"
  568. "C\n\024uninterpreted_option\030\347\007 \003(\0132$.google."
  569. "protobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\""
  570. "b\n\020EnumValueOptions\022C\n\024uninterpreted_opt"
  571. "ion\030\347\007 \003(\0132$.google.protobuf.Uninterpret"
  572. "edOption*\t\010\350\007\020\200\200\200\200\002\"`\n\016ServiceOptions\022C\n"
  573. "\024uninterpreted_option\030\347\007 \003(\0132$.google.pr"
  574. "otobuf.UninterpretedOption*\t\010\350\007\020\200\200\200\200\002\"_\n"
  575. "\rMethodOptions\022C\n\024uninterpreted_option\030\347"
  576. "\007 \003(\0132$.google.protobuf.UninterpretedOpt"
  577. "ion*\t\010\350\007\020\200\200\200\200\002\"\205\002\n\023UninterpretedOption\022;"
  578. "\n\004name\030\002 \003(\0132-.google.protobuf.Uninterpr"
  579. "etedOption.NamePart\022\030\n\020identifier_value\030"
  580. "\003 \001(\t\022\032\n\022positive_int_value\030\004 \001(\004\022\032\n\022neg"
  581. "ative_int_value\030\005 \001(\003\022\024\n\014double_value\030\006 "
  582. "\001(\001\022\024\n\014string_value\030\007 \001(\014\0323\n\010NamePart\022\021\n"
  583. "\tname_part\030\001 \002(\t\022\024\n\014is_extension\030\002 \002(\010B)"
  584. "\n\023com.google.protobufB\020DescriptorProtosH"
  585. "\001", 3681);
  586. ::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(
  587. "google/protobuf/descriptor.proto", &protobuf_RegisterTypes);
  588. FileDescriptorSet::default_instance_ = new FileDescriptorSet();
  589. FileDescriptorProto::default_instance_ = new FileDescriptorProto();
  590. DescriptorProto::default_instance_ = new DescriptorProto();
  591. DescriptorProto_ExtensionRange::default_instance_ = new DescriptorProto_ExtensionRange();
  592. FieldDescriptorProto::default_instance_ = new FieldDescriptorProto();
  593. EnumDescriptorProto::default_instance_ = new EnumDescriptorProto();
  594. EnumValueDescriptorProto::default_instance_ = new EnumValueDescriptorProto();
  595. ServiceDescriptorProto::default_instance_ = new ServiceDescriptorProto();
  596. MethodDescriptorProto::default_instance_ = new MethodDescriptorProto();
  597. FileOptions::default_instance_ = new FileOptions();
  598. MessageOptions::default_instance_ = new MessageOptions();
  599. FieldOptions::default_instance_ = new FieldOptions();
  600. EnumOptions::default_instance_ = new EnumOptions();
  601. EnumValueOptions::default_instance_ = new EnumValueOptions();
  602. ServiceOptions::default_instance_ = new ServiceOptions();
  603. MethodOptions::default_instance_ = new MethodOptions();
  604. UninterpretedOption::default_instance_ = new UninterpretedOption();
  605. UninterpretedOption_NamePart::default_instance_ = new UninterpretedOption_NamePart();
  606. FileDescriptorSet::default_instance_->InitAsDefaultInstance();
  607. FileDescriptorProto::default_instance_->InitAsDefaultInstance();
  608. DescriptorProto::default_instance_->InitAsDefaultInstance();
  609. DescriptorProto_ExtensionRange::default_instance_->InitAsDefaultInstance();
  610. FieldDescriptorProto::default_instance_->InitAsDefaultInstance();
  611. EnumDescriptorProto::default_instance_->InitAsDefaultInstance();
  612. EnumValueDescriptorProto::default_instance_->InitAsDefaultInstance();
  613. ServiceDescriptorProto::default_instance_->InitAsDefaultInstance();
  614. MethodDescriptorProto::default_instance_->InitAsDefaultInstance();
  615. FileOptions::default_instance_->InitAsDefaultInstance();
  616. MessageOptions::default_instance_->InitAsDefaultInstance();
  617. FieldOptions::default_instance_->InitAsDefaultInstance();
  618. EnumOptions::default_instance_->InitAsDefaultInstance();
  619. EnumValueOptions::default_instance_->InitAsDefaultInstance();
  620. ServiceOptions::default_instance_->InitAsDefaultInstance();
  621. MethodOptions::default_instance_->InitAsDefaultInstance();
  622. UninterpretedOption::default_instance_->InitAsDefaultInstance();
  623. UninterpretedOption_NamePart::default_instance_->InitAsDefaultInstance();
  624. ::google::protobuf::internal::OnShutdown(&protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto);
  625. }
  626. // Force AddDescriptors() to be called at static initialization time.
  627. struct StaticDescriptorInitializer_google_2fprotobuf_2fdescriptor_2eproto {
  628. StaticDescriptorInitializer_google_2fprotobuf_2fdescriptor_2eproto() {
  629. protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  630. }
  631. } static_descriptor_initializer_google_2fprotobuf_2fdescriptor_2eproto_;
  632. // ===================================================================
  633. #ifndef _MSC_VER
  634. const int FileDescriptorSet::kFileFieldNumber;
  635. #endif // !_MSC_VER
  636. FileDescriptorSet::FileDescriptorSet()
  637. : ::google::protobuf::Message() {
  638. SharedCtor();
  639. }
  640. void FileDescriptorSet::InitAsDefaultInstance() {
  641. }
  642. FileDescriptorSet::FileDescriptorSet(const FileDescriptorSet& from)
  643. : ::google::protobuf::Message() {
  644. SharedCtor();
  645. MergeFrom(from);
  646. }
  647. void FileDescriptorSet::SharedCtor() {
  648. _cached_size_ = 0;
  649. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  650. }
  651. FileDescriptorSet::~FileDescriptorSet() {
  652. SharedDtor();
  653. }
  654. void FileDescriptorSet::SharedDtor() {
  655. if (this != default_instance_) {
  656. }
  657. }
  658. void FileDescriptorSet::SetCachedSize(int size) const {
  659. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  660. _cached_size_ = size;
  661. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  662. }
  663. const ::google::protobuf::Descriptor* FileDescriptorSet::descriptor() {
  664. protobuf_AssignDescriptorsOnce();
  665. return FileDescriptorSet_descriptor_;
  666. }
  667. const FileDescriptorSet& FileDescriptorSet::default_instance() {
  668. if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); return *default_instance_;
  669. }
  670. FileDescriptorSet* FileDescriptorSet::default_instance_ = NULL;
  671. FileDescriptorSet* FileDescriptorSet::New() const {
  672. return new FileDescriptorSet;
  673. }
  674. void FileDescriptorSet::Clear() {
  675. file_.Clear();
  676. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  677. mutable_unknown_fields()->Clear();
  678. }
  679. bool FileDescriptorSet::MergePartialFromCodedStream(
  680. ::google::protobuf::io::CodedInputStream* input) {
  681. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  682. ::google::protobuf::uint32 tag;
  683. while ((tag = input->ReadTag()) != 0) {
  684. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  685. // repeated .google.protobuf.FileDescriptorProto file = 1;
  686. case 1: {
  687. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  688. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  689. parse_file:
  690. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  691. input, add_file()));
  692. } else {
  693. goto handle_uninterpreted;
  694. }
  695. if (input->ExpectTag(10)) goto parse_file;
  696. if (input->ExpectAtEnd()) return true;
  697. break;
  698. }
  699. default: {
  700. handle_uninterpreted:
  701. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  702. ::google::protobuf::internal::WireFormatLite::WIRETYPE_END_GROUP) {
  703. return true;
  704. }
  705. DO_(::google::protobuf::internal::WireFormat::SkipField(
  706. input, tag, mutable_unknown_fields()));
  707. break;
  708. }
  709. }
  710. }
  711. return true;
  712. #undef DO_
  713. }
  714. void FileDescriptorSet::SerializeWithCachedSizes(
  715. ::google::protobuf::io::CodedOutputStream* output) const {
  716. // repeated .google.protobuf.FileDescriptorProto file = 1;
  717. for (int i = 0; i < this->file_size(); i++) {
  718. ::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(
  719. 1, this->file(i), output);
  720. }
  721. if (!unknown_fields().empty()) {
  722. ::google::protobuf::internal::WireFormat::SerializeUnknownFields(
  723. unknown_fields(), output);
  724. }
  725. }
  726. ::google::protobuf::uint8* FileDescriptorSet::SerializeWithCachedSizesToArray(
  727. ::google::protobuf::uint8* target) const {
  728. // repeated .google.protobuf.FileDescriptorProto file = 1;
  729. for (int i = 0; i < this->file_size(); i++) {
  730. target = ::google::protobuf::internal::WireFormatLite::
  731. WriteMessageNoVirtualToArray(
  732. 1, this->file(i), target);
  733. }
  734. if (!unknown_fields().empty()) {
  735. target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(
  736. unknown_fields(), target);
  737. }
  738. return target;
  739. }
  740. int FileDescriptorSet::ByteSize() const {
  741. int total_size = 0;
  742. // repeated .google.protobuf.FileDescriptorProto file = 1;
  743. total_size += 1 * this->file_size();
  744. for (int i = 0; i < this->file_size(); i++) {
  745. total_size +=
  746. ::google::protobuf::internal::WireFormatLite::MessageSizeNoVirtual(
  747. this->file(i));
  748. }
  749. if (!unknown_fields().empty()) {
  750. total_size +=
  751. ::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(
  752. unknown_fields());
  753. }
  754. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  755. _cached_size_ = total_size;
  756. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  757. return total_size;
  758. }
  759. void FileDescriptorSet::MergeFrom(const ::google::protobuf::Message& from) {
  760. GOOGLE_CHECK_NE(&from, this);
  761. const FileDescriptorSet* source =
  762. ::google::protobuf::internal::dynamic_cast_if_available<const FileDescriptorSet*>(
  763. &from);
  764. if (source == NULL) {
  765. ::google::protobuf::internal::ReflectionOps::Merge(from, this);
  766. } else {
  767. MergeFrom(*source);
  768. }
  769. }
  770. void FileDescriptorSet::MergeFrom(const FileDescriptorSet& from) {
  771. GOOGLE_CHECK_NE(&from, this);
  772. file_.MergeFrom(from.file_);
  773. mutable_unknown_fields()->MergeFrom(from.unknown_fields());
  774. }
  775. void FileDescriptorSet::CopyFrom(const ::google::protobuf::Message& from) {
  776. if (&from == this) return;
  777. Clear();
  778. MergeFrom(from);
  779. }
  780. void FileDescriptorSet::CopyFrom(const FileDescriptorSet& from) {
  781. if (&from == this) return;
  782. Clear();
  783. MergeFrom(from);
  784. }
  785. bool FileDescriptorSet::IsInitialized() const {
  786. for (int i = 0; i < file_size(); i++) {
  787. if (!this->file(i).IsInitialized()) return false;
  788. }
  789. return true;
  790. }
  791. void FileDescriptorSet::Swap(FileDescriptorSet* other) {
  792. if (other != this) {
  793. file_.Swap(&other->file_);
  794. std::swap(_has_bits_[0], other->_has_bits_[0]);
  795. _unknown_fields_.Swap(&other->_unknown_fields_);
  796. std::swap(_cached_size_, other->_cached_size_);
  797. }
  798. }
  799. ::google::protobuf::Metadata FileDescriptorSet::GetMetadata() const {
  800. protobuf_AssignDescriptorsOnce();
  801. ::google::protobuf::Metadata metadata;
  802. metadata.descriptor = FileDescriptorSet_descriptor_;
  803. metadata.reflection = FileDescriptorSet_reflection_;
  804. return metadata;
  805. }
  806. // ===================================================================
  807. const ::std::string FileDescriptorProto::_default_name_;
  808. const ::std::string FileDescriptorProto::_default_package_;
  809. #ifndef _MSC_VER
  810. const int FileDescriptorProto::kNameFieldNumber;
  811. const int FileDescriptorProto::kPackageFieldNumber;
  812. const int FileDescriptorProto::kDependencyFieldNumber;
  813. const int FileDescriptorProto::kMessageTypeFieldNumber;
  814. const int FileDescriptorProto::kEnumTypeFieldNumber;
  815. const int FileDescriptorProto::kServiceFieldNumber;
  816. const int FileDescriptorProto::kExtensionFieldNumber;
  817. const int FileDescriptorProto::kOptionsFieldNumber;
  818. #endif // !_MSC_VER
  819. FileDescriptorProto::FileDescriptorProto()
  820. : ::google::protobuf::Message() {
  821. SharedCtor();
  822. }
  823. void FileDescriptorProto::InitAsDefaultInstance() {
  824. options_ = const_cast< ::google::protobuf::FileOptions*>(&::google::protobuf::FileOptions::default_instance());
  825. }
  826. FileDescriptorProto::FileDescriptorProto(const FileDescriptorProto& from)
  827. : ::google::protobuf::Message() {
  828. SharedCtor();
  829. MergeFrom(from);
  830. }
  831. void FileDescriptorProto::SharedCtor() {
  832. _cached_size_ = 0;
  833. name_ = const_cast< ::std::string*>(&_default_name_);
  834. package_ = const_cast< ::std::string*>(&_default_package_);
  835. options_ = NULL;
  836. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  837. }
  838. FileDescriptorProto::~FileDescriptorProto() {
  839. SharedDtor();
  840. }
  841. void FileDescriptorProto::SharedDtor() {
  842. if (name_ != &_default_name_) {
  843. delete name_;
  844. }
  845. if (package_ != &_default_package_) {
  846. delete package_;
  847. }
  848. if (this != default_instance_) {
  849. delete options_;
  850. }
  851. }
  852. void FileDescriptorProto::SetCachedSize(int size) const {
  853. GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();
  854. _cached_size_ = size;
  855. GOOGLE_SAFE_CONCURRENT_WRITES_END();
  856. }
  857. const ::google::protobuf::Descriptor* FileDescriptorProto::descriptor() {
  858. protobuf_AssignDescriptorsOnce();
  859. return FileDescriptorProto_descriptor_;
  860. }
  861. const FileDescriptorProto& FileDescriptorProto::default_instance() {
  862. if (default_instance_ == NULL) protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto(); return *default_instance_;
  863. }
  864. FileDescriptorProto* FileDescriptorProto::default_instance_ = NULL;
  865. FileDescriptorProto* FileDescriptorProto::New() const {
  866. return new FileDescriptorProto;
  867. }
  868. void FileDescriptorProto::Clear() {
  869. if (_has_bits_[0 / 32] & (0xffu << (0 % 32))) {
  870. if (_has_bit(0)) {
  871. if (name_ != &_default_name_) {
  872. name_->clear();
  873. }
  874. }
  875. if (_has_bit(1)) {
  876. if (package_ != &_default_package_) {
  877. package_->clear();
  878. }
  879. }
  880. if (_has_bit(7)) {
  881. if (options_ != NULL) options_->::google::protobuf::FileOptions::Clear();
  882. }
  883. }
  884. dependency_.Clear();
  885. message_type_.Clear();
  886. enum_type_.Clear();
  887. service_.Clear();
  888. extension_.Clear();
  889. ::memset(_has_bits_, 0, sizeof(_has_bits_));
  890. mutable_unknown_fields()->Clear();
  891. }
  892. bool FileDescriptorProto::MergePartialFromCodedStream(
  893. ::google::protobuf::io::CodedInputStream* input) {
  894. #define DO_(EXPRESSION) if (!(EXPRESSION)) return false
  895. ::google::protobuf::uint32 tag;
  896. while ((tag = input->ReadTag()) != 0) {
  897. switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {
  898. // optional string name = 1;
  899. case 1: {
  900. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  901. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  902. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  903. input, this->mutable_name()));
  904. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  905. this->name().data(), this->name().length(),
  906. ::google::protobuf::internal::WireFormat::PARSE);
  907. } else {
  908. goto handle_uninterpreted;
  909. }
  910. if (input->ExpectTag(18)) goto parse_package;
  911. break;
  912. }
  913. // optional string package = 2;
  914. case 2: {
  915. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  916. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  917. parse_package:
  918. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  919. input, this->mutable_package()));
  920. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  921. this->package().data(), this->package().length(),
  922. ::google::protobuf::internal::WireFormat::PARSE);
  923. } else {
  924. goto handle_uninterpreted;
  925. }
  926. if (input->ExpectTag(26)) goto parse_dependency;
  927. break;
  928. }
  929. // repeated string dependency = 3;
  930. case 3: {
  931. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  932. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  933. parse_dependency:
  934. DO_(::google::protobuf::internal::WireFormatLite::ReadString(
  935. input, this->add_dependency()));
  936. ::google::protobuf::internal::WireFormat::VerifyUTF8String(
  937. this->dependency(0).data(), this->dependency(0).length(),
  938. ::google::protobuf::internal::WireFormat::PARSE);
  939. } else {
  940. goto handle_uninterpreted;
  941. }
  942. if (input->ExpectTag(26)) goto parse_dependency;
  943. if (input->ExpectTag(34)) goto parse_message_type;
  944. break;
  945. }
  946. // repeated .google.protobuf.DescriptorProto message_type = 4;
  947. case 4: {
  948. if (::google::protobuf::internal::WireFormatLite::GetTagWireType(tag) ==
  949. ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED) {
  950. parse_message_type:
  951. DO_(::google::protobuf::internal::WireFormatLite::ReadMessageNoVirtual(
  952. input, add_message_type()));
  953. } else {
  954. goto handle_uninterpreted;
  955. }
  956. if (input->ExpectTag(34)) goto parse_message_type;
  957. if (input->ExpectTag(42)) goto parse_enum_ty

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