api.pb.h 54 KB

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