api.pb.h 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: google/protobuf/api.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3013000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3013000 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_table_driven.h>
  23. #include <google/protobuf/generated_message_util.h>
  24. #include <google/protobuf/inlined_string_field.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/unknown_field_set.h>
  31. #include <google/protobuf/source_context.pb.h>
  32. #include <google/protobuf/type.pb.h>
  33. // @@protoc_insertion_point(includes)
  34. #include <google/protobuf/port_def.inc>
  35. #define PROTOBUF_INTERNAL_EXPORT_google_2fprotobuf_2fapi_2eproto PROTOBUF_EXPORT
  36. PROTOBUF_NAMESPACE_OPEN
  37. namespace internal {
  38. class AnyMetadata;
  39. } // namespace internal
  40. PROTOBUF_NAMESPACE_CLOSE
  41. // Internal implementation detail -- do not use these members.
  42. struct PROTOBUF_EXPORT TableStruct_google_2fprotobuf_2fapi_2eproto {
  43. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  44. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  45. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  46. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  47. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[3]
  48. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  50. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  51. static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[];
  52. };
  53. extern PROTOBUF_EXPORT const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_google_2fprotobuf_2fapi_2eproto;
  54. PROTOBUF_NAMESPACE_OPEN
  55. class Api;
  56. class ApiDefaultTypeInternal;
  57. PROTOBUF_EXPORT extern ApiDefaultTypeInternal _Api_default_instance_;
  58. class Method;
  59. class MethodDefaultTypeInternal;
  60. PROTOBUF_EXPORT extern MethodDefaultTypeInternal _Method_default_instance_;
  61. class Mixin;
  62. class MixinDefaultTypeInternal;
  63. PROTOBUF_EXPORT extern MixinDefaultTypeInternal _Mixin_default_instance_;
  64. PROTOBUF_NAMESPACE_CLOSE
  65. PROTOBUF_NAMESPACE_OPEN
  66. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Api* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Api>(Arena*);
  67. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Method* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Method>(Arena*);
  68. template<> PROTOBUF_EXPORT PROTOBUF_NAMESPACE_ID::Mixin* Arena::CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::Mixin>(Arena*);
  69. PROTOBUF_NAMESPACE_CLOSE
  70. PROTOBUF_NAMESPACE_OPEN
  71. // ===================================================================
  72. class PROTOBUF_EXPORT Api PROTOBUF_FINAL :
  73. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Api) */ {
  74. public:
  75. inline Api() : Api(nullptr) {}
  76. virtual ~Api();
  77. Api(const Api& from);
  78. Api(Api&& from) noexcept
  79. : Api() {
  80. *this = ::std::move(from);
  81. }
  82. inline Api& operator=(const Api& from) {
  83. CopyFrom(from);
  84. return *this;
  85. }
  86. inline Api& operator=(Api&& from) noexcept {
  87. if (GetArena() == from.GetArena()) {
  88. if (this != &from) InternalSwap(&from);
  89. } else {
  90. CopyFrom(from);
  91. }
  92. return *this;
  93. }
  94. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  95. return GetDescriptor();
  96. }
  97. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  98. return GetMetadataStatic().descriptor;
  99. }
  100. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  101. return GetMetadataStatic().reflection;
  102. }
  103. static const Api& default_instance();
  104. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  105. static inline const Api* internal_default_instance() {
  106. return reinterpret_cast<const Api*>(
  107. &_Api_default_instance_);
  108. }
  109. static constexpr int kIndexInFileMessages =
  110. 0;
  111. friend void swap(Api& a, Api& b) {
  112. a.Swap(&b);
  113. }
  114. inline void Swap(Api* other) {
  115. if (other == this) return;
  116. if (GetArena() == other->GetArena()) {
  117. InternalSwap(other);
  118. } else {
  119. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  120. }
  121. }
  122. void UnsafeArenaSwap(Api* other) {
  123. if (other == this) return;
  124. GOOGLE_DCHECK(GetArena() == other->GetArena());
  125. InternalSwap(other);
  126. }
  127. // implements Message ----------------------------------------------
  128. inline Api* New() const final {
  129. return CreateMaybeMessage<Api>(nullptr);
  130. }
  131. Api* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  132. return CreateMaybeMessage<Api>(arena);
  133. }
  134. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  135. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  136. void CopyFrom(const Api& from);
  137. void MergeFrom(const Api& from);
  138. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  139. bool IsInitialized() const final;
  140. size_t ByteSizeLong() const final;
  141. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  142. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  143. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  144. int GetCachedSize() const final { return _cached_size_.Get(); }
  145. private:
  146. inline void SharedCtor();
  147. inline void SharedDtor();
  148. void SetCachedSize(int size) const final;
  149. void InternalSwap(Api* other);
  150. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  151. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  152. return "google.protobuf.Api";
  153. }
  154. protected:
  155. explicit Api(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  156. private:
  157. static void ArenaDtor(void* object);
  158. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  159. public:
  160. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  161. private:
  162. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  163. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
  164. return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
  165. }
  166. public:
  167. // nested types ----------------------------------------------------
  168. // accessors -------------------------------------------------------
  169. enum : int {
  170. kMethodsFieldNumber = 2,
  171. kOptionsFieldNumber = 3,
  172. kMixinsFieldNumber = 6,
  173. kNameFieldNumber = 1,
  174. kVersionFieldNumber = 4,
  175. kSourceContextFieldNumber = 5,
  176. kSyntaxFieldNumber = 7,
  177. };
  178. // repeated .google.protobuf.Method methods = 2;
  179. int methods_size() const;
  180. private:
  181. int _internal_methods_size() const;
  182. public:
  183. void clear_methods();
  184. PROTOBUF_NAMESPACE_ID::Method* mutable_methods(int index);
  185. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
  186. mutable_methods();
  187. private:
  188. const PROTOBUF_NAMESPACE_ID::Method& _internal_methods(int index) const;
  189. PROTOBUF_NAMESPACE_ID::Method* _internal_add_methods();
  190. public:
  191. const PROTOBUF_NAMESPACE_ID::Method& methods(int index) const;
  192. PROTOBUF_NAMESPACE_ID::Method* add_methods();
  193. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
  194. methods() const;
  195. // repeated .google.protobuf.Option options = 3;
  196. int options_size() const;
  197. private:
  198. int _internal_options_size() const;
  199. public:
  200. void clear_options();
  201. PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
  202. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  203. mutable_options();
  204. private:
  205. const PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
  206. PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
  207. public:
  208. const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
  209. PROTOBUF_NAMESPACE_ID::Option* add_options();
  210. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  211. options() const;
  212. // repeated .google.protobuf.Mixin mixins = 6;
  213. int mixins_size() const;
  214. private:
  215. int _internal_mixins_size() const;
  216. public:
  217. void clear_mixins();
  218. PROTOBUF_NAMESPACE_ID::Mixin* mutable_mixins(int index);
  219. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
  220. mutable_mixins();
  221. private:
  222. const PROTOBUF_NAMESPACE_ID::Mixin& _internal_mixins(int index) const;
  223. PROTOBUF_NAMESPACE_ID::Mixin* _internal_add_mixins();
  224. public:
  225. const PROTOBUF_NAMESPACE_ID::Mixin& mixins(int index) const;
  226. PROTOBUF_NAMESPACE_ID::Mixin* add_mixins();
  227. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
  228. mixins() const;
  229. // string name = 1;
  230. void clear_name();
  231. const std::string& name() const;
  232. void set_name(const std::string& value);
  233. void set_name(std::string&& value);
  234. void set_name(const char* value);
  235. void set_name(const char* value, size_t size);
  236. std::string* mutable_name();
  237. std::string* release_name();
  238. void set_allocated_name(std::string* name);
  239. private:
  240. const std::string& _internal_name() const;
  241. void _internal_set_name(const std::string& value);
  242. std::string* _internal_mutable_name();
  243. public:
  244. // string version = 4;
  245. void clear_version();
  246. const std::string& version() const;
  247. void set_version(const std::string& value);
  248. void set_version(std::string&& value);
  249. void set_version(const char* value);
  250. void set_version(const char* value, size_t size);
  251. std::string* mutable_version();
  252. std::string* release_version();
  253. void set_allocated_version(std::string* version);
  254. private:
  255. const std::string& _internal_version() const;
  256. void _internal_set_version(const std::string& value);
  257. std::string* _internal_mutable_version();
  258. public:
  259. // .google.protobuf.SourceContext source_context = 5;
  260. bool has_source_context() const;
  261. private:
  262. bool _internal_has_source_context() const;
  263. public:
  264. void clear_source_context();
  265. const PROTOBUF_NAMESPACE_ID::SourceContext& source_context() const;
  266. PROTOBUF_NAMESPACE_ID::SourceContext* release_source_context();
  267. PROTOBUF_NAMESPACE_ID::SourceContext* mutable_source_context();
  268. void set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
  269. private:
  270. const PROTOBUF_NAMESPACE_ID::SourceContext& _internal_source_context() const;
  271. PROTOBUF_NAMESPACE_ID::SourceContext* _internal_mutable_source_context();
  272. public:
  273. void unsafe_arena_set_allocated_source_context(
  274. PROTOBUF_NAMESPACE_ID::SourceContext* source_context);
  275. PROTOBUF_NAMESPACE_ID::SourceContext* unsafe_arena_release_source_context();
  276. // .google.protobuf.Syntax syntax = 7;
  277. void clear_syntax();
  278. PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
  279. void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  280. private:
  281. PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
  282. void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  283. public:
  284. // @@protoc_insertion_point(class_scope:google.protobuf.Api)
  285. private:
  286. class _Internal;
  287. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  288. typedef void InternalArenaConstructable_;
  289. typedef void DestructorSkippable_;
  290. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method > methods_;
  291. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
  292. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin > mixins_;
  293. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  294. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr version_;
  295. PROTOBUF_NAMESPACE_ID::SourceContext* source_context_;
  296. int syntax_;
  297. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  298. friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
  299. };
  300. // -------------------------------------------------------------------
  301. class PROTOBUF_EXPORT Method PROTOBUF_FINAL :
  302. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Method) */ {
  303. public:
  304. inline Method() : Method(nullptr) {}
  305. virtual ~Method();
  306. Method(const Method& from);
  307. Method(Method&& from) noexcept
  308. : Method() {
  309. *this = ::std::move(from);
  310. }
  311. inline Method& operator=(const Method& from) {
  312. CopyFrom(from);
  313. return *this;
  314. }
  315. inline Method& operator=(Method&& from) noexcept {
  316. if (GetArena() == from.GetArena()) {
  317. if (this != &from) InternalSwap(&from);
  318. } else {
  319. CopyFrom(from);
  320. }
  321. return *this;
  322. }
  323. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  324. return GetDescriptor();
  325. }
  326. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  327. return GetMetadataStatic().descriptor;
  328. }
  329. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  330. return GetMetadataStatic().reflection;
  331. }
  332. static const Method& default_instance();
  333. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  334. static inline const Method* internal_default_instance() {
  335. return reinterpret_cast<const Method*>(
  336. &_Method_default_instance_);
  337. }
  338. static constexpr int kIndexInFileMessages =
  339. 1;
  340. friend void swap(Method& a, Method& b) {
  341. a.Swap(&b);
  342. }
  343. inline void Swap(Method* other) {
  344. if (other == this) return;
  345. if (GetArena() == other->GetArena()) {
  346. InternalSwap(other);
  347. } else {
  348. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  349. }
  350. }
  351. void UnsafeArenaSwap(Method* other) {
  352. if (other == this) return;
  353. GOOGLE_DCHECK(GetArena() == other->GetArena());
  354. InternalSwap(other);
  355. }
  356. // implements Message ----------------------------------------------
  357. inline Method* New() const final {
  358. return CreateMaybeMessage<Method>(nullptr);
  359. }
  360. Method* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  361. return CreateMaybeMessage<Method>(arena);
  362. }
  363. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  364. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  365. void CopyFrom(const Method& from);
  366. void MergeFrom(const Method& from);
  367. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  368. bool IsInitialized() const final;
  369. size_t ByteSizeLong() const final;
  370. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  371. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  372. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  373. int GetCachedSize() const final { return _cached_size_.Get(); }
  374. private:
  375. inline void SharedCtor();
  376. inline void SharedDtor();
  377. void SetCachedSize(int size) const final;
  378. void InternalSwap(Method* other);
  379. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  380. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  381. return "google.protobuf.Method";
  382. }
  383. protected:
  384. explicit Method(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  385. private:
  386. static void ArenaDtor(void* object);
  387. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  388. public:
  389. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  390. private:
  391. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  392. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
  393. return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
  394. }
  395. public:
  396. // nested types ----------------------------------------------------
  397. // accessors -------------------------------------------------------
  398. enum : int {
  399. kOptionsFieldNumber = 6,
  400. kNameFieldNumber = 1,
  401. kRequestTypeUrlFieldNumber = 2,
  402. kResponseTypeUrlFieldNumber = 4,
  403. kRequestStreamingFieldNumber = 3,
  404. kResponseStreamingFieldNumber = 5,
  405. kSyntaxFieldNumber = 7,
  406. };
  407. // repeated .google.protobuf.Option options = 6;
  408. int options_size() const;
  409. private:
  410. int _internal_options_size() const;
  411. public:
  412. void clear_options();
  413. PROTOBUF_NAMESPACE_ID::Option* mutable_options(int index);
  414. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  415. mutable_options();
  416. private:
  417. const PROTOBUF_NAMESPACE_ID::Option& _internal_options(int index) const;
  418. PROTOBUF_NAMESPACE_ID::Option* _internal_add_options();
  419. public:
  420. const PROTOBUF_NAMESPACE_ID::Option& options(int index) const;
  421. PROTOBUF_NAMESPACE_ID::Option* add_options();
  422. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  423. options() const;
  424. // string name = 1;
  425. void clear_name();
  426. const std::string& name() const;
  427. void set_name(const std::string& value);
  428. void set_name(std::string&& value);
  429. void set_name(const char* value);
  430. void set_name(const char* value, size_t size);
  431. std::string* mutable_name();
  432. std::string* release_name();
  433. void set_allocated_name(std::string* name);
  434. private:
  435. const std::string& _internal_name() const;
  436. void _internal_set_name(const std::string& value);
  437. std::string* _internal_mutable_name();
  438. public:
  439. // string request_type_url = 2;
  440. void clear_request_type_url();
  441. const std::string& request_type_url() const;
  442. void set_request_type_url(const std::string& value);
  443. void set_request_type_url(std::string&& value);
  444. void set_request_type_url(const char* value);
  445. void set_request_type_url(const char* value, size_t size);
  446. std::string* mutable_request_type_url();
  447. std::string* release_request_type_url();
  448. void set_allocated_request_type_url(std::string* request_type_url);
  449. private:
  450. const std::string& _internal_request_type_url() const;
  451. void _internal_set_request_type_url(const std::string& value);
  452. std::string* _internal_mutable_request_type_url();
  453. public:
  454. // string response_type_url = 4;
  455. void clear_response_type_url();
  456. const std::string& response_type_url() const;
  457. void set_response_type_url(const std::string& value);
  458. void set_response_type_url(std::string&& value);
  459. void set_response_type_url(const char* value);
  460. void set_response_type_url(const char* value, size_t size);
  461. std::string* mutable_response_type_url();
  462. std::string* release_response_type_url();
  463. void set_allocated_response_type_url(std::string* response_type_url);
  464. private:
  465. const std::string& _internal_response_type_url() const;
  466. void _internal_set_response_type_url(const std::string& value);
  467. std::string* _internal_mutable_response_type_url();
  468. public:
  469. // bool request_streaming = 3;
  470. void clear_request_streaming();
  471. bool request_streaming() const;
  472. void set_request_streaming(bool value);
  473. private:
  474. bool _internal_request_streaming() const;
  475. void _internal_set_request_streaming(bool value);
  476. public:
  477. // bool response_streaming = 5;
  478. void clear_response_streaming();
  479. bool response_streaming() const;
  480. void set_response_streaming(bool value);
  481. private:
  482. bool _internal_response_streaming() const;
  483. void _internal_set_response_streaming(bool value);
  484. public:
  485. // .google.protobuf.Syntax syntax = 7;
  486. void clear_syntax();
  487. PROTOBUF_NAMESPACE_ID::Syntax syntax() const;
  488. void set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  489. private:
  490. PROTOBUF_NAMESPACE_ID::Syntax _internal_syntax() const;
  491. void _internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value);
  492. public:
  493. // @@protoc_insertion_point(class_scope:google.protobuf.Method)
  494. private:
  495. class _Internal;
  496. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  497. typedef void InternalArenaConstructable_;
  498. typedef void DestructorSkippable_;
  499. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option > options_;
  500. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  501. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr request_type_url_;
  502. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr response_type_url_;
  503. bool request_streaming_;
  504. bool response_streaming_;
  505. int syntax_;
  506. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  507. friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
  508. };
  509. // -------------------------------------------------------------------
  510. class PROTOBUF_EXPORT Mixin PROTOBUF_FINAL :
  511. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:google.protobuf.Mixin) */ {
  512. public:
  513. inline Mixin() : Mixin(nullptr) {}
  514. virtual ~Mixin();
  515. Mixin(const Mixin& from);
  516. Mixin(Mixin&& from) noexcept
  517. : Mixin() {
  518. *this = ::std::move(from);
  519. }
  520. inline Mixin& operator=(const Mixin& from) {
  521. CopyFrom(from);
  522. return *this;
  523. }
  524. inline Mixin& operator=(Mixin&& from) noexcept {
  525. if (GetArena() == from.GetArena()) {
  526. if (this != &from) InternalSwap(&from);
  527. } else {
  528. CopyFrom(from);
  529. }
  530. return *this;
  531. }
  532. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  533. return GetDescriptor();
  534. }
  535. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  536. return GetMetadataStatic().descriptor;
  537. }
  538. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  539. return GetMetadataStatic().reflection;
  540. }
  541. static const Mixin& default_instance();
  542. static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
  543. static inline const Mixin* internal_default_instance() {
  544. return reinterpret_cast<const Mixin*>(
  545. &_Mixin_default_instance_);
  546. }
  547. static constexpr int kIndexInFileMessages =
  548. 2;
  549. friend void swap(Mixin& a, Mixin& b) {
  550. a.Swap(&b);
  551. }
  552. inline void Swap(Mixin* other) {
  553. if (other == this) return;
  554. if (GetArena() == other->GetArena()) {
  555. InternalSwap(other);
  556. } else {
  557. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  558. }
  559. }
  560. void UnsafeArenaSwap(Mixin* other) {
  561. if (other == this) return;
  562. GOOGLE_DCHECK(GetArena() == other->GetArena());
  563. InternalSwap(other);
  564. }
  565. // implements Message ----------------------------------------------
  566. inline Mixin* New() const final {
  567. return CreateMaybeMessage<Mixin>(nullptr);
  568. }
  569. Mixin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
  570. return CreateMaybeMessage<Mixin>(arena);
  571. }
  572. void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  573. void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final;
  574. void CopyFrom(const Mixin& from);
  575. void MergeFrom(const Mixin& from);
  576. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  577. bool IsInitialized() const final;
  578. size_t ByteSizeLong() const final;
  579. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  580. ::PROTOBUF_NAMESPACE_ID::uint8* _InternalSerialize(
  581. ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  582. int GetCachedSize() const final { return _cached_size_.Get(); }
  583. private:
  584. inline void SharedCtor();
  585. inline void SharedDtor();
  586. void SetCachedSize(int size) const final;
  587. void InternalSwap(Mixin* other);
  588. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  589. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  590. return "google.protobuf.Mixin";
  591. }
  592. protected:
  593. explicit Mixin(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  594. private:
  595. static void ArenaDtor(void* object);
  596. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  597. public:
  598. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  599. private:
  600. static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() {
  601. ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_google_2fprotobuf_2fapi_2eproto);
  602. return ::descriptor_table_google_2fprotobuf_2fapi_2eproto.file_level_metadata[kIndexInFileMessages];
  603. }
  604. public:
  605. // nested types ----------------------------------------------------
  606. // accessors -------------------------------------------------------
  607. enum : int {
  608. kNameFieldNumber = 1,
  609. kRootFieldNumber = 2,
  610. };
  611. // string name = 1;
  612. void clear_name();
  613. const std::string& name() const;
  614. void set_name(const std::string& value);
  615. void set_name(std::string&& value);
  616. void set_name(const char* value);
  617. void set_name(const char* value, size_t size);
  618. std::string* mutable_name();
  619. std::string* release_name();
  620. void set_allocated_name(std::string* name);
  621. private:
  622. const std::string& _internal_name() const;
  623. void _internal_set_name(const std::string& value);
  624. std::string* _internal_mutable_name();
  625. public:
  626. // string root = 2;
  627. void clear_root();
  628. const std::string& root() const;
  629. void set_root(const std::string& value);
  630. void set_root(std::string&& value);
  631. void set_root(const char* value);
  632. void set_root(const char* value, size_t size);
  633. std::string* mutable_root();
  634. std::string* release_root();
  635. void set_allocated_root(std::string* root);
  636. private:
  637. const std::string& _internal_root() const;
  638. void _internal_set_root(const std::string& value);
  639. std::string* _internal_mutable_root();
  640. public:
  641. // @@protoc_insertion_point(class_scope:google.protobuf.Mixin)
  642. private:
  643. class _Internal;
  644. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  645. typedef void InternalArenaConstructable_;
  646. typedef void DestructorSkippable_;
  647. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  648. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr root_;
  649. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  650. friend struct ::TableStruct_google_2fprotobuf_2fapi_2eproto;
  651. };
  652. // ===================================================================
  653. // ===================================================================
  654. #ifdef __GNUC__
  655. #pragma GCC diagnostic push
  656. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  657. #endif // __GNUC__
  658. // Api
  659. // string name = 1;
  660. inline void Api::clear_name() {
  661. name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  662. }
  663. inline const std::string& Api::name() const {
  664. // @@protoc_insertion_point(field_get:google.protobuf.Api.name)
  665. return _internal_name();
  666. }
  667. inline void Api::set_name(const std::string& value) {
  668. _internal_set_name(value);
  669. // @@protoc_insertion_point(field_set:google.protobuf.Api.name)
  670. }
  671. inline std::string* Api::mutable_name() {
  672. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.name)
  673. return _internal_mutable_name();
  674. }
  675. inline const std::string& Api::_internal_name() const {
  676. return name_.Get();
  677. }
  678. inline void Api::_internal_set_name(const std::string& value) {
  679. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  680. }
  681. inline void Api::set_name(std::string&& value) {
  682. name_.Set(
  683. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  684. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.name)
  685. }
  686. inline void Api::set_name(const char* value) {
  687. GOOGLE_DCHECK(value != nullptr);
  688. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  689. GetArena());
  690. // @@protoc_insertion_point(field_set_char:google.protobuf.Api.name)
  691. }
  692. inline void Api::set_name(const char* value,
  693. size_t size) {
  694. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  695. reinterpret_cast<const char*>(value), size), GetArena());
  696. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.name)
  697. }
  698. inline std::string* Api::_internal_mutable_name() {
  699. return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  700. }
  701. inline std::string* Api::release_name() {
  702. // @@protoc_insertion_point(field_release:google.protobuf.Api.name)
  703. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  704. }
  705. inline void Api::set_allocated_name(std::string* name) {
  706. if (name != nullptr) {
  707. } else {
  708. }
  709. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  710. GetArena());
  711. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.name)
  712. }
  713. // repeated .google.protobuf.Method methods = 2;
  714. inline int Api::_internal_methods_size() const {
  715. return methods_.size();
  716. }
  717. inline int Api::methods_size() const {
  718. return _internal_methods_size();
  719. }
  720. inline void Api::clear_methods() {
  721. methods_.Clear();
  722. }
  723. inline PROTOBUF_NAMESPACE_ID::Method* Api::mutable_methods(int index) {
  724. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.methods)
  725. return methods_.Mutable(index);
  726. }
  727. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >*
  728. Api::mutable_methods() {
  729. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.methods)
  730. return &methods_;
  731. }
  732. inline const PROTOBUF_NAMESPACE_ID::Method& Api::_internal_methods(int index) const {
  733. return methods_.Get(index);
  734. }
  735. inline const PROTOBUF_NAMESPACE_ID::Method& Api::methods(int index) const {
  736. // @@protoc_insertion_point(field_get:google.protobuf.Api.methods)
  737. return _internal_methods(index);
  738. }
  739. inline PROTOBUF_NAMESPACE_ID::Method* Api::_internal_add_methods() {
  740. return methods_.Add();
  741. }
  742. inline PROTOBUF_NAMESPACE_ID::Method* Api::add_methods() {
  743. // @@protoc_insertion_point(field_add:google.protobuf.Api.methods)
  744. return _internal_add_methods();
  745. }
  746. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Method >&
  747. Api::methods() const {
  748. // @@protoc_insertion_point(field_list:google.protobuf.Api.methods)
  749. return methods_;
  750. }
  751. // repeated .google.protobuf.Option options = 3;
  752. inline int Api::_internal_options_size() const {
  753. return options_.size();
  754. }
  755. inline int Api::options_size() const {
  756. return _internal_options_size();
  757. }
  758. inline PROTOBUF_NAMESPACE_ID::Option* Api::mutable_options(int index) {
  759. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.options)
  760. return options_.Mutable(index);
  761. }
  762. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  763. Api::mutable_options() {
  764. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.options)
  765. return &options_;
  766. }
  767. inline const PROTOBUF_NAMESPACE_ID::Option& Api::_internal_options(int index) const {
  768. return options_.Get(index);
  769. }
  770. inline const PROTOBUF_NAMESPACE_ID::Option& Api::options(int index) const {
  771. // @@protoc_insertion_point(field_get:google.protobuf.Api.options)
  772. return _internal_options(index);
  773. }
  774. inline PROTOBUF_NAMESPACE_ID::Option* Api::_internal_add_options() {
  775. return options_.Add();
  776. }
  777. inline PROTOBUF_NAMESPACE_ID::Option* Api::add_options() {
  778. // @@protoc_insertion_point(field_add:google.protobuf.Api.options)
  779. return _internal_add_options();
  780. }
  781. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  782. Api::options() const {
  783. // @@protoc_insertion_point(field_list:google.protobuf.Api.options)
  784. return options_;
  785. }
  786. // string version = 4;
  787. inline void Api::clear_version() {
  788. version_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  789. }
  790. inline const std::string& Api::version() const {
  791. // @@protoc_insertion_point(field_get:google.protobuf.Api.version)
  792. return _internal_version();
  793. }
  794. inline void Api::set_version(const std::string& value) {
  795. _internal_set_version(value);
  796. // @@protoc_insertion_point(field_set:google.protobuf.Api.version)
  797. }
  798. inline std::string* Api::mutable_version() {
  799. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.version)
  800. return _internal_mutable_version();
  801. }
  802. inline const std::string& Api::_internal_version() const {
  803. return version_.Get();
  804. }
  805. inline void Api::_internal_set_version(const std::string& value) {
  806. version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  807. }
  808. inline void Api::set_version(std::string&& value) {
  809. version_.Set(
  810. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  811. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Api.version)
  812. }
  813. inline void Api::set_version(const char* value) {
  814. GOOGLE_DCHECK(value != nullptr);
  815. version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  816. GetArena());
  817. // @@protoc_insertion_point(field_set_char:google.protobuf.Api.version)
  818. }
  819. inline void Api::set_version(const char* value,
  820. size_t size) {
  821. version_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  822. reinterpret_cast<const char*>(value), size), GetArena());
  823. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Api.version)
  824. }
  825. inline std::string* Api::_internal_mutable_version() {
  826. return version_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  827. }
  828. inline std::string* Api::release_version() {
  829. // @@protoc_insertion_point(field_release:google.protobuf.Api.version)
  830. return version_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  831. }
  832. inline void Api::set_allocated_version(std::string* version) {
  833. if (version != nullptr) {
  834. } else {
  835. }
  836. version_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), version,
  837. GetArena());
  838. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.version)
  839. }
  840. // .google.protobuf.SourceContext source_context = 5;
  841. inline bool Api::_internal_has_source_context() const {
  842. return this != internal_default_instance() && source_context_ != nullptr;
  843. }
  844. inline bool Api::has_source_context() const {
  845. return _internal_has_source_context();
  846. }
  847. inline const PROTOBUF_NAMESPACE_ID::SourceContext& Api::_internal_source_context() const {
  848. const PROTOBUF_NAMESPACE_ID::SourceContext* p = source_context_;
  849. return p != nullptr ? *p : *reinterpret_cast<const PROTOBUF_NAMESPACE_ID::SourceContext*>(
  850. &PROTOBUF_NAMESPACE_ID::_SourceContext_default_instance_);
  851. }
  852. inline const PROTOBUF_NAMESPACE_ID::SourceContext& Api::source_context() const {
  853. // @@protoc_insertion_point(field_get:google.protobuf.Api.source_context)
  854. return _internal_source_context();
  855. }
  856. inline void Api::unsafe_arena_set_allocated_source_context(
  857. PROTOBUF_NAMESPACE_ID::SourceContext* source_context) {
  858. if (GetArena() == nullptr) {
  859. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
  860. }
  861. source_context_ = source_context;
  862. if (source_context) {
  863. } else {
  864. }
  865. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.protobuf.Api.source_context)
  866. }
  867. inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::release_source_context() {
  868. PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
  869. source_context_ = nullptr;
  870. if (GetArena() != nullptr) {
  871. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  872. }
  873. return temp;
  874. }
  875. inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::unsafe_arena_release_source_context() {
  876. // @@protoc_insertion_point(field_release:google.protobuf.Api.source_context)
  877. PROTOBUF_NAMESPACE_ID::SourceContext* temp = source_context_;
  878. source_context_ = nullptr;
  879. return temp;
  880. }
  881. inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::_internal_mutable_source_context() {
  882. if (source_context_ == nullptr) {
  883. auto* p = CreateMaybeMessage<PROTOBUF_NAMESPACE_ID::SourceContext>(GetArena());
  884. source_context_ = p;
  885. }
  886. return source_context_;
  887. }
  888. inline PROTOBUF_NAMESPACE_ID::SourceContext* Api::mutable_source_context() {
  889. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.source_context)
  890. return _internal_mutable_source_context();
  891. }
  892. inline void Api::set_allocated_source_context(PROTOBUF_NAMESPACE_ID::SourceContext* source_context) {
  893. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArena();
  894. if (message_arena == nullptr) {
  895. delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context_);
  896. }
  897. if (source_context) {
  898. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  899. reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(source_context)->GetArena();
  900. if (message_arena != submessage_arena) {
  901. source_context = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  902. message_arena, source_context, submessage_arena);
  903. }
  904. } else {
  905. }
  906. source_context_ = source_context;
  907. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Api.source_context)
  908. }
  909. // repeated .google.protobuf.Mixin mixins = 6;
  910. inline int Api::_internal_mixins_size() const {
  911. return mixins_.size();
  912. }
  913. inline int Api::mixins_size() const {
  914. return _internal_mixins_size();
  915. }
  916. inline void Api::clear_mixins() {
  917. mixins_.Clear();
  918. }
  919. inline PROTOBUF_NAMESPACE_ID::Mixin* Api::mutable_mixins(int index) {
  920. // @@protoc_insertion_point(field_mutable:google.protobuf.Api.mixins)
  921. return mixins_.Mutable(index);
  922. }
  923. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >*
  924. Api::mutable_mixins() {
  925. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Api.mixins)
  926. return &mixins_;
  927. }
  928. inline const PROTOBUF_NAMESPACE_ID::Mixin& Api::_internal_mixins(int index) const {
  929. return mixins_.Get(index);
  930. }
  931. inline const PROTOBUF_NAMESPACE_ID::Mixin& Api::mixins(int index) const {
  932. // @@protoc_insertion_point(field_get:google.protobuf.Api.mixins)
  933. return _internal_mixins(index);
  934. }
  935. inline PROTOBUF_NAMESPACE_ID::Mixin* Api::_internal_add_mixins() {
  936. return mixins_.Add();
  937. }
  938. inline PROTOBUF_NAMESPACE_ID::Mixin* Api::add_mixins() {
  939. // @@protoc_insertion_point(field_add:google.protobuf.Api.mixins)
  940. return _internal_add_mixins();
  941. }
  942. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Mixin >&
  943. Api::mixins() const {
  944. // @@protoc_insertion_point(field_list:google.protobuf.Api.mixins)
  945. return mixins_;
  946. }
  947. // .google.protobuf.Syntax syntax = 7;
  948. inline void Api::clear_syntax() {
  949. syntax_ = 0;
  950. }
  951. inline PROTOBUF_NAMESPACE_ID::Syntax Api::_internal_syntax() const {
  952. return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
  953. }
  954. inline PROTOBUF_NAMESPACE_ID::Syntax Api::syntax() const {
  955. // @@protoc_insertion_point(field_get:google.protobuf.Api.syntax)
  956. return _internal_syntax();
  957. }
  958. inline void Api::_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  959. syntax_ = value;
  960. }
  961. inline void Api::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  962. _internal_set_syntax(value);
  963. // @@protoc_insertion_point(field_set:google.protobuf.Api.syntax)
  964. }
  965. // -------------------------------------------------------------------
  966. // Method
  967. // string name = 1;
  968. inline void Method::clear_name() {
  969. name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  970. }
  971. inline const std::string& Method::name() const {
  972. // @@protoc_insertion_point(field_get:google.protobuf.Method.name)
  973. return _internal_name();
  974. }
  975. inline void Method::set_name(const std::string& value) {
  976. _internal_set_name(value);
  977. // @@protoc_insertion_point(field_set:google.protobuf.Method.name)
  978. }
  979. inline std::string* Method::mutable_name() {
  980. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.name)
  981. return _internal_mutable_name();
  982. }
  983. inline const std::string& Method::_internal_name() const {
  984. return name_.Get();
  985. }
  986. inline void Method::_internal_set_name(const std::string& value) {
  987. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  988. }
  989. inline void Method::set_name(std::string&& value) {
  990. name_.Set(
  991. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  992. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.name)
  993. }
  994. inline void Method::set_name(const char* value) {
  995. GOOGLE_DCHECK(value != nullptr);
  996. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  997. GetArena());
  998. // @@protoc_insertion_point(field_set_char:google.protobuf.Method.name)
  999. }
  1000. inline void Method::set_name(const char* value,
  1001. size_t size) {
  1002. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1003. reinterpret_cast<const char*>(value), size), GetArena());
  1004. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.name)
  1005. }
  1006. inline std::string* Method::_internal_mutable_name() {
  1007. return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1008. }
  1009. inline std::string* Method::release_name() {
  1010. // @@protoc_insertion_point(field_release:google.protobuf.Method.name)
  1011. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1012. }
  1013. inline void Method::set_allocated_name(std::string* name) {
  1014. if (name != nullptr) {
  1015. } else {
  1016. }
  1017. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  1018. GetArena());
  1019. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.name)
  1020. }
  1021. // string request_type_url = 2;
  1022. inline void Method::clear_request_type_url() {
  1023. request_type_url_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1024. }
  1025. inline const std::string& Method::request_type_url() const {
  1026. // @@protoc_insertion_point(field_get:google.protobuf.Method.request_type_url)
  1027. return _internal_request_type_url();
  1028. }
  1029. inline void Method::set_request_type_url(const std::string& value) {
  1030. _internal_set_request_type_url(value);
  1031. // @@protoc_insertion_point(field_set:google.protobuf.Method.request_type_url)
  1032. }
  1033. inline std::string* Method::mutable_request_type_url() {
  1034. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.request_type_url)
  1035. return _internal_mutable_request_type_url();
  1036. }
  1037. inline const std::string& Method::_internal_request_type_url() const {
  1038. return request_type_url_.Get();
  1039. }
  1040. inline void Method::_internal_set_request_type_url(const std::string& value) {
  1041. request_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1042. }
  1043. inline void Method::set_request_type_url(std::string&& value) {
  1044. request_type_url_.Set(
  1045. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1046. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.request_type_url)
  1047. }
  1048. inline void Method::set_request_type_url(const char* value) {
  1049. GOOGLE_DCHECK(value != nullptr);
  1050. request_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1051. GetArena());
  1052. // @@protoc_insertion_point(field_set_char:google.protobuf.Method.request_type_url)
  1053. }
  1054. inline void Method::set_request_type_url(const char* value,
  1055. size_t size) {
  1056. request_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1057. reinterpret_cast<const char*>(value), size), GetArena());
  1058. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.request_type_url)
  1059. }
  1060. inline std::string* Method::_internal_mutable_request_type_url() {
  1061. return request_type_url_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1062. }
  1063. inline std::string* Method::release_request_type_url() {
  1064. // @@protoc_insertion_point(field_release:google.protobuf.Method.request_type_url)
  1065. return request_type_url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1066. }
  1067. inline void Method::set_allocated_request_type_url(std::string* request_type_url) {
  1068. if (request_type_url != nullptr) {
  1069. } else {
  1070. }
  1071. request_type_url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), request_type_url,
  1072. GetArena());
  1073. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.request_type_url)
  1074. }
  1075. // bool request_streaming = 3;
  1076. inline void Method::clear_request_streaming() {
  1077. request_streaming_ = false;
  1078. }
  1079. inline bool Method::_internal_request_streaming() const {
  1080. return request_streaming_;
  1081. }
  1082. inline bool Method::request_streaming() const {
  1083. // @@protoc_insertion_point(field_get:google.protobuf.Method.request_streaming)
  1084. return _internal_request_streaming();
  1085. }
  1086. inline void Method::_internal_set_request_streaming(bool value) {
  1087. request_streaming_ = value;
  1088. }
  1089. inline void Method::set_request_streaming(bool value) {
  1090. _internal_set_request_streaming(value);
  1091. // @@protoc_insertion_point(field_set:google.protobuf.Method.request_streaming)
  1092. }
  1093. // string response_type_url = 4;
  1094. inline void Method::clear_response_type_url() {
  1095. response_type_url_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1096. }
  1097. inline const std::string& Method::response_type_url() const {
  1098. // @@protoc_insertion_point(field_get:google.protobuf.Method.response_type_url)
  1099. return _internal_response_type_url();
  1100. }
  1101. inline void Method::set_response_type_url(const std::string& value) {
  1102. _internal_set_response_type_url(value);
  1103. // @@protoc_insertion_point(field_set:google.protobuf.Method.response_type_url)
  1104. }
  1105. inline std::string* Method::mutable_response_type_url() {
  1106. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.response_type_url)
  1107. return _internal_mutable_response_type_url();
  1108. }
  1109. inline const std::string& Method::_internal_response_type_url() const {
  1110. return response_type_url_.Get();
  1111. }
  1112. inline void Method::_internal_set_response_type_url(const std::string& value) {
  1113. response_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1114. }
  1115. inline void Method::set_response_type_url(std::string&& value) {
  1116. response_type_url_.Set(
  1117. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1118. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Method.response_type_url)
  1119. }
  1120. inline void Method::set_response_type_url(const char* value) {
  1121. GOOGLE_DCHECK(value != nullptr);
  1122. response_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1123. GetArena());
  1124. // @@protoc_insertion_point(field_set_char:google.protobuf.Method.response_type_url)
  1125. }
  1126. inline void Method::set_response_type_url(const char* value,
  1127. size_t size) {
  1128. response_type_url_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1129. reinterpret_cast<const char*>(value), size), GetArena());
  1130. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Method.response_type_url)
  1131. }
  1132. inline std::string* Method::_internal_mutable_response_type_url() {
  1133. return response_type_url_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1134. }
  1135. inline std::string* Method::release_response_type_url() {
  1136. // @@protoc_insertion_point(field_release:google.protobuf.Method.response_type_url)
  1137. return response_type_url_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1138. }
  1139. inline void Method::set_allocated_response_type_url(std::string* response_type_url) {
  1140. if (response_type_url != nullptr) {
  1141. } else {
  1142. }
  1143. response_type_url_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), response_type_url,
  1144. GetArena());
  1145. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Method.response_type_url)
  1146. }
  1147. // bool response_streaming = 5;
  1148. inline void Method::clear_response_streaming() {
  1149. response_streaming_ = false;
  1150. }
  1151. inline bool Method::_internal_response_streaming() const {
  1152. return response_streaming_;
  1153. }
  1154. inline bool Method::response_streaming() const {
  1155. // @@protoc_insertion_point(field_get:google.protobuf.Method.response_streaming)
  1156. return _internal_response_streaming();
  1157. }
  1158. inline void Method::_internal_set_response_streaming(bool value) {
  1159. response_streaming_ = value;
  1160. }
  1161. inline void Method::set_response_streaming(bool value) {
  1162. _internal_set_response_streaming(value);
  1163. // @@protoc_insertion_point(field_set:google.protobuf.Method.response_streaming)
  1164. }
  1165. // repeated .google.protobuf.Option options = 6;
  1166. inline int Method::_internal_options_size() const {
  1167. return options_.size();
  1168. }
  1169. inline int Method::options_size() const {
  1170. return _internal_options_size();
  1171. }
  1172. inline PROTOBUF_NAMESPACE_ID::Option* Method::mutable_options(int index) {
  1173. // @@protoc_insertion_point(field_mutable:google.protobuf.Method.options)
  1174. return options_.Mutable(index);
  1175. }
  1176. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >*
  1177. Method::mutable_options() {
  1178. // @@protoc_insertion_point(field_mutable_list:google.protobuf.Method.options)
  1179. return &options_;
  1180. }
  1181. inline const PROTOBUF_NAMESPACE_ID::Option& Method::_internal_options(int index) const {
  1182. return options_.Get(index);
  1183. }
  1184. inline const PROTOBUF_NAMESPACE_ID::Option& Method::options(int index) const {
  1185. // @@protoc_insertion_point(field_get:google.protobuf.Method.options)
  1186. return _internal_options(index);
  1187. }
  1188. inline PROTOBUF_NAMESPACE_ID::Option* Method::_internal_add_options() {
  1189. return options_.Add();
  1190. }
  1191. inline PROTOBUF_NAMESPACE_ID::Option* Method::add_options() {
  1192. // @@protoc_insertion_point(field_add:google.protobuf.Method.options)
  1193. return _internal_add_options();
  1194. }
  1195. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< PROTOBUF_NAMESPACE_ID::Option >&
  1196. Method::options() const {
  1197. // @@protoc_insertion_point(field_list:google.protobuf.Method.options)
  1198. return options_;
  1199. }
  1200. // .google.protobuf.Syntax syntax = 7;
  1201. inline void Method::clear_syntax() {
  1202. syntax_ = 0;
  1203. }
  1204. inline PROTOBUF_NAMESPACE_ID::Syntax Method::_internal_syntax() const {
  1205. return static_cast< PROTOBUF_NAMESPACE_ID::Syntax >(syntax_);
  1206. }
  1207. inline PROTOBUF_NAMESPACE_ID::Syntax Method::syntax() const {
  1208. // @@protoc_insertion_point(field_get:google.protobuf.Method.syntax)
  1209. return _internal_syntax();
  1210. }
  1211. inline void Method::_internal_set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  1212. syntax_ = value;
  1213. }
  1214. inline void Method::set_syntax(PROTOBUF_NAMESPACE_ID::Syntax value) {
  1215. _internal_set_syntax(value);
  1216. // @@protoc_insertion_point(field_set:google.protobuf.Method.syntax)
  1217. }
  1218. // -------------------------------------------------------------------
  1219. // Mixin
  1220. // string name = 1;
  1221. inline void Mixin::clear_name() {
  1222. name_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1223. }
  1224. inline const std::string& Mixin::name() const {
  1225. // @@protoc_insertion_point(field_get:google.protobuf.Mixin.name)
  1226. return _internal_name();
  1227. }
  1228. inline void Mixin::set_name(const std::string& value) {
  1229. _internal_set_name(value);
  1230. // @@protoc_insertion_point(field_set:google.protobuf.Mixin.name)
  1231. }
  1232. inline std::string* Mixin::mutable_name() {
  1233. // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.name)
  1234. return _internal_mutable_name();
  1235. }
  1236. inline const std::string& Mixin::_internal_name() const {
  1237. return name_.Get();
  1238. }
  1239. inline void Mixin::_internal_set_name(const std::string& value) {
  1240. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1241. }
  1242. inline void Mixin::set_name(std::string&& value) {
  1243. name_.Set(
  1244. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1245. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.name)
  1246. }
  1247. inline void Mixin::set_name(const char* value) {
  1248. GOOGLE_DCHECK(value != nullptr);
  1249. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1250. GetArena());
  1251. // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.name)
  1252. }
  1253. inline void Mixin::set_name(const char* value,
  1254. size_t size) {
  1255. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1256. reinterpret_cast<const char*>(value), size), GetArena());
  1257. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.name)
  1258. }
  1259. inline std::string* Mixin::_internal_mutable_name() {
  1260. return name_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1261. }
  1262. inline std::string* Mixin::release_name() {
  1263. // @@protoc_insertion_point(field_release:google.protobuf.Mixin.name)
  1264. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1265. }
  1266. inline void Mixin::set_allocated_name(std::string* name) {
  1267. if (name != nullptr) {
  1268. } else {
  1269. }
  1270. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  1271. GetArena());
  1272. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.name)
  1273. }
  1274. // string root = 2;
  1275. inline void Mixin::clear_root() {
  1276. root_.ClearToEmpty(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1277. }
  1278. inline const std::string& Mixin::root() const {
  1279. // @@protoc_insertion_point(field_get:google.protobuf.Mixin.root)
  1280. return _internal_root();
  1281. }
  1282. inline void Mixin::set_root(const std::string& value) {
  1283. _internal_set_root(value);
  1284. // @@protoc_insertion_point(field_set:google.protobuf.Mixin.root)
  1285. }
  1286. inline std::string* Mixin::mutable_root() {
  1287. // @@protoc_insertion_point(field_mutable:google.protobuf.Mixin.root)
  1288. return _internal_mutable_root();
  1289. }
  1290. inline const std::string& Mixin::_internal_root() const {
  1291. return root_.Get();
  1292. }
  1293. inline void Mixin::_internal_set_root(const std::string& value) {
  1294. root_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value, GetArena());
  1295. }
  1296. inline void Mixin::set_root(std::string&& value) {
  1297. root_.Set(
  1298. &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArena());
  1299. // @@protoc_insertion_point(field_set_rvalue:google.protobuf.Mixin.root)
  1300. }
  1301. inline void Mixin::set_root(const char* value) {
  1302. GOOGLE_DCHECK(value != nullptr);
  1303. root_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value),
  1304. GetArena());
  1305. // @@protoc_insertion_point(field_set_char:google.protobuf.Mixin.root)
  1306. }
  1307. inline void Mixin::set_root(const char* value,
  1308. size_t size) {
  1309. root_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(
  1310. reinterpret_cast<const char*>(value), size), GetArena());
  1311. // @@protoc_insertion_point(field_set_pointer:google.protobuf.Mixin.root)
  1312. }
  1313. inline std::string* Mixin::_internal_mutable_root() {
  1314. return root_.Mutable(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1315. }
  1316. inline std::string* Mixin::release_root() {
  1317. // @@protoc_insertion_point(field_release:google.protobuf.Mixin.root)
  1318. return root_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArena());
  1319. }
  1320. inline void Mixin::set_allocated_root(std::string* root) {
  1321. if (root != nullptr) {
  1322. } else {
  1323. }
  1324. root_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), root,
  1325. GetArena());
  1326. // @@protoc_insertion_point(field_set_allocated:google.protobuf.Mixin.root)
  1327. }
  1328. #ifdef __GNUC__
  1329. #pragma GCC diagnostic pop
  1330. #endif // __GNUC__
  1331. // -------------------------------------------------------------------
  1332. // -------------------------------------------------------------------
  1333. // @@protoc_insertion_point(namespace_scope)
  1334. PROTOBUF_NAMESPACE_CLOSE
  1335. // @@protoc_insertion_point(global_scope)
  1336. #include <google/protobuf/port_undef.inc>
  1337. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_google_2fprotobuf_2fapi_2eproto