PageRenderTime 64ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 1ms

/agent/browser/ie/pagetest/PageSpeed/include/third_party/protobuf/src/google/protobuf/descriptor.pb.h

http://webpagetest.googlecode.com/
C Header | 5256 lines | 4357 code | 604 blank | 295 comment | 350 complexity | 703eb0b32ee8bc0a107dc2491f1b18ea MD5 | raw file
Possible License(s): AGPL-1.0, Apache-2.0, GPL-3.0, LGPL-3.0, MIT, BSD-3-Clause, ISC, LGPL-2.1

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. #ifndef PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
  4. #define PROTOBUF_google_2fprotobuf_2fdescriptor_2eproto__INCLUDED
  5. #include <string>
  6. #include <google/protobuf/stubs/common.h>
  7. #if GOOGLE_PROTOBUF_VERSION < 2004000
  8. #error This file was generated by a newer version of protoc which is
  9. #error incompatible with your Protocol Buffer headers. Please update
  10. #error your headers.
  11. #endif
  12. #if 2004000 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
  13. #error This file was generated by an older version of protoc which is
  14. #error incompatible with your Protocol Buffer headers. Please
  15. #error regenerate this file with a newer version of protoc.
  16. #endif
  17. #include <google/protobuf/generated_message_util.h>
  18. #include <google/protobuf/repeated_field.h>
  19. #include <google/protobuf/extension_set.h>
  20. #include <google/protobuf/unknown_field_set.h>
  21. #include <google/protobuf/generated_message_reflection.h>
  22. // @@protoc_insertion_point(includes)
  23. namespace google {
  24. namespace protobuf {
  25. // Internal implementation detail -- do not call these.
  26. void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  27. void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  28. void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  29. class FileDescriptorSet;
  30. class FileDescriptorProto;
  31. class DescriptorProto;
  32. class DescriptorProto_ExtensionRange;
  33. class FieldDescriptorProto;
  34. class EnumDescriptorProto;
  35. class EnumValueDescriptorProto;
  36. class ServiceDescriptorProto;
  37. class MethodDescriptorProto;
  38. class FileOptions;
  39. class MessageOptions;
  40. class FieldOptions;
  41. class EnumOptions;
  42. class EnumValueOptions;
  43. class ServiceOptions;
  44. class MethodOptions;
  45. class UninterpretedOption;
  46. class UninterpretedOption_NamePart;
  47. class SourceCodeInfo;
  48. class SourceCodeInfo_Location;
  49. enum FieldDescriptorProto_Type {
  50. FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
  51. FieldDescriptorProto_Type_TYPE_FLOAT = 2,
  52. FieldDescriptorProto_Type_TYPE_INT64 = 3,
  53. FieldDescriptorProto_Type_TYPE_UINT64 = 4,
  54. FieldDescriptorProto_Type_TYPE_INT32 = 5,
  55. FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
  56. FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
  57. FieldDescriptorProto_Type_TYPE_BOOL = 8,
  58. FieldDescriptorProto_Type_TYPE_STRING = 9,
  59. FieldDescriptorProto_Type_TYPE_GROUP = 10,
  60. FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
  61. FieldDescriptorProto_Type_TYPE_BYTES = 12,
  62. FieldDescriptorProto_Type_TYPE_UINT32 = 13,
  63. FieldDescriptorProto_Type_TYPE_ENUM = 14,
  64. FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
  65. FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
  66. FieldDescriptorProto_Type_TYPE_SINT32 = 17,
  67. FieldDescriptorProto_Type_TYPE_SINT64 = 18
  68. };
  69. LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
  70. const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
  71. const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
  72. const int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
  73. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
  74. inline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) {
  75. return ::google::protobuf::internal::NameOfEnum(
  76. FieldDescriptorProto_Type_descriptor(), value);
  77. }
  78. inline bool FieldDescriptorProto_Type_Parse(
  79. const ::std::string& name, FieldDescriptorProto_Type* value) {
  80. return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
  81. FieldDescriptorProto_Type_descriptor(), name, value);
  82. }
  83. enum FieldDescriptorProto_Label {
  84. FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
  85. FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
  86. FieldDescriptorProto_Label_LABEL_REPEATED = 3
  87. };
  88. LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
  89. const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
  90. const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
  91. const int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
  92. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
  93. inline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) {
  94. return ::google::protobuf::internal::NameOfEnum(
  95. FieldDescriptorProto_Label_descriptor(), value);
  96. }
  97. inline bool FieldDescriptorProto_Label_Parse(
  98. const ::std::string& name, FieldDescriptorProto_Label* value) {
  99. return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
  100. FieldDescriptorProto_Label_descriptor(), name, value);
  101. }
  102. enum FileOptions_OptimizeMode {
  103. FileOptions_OptimizeMode_SPEED = 1,
  104. FileOptions_OptimizeMode_CODE_SIZE = 2,
  105. FileOptions_OptimizeMode_LITE_RUNTIME = 3
  106. };
  107. LIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
  108. const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
  109. const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
  110. const int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
  111. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
  112. inline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) {
  113. return ::google::protobuf::internal::NameOfEnum(
  114. FileOptions_OptimizeMode_descriptor(), value);
  115. }
  116. inline bool FileOptions_OptimizeMode_Parse(
  117. const ::std::string& name, FileOptions_OptimizeMode* value) {
  118. return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
  119. FileOptions_OptimizeMode_descriptor(), name, value);
  120. }
  121. enum FieldOptions_CType {
  122. FieldOptions_CType_STRING = 0,
  123. FieldOptions_CType_CORD = 1,
  124. FieldOptions_CType_STRING_PIECE = 2
  125. };
  126. LIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
  127. const FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
  128. const FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
  129. const int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
  130. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor();
  131. inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) {
  132. return ::google::protobuf::internal::NameOfEnum(
  133. FieldOptions_CType_descriptor(), value);
  134. }
  135. inline bool FieldOptions_CType_Parse(
  136. const ::std::string& name, FieldOptions_CType* value) {
  137. return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>(
  138. FieldOptions_CType_descriptor(), name, value);
  139. }
  140. // ===================================================================
  141. class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {
  142. public:
  143. FileDescriptorSet();
  144. virtual ~FileDescriptorSet();
  145. FileDescriptorSet(const FileDescriptorSet& from);
  146. inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
  147. CopyFrom(from);
  148. return *this;
  149. }
  150. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  151. return _unknown_fields_;
  152. }
  153. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  154. return &_unknown_fields_;
  155. }
  156. static const ::google::protobuf::Descriptor* descriptor();
  157. static const FileDescriptorSet& default_instance();
  158. void Swap(FileDescriptorSet* other);
  159. // implements Message ----------------------------------------------
  160. FileDescriptorSet* New() const;
  161. void CopyFrom(const ::google::protobuf::Message& from);
  162. void MergeFrom(const ::google::protobuf::Message& from);
  163. void CopyFrom(const FileDescriptorSet& from);
  164. void MergeFrom(const FileDescriptorSet& from);
  165. void Clear();
  166. bool IsInitialized() const;
  167. int ByteSize() const;
  168. bool MergePartialFromCodedStream(
  169. ::google::protobuf::io::CodedInputStream* input);
  170. void SerializeWithCachedSizes(
  171. ::google::protobuf::io::CodedOutputStream* output) const;
  172. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  173. int GetCachedSize() const { return _cached_size_; }
  174. private:
  175. void SharedCtor();
  176. void SharedDtor();
  177. void SetCachedSize(int size) const;
  178. public:
  179. ::google::protobuf::Metadata GetMetadata() const;
  180. // nested types ----------------------------------------------------
  181. // accessors -------------------------------------------------------
  182. // repeated .google.protobuf.FileDescriptorProto file = 1;
  183. inline int file_size() const;
  184. inline void clear_file();
  185. static const int kFileFieldNumber = 1;
  186. inline const ::google::protobuf::FileDescriptorProto& file(int index) const;
  187. inline ::google::protobuf::FileDescriptorProto* mutable_file(int index);
  188. inline ::google::protobuf::FileDescriptorProto* add_file();
  189. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
  190. file() const;
  191. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
  192. mutable_file();
  193. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
  194. private:
  195. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  196. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
  197. mutable int _cached_size_;
  198. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  199. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  200. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  201. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  202. void InitAsDefaultInstance();
  203. static FileDescriptorSet* default_instance_;
  204. };
  205. // -------------------------------------------------------------------
  206. class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message {
  207. public:
  208. FileDescriptorProto();
  209. virtual ~FileDescriptorProto();
  210. FileDescriptorProto(const FileDescriptorProto& from);
  211. inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
  212. CopyFrom(from);
  213. return *this;
  214. }
  215. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  216. return _unknown_fields_;
  217. }
  218. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  219. return &_unknown_fields_;
  220. }
  221. static const ::google::protobuf::Descriptor* descriptor();
  222. static const FileDescriptorProto& default_instance();
  223. void Swap(FileDescriptorProto* other);
  224. // implements Message ----------------------------------------------
  225. FileDescriptorProto* New() const;
  226. void CopyFrom(const ::google::protobuf::Message& from);
  227. void MergeFrom(const ::google::protobuf::Message& from);
  228. void CopyFrom(const FileDescriptorProto& from);
  229. void MergeFrom(const FileDescriptorProto& from);
  230. void Clear();
  231. bool IsInitialized() const;
  232. int ByteSize() const;
  233. bool MergePartialFromCodedStream(
  234. ::google::protobuf::io::CodedInputStream* input);
  235. void SerializeWithCachedSizes(
  236. ::google::protobuf::io::CodedOutputStream* output) const;
  237. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  238. int GetCachedSize() const { return _cached_size_; }
  239. private:
  240. void SharedCtor();
  241. void SharedDtor();
  242. void SetCachedSize(int size) const;
  243. public:
  244. ::google::protobuf::Metadata GetMetadata() const;
  245. // nested types ----------------------------------------------------
  246. // accessors -------------------------------------------------------
  247. // optional string name = 1;
  248. inline bool has_name() const;
  249. inline void clear_name();
  250. static const int kNameFieldNumber = 1;
  251. inline const ::std::string& name() const;
  252. inline void set_name(const ::std::string& value);
  253. inline void set_name(const char* value);
  254. inline void set_name(const char* value, size_t size);
  255. inline ::std::string* mutable_name();
  256. inline ::std::string* release_name();
  257. // optional string package = 2;
  258. inline bool has_package() const;
  259. inline void clear_package();
  260. static const int kPackageFieldNumber = 2;
  261. inline const ::std::string& package() const;
  262. inline void set_package(const ::std::string& value);
  263. inline void set_package(const char* value);
  264. inline void set_package(const char* value, size_t size);
  265. inline ::std::string* mutable_package();
  266. inline ::std::string* release_package();
  267. // repeated string dependency = 3;
  268. inline int dependency_size() const;
  269. inline void clear_dependency();
  270. static const int kDependencyFieldNumber = 3;
  271. inline const ::std::string& dependency(int index) const;
  272. inline ::std::string* mutable_dependency(int index);
  273. inline void set_dependency(int index, const ::std::string& value);
  274. inline void set_dependency(int index, const char* value);
  275. inline void set_dependency(int index, const char* value, size_t size);
  276. inline ::std::string* add_dependency();
  277. inline void add_dependency(const ::std::string& value);
  278. inline void add_dependency(const char* value);
  279. inline void add_dependency(const char* value, size_t size);
  280. inline const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
  281. inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
  282. // repeated .google.protobuf.DescriptorProto message_type = 4;
  283. inline int message_type_size() const;
  284. inline void clear_message_type();
  285. static const int kMessageTypeFieldNumber = 4;
  286. inline const ::google::protobuf::DescriptorProto& message_type(int index) const;
  287. inline ::google::protobuf::DescriptorProto* mutable_message_type(int index);
  288. inline ::google::protobuf::DescriptorProto* add_message_type();
  289. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
  290. message_type() const;
  291. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
  292. mutable_message_type();
  293. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  294. inline int enum_type_size() const;
  295. inline void clear_enum_type();
  296. static const int kEnumTypeFieldNumber = 5;
  297. inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
  298. inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
  299. inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
  300. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
  301. enum_type() const;
  302. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
  303. mutable_enum_type();
  304. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  305. inline int service_size() const;
  306. inline void clear_service();
  307. static const int kServiceFieldNumber = 6;
  308. inline const ::google::protobuf::ServiceDescriptorProto& service(int index) const;
  309. inline ::google::protobuf::ServiceDescriptorProto* mutable_service(int index);
  310. inline ::google::protobuf::ServiceDescriptorProto* add_service();
  311. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
  312. service() const;
  313. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
  314. mutable_service();
  315. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  316. inline int extension_size() const;
  317. inline void clear_extension();
  318. static const int kExtensionFieldNumber = 7;
  319. inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
  320. inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
  321. inline ::google::protobuf::FieldDescriptorProto* add_extension();
  322. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
  323. extension() const;
  324. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
  325. mutable_extension();
  326. // optional .google.protobuf.FileOptions options = 8;
  327. inline bool has_options() const;
  328. inline void clear_options();
  329. static const int kOptionsFieldNumber = 8;
  330. inline const ::google::protobuf::FileOptions& options() const;
  331. inline ::google::protobuf::FileOptions* mutable_options();
  332. inline ::google::protobuf::FileOptions* release_options();
  333. // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
  334. inline bool has_source_code_info() const;
  335. inline void clear_source_code_info();
  336. static const int kSourceCodeInfoFieldNumber = 9;
  337. inline const ::google::protobuf::SourceCodeInfo& source_code_info() const;
  338. inline ::google::protobuf::SourceCodeInfo* mutable_source_code_info();
  339. inline ::google::protobuf::SourceCodeInfo* release_source_code_info();
  340. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
  341. private:
  342. inline void set_has_name();
  343. inline void clear_has_name();
  344. inline void set_has_package();
  345. inline void clear_has_package();
  346. inline void set_has_options();
  347. inline void clear_has_options();
  348. inline void set_has_source_code_info();
  349. inline void clear_has_source_code_info();
  350. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  351. ::std::string* name_;
  352. ::std::string* package_;
  353. ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;
  354. ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
  355. ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
  356. ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_;
  357. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
  358. ::google::protobuf::FileOptions* options_;
  359. ::google::protobuf::SourceCodeInfo* source_code_info_;
  360. mutable int _cached_size_;
  361. ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
  362. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  363. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  364. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  365. void InitAsDefaultInstance();
  366. static FileDescriptorProto* default_instance_;
  367. };
  368. // -------------------------------------------------------------------
  369. class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message {
  370. public:
  371. DescriptorProto_ExtensionRange();
  372. virtual ~DescriptorProto_ExtensionRange();
  373. DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
  374. inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
  375. CopyFrom(from);
  376. return *this;
  377. }
  378. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  379. return _unknown_fields_;
  380. }
  381. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  382. return &_unknown_fields_;
  383. }
  384. static const ::google::protobuf::Descriptor* descriptor();
  385. static const DescriptorProto_ExtensionRange& default_instance();
  386. void Swap(DescriptorProto_ExtensionRange* other);
  387. // implements Message ----------------------------------------------
  388. DescriptorProto_ExtensionRange* New() const;
  389. void CopyFrom(const ::google::protobuf::Message& from);
  390. void MergeFrom(const ::google::protobuf::Message& from);
  391. void CopyFrom(const DescriptorProto_ExtensionRange& from);
  392. void MergeFrom(const DescriptorProto_ExtensionRange& from);
  393. void Clear();
  394. bool IsInitialized() const;
  395. int ByteSize() const;
  396. bool MergePartialFromCodedStream(
  397. ::google::protobuf::io::CodedInputStream* input);
  398. void SerializeWithCachedSizes(
  399. ::google::protobuf::io::CodedOutputStream* output) const;
  400. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  401. int GetCachedSize() const { return _cached_size_; }
  402. private:
  403. void SharedCtor();
  404. void SharedDtor();
  405. void SetCachedSize(int size) const;
  406. public:
  407. ::google::protobuf::Metadata GetMetadata() const;
  408. // nested types ----------------------------------------------------
  409. // accessors -------------------------------------------------------
  410. // optional int32 start = 1;
  411. inline bool has_start() const;
  412. inline void clear_start();
  413. static const int kStartFieldNumber = 1;
  414. inline ::google::protobuf::int32 start() const;
  415. inline void set_start(::google::protobuf::int32 value);
  416. // optional int32 end = 2;
  417. inline bool has_end() const;
  418. inline void clear_end();
  419. static const int kEndFieldNumber = 2;
  420. inline ::google::protobuf::int32 end() const;
  421. inline void set_end(::google::protobuf::int32 value);
  422. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
  423. private:
  424. inline void set_has_start();
  425. inline void clear_has_start();
  426. inline void set_has_end();
  427. inline void clear_has_end();
  428. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  429. ::google::protobuf::int32 start_;
  430. ::google::protobuf::int32 end_;
  431. mutable int _cached_size_;
  432. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  433. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  434. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  435. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  436. void InitAsDefaultInstance();
  437. static DescriptorProto_ExtensionRange* default_instance_;
  438. };
  439. // -------------------------------------------------------------------
  440. class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
  441. public:
  442. DescriptorProto();
  443. virtual ~DescriptorProto();
  444. DescriptorProto(const DescriptorProto& from);
  445. inline DescriptorProto& operator=(const DescriptorProto& from) {
  446. CopyFrom(from);
  447. return *this;
  448. }
  449. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  450. return _unknown_fields_;
  451. }
  452. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  453. return &_unknown_fields_;
  454. }
  455. static const ::google::protobuf::Descriptor* descriptor();
  456. static const DescriptorProto& default_instance();
  457. void Swap(DescriptorProto* other);
  458. // implements Message ----------------------------------------------
  459. DescriptorProto* New() const;
  460. void CopyFrom(const ::google::protobuf::Message& from);
  461. void MergeFrom(const ::google::protobuf::Message& from);
  462. void CopyFrom(const DescriptorProto& from);
  463. void MergeFrom(const DescriptorProto& from);
  464. void Clear();
  465. bool IsInitialized() const;
  466. int ByteSize() const;
  467. bool MergePartialFromCodedStream(
  468. ::google::protobuf::io::CodedInputStream* input);
  469. void SerializeWithCachedSizes(
  470. ::google::protobuf::io::CodedOutputStream* output) const;
  471. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  472. int GetCachedSize() const { return _cached_size_; }
  473. private:
  474. void SharedCtor();
  475. void SharedDtor();
  476. void SetCachedSize(int size) const;
  477. public:
  478. ::google::protobuf::Metadata GetMetadata() const;
  479. // nested types ----------------------------------------------------
  480. typedef DescriptorProto_ExtensionRange ExtensionRange;
  481. // accessors -------------------------------------------------------
  482. // optional string name = 1;
  483. inline bool has_name() const;
  484. inline void clear_name();
  485. static const int kNameFieldNumber = 1;
  486. inline const ::std::string& name() const;
  487. inline void set_name(const ::std::string& value);
  488. inline void set_name(const char* value);
  489. inline void set_name(const char* value, size_t size);
  490. inline ::std::string* mutable_name();
  491. inline ::std::string* release_name();
  492. // repeated .google.protobuf.FieldDescriptorProto field = 2;
  493. inline int field_size() const;
  494. inline void clear_field();
  495. static const int kFieldFieldNumber = 2;
  496. inline const ::google::protobuf::FieldDescriptorProto& field(int index) const;
  497. inline ::google::protobuf::FieldDescriptorProto* mutable_field(int index);
  498. inline ::google::protobuf::FieldDescriptorProto* add_field();
  499. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
  500. field() const;
  501. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
  502. mutable_field();
  503. // repeated .google.protobuf.FieldDescriptorProto extension = 6;
  504. inline int extension_size() const;
  505. inline void clear_extension();
  506. static const int kExtensionFieldNumber = 6;
  507. inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
  508. inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
  509. inline ::google::protobuf::FieldDescriptorProto* add_extension();
  510. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
  511. extension() const;
  512. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
  513. mutable_extension();
  514. // repeated .google.protobuf.DescriptorProto nested_type = 3;
  515. inline int nested_type_size() const;
  516. inline void clear_nested_type();
  517. static const int kNestedTypeFieldNumber = 3;
  518. inline const ::google::protobuf::DescriptorProto& nested_type(int index) const;
  519. inline ::google::protobuf::DescriptorProto* mutable_nested_type(int index);
  520. inline ::google::protobuf::DescriptorProto* add_nested_type();
  521. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
  522. nested_type() const;
  523. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
  524. mutable_nested_type();
  525. // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
  526. inline int enum_type_size() const;
  527. inline void clear_enum_type();
  528. static const int kEnumTypeFieldNumber = 4;
  529. inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
  530. inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
  531. inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
  532. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
  533. enum_type() const;
  534. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
  535. mutable_enum_type();
  536. // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
  537. inline int extension_range_size() const;
  538. inline void clear_extension_range();
  539. static const int kExtensionRangeFieldNumber = 5;
  540. inline const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
  541. inline ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
  542. inline ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range();
  543. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
  544. extension_range() const;
  545. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
  546. mutable_extension_range();
  547. // optional .google.protobuf.MessageOptions options = 7;
  548. inline bool has_options() const;
  549. inline void clear_options();
  550. static const int kOptionsFieldNumber = 7;
  551. inline const ::google::protobuf::MessageOptions& options() const;
  552. inline ::google::protobuf::MessageOptions* mutable_options();
  553. inline ::google::protobuf::MessageOptions* release_options();
  554. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
  555. private:
  556. inline void set_has_name();
  557. inline void clear_has_name();
  558. inline void set_has_options();
  559. inline void clear_has_options();
  560. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  561. ::std::string* name_;
  562. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
  563. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
  564. ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_;
  565. ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
  566. ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_;
  567. ::google::protobuf::MessageOptions* options_;
  568. mutable int _cached_size_;
  569. ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
  570. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  571. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  572. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  573. void InitAsDefaultInstance();
  574. static DescriptorProto* default_instance_;
  575. };
  576. // -------------------------------------------------------------------
  577. class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message {
  578. public:
  579. FieldDescriptorProto();
  580. virtual ~FieldDescriptorProto();
  581. FieldDescriptorProto(const FieldDescriptorProto& from);
  582. inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
  583. CopyFrom(from);
  584. return *this;
  585. }
  586. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  587. return _unknown_fields_;
  588. }
  589. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  590. return &_unknown_fields_;
  591. }
  592. static const ::google::protobuf::Descriptor* descriptor();
  593. static const FieldDescriptorProto& default_instance();
  594. void Swap(FieldDescriptorProto* other);
  595. // implements Message ----------------------------------------------
  596. FieldDescriptorProto* New() const;
  597. void CopyFrom(const ::google::protobuf::Message& from);
  598. void MergeFrom(const ::google::protobuf::Message& from);
  599. void CopyFrom(const FieldDescriptorProto& from);
  600. void MergeFrom(const FieldDescriptorProto& from);
  601. void Clear();
  602. bool IsInitialized() const;
  603. int ByteSize() const;
  604. bool MergePartialFromCodedStream(
  605. ::google::protobuf::io::CodedInputStream* input);
  606. void SerializeWithCachedSizes(
  607. ::google::protobuf::io::CodedOutputStream* output) const;
  608. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  609. int GetCachedSize() const { return _cached_size_; }
  610. private:
  611. void SharedCtor();
  612. void SharedDtor();
  613. void SetCachedSize(int size) const;
  614. public:
  615. ::google::protobuf::Metadata GetMetadata() const;
  616. // nested types ----------------------------------------------------
  617. typedef FieldDescriptorProto_Type Type;
  618. static const Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE;
  619. static const Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT;
  620. static const Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64;
  621. static const Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64;
  622. static const Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32;
  623. static const Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64;
  624. static const Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32;
  625. static const Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL;
  626. static const Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING;
  627. static const Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP;
  628. static const Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE;
  629. static const Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES;
  630. static const Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32;
  631. static const Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM;
  632. static const Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32;
  633. static const Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64;
  634. static const Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32;
  635. static const Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64;
  636. static inline bool Type_IsValid(int value) {
  637. return FieldDescriptorProto_Type_IsValid(value);
  638. }
  639. static const Type Type_MIN =
  640. FieldDescriptorProto_Type_Type_MIN;
  641. static const Type Type_MAX =
  642. FieldDescriptorProto_Type_Type_MAX;
  643. static const int Type_ARRAYSIZE =
  644. FieldDescriptorProto_Type_Type_ARRAYSIZE;
  645. static inline const ::google::protobuf::EnumDescriptor*
  646. Type_descriptor() {
  647. return FieldDescriptorProto_Type_descriptor();
  648. }
  649. static inline const ::std::string& Type_Name(Type value) {
  650. return FieldDescriptorProto_Type_Name(value);
  651. }
  652. static inline bool Type_Parse(const ::std::string& name,
  653. Type* value) {
  654. return FieldDescriptorProto_Type_Parse(name, value);
  655. }
  656. typedef FieldDescriptorProto_Label Label;
  657. static const Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL;
  658. static const Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED;
  659. static const Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED;
  660. static inline bool Label_IsValid(int value) {
  661. return FieldDescriptorProto_Label_IsValid(value);
  662. }
  663. static const Label Label_MIN =
  664. FieldDescriptorProto_Label_Label_MIN;
  665. static const Label Label_MAX =
  666. FieldDescriptorProto_Label_Label_MAX;
  667. static const int Label_ARRAYSIZE =
  668. FieldDescriptorProto_Label_Label_ARRAYSIZE;
  669. static inline const ::google::protobuf::EnumDescriptor*
  670. Label_descriptor() {
  671. return FieldDescriptorProto_Label_descriptor();
  672. }
  673. static inline const ::std::string& Label_Name(Label value) {
  674. return FieldDescriptorProto_Label_Name(value);
  675. }
  676. static inline bool Label_Parse(const ::std::string& name,
  677. Label* value) {
  678. return FieldDescriptorProto_Label_Parse(name, value);
  679. }
  680. // accessors -------------------------------------------------------
  681. // optional string name = 1;
  682. inline bool has_name() const;
  683. inline void clear_name();
  684. static const int kNameFieldNumber = 1;
  685. inline const ::std::string& name() const;
  686. inline void set_name(const ::std::string& value);
  687. inline void set_name(const char* value);
  688. inline void set_name(const char* value, size_t size);
  689. inline ::std::string* mutable_name();
  690. inline ::std::string* release_name();
  691. // optional int32 number = 3;
  692. inline bool has_number() const;
  693. inline void clear_number();
  694. static const int kNumberFieldNumber = 3;
  695. inline ::google::protobuf::int32 number() const;
  696. inline void set_number(::google::protobuf::int32 value);
  697. // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
  698. inline bool has_label() const;
  699. inline void clear_label();
  700. static const int kLabelFieldNumber = 4;
  701. inline ::google::protobuf::FieldDescriptorProto_Label label() const;
  702. inline void set_label(::google::protobuf::FieldDescriptorProto_Label value);
  703. // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
  704. inline bool has_type() const;
  705. inline void clear_type();
  706. static const int kTypeFieldNumber = 5;
  707. inline ::google::protobuf::FieldDescriptorProto_Type type() const;
  708. inline void set_type(::google::protobuf::FieldDescriptorProto_Type value);
  709. // optional string type_name = 6;
  710. inline bool has_type_name() const;
  711. inline void clear_type_name();
  712. static const int kTypeNameFieldNumber = 6;
  713. inline const ::std::string& type_name() const;
  714. inline void set_type_name(const ::std::string& value);
  715. inline void set_type_name(const char* value);
  716. inline void set_type_name(const char* value, size_t size);
  717. inline ::std::string* mutable_type_name();
  718. inline ::std::string* release_type_name();
  719. // optional string extendee = 2;
  720. inline bool has_extendee() const;
  721. inline void clear_extendee();
  722. static const int kExtendeeFieldNumber = 2;
  723. inline const ::std::string& extendee() const;
  724. inline void set_extendee(const ::std::string& value);
  725. inline void set_extendee(const char* value);
  726. inline void set_extendee(const char* value, size_t size);
  727. inline ::std::string* mutable_extendee();
  728. inline ::std::string* release_extendee();
  729. // optional string default_value = 7;
  730. inline bool has_default_value() const;
  731. inline void clear_default_value();
  732. static const int kDefaultValueFieldNumber = 7;
  733. inline const ::std::string& default_value() const;
  734. inline void set_default_value(const ::std::string& value);
  735. inline void set_default_value(const char* value);
  736. inline void set_default_value(const char* value, size_t size);
  737. inline ::std::string* mutable_default_value();
  738. inline ::std::string* release_default_value();
  739. // optional .google.protobuf.FieldOptions options = 8;
  740. inline bool has_options() const;
  741. inline void clear_options();
  742. static const int kOptionsFieldNumber = 8;
  743. inline const ::google::protobuf::FieldOptions& options() const;
  744. inline ::google::protobuf::FieldOptions* mutable_options();
  745. inline ::google::protobuf::FieldOptions* release_options();
  746. // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
  747. private:
  748. inline void set_has_name();
  749. inline void clear_has_name();
  750. inline void set_has_number();
  751. inline void clear_has_number();
  752. inline void set_has_label();
  753. inline void clear_has_label();
  754. inline void set_has_type();
  755. inline void clear_has_type();
  756. inline void set_has_type_name();
  757. inline void clear_has_type_name();
  758. inline void set_has_extendee();
  759. inline void clear_has_extendee();
  760. inline void set_has_default_value();
  761. inline void clear_has_default_value();
  762. inline void set_has_options();
  763. inline void clear_has_options();
  764. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  765. ::std::string* name_;
  766. ::google::protobuf::int32 number_;
  767. int label_;
  768. ::std::string* type_name_;
  769. ::std::string* extendee_;
  770. ::std::string* default_value_;
  771. ::google::protobuf::FieldOptions* options_;
  772. int type_;
  773. mutable int _cached_size_;
  774. ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
  775. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  776. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  777. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  778. void InitAsDefaultInstance();
  779. static FieldDescriptorProto* default_instance_;
  780. };
  781. // -------------------------------------------------------------------
  782. class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message {
  783. public:
  784. EnumDescriptorProto();
  785. virtual ~EnumDescriptorProto();
  786. EnumDescriptorProto(const EnumDescriptorProto& from);
  787. inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
  788. CopyFrom(from);
  789. return *this;
  790. }
  791. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  792. return _unknown_fields_;
  793. }
  794. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  795. return &_unknown_fields_;
  796. }
  797. static const ::google::protobuf::Descriptor* descriptor();
  798. static const EnumDescriptorProto& default_instance();
  799. void Swap(EnumDescriptorProto* other);
  800. // implements Message ----------------------------------------------
  801. EnumDescriptorProto* New() const;
  802. void CopyFrom(const ::google::protobuf::Message& from);
  803. void MergeFrom(const ::google::protobuf::Message& from);
  804. void CopyFrom(const EnumDescriptorProto& from);
  805. void MergeFrom(const EnumDescriptorProto& from);
  806. void Clear();
  807. bool IsInitialized() const;
  808. int ByteSize() const;
  809. bool MergePartialFromCodedStream(
  810. ::google::protobuf::io::CodedInputStream* input);
  811. void SerializeWithCachedSizes(
  812. ::google::protobuf::io::CodedOutputStream* output) const;
  813. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  814. int GetCachedSize() const { return _cached_size_; }
  815. private:
  816. void SharedCtor();
  817. void SharedDtor();
  818. void SetCachedSize(int size) const;
  819. public:
  820. ::google::protobuf::Metadata GetMetadata() const;
  821. // nested types ----------------------------------------------------
  822. // accessors -------------------------------------------------------
  823. // optional string name = 1;
  824. inline bool has_name() const;
  825. inline void clear_name();
  826. static const int kNameFieldNumber = 1;
  827. inline const ::std::string& name() const;
  828. inline void set_name(const ::std::string& value);
  829. inline void set_name(const char* value);
  830. inline void set_name(const char* value, size_t size);
  831. inline ::std::string* mutable_name();
  832. inline ::std::string* release_name();
  833. // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
  834. inline int value_size() const;
  835. inline void clear_value();
  836. static const int kValueFieldNumber = 2;
  837. inline const ::google::protobuf::EnumValueDescriptorProto& value(int index) const;
  838. inline ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index);
  839. inline ::google::protobuf::EnumValueDescriptorProto* add_value();
  840. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
  841. value() const;
  842. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
  843. mutable_value();
  844. // optional .google.protobuf.EnumOptions options = 3;
  845. inline bool has_options() const;
  846. inline void clear_options();
  847. static const int kOptionsFieldNumber = 3;
  848. inline const ::google::protobuf::EnumOptions& options() const;
  849. inline ::google::protobuf::EnumOptions* mutable_options();
  850. inline ::google::protobuf::EnumOptions* release_options();
  851. // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
  852. private:
  853. inline void set_has_name();
  854. inline void clear_has_name();
  855. inline void set_has_options();
  856. inline void clear_has_options();
  857. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  858. ::std::string* name_;
  859. ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_;
  860. ::google::protobuf::EnumOptions* options_;
  861. mutable int _cached_size_;
  862. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  863. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  864. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  865. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  866. void InitAsDefaultInstance();
  867. static EnumDescriptorProto* default_instance_;
  868. };
  869. // -------------------------------------------------------------------
  870. class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message {
  871. public:
  872. EnumValueDescriptorProto();
  873. virtual ~EnumValueDescriptorProto();
  874. EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
  875. inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
  876. CopyFrom(from);
  877. return *this;
  878. }
  879. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  880. return _unknown_fields_;
  881. }
  882. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  883. return &_unknown_fields_;
  884. }
  885. static const ::google::protobuf::Descriptor* descriptor();
  886. static const EnumValueDescriptorProto& default_instance();
  887. void Swap(EnumValueDescriptorProto* other);
  888. // implements Message ----------------------------------------------
  889. EnumValueDescriptorProto* New() const;
  890. void CopyFrom(const ::google::protobuf::Message& from);
  891. void MergeFrom(const ::google::protobuf::Message& from);
  892. void CopyFrom(const EnumValueDescriptorProto& from);
  893. void MergeFrom(const EnumValueDescriptorProto& from);
  894. void Clear();
  895. bool IsInitialized() const;
  896. int ByteSize() const;
  897. bool MergePartialFromCodedStream(
  898. ::google::protobuf::io::CodedInputStream* input);
  899. void SerializeWithCachedSizes(
  900. ::google::protobuf::io::CodedOutputStream* output) const;
  901. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  902. int GetCachedSize() const { return _cached_size_; }
  903. private:
  904. void SharedCtor();
  905. void SharedDtor();
  906. void SetCachedSize(int size) const;
  907. public:
  908. ::google::protobuf::Metadata GetMetadata() const;
  909. // nested types ----------------------------------------------------
  910. // accessors -------------------------------------------------------
  911. // optional string name = 1;
  912. inline bool has_name() const;
  913. inline void clear_name();
  914. static const int kNameFieldNumber = 1;
  915. inline const ::std::string& name() const;
  916. inline void set_name(const ::std::string& value);
  917. inline void set_name(const char* value);
  918. inline void set_name(const char* value, size_t size);
  919. inline ::std::string* mutable_name();
  920. inline ::std::string* release_name();
  921. // optional int32 number = 2;
  922. inline bool has_number() const;
  923. inline void clear_number();
  924. static const int kNumberFieldNumber = 2;
  925. inline ::google::protobuf::int32 number() const;
  926. inline void set_number(::google::protobuf::int32 value);
  927. // optional .google.protobuf.EnumValueOptions options = 3;
  928. inline bool has_options() const;
  929. inline void clear_options();
  930. static const int kOptionsFieldNumber = 3;
  931. inline const ::google::protobuf::EnumValueOptions& options() const;
  932. inline ::google::protobuf::EnumValueOptions* mutable_options();
  933. inline ::google::protobuf::EnumValueOptions* release_options();
  934. // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
  935. private:
  936. inline void set_has_name();
  937. inline void clear_has_name();
  938. inline void set_has_number();
  939. inline void clear_has_number();
  940. inline void set_has_options();
  941. inline void clear_has_options();
  942. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  943. ::std::string* name_;
  944. ::google::protobuf::EnumValueOptions* options_;
  945. ::google::protobuf::int32 number_;
  946. mutable int _cached_size_;
  947. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  948. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  949. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  950. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  951. void InitAsDefaultInstance();
  952. static EnumValueDescriptorProto* default_instance_;
  953. };
  954. // -------------------------------------------------------------------
  955. class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message {
  956. public:
  957. ServiceDescriptorProto();
  958. virtual ~ServiceDescriptorProto();
  959. ServiceDescriptorProto(const ServiceDescriptorProto& from);
  960. inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
  961. CopyFrom(from);
  962. return *this;
  963. }
  964. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  965. return _unknown_fields_;
  966. }
  967. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  968. return &_unknown_fields_;
  969. }
  970. static const ::google::protobuf::Descriptor* descriptor();
  971. static const ServiceDescriptorProto& default_instance();
  972. void Swap(ServiceDescriptorProto* other);
  973. // implements Message ----------------------------------------------
  974. ServiceDescriptorProto* New() const;
  975. void CopyFrom(const ::google::protobuf::Message& from);
  976. void MergeFrom(const ::google::protobuf::Message& from);
  977. void CopyFrom(const ServiceDescriptorProto& from);
  978. void MergeFrom(const ServiceDescriptorProto& from);
  979. void Clear();
  980. bool IsInitialized() const;
  981. int ByteSize() const;
  982. bool MergePartialFromCodedStream(
  983. ::google::protobuf::io::CodedInputStream* input);
  984. void SerializeWithCachedSizes(
  985. ::google::protobuf::io::CodedOutputStream* output) const;
  986. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  987. int GetCachedSize() const { return _cached_size_; }
  988. private:
  989. void SharedCtor();
  990. void SharedDtor();
  991. void SetCachedSize(int size) const;
  992. public:
  993. ::google::protobuf::Metadata GetMetadata() const;
  994. // nested types ----------------------------------------------------
  995. // accessors -------------------------------------------------------
  996. // optional string name = 1;
  997. inline bool has_name() const;
  998. inline void clear_name();
  999. static const int kNameFieldNumber = 1;
  1000. inline const ::std::string& name() const;
  1001. inline void set_name(const ::std::string& value);
  1002. inline void set_name(const char* value);
  1003. inline void set_name(const char* value, size_t size);
  1004. inline ::std::string* mutable_name();
  1005. inline ::std::string* release_name();
  1006. // repeated .google.protobuf.MethodDescriptorProto method = 2;
  1007. inline int method_size() const;
  1008. inline void clear_method();
  1009. static const int kMethodFieldNumber = 2;
  1010. inline const ::google::protobuf::MethodDescriptorProto& method(int index) const;
  1011. inline ::google::protobuf::MethodDescriptorProto* mutable_method(int index);
  1012. inline ::google::protobuf::MethodDescriptorProto* add_method();
  1013. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
  1014. method() const;
  1015. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
  1016. mutable_method();
  1017. // optional .google.protobuf.ServiceOptions options = 3;
  1018. inline bool has_options() const;
  1019. inline void clear_options();
  1020. static const int kOptionsFieldNumber = 3;
  1021. inline const ::google::protobuf::ServiceOptions& options() const;
  1022. inline ::google::protobuf::ServiceOptions* mutable_options();
  1023. inline ::google::protobuf::ServiceOptions* release_options();
  1024. // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
  1025. private:
  1026. inline void set_has_name();
  1027. inline void clear_has_name();
  1028. inline void set_has_options();
  1029. inline void clear_has_options();
  1030. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1031. ::std::string* name_;
  1032. ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_;
  1033. ::google::protobuf::ServiceOptions* options_;
  1034. mutable int _cached_size_;
  1035. ::

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