PageRenderTime 60ms CodeModel.GetById 20ms RepoModel.GetById 1ms app.codeStats 0ms

/thirdparty/breakpad/third_party/protobuf/protobuf/src/google/protobuf/descriptor.pb.h

http://github.com/tomahawk-player/tomahawk
C++ Header | 1635 lines | 1254 code | 272 blank | 109 comment | 0 complexity | e7af4b4bf9b397f1086ba6fc838abded MD5 | raw file
Possible License(s): LGPL-2.1, BSD-3-Clause, GPL-3.0, GPL-2.0
  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 2004002 < 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/generated_message_reflection.h>
  21. // @@protoc_insertion_point(includes)
  22. namespace google {
  23. namespace protobuf {
  24. // Internal implementation detail -- do not call these.
  25. void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  26. void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  27. void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  28. class FileDescriptorSet;
  29. class FileDescriptorProto;
  30. class DescriptorProto;
  31. class DescriptorProto_ExtensionRange;
  32. class FieldDescriptorProto;
  33. class EnumDescriptorProto;
  34. class EnumValueDescriptorProto;
  35. class ServiceDescriptorProto;
  36. class MethodDescriptorProto;
  37. class FileOptions;
  38. class MessageOptions;
  39. class FieldOptions;
  40. class EnumOptions;
  41. class EnumValueOptions;
  42. class ServiceOptions;
  43. class MethodOptions;
  44. class UninterpretedOption;
  45. class UninterpretedOption_NamePart;
  46. class SourceCodeInfo;
  47. class SourceCodeInfo_Location;
  48. enum FieldDescriptorProto_Type {
  49. FieldDescriptorProto_Type_TYPE_DOUBLE = 1,
  50. FieldDescriptorProto_Type_TYPE_FLOAT = 2,
  51. FieldDescriptorProto_Type_TYPE_INT64 = 3,
  52. FieldDescriptorProto_Type_TYPE_UINT64 = 4,
  53. FieldDescriptorProto_Type_TYPE_INT32 = 5,
  54. FieldDescriptorProto_Type_TYPE_FIXED64 = 6,
  55. FieldDescriptorProto_Type_TYPE_FIXED32 = 7,
  56. FieldDescriptorProto_Type_TYPE_BOOL = 8,
  57. FieldDescriptorProto_Type_TYPE_STRING = 9,
  58. FieldDescriptorProto_Type_TYPE_GROUP = 10,
  59. FieldDescriptorProto_Type_TYPE_MESSAGE = 11,
  60. FieldDescriptorProto_Type_TYPE_BYTES = 12,
  61. FieldDescriptorProto_Type_TYPE_UINT32 = 13,
  62. FieldDescriptorProto_Type_TYPE_ENUM = 14,
  63. FieldDescriptorProto_Type_TYPE_SFIXED32 = 15,
  64. FieldDescriptorProto_Type_TYPE_SFIXED64 = 16,
  65. FieldDescriptorProto_Type_TYPE_SINT32 = 17,
  66. FieldDescriptorProto_Type_TYPE_SINT64 = 18
  67. };
  68. LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Type_IsValid(int value);
  69. const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MIN = FieldDescriptorProto_Type_TYPE_DOUBLE;
  70. const FieldDescriptorProto_Type FieldDescriptorProto_Type_Type_MAX = FieldDescriptorProto_Type_TYPE_SINT64;
  71. const int FieldDescriptorProto_Type_Type_ARRAYSIZE = FieldDescriptorProto_Type_Type_MAX + 1;
  72. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Type_descriptor();
  73. inline const ::std::string& FieldDescriptorProto_Type_Name(FieldDescriptorProto_Type value) {
  74. return ::google::protobuf::internal::NameOfEnum(
  75. FieldDescriptorProto_Type_descriptor(), value);
  76. }
  77. inline bool FieldDescriptorProto_Type_Parse(
  78. const ::std::string& name, FieldDescriptorProto_Type* value) {
  79. return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Type>(
  80. FieldDescriptorProto_Type_descriptor(), name, value);
  81. }
  82. enum FieldDescriptorProto_Label {
  83. FieldDescriptorProto_Label_LABEL_OPTIONAL = 1,
  84. FieldDescriptorProto_Label_LABEL_REQUIRED = 2,
  85. FieldDescriptorProto_Label_LABEL_REPEATED = 3
  86. };
  87. LIBPROTOBUF_EXPORT bool FieldDescriptorProto_Label_IsValid(int value);
  88. const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MIN = FieldDescriptorProto_Label_LABEL_OPTIONAL;
  89. const FieldDescriptorProto_Label FieldDescriptorProto_Label_Label_MAX = FieldDescriptorProto_Label_LABEL_REPEATED;
  90. const int FieldDescriptorProto_Label_Label_ARRAYSIZE = FieldDescriptorProto_Label_Label_MAX + 1;
  91. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldDescriptorProto_Label_descriptor();
  92. inline const ::std::string& FieldDescriptorProto_Label_Name(FieldDescriptorProto_Label value) {
  93. return ::google::protobuf::internal::NameOfEnum(
  94. FieldDescriptorProto_Label_descriptor(), value);
  95. }
  96. inline bool FieldDescriptorProto_Label_Parse(
  97. const ::std::string& name, FieldDescriptorProto_Label* value) {
  98. return ::google::protobuf::internal::ParseNamedEnum<FieldDescriptorProto_Label>(
  99. FieldDescriptorProto_Label_descriptor(), name, value);
  100. }
  101. enum FileOptions_OptimizeMode {
  102. FileOptions_OptimizeMode_SPEED = 1,
  103. FileOptions_OptimizeMode_CODE_SIZE = 2,
  104. FileOptions_OptimizeMode_LITE_RUNTIME = 3
  105. };
  106. LIBPROTOBUF_EXPORT bool FileOptions_OptimizeMode_IsValid(int value);
  107. const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MIN = FileOptions_OptimizeMode_SPEED;
  108. const FileOptions_OptimizeMode FileOptions_OptimizeMode_OptimizeMode_MAX = FileOptions_OptimizeMode_LITE_RUNTIME;
  109. const int FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE = FileOptions_OptimizeMode_OptimizeMode_MAX + 1;
  110. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FileOptions_OptimizeMode_descriptor();
  111. inline const ::std::string& FileOptions_OptimizeMode_Name(FileOptions_OptimizeMode value) {
  112. return ::google::protobuf::internal::NameOfEnum(
  113. FileOptions_OptimizeMode_descriptor(), value);
  114. }
  115. inline bool FileOptions_OptimizeMode_Parse(
  116. const ::std::string& name, FileOptions_OptimizeMode* value) {
  117. return ::google::protobuf::internal::ParseNamedEnum<FileOptions_OptimizeMode>(
  118. FileOptions_OptimizeMode_descriptor(), name, value);
  119. }
  120. enum FieldOptions_CType {
  121. FieldOptions_CType_STRING = 0,
  122. FieldOptions_CType_CORD = 1,
  123. FieldOptions_CType_STRING_PIECE = 2
  124. };
  125. LIBPROTOBUF_EXPORT bool FieldOptions_CType_IsValid(int value);
  126. const FieldOptions_CType FieldOptions_CType_CType_MIN = FieldOptions_CType_STRING;
  127. const FieldOptions_CType FieldOptions_CType_CType_MAX = FieldOptions_CType_STRING_PIECE;
  128. const int FieldOptions_CType_CType_ARRAYSIZE = FieldOptions_CType_CType_MAX + 1;
  129. LIBPROTOBUF_EXPORT const ::google::protobuf::EnumDescriptor* FieldOptions_CType_descriptor();
  130. inline const ::std::string& FieldOptions_CType_Name(FieldOptions_CType value) {
  131. return ::google::protobuf::internal::NameOfEnum(
  132. FieldOptions_CType_descriptor(), value);
  133. }
  134. inline bool FieldOptions_CType_Parse(
  135. const ::std::string& name, FieldOptions_CType* value) {
  136. return ::google::protobuf::internal::ParseNamedEnum<FieldOptions_CType>(
  137. FieldOptions_CType_descriptor(), name, value);
  138. }
  139. // ===================================================================
  140. class LIBPROTOBUF_EXPORT FileDescriptorSet : public ::google::protobuf::Message {
  141. public:
  142. FileDescriptorSet();
  143. virtual ~FileDescriptorSet();
  144. FileDescriptorSet(const FileDescriptorSet& from);
  145. inline FileDescriptorSet& operator=(const FileDescriptorSet& from) {
  146. CopyFrom(from);
  147. return *this;
  148. }
  149. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  150. return _unknown_fields_;
  151. }
  152. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  153. return &_unknown_fields_;
  154. }
  155. static const ::google::protobuf::Descriptor* descriptor();
  156. static const FileDescriptorSet& default_instance();
  157. void Swap(FileDescriptorSet* other);
  158. // implements Message ----------------------------------------------
  159. FileDescriptorSet* New() const;
  160. void CopyFrom(const ::google::protobuf::Message& from);
  161. void MergeFrom(const ::google::protobuf::Message& from);
  162. void CopyFrom(const FileDescriptorSet& from);
  163. void MergeFrom(const FileDescriptorSet& from);
  164. void Clear();
  165. bool IsInitialized() const;
  166. int ByteSize() const;
  167. bool MergePartialFromCodedStream(
  168. ::google::protobuf::io::CodedInputStream* input);
  169. void SerializeWithCachedSizes(
  170. ::google::protobuf::io::CodedOutputStream* output) const;
  171. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  172. int GetCachedSize() const { return _cached_size_; }
  173. private:
  174. void SharedCtor();
  175. void SharedDtor();
  176. void SetCachedSize(int size) const;
  177. public:
  178. ::google::protobuf::Metadata GetMetadata() const;
  179. // nested types ----------------------------------------------------
  180. // accessors -------------------------------------------------------
  181. // repeated .google.protobuf.FileDescriptorProto file = 1;
  182. inline int file_size() const;
  183. inline void clear_file();
  184. static const int kFileFieldNumber = 1;
  185. inline const ::google::protobuf::FileDescriptorProto& file(int index) const;
  186. inline ::google::protobuf::FileDescriptorProto* mutable_file(int index);
  187. inline ::google::protobuf::FileDescriptorProto* add_file();
  188. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >&
  189. file() const;
  190. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto >*
  191. mutable_file();
  192. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorSet)
  193. private:
  194. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  195. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FileDescriptorProto > file_;
  196. mutable int _cached_size_;
  197. ::google::protobuf::uint32 _has_bits_[(1 + 31) / 32];
  198. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  199. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  200. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  201. void InitAsDefaultInstance();
  202. static FileDescriptorSet* default_instance_;
  203. };
  204. // -------------------------------------------------------------------
  205. class LIBPROTOBUF_EXPORT FileDescriptorProto : public ::google::protobuf::Message {
  206. public:
  207. FileDescriptorProto();
  208. virtual ~FileDescriptorProto();
  209. FileDescriptorProto(const FileDescriptorProto& from);
  210. inline FileDescriptorProto& operator=(const FileDescriptorProto& from) {
  211. CopyFrom(from);
  212. return *this;
  213. }
  214. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  215. return _unknown_fields_;
  216. }
  217. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  218. return &_unknown_fields_;
  219. }
  220. static const ::google::protobuf::Descriptor* descriptor();
  221. static const FileDescriptorProto& default_instance();
  222. void Swap(FileDescriptorProto* other);
  223. // implements Message ----------------------------------------------
  224. FileDescriptorProto* New() const;
  225. void CopyFrom(const ::google::protobuf::Message& from);
  226. void MergeFrom(const ::google::protobuf::Message& from);
  227. void CopyFrom(const FileDescriptorProto& from);
  228. void MergeFrom(const FileDescriptorProto& from);
  229. void Clear();
  230. bool IsInitialized() const;
  231. int ByteSize() const;
  232. bool MergePartialFromCodedStream(
  233. ::google::protobuf::io::CodedInputStream* input);
  234. void SerializeWithCachedSizes(
  235. ::google::protobuf::io::CodedOutputStream* output) const;
  236. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  237. int GetCachedSize() const { return _cached_size_; }
  238. private:
  239. void SharedCtor();
  240. void SharedDtor();
  241. void SetCachedSize(int size) const;
  242. public:
  243. ::google::protobuf::Metadata GetMetadata() const;
  244. // nested types ----------------------------------------------------
  245. // accessors -------------------------------------------------------
  246. // optional string name = 1;
  247. inline bool has_name() const;
  248. inline void clear_name();
  249. static const int kNameFieldNumber = 1;
  250. inline const ::std::string& name() const;
  251. inline void set_name(const ::std::string& value);
  252. inline void set_name(const char* value);
  253. inline void set_name(const char* value, size_t size);
  254. inline ::std::string* mutable_name();
  255. inline ::std::string* release_name();
  256. // optional string package = 2;
  257. inline bool has_package() const;
  258. inline void clear_package();
  259. static const int kPackageFieldNumber = 2;
  260. inline const ::std::string& package() const;
  261. inline void set_package(const ::std::string& value);
  262. inline void set_package(const char* value);
  263. inline void set_package(const char* value, size_t size);
  264. inline ::std::string* mutable_package();
  265. inline ::std::string* release_package();
  266. // repeated string dependency = 3;
  267. inline int dependency_size() const;
  268. inline void clear_dependency();
  269. static const int kDependencyFieldNumber = 3;
  270. inline const ::std::string& dependency(int index) const;
  271. inline ::std::string* mutable_dependency(int index);
  272. inline void set_dependency(int index, const ::std::string& value);
  273. inline void set_dependency(int index, const char* value);
  274. inline void set_dependency(int index, const char* value, size_t size);
  275. inline ::std::string* add_dependency();
  276. inline void add_dependency(const ::std::string& value);
  277. inline void add_dependency(const char* value);
  278. inline void add_dependency(const char* value, size_t size);
  279. inline const ::google::protobuf::RepeatedPtrField< ::std::string>& dependency() const;
  280. inline ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_dependency();
  281. // repeated .google.protobuf.DescriptorProto message_type = 4;
  282. inline int message_type_size() const;
  283. inline void clear_message_type();
  284. static const int kMessageTypeFieldNumber = 4;
  285. inline const ::google::protobuf::DescriptorProto& message_type(int index) const;
  286. inline ::google::protobuf::DescriptorProto* mutable_message_type(int index);
  287. inline ::google::protobuf::DescriptorProto* add_message_type();
  288. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
  289. message_type() const;
  290. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
  291. mutable_message_type();
  292. // repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
  293. inline int enum_type_size() const;
  294. inline void clear_enum_type();
  295. static const int kEnumTypeFieldNumber = 5;
  296. inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
  297. inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
  298. inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
  299. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
  300. enum_type() const;
  301. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
  302. mutable_enum_type();
  303. // repeated .google.protobuf.ServiceDescriptorProto service = 6;
  304. inline int service_size() const;
  305. inline void clear_service();
  306. static const int kServiceFieldNumber = 6;
  307. inline const ::google::protobuf::ServiceDescriptorProto& service(int index) const;
  308. inline ::google::protobuf::ServiceDescriptorProto* mutable_service(int index);
  309. inline ::google::protobuf::ServiceDescriptorProto* add_service();
  310. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >&
  311. service() const;
  312. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto >*
  313. mutable_service();
  314. // repeated .google.protobuf.FieldDescriptorProto extension = 7;
  315. inline int extension_size() const;
  316. inline void clear_extension();
  317. static const int kExtensionFieldNumber = 7;
  318. inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
  319. inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
  320. inline ::google::protobuf::FieldDescriptorProto* add_extension();
  321. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
  322. extension() const;
  323. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
  324. mutable_extension();
  325. // optional .google.protobuf.FileOptions options = 8;
  326. inline bool has_options() const;
  327. inline void clear_options();
  328. static const int kOptionsFieldNumber = 8;
  329. inline const ::google::protobuf::FileOptions& options() const;
  330. inline ::google::protobuf::FileOptions* mutable_options();
  331. inline ::google::protobuf::FileOptions* release_options();
  332. // optional .google.protobuf.SourceCodeInfo source_code_info = 9;
  333. inline bool has_source_code_info() const;
  334. inline void clear_source_code_info();
  335. static const int kSourceCodeInfoFieldNumber = 9;
  336. inline const ::google::protobuf::SourceCodeInfo& source_code_info() const;
  337. inline ::google::protobuf::SourceCodeInfo* mutable_source_code_info();
  338. inline ::google::protobuf::SourceCodeInfo* release_source_code_info();
  339. // @@protoc_insertion_point(class_scope:google.protobuf.FileDescriptorProto)
  340. private:
  341. inline void set_has_name();
  342. inline void clear_has_name();
  343. inline void set_has_package();
  344. inline void clear_has_package();
  345. inline void set_has_options();
  346. inline void clear_has_options();
  347. inline void set_has_source_code_info();
  348. inline void clear_has_source_code_info();
  349. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  350. ::std::string* name_;
  351. ::std::string* package_;
  352. ::google::protobuf::RepeatedPtrField< ::std::string> dependency_;
  353. ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > message_type_;
  354. ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
  355. ::google::protobuf::RepeatedPtrField< ::google::protobuf::ServiceDescriptorProto > service_;
  356. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
  357. ::google::protobuf::FileOptions* options_;
  358. ::google::protobuf::SourceCodeInfo* source_code_info_;
  359. mutable int _cached_size_;
  360. ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
  361. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  362. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  363. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  364. void InitAsDefaultInstance();
  365. static FileDescriptorProto* default_instance_;
  366. };
  367. // -------------------------------------------------------------------
  368. class LIBPROTOBUF_EXPORT DescriptorProto_ExtensionRange : public ::google::protobuf::Message {
  369. public:
  370. DescriptorProto_ExtensionRange();
  371. virtual ~DescriptorProto_ExtensionRange();
  372. DescriptorProto_ExtensionRange(const DescriptorProto_ExtensionRange& from);
  373. inline DescriptorProto_ExtensionRange& operator=(const DescriptorProto_ExtensionRange& from) {
  374. CopyFrom(from);
  375. return *this;
  376. }
  377. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  378. return _unknown_fields_;
  379. }
  380. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  381. return &_unknown_fields_;
  382. }
  383. static const ::google::protobuf::Descriptor* descriptor();
  384. static const DescriptorProto_ExtensionRange& default_instance();
  385. void Swap(DescriptorProto_ExtensionRange* other);
  386. // implements Message ----------------------------------------------
  387. DescriptorProto_ExtensionRange* New() const;
  388. void CopyFrom(const ::google::protobuf::Message& from);
  389. void MergeFrom(const ::google::protobuf::Message& from);
  390. void CopyFrom(const DescriptorProto_ExtensionRange& from);
  391. void MergeFrom(const DescriptorProto_ExtensionRange& from);
  392. void Clear();
  393. bool IsInitialized() const;
  394. int ByteSize() const;
  395. bool MergePartialFromCodedStream(
  396. ::google::protobuf::io::CodedInputStream* input);
  397. void SerializeWithCachedSizes(
  398. ::google::protobuf::io::CodedOutputStream* output) const;
  399. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  400. int GetCachedSize() const { return _cached_size_; }
  401. private:
  402. void SharedCtor();
  403. void SharedDtor();
  404. void SetCachedSize(int size) const;
  405. public:
  406. ::google::protobuf::Metadata GetMetadata() const;
  407. // nested types ----------------------------------------------------
  408. // accessors -------------------------------------------------------
  409. // optional int32 start = 1;
  410. inline bool has_start() const;
  411. inline void clear_start();
  412. static const int kStartFieldNumber = 1;
  413. inline ::google::protobuf::int32 start() const;
  414. inline void set_start(::google::protobuf::int32 value);
  415. // optional int32 end = 2;
  416. inline bool has_end() const;
  417. inline void clear_end();
  418. static const int kEndFieldNumber = 2;
  419. inline ::google::protobuf::int32 end() const;
  420. inline void set_end(::google::protobuf::int32 value);
  421. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto.ExtensionRange)
  422. private:
  423. inline void set_has_start();
  424. inline void clear_has_start();
  425. inline void set_has_end();
  426. inline void clear_has_end();
  427. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  428. ::google::protobuf::int32 start_;
  429. ::google::protobuf::int32 end_;
  430. mutable int _cached_size_;
  431. ::google::protobuf::uint32 _has_bits_[(2 + 31) / 32];
  432. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  433. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  434. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  435. void InitAsDefaultInstance();
  436. static DescriptorProto_ExtensionRange* default_instance_;
  437. };
  438. // -------------------------------------------------------------------
  439. class LIBPROTOBUF_EXPORT DescriptorProto : public ::google::protobuf::Message {
  440. public:
  441. DescriptorProto();
  442. virtual ~DescriptorProto();
  443. DescriptorProto(const DescriptorProto& from);
  444. inline DescriptorProto& operator=(const DescriptorProto& from) {
  445. CopyFrom(from);
  446. return *this;
  447. }
  448. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  449. return _unknown_fields_;
  450. }
  451. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  452. return &_unknown_fields_;
  453. }
  454. static const ::google::protobuf::Descriptor* descriptor();
  455. static const DescriptorProto& default_instance();
  456. void Swap(DescriptorProto* other);
  457. // implements Message ----------------------------------------------
  458. DescriptorProto* New() const;
  459. void CopyFrom(const ::google::protobuf::Message& from);
  460. void MergeFrom(const ::google::protobuf::Message& from);
  461. void CopyFrom(const DescriptorProto& from);
  462. void MergeFrom(const DescriptorProto& from);
  463. void Clear();
  464. bool IsInitialized() const;
  465. int ByteSize() const;
  466. bool MergePartialFromCodedStream(
  467. ::google::protobuf::io::CodedInputStream* input);
  468. void SerializeWithCachedSizes(
  469. ::google::protobuf::io::CodedOutputStream* output) const;
  470. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  471. int GetCachedSize() const { return _cached_size_; }
  472. private:
  473. void SharedCtor();
  474. void SharedDtor();
  475. void SetCachedSize(int size) const;
  476. public:
  477. ::google::protobuf::Metadata GetMetadata() const;
  478. // nested types ----------------------------------------------------
  479. typedef DescriptorProto_ExtensionRange ExtensionRange;
  480. // accessors -------------------------------------------------------
  481. // optional string name = 1;
  482. inline bool has_name() const;
  483. inline void clear_name();
  484. static const int kNameFieldNumber = 1;
  485. inline const ::std::string& name() const;
  486. inline void set_name(const ::std::string& value);
  487. inline void set_name(const char* value);
  488. inline void set_name(const char* value, size_t size);
  489. inline ::std::string* mutable_name();
  490. inline ::std::string* release_name();
  491. // repeated .google.protobuf.FieldDescriptorProto field = 2;
  492. inline int field_size() const;
  493. inline void clear_field();
  494. static const int kFieldFieldNumber = 2;
  495. inline const ::google::protobuf::FieldDescriptorProto& field(int index) const;
  496. inline ::google::protobuf::FieldDescriptorProto* mutable_field(int index);
  497. inline ::google::protobuf::FieldDescriptorProto* add_field();
  498. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
  499. field() const;
  500. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
  501. mutable_field();
  502. // repeated .google.protobuf.FieldDescriptorProto extension = 6;
  503. inline int extension_size() const;
  504. inline void clear_extension();
  505. static const int kExtensionFieldNumber = 6;
  506. inline const ::google::protobuf::FieldDescriptorProto& extension(int index) const;
  507. inline ::google::protobuf::FieldDescriptorProto* mutable_extension(int index);
  508. inline ::google::protobuf::FieldDescriptorProto* add_extension();
  509. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >&
  510. extension() const;
  511. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto >*
  512. mutable_extension();
  513. // repeated .google.protobuf.DescriptorProto nested_type = 3;
  514. inline int nested_type_size() const;
  515. inline void clear_nested_type();
  516. static const int kNestedTypeFieldNumber = 3;
  517. inline const ::google::protobuf::DescriptorProto& nested_type(int index) const;
  518. inline ::google::protobuf::DescriptorProto* mutable_nested_type(int index);
  519. inline ::google::protobuf::DescriptorProto* add_nested_type();
  520. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >&
  521. nested_type() const;
  522. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto >*
  523. mutable_nested_type();
  524. // repeated .google.protobuf.EnumDescriptorProto enum_type = 4;
  525. inline int enum_type_size() const;
  526. inline void clear_enum_type();
  527. static const int kEnumTypeFieldNumber = 4;
  528. inline const ::google::protobuf::EnumDescriptorProto& enum_type(int index) const;
  529. inline ::google::protobuf::EnumDescriptorProto* mutable_enum_type(int index);
  530. inline ::google::protobuf::EnumDescriptorProto* add_enum_type();
  531. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >&
  532. enum_type() const;
  533. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto >*
  534. mutable_enum_type();
  535. // repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
  536. inline int extension_range_size() const;
  537. inline void clear_extension_range();
  538. static const int kExtensionRangeFieldNumber = 5;
  539. inline const ::google::protobuf::DescriptorProto_ExtensionRange& extension_range(int index) const;
  540. inline ::google::protobuf::DescriptorProto_ExtensionRange* mutable_extension_range(int index);
  541. inline ::google::protobuf::DescriptorProto_ExtensionRange* add_extension_range();
  542. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >&
  543. extension_range() const;
  544. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange >*
  545. mutable_extension_range();
  546. // optional .google.protobuf.MessageOptions options = 7;
  547. inline bool has_options() const;
  548. inline void clear_options();
  549. static const int kOptionsFieldNumber = 7;
  550. inline const ::google::protobuf::MessageOptions& options() const;
  551. inline ::google::protobuf::MessageOptions* mutable_options();
  552. inline ::google::protobuf::MessageOptions* release_options();
  553. // @@protoc_insertion_point(class_scope:google.protobuf.DescriptorProto)
  554. private:
  555. inline void set_has_name();
  556. inline void clear_has_name();
  557. inline void set_has_options();
  558. inline void clear_has_options();
  559. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  560. ::std::string* name_;
  561. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > field_;
  562. ::google::protobuf::RepeatedPtrField< ::google::protobuf::FieldDescriptorProto > extension_;
  563. ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto > nested_type_;
  564. ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumDescriptorProto > enum_type_;
  565. ::google::protobuf::RepeatedPtrField< ::google::protobuf::DescriptorProto_ExtensionRange > extension_range_;
  566. ::google::protobuf::MessageOptions* options_;
  567. mutable int _cached_size_;
  568. ::google::protobuf::uint32 _has_bits_[(7 + 31) / 32];
  569. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  570. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  571. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  572. void InitAsDefaultInstance();
  573. static DescriptorProto* default_instance_;
  574. };
  575. // -------------------------------------------------------------------
  576. class LIBPROTOBUF_EXPORT FieldDescriptorProto : public ::google::protobuf::Message {
  577. public:
  578. FieldDescriptorProto();
  579. virtual ~FieldDescriptorProto();
  580. FieldDescriptorProto(const FieldDescriptorProto& from);
  581. inline FieldDescriptorProto& operator=(const FieldDescriptorProto& from) {
  582. CopyFrom(from);
  583. return *this;
  584. }
  585. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  586. return _unknown_fields_;
  587. }
  588. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  589. return &_unknown_fields_;
  590. }
  591. static const ::google::protobuf::Descriptor* descriptor();
  592. static const FieldDescriptorProto& default_instance();
  593. void Swap(FieldDescriptorProto* other);
  594. // implements Message ----------------------------------------------
  595. FieldDescriptorProto* New() const;
  596. void CopyFrom(const ::google::protobuf::Message& from);
  597. void MergeFrom(const ::google::protobuf::Message& from);
  598. void CopyFrom(const FieldDescriptorProto& from);
  599. void MergeFrom(const FieldDescriptorProto& from);
  600. void Clear();
  601. bool IsInitialized() const;
  602. int ByteSize() const;
  603. bool MergePartialFromCodedStream(
  604. ::google::protobuf::io::CodedInputStream* input);
  605. void SerializeWithCachedSizes(
  606. ::google::protobuf::io::CodedOutputStream* output) const;
  607. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  608. int GetCachedSize() const { return _cached_size_; }
  609. private:
  610. void SharedCtor();
  611. void SharedDtor();
  612. void SetCachedSize(int size) const;
  613. public:
  614. ::google::protobuf::Metadata GetMetadata() const;
  615. // nested types ----------------------------------------------------
  616. typedef FieldDescriptorProto_Type Type;
  617. static const Type TYPE_DOUBLE = FieldDescriptorProto_Type_TYPE_DOUBLE;
  618. static const Type TYPE_FLOAT = FieldDescriptorProto_Type_TYPE_FLOAT;
  619. static const Type TYPE_INT64 = FieldDescriptorProto_Type_TYPE_INT64;
  620. static const Type TYPE_UINT64 = FieldDescriptorProto_Type_TYPE_UINT64;
  621. static const Type TYPE_INT32 = FieldDescriptorProto_Type_TYPE_INT32;
  622. static const Type TYPE_FIXED64 = FieldDescriptorProto_Type_TYPE_FIXED64;
  623. static const Type TYPE_FIXED32 = FieldDescriptorProto_Type_TYPE_FIXED32;
  624. static const Type TYPE_BOOL = FieldDescriptorProto_Type_TYPE_BOOL;
  625. static const Type TYPE_STRING = FieldDescriptorProto_Type_TYPE_STRING;
  626. static const Type TYPE_GROUP = FieldDescriptorProto_Type_TYPE_GROUP;
  627. static const Type TYPE_MESSAGE = FieldDescriptorProto_Type_TYPE_MESSAGE;
  628. static const Type TYPE_BYTES = FieldDescriptorProto_Type_TYPE_BYTES;
  629. static const Type TYPE_UINT32 = FieldDescriptorProto_Type_TYPE_UINT32;
  630. static const Type TYPE_ENUM = FieldDescriptorProto_Type_TYPE_ENUM;
  631. static const Type TYPE_SFIXED32 = FieldDescriptorProto_Type_TYPE_SFIXED32;
  632. static const Type TYPE_SFIXED64 = FieldDescriptorProto_Type_TYPE_SFIXED64;
  633. static const Type TYPE_SINT32 = FieldDescriptorProto_Type_TYPE_SINT32;
  634. static const Type TYPE_SINT64 = FieldDescriptorProto_Type_TYPE_SINT64;
  635. static inline bool Type_IsValid(int value) {
  636. return FieldDescriptorProto_Type_IsValid(value);
  637. }
  638. static const Type Type_MIN =
  639. FieldDescriptorProto_Type_Type_MIN;
  640. static const Type Type_MAX =
  641. FieldDescriptorProto_Type_Type_MAX;
  642. static const int Type_ARRAYSIZE =
  643. FieldDescriptorProto_Type_Type_ARRAYSIZE;
  644. static inline const ::google::protobuf::EnumDescriptor*
  645. Type_descriptor() {
  646. return FieldDescriptorProto_Type_descriptor();
  647. }
  648. static inline const ::std::string& Type_Name(Type value) {
  649. return FieldDescriptorProto_Type_Name(value);
  650. }
  651. static inline bool Type_Parse(const ::std::string& name,
  652. Type* value) {
  653. return FieldDescriptorProto_Type_Parse(name, value);
  654. }
  655. typedef FieldDescriptorProto_Label Label;
  656. static const Label LABEL_OPTIONAL = FieldDescriptorProto_Label_LABEL_OPTIONAL;
  657. static const Label LABEL_REQUIRED = FieldDescriptorProto_Label_LABEL_REQUIRED;
  658. static const Label LABEL_REPEATED = FieldDescriptorProto_Label_LABEL_REPEATED;
  659. static inline bool Label_IsValid(int value) {
  660. return FieldDescriptorProto_Label_IsValid(value);
  661. }
  662. static const Label Label_MIN =
  663. FieldDescriptorProto_Label_Label_MIN;
  664. static const Label Label_MAX =
  665. FieldDescriptorProto_Label_Label_MAX;
  666. static const int Label_ARRAYSIZE =
  667. FieldDescriptorProto_Label_Label_ARRAYSIZE;
  668. static inline const ::google::protobuf::EnumDescriptor*
  669. Label_descriptor() {
  670. return FieldDescriptorProto_Label_descriptor();
  671. }
  672. static inline const ::std::string& Label_Name(Label value) {
  673. return FieldDescriptorProto_Label_Name(value);
  674. }
  675. static inline bool Label_Parse(const ::std::string& name,
  676. Label* value) {
  677. return FieldDescriptorProto_Label_Parse(name, value);
  678. }
  679. // accessors -------------------------------------------------------
  680. // optional string name = 1;
  681. inline bool has_name() const;
  682. inline void clear_name();
  683. static const int kNameFieldNumber = 1;
  684. inline const ::std::string& name() const;
  685. inline void set_name(const ::std::string& value);
  686. inline void set_name(const char* value);
  687. inline void set_name(const char* value, size_t size);
  688. inline ::std::string* mutable_name();
  689. inline ::std::string* release_name();
  690. // optional int32 number = 3;
  691. inline bool has_number() const;
  692. inline void clear_number();
  693. static const int kNumberFieldNumber = 3;
  694. inline ::google::protobuf::int32 number() const;
  695. inline void set_number(::google::protobuf::int32 value);
  696. // optional .google.protobuf.FieldDescriptorProto.Label label = 4;
  697. inline bool has_label() const;
  698. inline void clear_label();
  699. static const int kLabelFieldNumber = 4;
  700. inline ::google::protobuf::FieldDescriptorProto_Label label() const;
  701. inline void set_label(::google::protobuf::FieldDescriptorProto_Label value);
  702. // optional .google.protobuf.FieldDescriptorProto.Type type = 5;
  703. inline bool has_type() const;
  704. inline void clear_type();
  705. static const int kTypeFieldNumber = 5;
  706. inline ::google::protobuf::FieldDescriptorProto_Type type() const;
  707. inline void set_type(::google::protobuf::FieldDescriptorProto_Type value);
  708. // optional string type_name = 6;
  709. inline bool has_type_name() const;
  710. inline void clear_type_name();
  711. static const int kTypeNameFieldNumber = 6;
  712. inline const ::std::string& type_name() const;
  713. inline void set_type_name(const ::std::string& value);
  714. inline void set_type_name(const char* value);
  715. inline void set_type_name(const char* value, size_t size);
  716. inline ::std::string* mutable_type_name();
  717. inline ::std::string* release_type_name();
  718. // optional string extendee = 2;
  719. inline bool has_extendee() const;
  720. inline void clear_extendee();
  721. static const int kExtendeeFieldNumber = 2;
  722. inline const ::std::string& extendee() const;
  723. inline void set_extendee(const ::std::string& value);
  724. inline void set_extendee(const char* value);
  725. inline void set_extendee(const char* value, size_t size);
  726. inline ::std::string* mutable_extendee();
  727. inline ::std::string* release_extendee();
  728. // optional string default_value = 7;
  729. inline bool has_default_value() const;
  730. inline void clear_default_value();
  731. static const int kDefaultValueFieldNumber = 7;
  732. inline const ::std::string& default_value() const;
  733. inline void set_default_value(const ::std::string& value);
  734. inline void set_default_value(const char* value);
  735. inline void set_default_value(const char* value, size_t size);
  736. inline ::std::string* mutable_default_value();
  737. inline ::std::string* release_default_value();
  738. // optional .google.protobuf.FieldOptions options = 8;
  739. inline bool has_options() const;
  740. inline void clear_options();
  741. static const int kOptionsFieldNumber = 8;
  742. inline const ::google::protobuf::FieldOptions& options() const;
  743. inline ::google::protobuf::FieldOptions* mutable_options();
  744. inline ::google::protobuf::FieldOptions* release_options();
  745. // @@protoc_insertion_point(class_scope:google.protobuf.FieldDescriptorProto)
  746. private:
  747. inline void set_has_name();
  748. inline void clear_has_name();
  749. inline void set_has_number();
  750. inline void clear_has_number();
  751. inline void set_has_label();
  752. inline void clear_has_label();
  753. inline void set_has_type();
  754. inline void clear_has_type();
  755. inline void set_has_type_name();
  756. inline void clear_has_type_name();
  757. inline void set_has_extendee();
  758. inline void clear_has_extendee();
  759. inline void set_has_default_value();
  760. inline void clear_has_default_value();
  761. inline void set_has_options();
  762. inline void clear_has_options();
  763. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  764. ::std::string* name_;
  765. ::google::protobuf::int32 number_;
  766. int label_;
  767. ::std::string* type_name_;
  768. ::std::string* extendee_;
  769. ::std::string* default_value_;
  770. ::google::protobuf::FieldOptions* options_;
  771. int type_;
  772. mutable int _cached_size_;
  773. ::google::protobuf::uint32 _has_bits_[(8 + 31) / 32];
  774. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  775. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  776. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  777. void InitAsDefaultInstance();
  778. static FieldDescriptorProto* default_instance_;
  779. };
  780. // -------------------------------------------------------------------
  781. class LIBPROTOBUF_EXPORT EnumDescriptorProto : public ::google::protobuf::Message {
  782. public:
  783. EnumDescriptorProto();
  784. virtual ~EnumDescriptorProto();
  785. EnumDescriptorProto(const EnumDescriptorProto& from);
  786. inline EnumDescriptorProto& operator=(const EnumDescriptorProto& from) {
  787. CopyFrom(from);
  788. return *this;
  789. }
  790. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  791. return _unknown_fields_;
  792. }
  793. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  794. return &_unknown_fields_;
  795. }
  796. static const ::google::protobuf::Descriptor* descriptor();
  797. static const EnumDescriptorProto& default_instance();
  798. void Swap(EnumDescriptorProto* other);
  799. // implements Message ----------------------------------------------
  800. EnumDescriptorProto* New() const;
  801. void CopyFrom(const ::google::protobuf::Message& from);
  802. void MergeFrom(const ::google::protobuf::Message& from);
  803. void CopyFrom(const EnumDescriptorProto& from);
  804. void MergeFrom(const EnumDescriptorProto& from);
  805. void Clear();
  806. bool IsInitialized() const;
  807. int ByteSize() const;
  808. bool MergePartialFromCodedStream(
  809. ::google::protobuf::io::CodedInputStream* input);
  810. void SerializeWithCachedSizes(
  811. ::google::protobuf::io::CodedOutputStream* output) const;
  812. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  813. int GetCachedSize() const { return _cached_size_; }
  814. private:
  815. void SharedCtor();
  816. void SharedDtor();
  817. void SetCachedSize(int size) const;
  818. public:
  819. ::google::protobuf::Metadata GetMetadata() const;
  820. // nested types ----------------------------------------------------
  821. // accessors -------------------------------------------------------
  822. // optional string name = 1;
  823. inline bool has_name() const;
  824. inline void clear_name();
  825. static const int kNameFieldNumber = 1;
  826. inline const ::std::string& name() const;
  827. inline void set_name(const ::std::string& value);
  828. inline void set_name(const char* value);
  829. inline void set_name(const char* value, size_t size);
  830. inline ::std::string* mutable_name();
  831. inline ::std::string* release_name();
  832. // repeated .google.protobuf.EnumValueDescriptorProto value = 2;
  833. inline int value_size() const;
  834. inline void clear_value();
  835. static const int kValueFieldNumber = 2;
  836. inline const ::google::protobuf::EnumValueDescriptorProto& value(int index) const;
  837. inline ::google::protobuf::EnumValueDescriptorProto* mutable_value(int index);
  838. inline ::google::protobuf::EnumValueDescriptorProto* add_value();
  839. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >&
  840. value() const;
  841. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto >*
  842. mutable_value();
  843. // optional .google.protobuf.EnumOptions options = 3;
  844. inline bool has_options() const;
  845. inline void clear_options();
  846. static const int kOptionsFieldNumber = 3;
  847. inline const ::google::protobuf::EnumOptions& options() const;
  848. inline ::google::protobuf::EnumOptions* mutable_options();
  849. inline ::google::protobuf::EnumOptions* release_options();
  850. // @@protoc_insertion_point(class_scope:google.protobuf.EnumDescriptorProto)
  851. private:
  852. inline void set_has_name();
  853. inline void clear_has_name();
  854. inline void set_has_options();
  855. inline void clear_has_options();
  856. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  857. ::std::string* name_;
  858. ::google::protobuf::RepeatedPtrField< ::google::protobuf::EnumValueDescriptorProto > value_;
  859. ::google::protobuf::EnumOptions* options_;
  860. mutable int _cached_size_;
  861. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  862. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  863. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  864. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  865. void InitAsDefaultInstance();
  866. static EnumDescriptorProto* default_instance_;
  867. };
  868. // -------------------------------------------------------------------
  869. class LIBPROTOBUF_EXPORT EnumValueDescriptorProto : public ::google::protobuf::Message {
  870. public:
  871. EnumValueDescriptorProto();
  872. virtual ~EnumValueDescriptorProto();
  873. EnumValueDescriptorProto(const EnumValueDescriptorProto& from);
  874. inline EnumValueDescriptorProto& operator=(const EnumValueDescriptorProto& from) {
  875. CopyFrom(from);
  876. return *this;
  877. }
  878. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  879. return _unknown_fields_;
  880. }
  881. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  882. return &_unknown_fields_;
  883. }
  884. static const ::google::protobuf::Descriptor* descriptor();
  885. static const EnumValueDescriptorProto& default_instance();
  886. void Swap(EnumValueDescriptorProto* other);
  887. // implements Message ----------------------------------------------
  888. EnumValueDescriptorProto* New() const;
  889. void CopyFrom(const ::google::protobuf::Message& from);
  890. void MergeFrom(const ::google::protobuf::Message& from);
  891. void CopyFrom(const EnumValueDescriptorProto& from);
  892. void MergeFrom(const EnumValueDescriptorProto& from);
  893. void Clear();
  894. bool IsInitialized() const;
  895. int ByteSize() const;
  896. bool MergePartialFromCodedStream(
  897. ::google::protobuf::io::CodedInputStream* input);
  898. void SerializeWithCachedSizes(
  899. ::google::protobuf::io::CodedOutputStream* output) const;
  900. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  901. int GetCachedSize() const { return _cached_size_; }
  902. private:
  903. void SharedCtor();
  904. void SharedDtor();
  905. void SetCachedSize(int size) const;
  906. public:
  907. ::google::protobuf::Metadata GetMetadata() const;
  908. // nested types ----------------------------------------------------
  909. // accessors -------------------------------------------------------
  910. // optional string name = 1;
  911. inline bool has_name() const;
  912. inline void clear_name();
  913. static const int kNameFieldNumber = 1;
  914. inline const ::std::string& name() const;
  915. inline void set_name(const ::std::string& value);
  916. inline void set_name(const char* value);
  917. inline void set_name(const char* value, size_t size);
  918. inline ::std::string* mutable_name();
  919. inline ::std::string* release_name();
  920. // optional int32 number = 2;
  921. inline bool has_number() const;
  922. inline void clear_number();
  923. static const int kNumberFieldNumber = 2;
  924. inline ::google::protobuf::int32 number() const;
  925. inline void set_number(::google::protobuf::int32 value);
  926. // optional .google.protobuf.EnumValueOptions options = 3;
  927. inline bool has_options() const;
  928. inline void clear_options();
  929. static const int kOptionsFieldNumber = 3;
  930. inline const ::google::protobuf::EnumValueOptions& options() const;
  931. inline ::google::protobuf::EnumValueOptions* mutable_options();
  932. inline ::google::protobuf::EnumValueOptions* release_options();
  933. // @@protoc_insertion_point(class_scope:google.protobuf.EnumValueDescriptorProto)
  934. private:
  935. inline void set_has_name();
  936. inline void clear_has_name();
  937. inline void set_has_number();
  938. inline void clear_has_number();
  939. inline void set_has_options();
  940. inline void clear_has_options();
  941. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  942. ::std::string* name_;
  943. ::google::protobuf::EnumValueOptions* options_;
  944. ::google::protobuf::int32 number_;
  945. mutable int _cached_size_;
  946. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  947. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  948. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  949. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  950. void InitAsDefaultInstance();
  951. static EnumValueDescriptorProto* default_instance_;
  952. };
  953. // -------------------------------------------------------------------
  954. class LIBPROTOBUF_EXPORT ServiceDescriptorProto : public ::google::protobuf::Message {
  955. public:
  956. ServiceDescriptorProto();
  957. virtual ~ServiceDescriptorProto();
  958. ServiceDescriptorProto(const ServiceDescriptorProto& from);
  959. inline ServiceDescriptorProto& operator=(const ServiceDescriptorProto& from) {
  960. CopyFrom(from);
  961. return *this;
  962. }
  963. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  964. return _unknown_fields_;
  965. }
  966. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  967. return &_unknown_fields_;
  968. }
  969. static const ::google::protobuf::Descriptor* descriptor();
  970. static const ServiceDescriptorProto& default_instance();
  971. void Swap(ServiceDescriptorProto* other);
  972. // implements Message ----------------------------------------------
  973. ServiceDescriptorProto* New() const;
  974. void CopyFrom(const ::google::protobuf::Message& from);
  975. void MergeFrom(const ::google::protobuf::Message& from);
  976. void CopyFrom(const ServiceDescriptorProto& from);
  977. void MergeFrom(const ServiceDescriptorProto& from);
  978. void Clear();
  979. bool IsInitialized() const;
  980. int ByteSize() const;
  981. bool MergePartialFromCodedStream(
  982. ::google::protobuf::io::CodedInputStream* input);
  983. void SerializeWithCachedSizes(
  984. ::google::protobuf::io::CodedOutputStream* output) const;
  985. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  986. int GetCachedSize() const { return _cached_size_; }
  987. private:
  988. void SharedCtor();
  989. void SharedDtor();
  990. void SetCachedSize(int size) const;
  991. public:
  992. ::google::protobuf::Metadata GetMetadata() const;
  993. // nested types ----------------------------------------------------
  994. // accessors -------------------------------------------------------
  995. // optional string name = 1;
  996. inline bool has_name() const;
  997. inline void clear_name();
  998. static const int kNameFieldNumber = 1;
  999. inline const ::std::string& name() const;
  1000. inline void set_name(const ::std::string& value);
  1001. inline void set_name(const char* value);
  1002. inline void set_name(const char* value, size_t size);
  1003. inline ::std::string* mutable_name();
  1004. inline ::std::string* release_name();
  1005. // repeated .google.protobuf.MethodDescriptorProto method = 2;
  1006. inline int method_size() const;
  1007. inline void clear_method();
  1008. static const int kMethodFieldNumber = 2;
  1009. inline const ::google::protobuf::MethodDescriptorProto& method(int index) const;
  1010. inline ::google::protobuf::MethodDescriptorProto* mutable_method(int index);
  1011. inline ::google::protobuf::MethodDescriptorProto* add_method();
  1012. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >&
  1013. method() const;
  1014. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto >*
  1015. mutable_method();
  1016. // optional .google.protobuf.ServiceOptions options = 3;
  1017. inline bool has_options() const;
  1018. inline void clear_options();
  1019. static const int kOptionsFieldNumber = 3;
  1020. inline const ::google::protobuf::ServiceOptions& options() const;
  1021. inline ::google::protobuf::ServiceOptions* mutable_options();
  1022. inline ::google::protobuf::ServiceOptions* release_options();
  1023. // @@protoc_insertion_point(class_scope:google.protobuf.ServiceDescriptorProto)
  1024. private:
  1025. inline void set_has_name();
  1026. inline void clear_has_name();
  1027. inline void set_has_options();
  1028. inline void clear_has_options();
  1029. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1030. ::std::string* name_;
  1031. ::google::protobuf::RepeatedPtrField< ::google::protobuf::MethodDescriptorProto > method_;
  1032. ::google::protobuf::ServiceOptions* options_;
  1033. mutable int _cached_size_;
  1034. ::google::protobuf::uint32 _has_bits_[(3 + 31) / 32];
  1035. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1036. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1037. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  1038. void InitAsDefaultInstance();
  1039. static ServiceDescriptorProto* default_instance_;
  1040. };
  1041. // -------------------------------------------------------------------
  1042. class LIBPROTOBUF_EXPORT MethodDescriptorProto : public ::google::protobuf::Message {
  1043. public:
  1044. MethodDescriptorProto();
  1045. virtual ~MethodDescriptorProto();
  1046. MethodDescriptorProto(const MethodDescriptorProto& from);
  1047. inline MethodDescriptorProto& operator=(const MethodDescriptorProto& from) {
  1048. CopyFrom(from);
  1049. return *this;
  1050. }
  1051. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1052. return _unknown_fields_;
  1053. }
  1054. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1055. return &_unknown_fields_;
  1056. }
  1057. static const ::google::protobuf::Descriptor* descriptor();
  1058. static const MethodDescriptorProto& default_instance();
  1059. void Swap(MethodDescriptorProto* other);
  1060. // implements Message ----------------------------------------------
  1061. MethodDescriptorProto* New() const;
  1062. void CopyFrom(const ::google::protobuf::Message& from);
  1063. void MergeFrom(const ::google::protobuf::Message& from);
  1064. void CopyFrom(const MethodDescriptorProto& from);
  1065. void MergeFrom(const MethodDescriptorProto& from);
  1066. void Clear();
  1067. bool IsInitialized() const;
  1068. int ByteSize() const;
  1069. bool MergePartialFromCodedStream(
  1070. ::google::protobuf::io::CodedInputStream* input);
  1071. void SerializeWithCachedSizes(
  1072. ::google::protobuf::io::CodedOutputStream* output) const;
  1073. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1074. int GetCachedSize() const { return _cached_size_; }
  1075. private:
  1076. void SharedCtor();
  1077. void SharedDtor();
  1078. void SetCachedSize(int size) const;
  1079. public:
  1080. ::google::protobuf::Metadata GetMetadata() const;
  1081. // nested types ----------------------------------------------------
  1082. // accessors -------------------------------------------------------
  1083. // optional string name = 1;
  1084. inline bool has_name() const;
  1085. inline void clear_name();
  1086. static const int kNameFieldNumber = 1;
  1087. inline const ::std::string& name() const;
  1088. inline void set_name(const ::std::string& value);
  1089. inline void set_name(const char* value);
  1090. inline void set_name(const char* value, size_t size);
  1091. inline ::std::string* mutable_name();
  1092. inline ::std::string* release_name();
  1093. // optional string input_type = 2;
  1094. inline bool has_input_type() const;
  1095. inline void clear_input_type();
  1096. static const int kInputTypeFieldNumber = 2;
  1097. inline const ::std::string& input_type() const;
  1098. inline void set_input_type(const ::std::string& value);
  1099. inline void set_input_type(const char* value);
  1100. inline void set_input_type(const char* value, size_t size);
  1101. inline ::std::string* mutable_input_type();
  1102. inline ::std::string* release_input_type();
  1103. // optional string output_type = 3;
  1104. inline bool has_output_type() const;
  1105. inline void clear_output_type();
  1106. static const int kOutputTypeFieldNumber = 3;
  1107. inline const ::std::string& output_type() const;
  1108. inline void set_output_type(const ::std::string& value);
  1109. inline void set_output_type(const char* value);
  1110. inline void set_output_type(const char* value, size_t size);
  1111. inline ::std::string* mutable_output_type();
  1112. inline ::std::string* release_output_type();
  1113. // optional .google.protobuf.MethodOptions options = 4;
  1114. inline bool has_options() const;
  1115. inline void clear_options();
  1116. static const int kOptionsFieldNumber = 4;
  1117. inline const ::google::protobuf::MethodOptions& options() const;
  1118. inline ::google::protobuf::MethodOptions* mutable_options();
  1119. inline ::google::protobuf::MethodOptions* release_options();
  1120. // @@protoc_insertion_point(class_scope:google.protobuf.MethodDescriptorProto)
  1121. private:
  1122. inline void set_has_name();
  1123. inline void clear_has_name();
  1124. inline void set_has_input_type();
  1125. inline void clear_has_input_type();
  1126. inline void set_has_output_type();
  1127. inline void clear_has_output_type();
  1128. inline void set_has_options();
  1129. inline void clear_has_options();
  1130. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1131. ::std::string* name_;
  1132. ::std::string* input_type_;
  1133. ::std::string* output_type_;
  1134. ::google::protobuf::MethodOptions* options_;
  1135. mutable int _cached_size_;
  1136. ::google::protobuf::uint32 _has_bits_[(4 + 31) / 32];
  1137. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1138. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1139. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  1140. void InitAsDefaultInstance();
  1141. static MethodDescriptorProto* default_instance_;
  1142. };
  1143. // -------------------------------------------------------------------
  1144. class LIBPROTOBUF_EXPORT FileOptions : public ::google::protobuf::Message {
  1145. public:
  1146. FileOptions();
  1147. virtual ~FileOptions();
  1148. FileOptions(const FileOptions& from);
  1149. inline FileOptions& operator=(const FileOptions& from) {
  1150. CopyFrom(from);
  1151. return *this;
  1152. }
  1153. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1154. return _unknown_fields_;
  1155. }
  1156. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1157. return &_unknown_fields_;
  1158. }
  1159. static const ::google::protobuf::Descriptor* descriptor();
  1160. static const FileOptions& default_instance();
  1161. void Swap(FileOptions* other);
  1162. // implements Message ----------------------------------------------
  1163. FileOptions* New() const;
  1164. void CopyFrom(const ::google::protobuf::Message& from);
  1165. void MergeFrom(const ::google::protobuf::Message& from);
  1166. void CopyFrom(const FileOptions& from);
  1167. void MergeFrom(const FileOptions& from);
  1168. void Clear();
  1169. bool IsInitialized() const;
  1170. int ByteSize() const;
  1171. bool MergePartialFromCodedStream(
  1172. ::google::protobuf::io::CodedInputStream* input);
  1173. void SerializeWithCachedSizes(
  1174. ::google::protobuf::io::CodedOutputStream* output) const;
  1175. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1176. int GetCachedSize() const { return _cached_size_; }
  1177. private:
  1178. void SharedCtor();
  1179. void SharedDtor();
  1180. void SetCachedSize(int size) const;
  1181. public:
  1182. ::google::protobuf::Metadata GetMetadata() const;
  1183. // nested types ----------------------------------------------------
  1184. typedef FileOptions_OptimizeMode OptimizeMode;
  1185. static const OptimizeMode SPEED = FileOptions_OptimizeMode_SPEED;
  1186. static const OptimizeMode CODE_SIZE = FileOptions_OptimizeMode_CODE_SIZE;
  1187. static const OptimizeMode LITE_RUNTIME = FileOptions_OptimizeMode_LITE_RUNTIME;
  1188. static inline bool OptimizeMode_IsValid(int value) {
  1189. return FileOptions_OptimizeMode_IsValid(value);
  1190. }
  1191. static const OptimizeMode OptimizeMode_MIN =
  1192. FileOptions_OptimizeMode_OptimizeMode_MIN;
  1193. static const OptimizeMode OptimizeMode_MAX =
  1194. FileOptions_OptimizeMode_OptimizeMode_MAX;
  1195. static const int OptimizeMode_ARRAYSIZE =
  1196. FileOptions_OptimizeMode_OptimizeMode_ARRAYSIZE;
  1197. static inline const ::google::protobuf::EnumDescriptor*
  1198. OptimizeMode_descriptor() {
  1199. return FileOptions_OptimizeMode_descriptor();
  1200. }
  1201. static inline const ::std::string& OptimizeMode_Name(OptimizeMode value) {
  1202. return FileOptions_OptimizeMode_Name(value);
  1203. }
  1204. static inline bool OptimizeMode_Parse(const ::std::string& name,
  1205. OptimizeMode* value) {
  1206. return FileOptions_OptimizeMode_Parse(name, value);
  1207. }
  1208. // accessors -------------------------------------------------------
  1209. // optional string java_package = 1;
  1210. inline bool has_java_package() const;
  1211. inline void clear_java_package();
  1212. static const int kJavaPackageFieldNumber = 1;
  1213. inline const ::std::string& java_package() const;
  1214. inline void set_java_package(const ::std::string& value);
  1215. inline void set_java_package(const char* value);
  1216. inline void set_java_package(const char* value, size_t size);
  1217. inline ::std::string* mutable_java_package();
  1218. inline ::std::string* release_java_package();
  1219. // optional string java_outer_classname = 8;
  1220. inline bool has_java_outer_classname() const;
  1221. inline void clear_java_outer_classname();
  1222. static const int kJavaOuterClassnameFieldNumber = 8;
  1223. inline const ::std::string& java_outer_classname() const;
  1224. inline void set_java_outer_classname(const ::std::string& value);
  1225. inline void set_java_outer_classname(const char* value);
  1226. inline void set_java_outer_classname(const char* value, size_t size);
  1227. inline ::std::string* mutable_java_outer_classname();
  1228. inline ::std::string* release_java_outer_classname();
  1229. // optional bool java_multiple_files = 10 [default = false];
  1230. inline bool has_java_multiple_files() const;
  1231. inline void clear_java_multiple_files();
  1232. static const int kJavaMultipleFilesFieldNumber = 10;
  1233. inline bool java_multiple_files() const;
  1234. inline void set_java_multiple_files(bool value);
  1235. // optional bool java_generate_equals_and_hash = 20 [default = false];
  1236. inline bool has_java_generate_equals_and_hash() const;
  1237. inline void clear_java_generate_equals_and_hash();
  1238. static const int kJavaGenerateEqualsAndHashFieldNumber = 20;
  1239. inline bool java_generate_equals_and_hash() const;
  1240. inline void set_java_generate_equals_and_hash(bool value);
  1241. // optional .google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
  1242. inline bool has_optimize_for() const;
  1243. inline void clear_optimize_for();
  1244. static const int kOptimizeForFieldNumber = 9;
  1245. inline ::google::protobuf::FileOptions_OptimizeMode optimize_for() const;
  1246. inline void set_optimize_for(::google::protobuf::FileOptions_OptimizeMode value);
  1247. // optional bool cc_generic_services = 16 [default = false];
  1248. inline bool has_cc_generic_services() const;
  1249. inline void clear_cc_generic_services();
  1250. static const int kCcGenericServicesFieldNumber = 16;
  1251. inline bool cc_generic_services() const;
  1252. inline void set_cc_generic_services(bool value);
  1253. // optional bool java_generic_services = 17 [default = false];
  1254. inline bool has_java_generic_services() const;
  1255. inline void clear_java_generic_services();
  1256. static const int kJavaGenericServicesFieldNumber = 17;
  1257. inline bool java_generic_services() const;
  1258. inline void set_java_generic_services(bool value);
  1259. // optional bool py_generic_services = 18 [default = false];
  1260. inline bool has_py_generic_services() const;
  1261. inline void clear_py_generic_services();
  1262. static const int kPyGenericServicesFieldNumber = 18;
  1263. inline bool py_generic_services() const;
  1264. inline void set_py_generic_services(bool value);
  1265. // repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999;
  1266. inline int uninterpreted_option_size() const;
  1267. inline void clear_uninterpreted_option();
  1268. static const int kUninterpretedOptionFieldNumber = 999;
  1269. inline const ::google::protobuf::UninterpretedOption& uninterpreted_option(int index) const;
  1270. inline ::google::protobuf::UninterpretedOption* mutable_uninterpreted_option(int index);
  1271. inline ::google::protobuf::UninterpretedOption* add_uninterpreted_option();
  1272. inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >&
  1273. uninterpreted_option() const;
  1274. inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption >*
  1275. mutable_uninterpreted_option();
  1276. GOOGLE_PROTOBUF_EXTENSION_ACCESSORS(FileOptions)
  1277. // @@protoc_insertion_point(class_scope:google.protobuf.FileOptions)
  1278. private:
  1279. inline void set_has_java_package();
  1280. inline void clear_has_java_package();
  1281. inline void set_has_java_outer_classname();
  1282. inline void clear_has_java_outer_classname();
  1283. inline void set_has_java_multiple_files();
  1284. inline void clear_has_java_multiple_files();
  1285. inline void set_has_java_generate_equals_and_hash();
  1286. inline void clear_has_java_generate_equals_and_hash();
  1287. inline void set_has_optimize_for();
  1288. inline void clear_has_optimize_for();
  1289. inline void set_has_cc_generic_services();
  1290. inline void clear_has_cc_generic_services();
  1291. inline void set_has_java_generic_services();
  1292. inline void clear_has_java_generic_services();
  1293. inline void set_has_py_generic_services();
  1294. inline void clear_has_py_generic_services();
  1295. ::google::protobuf::internal::ExtensionSet _extensions_;
  1296. ::google::protobuf::UnknownFieldSet _unknown_fields_;
  1297. ::std::string* java_package_;
  1298. ::std::string* java_outer_classname_;
  1299. int optimize_for_;
  1300. bool java_multiple_files_;
  1301. bool java_generate_equals_and_hash_;
  1302. bool cc_generic_services_;
  1303. bool java_generic_services_;
  1304. ::google::protobuf::RepeatedPtrField< ::google::protobuf::UninterpretedOption > uninterpreted_option_;
  1305. bool py_generic_services_;
  1306. mutable int _cached_size_;
  1307. ::google::protobuf::uint32 _has_bits_[(9 + 31) / 32];
  1308. friend void LIBPROTOBUF_EXPORT protobuf_AddDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1309. friend void protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto();
  1310. friend void protobuf_ShutdownFile_google_2fprotobuf_2fdescriptor_2eproto();
  1311. void InitAsDefaultInstance();
  1312. static FileOptions* default_instance_;
  1313. };
  1314. // -------------------------------------------------------------------
  1315. class LIBPROTOBUF_EXPORT MessageOptions : public ::google::protobuf::Message {
  1316. public:
  1317. MessageOptions();
  1318. virtual ~MessageOptions();
  1319. MessageOptions(const MessageOptions& from);
  1320. inline MessageOptions& operator=(const MessageOptions& from) {
  1321. CopyFrom(from);
  1322. return *this;
  1323. }
  1324. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1325. return _unknown_fields_;
  1326. }
  1327. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1328. return &_unknown_fields_;
  1329. }
  1330. static const ::google::protobuf::Descriptor* descriptor();
  1331. static const MessageOptions& default_instance();
  1332. void Swap(MessageOptions* other);
  1333. // implements Message ----------------------------------------------
  1334. MessageOptions* New() const;
  1335. void CopyFrom(const ::google::protobuf::Message& from);
  1336. void MergeFrom(const ::google::protobuf::Message& from);
  1337. void CopyFrom(const MessageOptions& from);
  1338. void MergeFrom(const MessageOptions& from);
  1339. void Clear();
  1340. bool IsInitialized() const;
  1341. int ByteSize() const;
  1342. bool MergePartialFromCodedStream(
  1343. ::google::protobuf::io::CodedInputStream* input);
  1344. void SerializeWithCachedSizes(
  1345. ::google::protobuf::io::CodedOutputStream* output) const;
  1346. ::google::protobuf::uint8* SerializeWithCachedSizesToArray(::google::protobuf::uint8* output) const;
  1347. int GetCachedSize() const { return _cached_size_; }
  1348. private:
  1349. void SharedCtor();
  1350. void SharedDtor();
  1351. void SetCachedSize(int size) const;
  1352. public:
  1353. ::google::protobuf::Metadata GetMetadata() const;
  1354. // nested types ----------------------------------------------------
  1355. // accessors -------------------------------------------------------
  1356. // optional bool message_set_wire_format = 1 [default = false];
  1357. inline bool has_message_set_wire_format() const;
  1358. inline void clear_message_set_wire_format();
  1359. static const int kMessageSetWireFormatFieldNumber = 1;
  1360. inline bool message_set_wire_format() const;
  1361. inline void set_message_set_wire_format(bool value);
  1362. // optional bool no_standard_descriptor_accessor = 2 [default = false];
  1363. inline bool has_n