PageRenderTime 63ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 2ms

/src/google/protobuf/descriptor.pb.cc

http://protobuf.googlecode.com/
C++ | 8146 lines | 6866 code | 916 blank | 364 comment | 1271 complexity | 494427771e4cac70ef6333bc04a93478 MD5 | raw file
Possible License(s): BSD-3-Clause

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

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