2
0

morus.pb.h 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: morus.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_morus_2eproto_2epb_2eh
  4. #define GOOGLE_PROTOBUF_INCLUDED_morus_2eproto_2epb_2eh
  5. #include <limits>
  6. #include <string>
  7. #include <type_traits>
  8. #include "google/protobuf/port_def.inc"
  9. #if PROTOBUF_VERSION < 4024000
  10. #error "This file was generated by a newer version of protoc which is"
  11. #error "incompatible with your Protocol Buffer headers. Please update"
  12. #error "your headers."
  13. #endif // PROTOBUF_VERSION
  14. #if 4024003 < PROTOBUF_MIN_PROTOC_VERSION
  15. #error "This file was generated by an older version of protoc which is"
  16. #error "incompatible with your Protocol Buffer headers. Please"
  17. #error "regenerate this file with a newer version of protoc."
  18. #endif // PROTOBUF_MIN_PROTOC_VERSION
  19. #include "google/protobuf/port_undef.inc"
  20. #include "google/protobuf/io/coded_stream.h"
  21. #include "google/protobuf/arena.h"
  22. #include "google/protobuf/arenastring.h"
  23. #include "google/protobuf/generated_message_tctable_decl.h"
  24. #include "google/protobuf/generated_message_util.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. // @@protoc_insertion_point(includes)
  32. // Must be included last.
  33. #include "google/protobuf/port_def.inc"
  34. #define PROTOBUF_INTERNAL_EXPORT_morus_2eproto
  35. namespace google {
  36. namespace protobuf {
  37. namespace internal {
  38. class AnyMetadata;
  39. } // namespace internal
  40. } // namespace protobuf
  41. } // namespace google
  42. // Internal implementation detail -- do not use these members.
  43. struct TableStruct_morus_2eproto {
  44. static const ::uint32_t offsets[];
  45. };
  46. extern const ::google::protobuf::internal::DescriptorTable
  47. descriptor_table_morus_2eproto;
  48. namespace mint {
  49. namespace morus {
  50. namespace v1 {
  51. class MarkdownToHtmlRequest;
  52. struct MarkdownToHtmlRequestDefaultTypeInternal;
  53. extern MarkdownToHtmlRequestDefaultTypeInternal _MarkdownToHtmlRequest_default_instance_;
  54. class MarkdownToHtmlResponse;
  55. struct MarkdownToHtmlResponseDefaultTypeInternal;
  56. extern MarkdownToHtmlResponseDefaultTypeInternal _MarkdownToHtmlResponse_default_instance_;
  57. } // namespace v1
  58. } // namespace morus
  59. } // namespace mint
  60. namespace google {
  61. namespace protobuf {
  62. } // namespace protobuf
  63. } // namespace google
  64. namespace mint {
  65. namespace morus {
  66. namespace v1 {
  67. // ===================================================================
  68. // -------------------------------------------------------------------
  69. class MarkdownToHtmlRequest final :
  70. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mint.morus.v1.MarkdownToHtmlRequest) */ {
  71. public:
  72. inline MarkdownToHtmlRequest() : MarkdownToHtmlRequest(nullptr) {}
  73. ~MarkdownToHtmlRequest() override;
  74. template<typename = void>
  75. explicit PROTOBUF_CONSTEXPR MarkdownToHtmlRequest(::google::protobuf::internal::ConstantInitialized);
  76. MarkdownToHtmlRequest(const MarkdownToHtmlRequest& from);
  77. MarkdownToHtmlRequest(MarkdownToHtmlRequest&& from) noexcept
  78. : MarkdownToHtmlRequest() {
  79. *this = ::std::move(from);
  80. }
  81. inline MarkdownToHtmlRequest& operator=(const MarkdownToHtmlRequest& from) {
  82. CopyFrom(from);
  83. return *this;
  84. }
  85. inline MarkdownToHtmlRequest& operator=(MarkdownToHtmlRequest&& from) noexcept {
  86. if (this == &from) return *this;
  87. if (GetOwningArena() == from.GetOwningArena()
  88. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  89. && GetOwningArena() != nullptr
  90. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  91. ) {
  92. InternalSwap(&from);
  93. } else {
  94. CopyFrom(from);
  95. }
  96. return *this;
  97. }
  98. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  99. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  100. }
  101. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  102. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  103. }
  104. static const ::google::protobuf::Descriptor* descriptor() {
  105. return GetDescriptor();
  106. }
  107. static const ::google::protobuf::Descriptor* GetDescriptor() {
  108. return default_instance().GetMetadata().descriptor;
  109. }
  110. static const ::google::protobuf::Reflection* GetReflection() {
  111. return default_instance().GetMetadata().reflection;
  112. }
  113. static const MarkdownToHtmlRequest& default_instance() {
  114. return *internal_default_instance();
  115. }
  116. static inline const MarkdownToHtmlRequest* internal_default_instance() {
  117. return reinterpret_cast<const MarkdownToHtmlRequest*>(
  118. &_MarkdownToHtmlRequest_default_instance_);
  119. }
  120. static constexpr int kIndexInFileMessages =
  121. 0;
  122. friend void swap(MarkdownToHtmlRequest& a, MarkdownToHtmlRequest& b) {
  123. a.Swap(&b);
  124. }
  125. inline void Swap(MarkdownToHtmlRequest* other) {
  126. if (other == this) return;
  127. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  128. if (GetOwningArena() != nullptr &&
  129. GetOwningArena() == other->GetOwningArena()) {
  130. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  131. if (GetOwningArena() == other->GetOwningArena()) {
  132. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  133. InternalSwap(other);
  134. } else {
  135. ::google::protobuf::internal::GenericSwap(this, other);
  136. }
  137. }
  138. void UnsafeArenaSwap(MarkdownToHtmlRequest* other) {
  139. if (other == this) return;
  140. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  141. InternalSwap(other);
  142. }
  143. // implements Message ----------------------------------------------
  144. MarkdownToHtmlRequest* New(::google::protobuf::Arena* arena = nullptr) const final {
  145. return CreateMaybeMessage<MarkdownToHtmlRequest>(arena);
  146. }
  147. using ::google::protobuf::Message::CopyFrom;
  148. void CopyFrom(const MarkdownToHtmlRequest& from);
  149. using ::google::protobuf::Message::MergeFrom;
  150. void MergeFrom( const MarkdownToHtmlRequest& from) {
  151. MarkdownToHtmlRequest::MergeImpl(*this, from);
  152. }
  153. private:
  154. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  155. public:
  156. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  157. bool IsInitialized() const final;
  158. ::size_t ByteSizeLong() const final;
  159. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  160. ::uint8_t* _InternalSerialize(
  161. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  162. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  163. private:
  164. void SharedCtor(::google::protobuf::Arena* arena);
  165. void SharedDtor();
  166. void SetCachedSize(int size) const final;
  167. void InternalSwap(MarkdownToHtmlRequest* other);
  168. private:
  169. friend class ::google::protobuf::internal::AnyMetadata;
  170. static ::absl::string_view FullMessageName() {
  171. return "mint.morus.v1.MarkdownToHtmlRequest";
  172. }
  173. protected:
  174. explicit MarkdownToHtmlRequest(::google::protobuf::Arena* arena);
  175. public:
  176. static const ClassData _class_data_;
  177. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  178. ::google::protobuf::Metadata GetMetadata() const final;
  179. // nested types ----------------------------------------------------
  180. // accessors -------------------------------------------------------
  181. enum : int {
  182. kPayloadFieldNumber = 1,
  183. kSanitizeFieldNumber = 2,
  184. };
  185. // string payload = 1;
  186. void clear_payload() ;
  187. const std::string& payload() const;
  188. template <typename Arg_ = const std::string&, typename... Args_>
  189. void set_payload(Arg_&& arg, Args_... args);
  190. std::string* mutable_payload();
  191. PROTOBUF_NODISCARD std::string* release_payload();
  192. void set_allocated_payload(std::string* ptr);
  193. private:
  194. const std::string& _internal_payload() const;
  195. inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(
  196. const std::string& value);
  197. std::string* _internal_mutable_payload();
  198. public:
  199. // bool sanitize = 2;
  200. void clear_sanitize() ;
  201. bool sanitize() const;
  202. void set_sanitize(bool value);
  203. private:
  204. bool _internal_sanitize() const;
  205. void _internal_set_sanitize(bool value);
  206. public:
  207. // @@protoc_insertion_point(class_scope:mint.morus.v1.MarkdownToHtmlRequest)
  208. private:
  209. class _Internal;
  210. friend class ::google::protobuf::internal::TcParser;
  211. static const ::google::protobuf::internal::TcParseTable<1, 2, 0, 51, 2> _table_;
  212. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  213. typedef void InternalArenaConstructable_;
  214. typedef void DestructorSkippable_;
  215. struct Impl_ {
  216. ::google::protobuf::internal::ArenaStringPtr payload_;
  217. bool sanitize_;
  218. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  219. PROTOBUF_TSAN_DECLARE_MEMBER
  220. };
  221. union { Impl_ _impl_; };
  222. friend struct ::TableStruct_morus_2eproto;
  223. };// -------------------------------------------------------------------
  224. class MarkdownToHtmlResponse final :
  225. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:mint.morus.v1.MarkdownToHtmlResponse) */ {
  226. public:
  227. inline MarkdownToHtmlResponse() : MarkdownToHtmlResponse(nullptr) {}
  228. ~MarkdownToHtmlResponse() override;
  229. template<typename = void>
  230. explicit PROTOBUF_CONSTEXPR MarkdownToHtmlResponse(::google::protobuf::internal::ConstantInitialized);
  231. MarkdownToHtmlResponse(const MarkdownToHtmlResponse& from);
  232. MarkdownToHtmlResponse(MarkdownToHtmlResponse&& from) noexcept
  233. : MarkdownToHtmlResponse() {
  234. *this = ::std::move(from);
  235. }
  236. inline MarkdownToHtmlResponse& operator=(const MarkdownToHtmlResponse& from) {
  237. CopyFrom(from);
  238. return *this;
  239. }
  240. inline MarkdownToHtmlResponse& operator=(MarkdownToHtmlResponse&& from) noexcept {
  241. if (this == &from) return *this;
  242. if (GetOwningArena() == from.GetOwningArena()
  243. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  244. && GetOwningArena() != nullptr
  245. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  246. ) {
  247. InternalSwap(&from);
  248. } else {
  249. CopyFrom(from);
  250. }
  251. return *this;
  252. }
  253. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  254. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  255. }
  256. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  257. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  258. }
  259. static const ::google::protobuf::Descriptor* descriptor() {
  260. return GetDescriptor();
  261. }
  262. static const ::google::protobuf::Descriptor* GetDescriptor() {
  263. return default_instance().GetMetadata().descriptor;
  264. }
  265. static const ::google::protobuf::Reflection* GetReflection() {
  266. return default_instance().GetMetadata().reflection;
  267. }
  268. static const MarkdownToHtmlResponse& default_instance() {
  269. return *internal_default_instance();
  270. }
  271. static inline const MarkdownToHtmlResponse* internal_default_instance() {
  272. return reinterpret_cast<const MarkdownToHtmlResponse*>(
  273. &_MarkdownToHtmlResponse_default_instance_);
  274. }
  275. static constexpr int kIndexInFileMessages =
  276. 1;
  277. friend void swap(MarkdownToHtmlResponse& a, MarkdownToHtmlResponse& b) {
  278. a.Swap(&b);
  279. }
  280. inline void Swap(MarkdownToHtmlResponse* other) {
  281. if (other == this) return;
  282. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  283. if (GetOwningArena() != nullptr &&
  284. GetOwningArena() == other->GetOwningArena()) {
  285. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  286. if (GetOwningArena() == other->GetOwningArena()) {
  287. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  288. InternalSwap(other);
  289. } else {
  290. ::google::protobuf::internal::GenericSwap(this, other);
  291. }
  292. }
  293. void UnsafeArenaSwap(MarkdownToHtmlResponse* other) {
  294. if (other == this) return;
  295. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  296. InternalSwap(other);
  297. }
  298. // implements Message ----------------------------------------------
  299. MarkdownToHtmlResponse* New(::google::protobuf::Arena* arena = nullptr) const final {
  300. return CreateMaybeMessage<MarkdownToHtmlResponse>(arena);
  301. }
  302. using ::google::protobuf::Message::CopyFrom;
  303. void CopyFrom(const MarkdownToHtmlResponse& from);
  304. using ::google::protobuf::Message::MergeFrom;
  305. void MergeFrom( const MarkdownToHtmlResponse& from) {
  306. MarkdownToHtmlResponse::MergeImpl(*this, from);
  307. }
  308. private:
  309. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  310. public:
  311. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  312. bool IsInitialized() const final;
  313. ::size_t ByteSizeLong() const final;
  314. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  315. ::uint8_t* _InternalSerialize(
  316. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  317. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  318. private:
  319. void SharedCtor(::google::protobuf::Arena* arena);
  320. void SharedDtor();
  321. void SetCachedSize(int size) const final;
  322. void InternalSwap(MarkdownToHtmlResponse* other);
  323. private:
  324. friend class ::google::protobuf::internal::AnyMetadata;
  325. static ::absl::string_view FullMessageName() {
  326. return "mint.morus.v1.MarkdownToHtmlResponse";
  327. }
  328. protected:
  329. explicit MarkdownToHtmlResponse(::google::protobuf::Arena* arena);
  330. public:
  331. static const ClassData _class_data_;
  332. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  333. ::google::protobuf::Metadata GetMetadata() const final;
  334. // nested types ----------------------------------------------------
  335. // accessors -------------------------------------------------------
  336. enum : int {
  337. kPayloadFieldNumber = 1,
  338. };
  339. // string payload = 1;
  340. void clear_payload() ;
  341. const std::string& payload() const;
  342. template <typename Arg_ = const std::string&, typename... Args_>
  343. void set_payload(Arg_&& arg, Args_... args);
  344. std::string* mutable_payload();
  345. PROTOBUF_NODISCARD std::string* release_payload();
  346. void set_allocated_payload(std::string* ptr);
  347. private:
  348. const std::string& _internal_payload() const;
  349. inline PROTOBUF_ALWAYS_INLINE void _internal_set_payload(
  350. const std::string& value);
  351. std::string* _internal_mutable_payload();
  352. public:
  353. // @@protoc_insertion_point(class_scope:mint.morus.v1.MarkdownToHtmlResponse)
  354. private:
  355. class _Internal;
  356. friend class ::google::protobuf::internal::TcParser;
  357. static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 52, 2> _table_;
  358. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  359. typedef void InternalArenaConstructable_;
  360. typedef void DestructorSkippable_;
  361. struct Impl_ {
  362. ::google::protobuf::internal::ArenaStringPtr payload_;
  363. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  364. PROTOBUF_TSAN_DECLARE_MEMBER
  365. };
  366. union { Impl_ _impl_; };
  367. friend struct ::TableStruct_morus_2eproto;
  368. };
  369. // ===================================================================
  370. // ===================================================================
  371. #ifdef __GNUC__
  372. #pragma GCC diagnostic push
  373. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  374. #endif // __GNUC__
  375. // -------------------------------------------------------------------
  376. // MarkdownToHtmlRequest
  377. // string payload = 1;
  378. inline void MarkdownToHtmlRequest::clear_payload() {
  379. _impl_.payload_.ClearToEmpty();
  380. }
  381. inline const std::string& MarkdownToHtmlRequest::payload() const {
  382. // @@protoc_insertion_point(field_get:mint.morus.v1.MarkdownToHtmlRequest.payload)
  383. return _internal_payload();
  384. }
  385. template <typename Arg_, typename... Args_>
  386. inline PROTOBUF_ALWAYS_INLINE void MarkdownToHtmlRequest::set_payload(Arg_&& arg,
  387. Args_... args) {
  388. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  389. ;
  390. _impl_.payload_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  391. // @@protoc_insertion_point(field_set:mint.morus.v1.MarkdownToHtmlRequest.payload)
  392. }
  393. inline std::string* MarkdownToHtmlRequest::mutable_payload() {
  394. std::string* _s = _internal_mutable_payload();
  395. // @@protoc_insertion_point(field_mutable:mint.morus.v1.MarkdownToHtmlRequest.payload)
  396. return _s;
  397. }
  398. inline const std::string& MarkdownToHtmlRequest::_internal_payload() const {
  399. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  400. return _impl_.payload_.Get();
  401. }
  402. inline void MarkdownToHtmlRequest::_internal_set_payload(const std::string& value) {
  403. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  404. ;
  405. _impl_.payload_.Set(value, GetArenaForAllocation());
  406. }
  407. inline std::string* MarkdownToHtmlRequest::_internal_mutable_payload() {
  408. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  409. ;
  410. return _impl_.payload_.Mutable( GetArenaForAllocation());
  411. }
  412. inline std::string* MarkdownToHtmlRequest::release_payload() {
  413. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  414. // @@protoc_insertion_point(field_release:mint.morus.v1.MarkdownToHtmlRequest.payload)
  415. return _impl_.payload_.Release();
  416. }
  417. inline void MarkdownToHtmlRequest::set_allocated_payload(std::string* value) {
  418. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  419. _impl_.payload_.SetAllocated(value, GetArenaForAllocation());
  420. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  421. if (_impl_.payload_.IsDefault()) {
  422. _impl_.payload_.Set("", GetArenaForAllocation());
  423. }
  424. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  425. // @@protoc_insertion_point(field_set_allocated:mint.morus.v1.MarkdownToHtmlRequest.payload)
  426. }
  427. // bool sanitize = 2;
  428. inline void MarkdownToHtmlRequest::clear_sanitize() {
  429. _impl_.sanitize_ = false;
  430. }
  431. inline bool MarkdownToHtmlRequest::sanitize() const {
  432. // @@protoc_insertion_point(field_get:mint.morus.v1.MarkdownToHtmlRequest.sanitize)
  433. return _internal_sanitize();
  434. }
  435. inline void MarkdownToHtmlRequest::set_sanitize(bool value) {
  436. _internal_set_sanitize(value);
  437. // @@protoc_insertion_point(field_set:mint.morus.v1.MarkdownToHtmlRequest.sanitize)
  438. }
  439. inline bool MarkdownToHtmlRequest::_internal_sanitize() const {
  440. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  441. return _impl_.sanitize_;
  442. }
  443. inline void MarkdownToHtmlRequest::_internal_set_sanitize(bool value) {
  444. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  445. ;
  446. _impl_.sanitize_ = value;
  447. }
  448. // -------------------------------------------------------------------
  449. // MarkdownToHtmlResponse
  450. // string payload = 1;
  451. inline void MarkdownToHtmlResponse::clear_payload() {
  452. _impl_.payload_.ClearToEmpty();
  453. }
  454. inline const std::string& MarkdownToHtmlResponse::payload() const {
  455. // @@protoc_insertion_point(field_get:mint.morus.v1.MarkdownToHtmlResponse.payload)
  456. return _internal_payload();
  457. }
  458. template <typename Arg_, typename... Args_>
  459. inline PROTOBUF_ALWAYS_INLINE void MarkdownToHtmlResponse::set_payload(Arg_&& arg,
  460. Args_... args) {
  461. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  462. ;
  463. _impl_.payload_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  464. // @@protoc_insertion_point(field_set:mint.morus.v1.MarkdownToHtmlResponse.payload)
  465. }
  466. inline std::string* MarkdownToHtmlResponse::mutable_payload() {
  467. std::string* _s = _internal_mutable_payload();
  468. // @@protoc_insertion_point(field_mutable:mint.morus.v1.MarkdownToHtmlResponse.payload)
  469. return _s;
  470. }
  471. inline const std::string& MarkdownToHtmlResponse::_internal_payload() const {
  472. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  473. return _impl_.payload_.Get();
  474. }
  475. inline void MarkdownToHtmlResponse::_internal_set_payload(const std::string& value) {
  476. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  477. ;
  478. _impl_.payload_.Set(value, GetArenaForAllocation());
  479. }
  480. inline std::string* MarkdownToHtmlResponse::_internal_mutable_payload() {
  481. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  482. ;
  483. return _impl_.payload_.Mutable( GetArenaForAllocation());
  484. }
  485. inline std::string* MarkdownToHtmlResponse::release_payload() {
  486. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  487. // @@protoc_insertion_point(field_release:mint.morus.v1.MarkdownToHtmlResponse.payload)
  488. return _impl_.payload_.Release();
  489. }
  490. inline void MarkdownToHtmlResponse::set_allocated_payload(std::string* value) {
  491. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  492. _impl_.payload_.SetAllocated(value, GetArenaForAllocation());
  493. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  494. if (_impl_.payload_.IsDefault()) {
  495. _impl_.payload_.Set("", GetArenaForAllocation());
  496. }
  497. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  498. // @@protoc_insertion_point(field_set_allocated:mint.morus.v1.MarkdownToHtmlResponse.payload)
  499. }
  500. #ifdef __GNUC__
  501. #pragma GCC diagnostic pop
  502. #endif // __GNUC__
  503. // @@protoc_insertion_point(namespace_scope)
  504. } // namespace v1
  505. } // namespace morus
  506. } // namespace mint
  507. // @@protoc_insertion_point(global_scope)
  508. #include "google/protobuf/port_undef.inc"
  509. #endif // GOOGLE_PROTOBUF_INCLUDED_morus_2eproto_2epb_2eh