lily.pb.h 93 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: lily.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_lily_2eproto_2epb_2eh
  4. #define GOOGLE_PROTOBUF_INCLUDED_lily_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_bases.h"
  24. #include "google/protobuf/generated_message_tctable_decl.h"
  25. #include "google/protobuf/generated_message_util.h"
  26. #include "google/protobuf/metadata_lite.h"
  27. #include "google/protobuf/generated_message_reflection.h"
  28. #include "google/protobuf/message.h"
  29. #include "google/protobuf/repeated_field.h" // IWYU pragma: export
  30. #include "google/protobuf/extension_set.h" // IWYU pragma: export
  31. #include "google/protobuf/map.h" // IWYU pragma: export
  32. #include "google/protobuf/map_entry.h"
  33. #include "google/protobuf/map_field_inl.h"
  34. #include "google/protobuf/unknown_field_set.h"
  35. #include "google/protobuf/duration.pb.h"
  36. // @@protoc_insertion_point(includes)
  37. // Must be included last.
  38. #include "google/protobuf/port_def.inc"
  39. #define PROTOBUF_INTERNAL_EXPORT_lily_2eproto
  40. namespace google {
  41. namespace protobuf {
  42. namespace internal {
  43. class AnyMetadata;
  44. } // namespace internal
  45. } // namespace protobuf
  46. } // namespace google
  47. // Internal implementation detail -- do not use these members.
  48. struct TableStruct_lily_2eproto {
  49. static const ::uint32_t offsets[];
  50. };
  51. extern const ::google::protobuf::internal::DescriptorTable
  52. descriptor_table_lily_2eproto;
  53. namespace palm {
  54. namespace lily {
  55. namespace v1 {
  56. class EpubBuildRequest;
  57. struct EpubBuildRequestDefaultTypeInternal;
  58. extern EpubBuildRequestDefaultTypeInternal _EpubBuildRequest_default_instance_;
  59. class ExcelModel;
  60. struct ExcelModelDefaultTypeInternal;
  61. extern ExcelModelDefaultTypeInternal _ExcelModel_default_instance_;
  62. class ExcelModel_Sheet;
  63. struct ExcelModel_SheetDefaultTypeInternal;
  64. extern ExcelModel_SheetDefaultTypeInternal _ExcelModel_Sheet_default_instance_;
  65. class ExcelModel_Sheet_Cell;
  66. struct ExcelModel_Sheet_CellDefaultTypeInternal;
  67. extern ExcelModel_Sheet_CellDefaultTypeInternal _ExcelModel_Sheet_Cell_default_instance_;
  68. class S3File;
  69. struct S3FileDefaultTypeInternal;
  70. extern S3FileDefaultTypeInternal _S3File_default_instance_;
  71. class S3GetFileRequest;
  72. struct S3GetFileRequestDefaultTypeInternal;
  73. extern S3GetFileRequestDefaultTypeInternal _S3GetFileRequest_default_instance_;
  74. class S3GetFileResponse;
  75. struct S3GetFileResponseDefaultTypeInternal;
  76. extern S3GetFileResponseDefaultTypeInternal _S3GetFileResponse_default_instance_;
  77. class TexToRequest;
  78. struct TexToRequestDefaultTypeInternal;
  79. extern TexToRequestDefaultTypeInternal _TexToRequest_default_instance_;
  80. class TexToRequest_FilesEntry_DoNotUse;
  81. struct TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal;
  82. extern TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal _TexToRequest_FilesEntry_DoNotUse_default_instance_;
  83. } // namespace v1
  84. } // namespace lily
  85. } // namespace palm
  86. namespace google {
  87. namespace protobuf {
  88. } // namespace protobuf
  89. } // namespace google
  90. namespace palm {
  91. namespace lily {
  92. namespace v1 {
  93. // ===================================================================
  94. // -------------------------------------------------------------------
  95. class ExcelModel_Sheet_Cell final :
  96. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:palm.lily.v1.ExcelModel.Sheet.Cell) */ {
  97. public:
  98. inline ExcelModel_Sheet_Cell() : ExcelModel_Sheet_Cell(nullptr) {}
  99. ~ExcelModel_Sheet_Cell() override;
  100. template<typename = void>
  101. explicit PROTOBUF_CONSTEXPR ExcelModel_Sheet_Cell(::google::protobuf::internal::ConstantInitialized);
  102. ExcelModel_Sheet_Cell(const ExcelModel_Sheet_Cell& from);
  103. ExcelModel_Sheet_Cell(ExcelModel_Sheet_Cell&& from) noexcept
  104. : ExcelModel_Sheet_Cell() {
  105. *this = ::std::move(from);
  106. }
  107. inline ExcelModel_Sheet_Cell& operator=(const ExcelModel_Sheet_Cell& from) {
  108. CopyFrom(from);
  109. return *this;
  110. }
  111. inline ExcelModel_Sheet_Cell& operator=(ExcelModel_Sheet_Cell&& from) noexcept {
  112. if (this == &from) return *this;
  113. if (GetOwningArena() == from.GetOwningArena()
  114. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  115. && GetOwningArena() != nullptr
  116. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  117. ) {
  118. InternalSwap(&from);
  119. } else {
  120. CopyFrom(from);
  121. }
  122. return *this;
  123. }
  124. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  125. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  126. }
  127. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  128. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  129. }
  130. static const ::google::protobuf::Descriptor* descriptor() {
  131. return GetDescriptor();
  132. }
  133. static const ::google::protobuf::Descriptor* GetDescriptor() {
  134. return default_instance().GetMetadata().descriptor;
  135. }
  136. static const ::google::protobuf::Reflection* GetReflection() {
  137. return default_instance().GetMetadata().reflection;
  138. }
  139. static const ExcelModel_Sheet_Cell& default_instance() {
  140. return *internal_default_instance();
  141. }
  142. static inline const ExcelModel_Sheet_Cell* internal_default_instance() {
  143. return reinterpret_cast<const ExcelModel_Sheet_Cell*>(
  144. &_ExcelModel_Sheet_Cell_default_instance_);
  145. }
  146. static constexpr int kIndexInFileMessages =
  147. 0;
  148. friend void swap(ExcelModel_Sheet_Cell& a, ExcelModel_Sheet_Cell& b) {
  149. a.Swap(&b);
  150. }
  151. inline void Swap(ExcelModel_Sheet_Cell* other) {
  152. if (other == this) return;
  153. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  154. if (GetOwningArena() != nullptr &&
  155. GetOwningArena() == other->GetOwningArena()) {
  156. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  157. if (GetOwningArena() == other->GetOwningArena()) {
  158. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  159. InternalSwap(other);
  160. } else {
  161. ::google::protobuf::internal::GenericSwap(this, other);
  162. }
  163. }
  164. void UnsafeArenaSwap(ExcelModel_Sheet_Cell* other) {
  165. if (other == this) return;
  166. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  167. InternalSwap(other);
  168. }
  169. // implements Message ----------------------------------------------
  170. ExcelModel_Sheet_Cell* New(::google::protobuf::Arena* arena = nullptr) const final {
  171. return CreateMaybeMessage<ExcelModel_Sheet_Cell>(arena);
  172. }
  173. using ::google::protobuf::Message::CopyFrom;
  174. void CopyFrom(const ExcelModel_Sheet_Cell& from);
  175. using ::google::protobuf::Message::MergeFrom;
  176. void MergeFrom( const ExcelModel_Sheet_Cell& from) {
  177. ExcelModel_Sheet_Cell::MergeImpl(*this, from);
  178. }
  179. private:
  180. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  181. public:
  182. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  183. bool IsInitialized() const final;
  184. ::size_t ByteSizeLong() const final;
  185. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  186. ::uint8_t* _InternalSerialize(
  187. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  188. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  189. private:
  190. void SharedCtor(::google::protobuf::Arena* arena);
  191. void SharedDtor();
  192. void SetCachedSize(int size) const final;
  193. void InternalSwap(ExcelModel_Sheet_Cell* other);
  194. private:
  195. friend class ::google::protobuf::internal::AnyMetadata;
  196. static ::absl::string_view FullMessageName() {
  197. return "palm.lily.v1.ExcelModel.Sheet.Cell";
  198. }
  199. protected:
  200. explicit ExcelModel_Sheet_Cell(::google::protobuf::Arena* arena);
  201. public:
  202. static const ClassData _class_data_;
  203. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  204. ::google::protobuf::Metadata GetMetadata() const final;
  205. // nested types ----------------------------------------------------
  206. // accessors -------------------------------------------------------
  207. enum : int {
  208. kValFieldNumber = 3,
  209. kRowFieldNumber = 1,
  210. kColFieldNumber = 2,
  211. };
  212. // string val = 3;
  213. void clear_val() ;
  214. const std::string& val() const;
  215. template <typename Arg_ = const std::string&, typename... Args_>
  216. void set_val(Arg_&& arg, Args_... args);
  217. std::string* mutable_val();
  218. PROTOBUF_NODISCARD std::string* release_val();
  219. void set_allocated_val(std::string* ptr);
  220. private:
  221. const std::string& _internal_val() const;
  222. inline PROTOBUF_ALWAYS_INLINE void _internal_set_val(
  223. const std::string& value);
  224. std::string* _internal_mutable_val();
  225. public:
  226. // uint32 row = 1;
  227. void clear_row() ;
  228. ::uint32_t row() const;
  229. void set_row(::uint32_t value);
  230. private:
  231. ::uint32_t _internal_row() const;
  232. void _internal_set_row(::uint32_t value);
  233. public:
  234. // uint32 col = 2;
  235. void clear_col() ;
  236. ::uint32_t col() const;
  237. void set_col(::uint32_t value);
  238. private:
  239. ::uint32_t _internal_col() const;
  240. void _internal_set_col(::uint32_t value);
  241. public:
  242. // @@protoc_insertion_point(class_scope:palm.lily.v1.ExcelModel.Sheet.Cell)
  243. private:
  244. class _Internal;
  245. friend class ::google::protobuf::internal::TcParser;
  246. static const ::google::protobuf::internal::TcParseTable<2, 3, 0, 46, 2> _table_;
  247. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  248. typedef void InternalArenaConstructable_;
  249. typedef void DestructorSkippable_;
  250. struct Impl_ {
  251. ::google::protobuf::internal::ArenaStringPtr val_;
  252. ::uint32_t row_;
  253. ::uint32_t col_;
  254. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  255. PROTOBUF_TSAN_DECLARE_MEMBER
  256. };
  257. union { Impl_ _impl_; };
  258. friend struct ::TableStruct_lily_2eproto;
  259. };// -------------------------------------------------------------------
  260. class ExcelModel_Sheet final :
  261. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:palm.lily.v1.ExcelModel.Sheet) */ {
  262. public:
  263. inline ExcelModel_Sheet() : ExcelModel_Sheet(nullptr) {}
  264. ~ExcelModel_Sheet() override;
  265. template<typename = void>
  266. explicit PROTOBUF_CONSTEXPR ExcelModel_Sheet(::google::protobuf::internal::ConstantInitialized);
  267. ExcelModel_Sheet(const ExcelModel_Sheet& from);
  268. ExcelModel_Sheet(ExcelModel_Sheet&& from) noexcept
  269. : ExcelModel_Sheet() {
  270. *this = ::std::move(from);
  271. }
  272. inline ExcelModel_Sheet& operator=(const ExcelModel_Sheet& from) {
  273. CopyFrom(from);
  274. return *this;
  275. }
  276. inline ExcelModel_Sheet& operator=(ExcelModel_Sheet&& from) noexcept {
  277. if (this == &from) return *this;
  278. if (GetOwningArena() == from.GetOwningArena()
  279. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  280. && GetOwningArena() != nullptr
  281. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  282. ) {
  283. InternalSwap(&from);
  284. } else {
  285. CopyFrom(from);
  286. }
  287. return *this;
  288. }
  289. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  290. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  291. }
  292. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  293. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  294. }
  295. static const ::google::protobuf::Descriptor* descriptor() {
  296. return GetDescriptor();
  297. }
  298. static const ::google::protobuf::Descriptor* GetDescriptor() {
  299. return default_instance().GetMetadata().descriptor;
  300. }
  301. static const ::google::protobuf::Reflection* GetReflection() {
  302. return default_instance().GetMetadata().reflection;
  303. }
  304. static const ExcelModel_Sheet& default_instance() {
  305. return *internal_default_instance();
  306. }
  307. static inline const ExcelModel_Sheet* internal_default_instance() {
  308. return reinterpret_cast<const ExcelModel_Sheet*>(
  309. &_ExcelModel_Sheet_default_instance_);
  310. }
  311. static constexpr int kIndexInFileMessages =
  312. 1;
  313. friend void swap(ExcelModel_Sheet& a, ExcelModel_Sheet& b) {
  314. a.Swap(&b);
  315. }
  316. inline void Swap(ExcelModel_Sheet* other) {
  317. if (other == this) return;
  318. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  319. if (GetOwningArena() != nullptr &&
  320. GetOwningArena() == other->GetOwningArena()) {
  321. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  322. if (GetOwningArena() == other->GetOwningArena()) {
  323. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  324. InternalSwap(other);
  325. } else {
  326. ::google::protobuf::internal::GenericSwap(this, other);
  327. }
  328. }
  329. void UnsafeArenaSwap(ExcelModel_Sheet* other) {
  330. if (other == this) return;
  331. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  332. InternalSwap(other);
  333. }
  334. // implements Message ----------------------------------------------
  335. ExcelModel_Sheet* New(::google::protobuf::Arena* arena = nullptr) const final {
  336. return CreateMaybeMessage<ExcelModel_Sheet>(arena);
  337. }
  338. using ::google::protobuf::Message::CopyFrom;
  339. void CopyFrom(const ExcelModel_Sheet& from);
  340. using ::google::protobuf::Message::MergeFrom;
  341. void MergeFrom( const ExcelModel_Sheet& from) {
  342. ExcelModel_Sheet::MergeImpl(*this, from);
  343. }
  344. private:
  345. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  346. public:
  347. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  348. bool IsInitialized() const final;
  349. ::size_t ByteSizeLong() const final;
  350. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  351. ::uint8_t* _InternalSerialize(
  352. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  353. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  354. private:
  355. void SharedCtor(::google::protobuf::Arena* arena);
  356. void SharedDtor();
  357. void SetCachedSize(int size) const final;
  358. void InternalSwap(ExcelModel_Sheet* other);
  359. private:
  360. friend class ::google::protobuf::internal::AnyMetadata;
  361. static ::absl::string_view FullMessageName() {
  362. return "palm.lily.v1.ExcelModel.Sheet";
  363. }
  364. protected:
  365. explicit ExcelModel_Sheet(::google::protobuf::Arena* arena);
  366. public:
  367. static const ClassData _class_data_;
  368. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  369. ::google::protobuf::Metadata GetMetadata() const final;
  370. // nested types ----------------------------------------------------
  371. typedef ExcelModel_Sheet_Cell Cell;
  372. // accessors -------------------------------------------------------
  373. enum : int {
  374. kCellsFieldNumber = 2,
  375. kNameFieldNumber = 1,
  376. };
  377. // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
  378. int cells_size() const;
  379. private:
  380. int _internal_cells_size() const;
  381. public:
  382. void clear_cells() ;
  383. ::palm::lily::v1::ExcelModel_Sheet_Cell* mutable_cells(int index);
  384. ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet_Cell >*
  385. mutable_cells();
  386. private:
  387. const ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet_Cell>& _internal_cells() const;
  388. ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet_Cell>* _internal_mutable_cells();
  389. public:
  390. const ::palm::lily::v1::ExcelModel_Sheet_Cell& cells(int index) const;
  391. ::palm::lily::v1::ExcelModel_Sheet_Cell* add_cells();
  392. const ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet_Cell >&
  393. cells() const;
  394. // string name = 1;
  395. void clear_name() ;
  396. const std::string& name() const;
  397. template <typename Arg_ = const std::string&, typename... Args_>
  398. void set_name(Arg_&& arg, Args_... args);
  399. std::string* mutable_name();
  400. PROTOBUF_NODISCARD std::string* release_name();
  401. void set_allocated_name(std::string* ptr);
  402. private:
  403. const std::string& _internal_name() const;
  404. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
  405. const std::string& value);
  406. std::string* _internal_mutable_name();
  407. public:
  408. // @@protoc_insertion_point(class_scope:palm.lily.v1.ExcelModel.Sheet)
  409. private:
  410. class _Internal;
  411. friend class ::google::protobuf::internal::TcParser;
  412. static const ::google::protobuf::internal::TcParseTable<1, 2, 1, 42, 2> _table_;
  413. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  414. typedef void InternalArenaConstructable_;
  415. typedef void DestructorSkippable_;
  416. struct Impl_ {
  417. ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet_Cell > cells_;
  418. ::google::protobuf::internal::ArenaStringPtr name_;
  419. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  420. PROTOBUF_TSAN_DECLARE_MEMBER
  421. };
  422. union { Impl_ _impl_; };
  423. friend struct ::TableStruct_lily_2eproto;
  424. };// -------------------------------------------------------------------
  425. class ExcelModel final :
  426. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:palm.lily.v1.ExcelModel) */ {
  427. public:
  428. inline ExcelModel() : ExcelModel(nullptr) {}
  429. ~ExcelModel() override;
  430. template<typename = void>
  431. explicit PROTOBUF_CONSTEXPR ExcelModel(::google::protobuf::internal::ConstantInitialized);
  432. ExcelModel(const ExcelModel& from);
  433. ExcelModel(ExcelModel&& from) noexcept
  434. : ExcelModel() {
  435. *this = ::std::move(from);
  436. }
  437. inline ExcelModel& operator=(const ExcelModel& from) {
  438. CopyFrom(from);
  439. return *this;
  440. }
  441. inline ExcelModel& operator=(ExcelModel&& from) noexcept {
  442. if (this == &from) return *this;
  443. if (GetOwningArena() == from.GetOwningArena()
  444. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  445. && GetOwningArena() != nullptr
  446. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  447. ) {
  448. InternalSwap(&from);
  449. } else {
  450. CopyFrom(from);
  451. }
  452. return *this;
  453. }
  454. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  455. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  456. }
  457. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  458. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  459. }
  460. static const ::google::protobuf::Descriptor* descriptor() {
  461. return GetDescriptor();
  462. }
  463. static const ::google::protobuf::Descriptor* GetDescriptor() {
  464. return default_instance().GetMetadata().descriptor;
  465. }
  466. static const ::google::protobuf::Reflection* GetReflection() {
  467. return default_instance().GetMetadata().reflection;
  468. }
  469. static const ExcelModel& default_instance() {
  470. return *internal_default_instance();
  471. }
  472. static inline const ExcelModel* internal_default_instance() {
  473. return reinterpret_cast<const ExcelModel*>(
  474. &_ExcelModel_default_instance_);
  475. }
  476. static constexpr int kIndexInFileMessages =
  477. 2;
  478. friend void swap(ExcelModel& a, ExcelModel& b) {
  479. a.Swap(&b);
  480. }
  481. inline void Swap(ExcelModel* other) {
  482. if (other == this) return;
  483. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  484. if (GetOwningArena() != nullptr &&
  485. GetOwningArena() == other->GetOwningArena()) {
  486. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  487. if (GetOwningArena() == other->GetOwningArena()) {
  488. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  489. InternalSwap(other);
  490. } else {
  491. ::google::protobuf::internal::GenericSwap(this, other);
  492. }
  493. }
  494. void UnsafeArenaSwap(ExcelModel* other) {
  495. if (other == this) return;
  496. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  497. InternalSwap(other);
  498. }
  499. // implements Message ----------------------------------------------
  500. ExcelModel* New(::google::protobuf::Arena* arena = nullptr) const final {
  501. return CreateMaybeMessage<ExcelModel>(arena);
  502. }
  503. using ::google::protobuf::Message::CopyFrom;
  504. void CopyFrom(const ExcelModel& from);
  505. using ::google::protobuf::Message::MergeFrom;
  506. void MergeFrom( const ExcelModel& from) {
  507. ExcelModel::MergeImpl(*this, from);
  508. }
  509. private:
  510. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  511. public:
  512. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  513. bool IsInitialized() const final;
  514. ::size_t ByteSizeLong() const final;
  515. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  516. ::uint8_t* _InternalSerialize(
  517. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  518. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  519. private:
  520. void SharedCtor(::google::protobuf::Arena* arena);
  521. void SharedDtor();
  522. void SetCachedSize(int size) const final;
  523. void InternalSwap(ExcelModel* other);
  524. private:
  525. friend class ::google::protobuf::internal::AnyMetadata;
  526. static ::absl::string_view FullMessageName() {
  527. return "palm.lily.v1.ExcelModel";
  528. }
  529. protected:
  530. explicit ExcelModel(::google::protobuf::Arena* arena);
  531. public:
  532. static const ClassData _class_data_;
  533. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  534. ::google::protobuf::Metadata GetMetadata() const final;
  535. // nested types ----------------------------------------------------
  536. typedef ExcelModel_Sheet Sheet;
  537. // accessors -------------------------------------------------------
  538. enum : int {
  539. kSheetsFieldNumber = 1,
  540. };
  541. // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
  542. int sheets_size() const;
  543. private:
  544. int _internal_sheets_size() const;
  545. public:
  546. void clear_sheets() ;
  547. ::palm::lily::v1::ExcelModel_Sheet* mutable_sheets(int index);
  548. ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet >*
  549. mutable_sheets();
  550. private:
  551. const ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet>& _internal_sheets() const;
  552. ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet>* _internal_mutable_sheets();
  553. public:
  554. const ::palm::lily::v1::ExcelModel_Sheet& sheets(int index) const;
  555. ::palm::lily::v1::ExcelModel_Sheet* add_sheets();
  556. const ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet >&
  557. sheets() const;
  558. // @@protoc_insertion_point(class_scope:palm.lily.v1.ExcelModel)
  559. private:
  560. class _Internal;
  561. friend class ::google::protobuf::internal::TcParser;
  562. static const ::google::protobuf::internal::TcParseTable<0, 1, 1, 0, 2> _table_;
  563. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  564. typedef void InternalArenaConstructable_;
  565. typedef void DestructorSkippable_;
  566. struct Impl_ {
  567. ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet > sheets_;
  568. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  569. PROTOBUF_TSAN_DECLARE_MEMBER
  570. };
  571. union { Impl_ _impl_; };
  572. friend struct ::TableStruct_lily_2eproto;
  573. };// -------------------------------------------------------------------
  574. class S3File final :
  575. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:palm.lily.v1.S3File) */ {
  576. public:
  577. inline S3File() : S3File(nullptr) {}
  578. ~S3File() override;
  579. template<typename = void>
  580. explicit PROTOBUF_CONSTEXPR S3File(::google::protobuf::internal::ConstantInitialized);
  581. S3File(const S3File& from);
  582. S3File(S3File&& from) noexcept
  583. : S3File() {
  584. *this = ::std::move(from);
  585. }
  586. inline S3File& operator=(const S3File& from) {
  587. CopyFrom(from);
  588. return *this;
  589. }
  590. inline S3File& operator=(S3File&& from) noexcept {
  591. if (this == &from) return *this;
  592. if (GetOwningArena() == from.GetOwningArena()
  593. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  594. && GetOwningArena() != nullptr
  595. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  596. ) {
  597. InternalSwap(&from);
  598. } else {
  599. CopyFrom(from);
  600. }
  601. return *this;
  602. }
  603. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  604. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  605. }
  606. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  607. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  608. }
  609. static const ::google::protobuf::Descriptor* descriptor() {
  610. return GetDescriptor();
  611. }
  612. static const ::google::protobuf::Descriptor* GetDescriptor() {
  613. return default_instance().GetMetadata().descriptor;
  614. }
  615. static const ::google::protobuf::Reflection* GetReflection() {
  616. return default_instance().GetMetadata().reflection;
  617. }
  618. static const S3File& default_instance() {
  619. return *internal_default_instance();
  620. }
  621. static inline const S3File* internal_default_instance() {
  622. return reinterpret_cast<const S3File*>(
  623. &_S3File_default_instance_);
  624. }
  625. static constexpr int kIndexInFileMessages =
  626. 3;
  627. friend void swap(S3File& a, S3File& b) {
  628. a.Swap(&b);
  629. }
  630. inline void Swap(S3File* other) {
  631. if (other == this) return;
  632. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  633. if (GetOwningArena() != nullptr &&
  634. GetOwningArena() == other->GetOwningArena()) {
  635. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  636. if (GetOwningArena() == other->GetOwningArena()) {
  637. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  638. InternalSwap(other);
  639. } else {
  640. ::google::protobuf::internal::GenericSwap(this, other);
  641. }
  642. }
  643. void UnsafeArenaSwap(S3File* other) {
  644. if (other == this) return;
  645. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  646. InternalSwap(other);
  647. }
  648. // implements Message ----------------------------------------------
  649. S3File* New(::google::protobuf::Arena* arena = nullptr) const final {
  650. return CreateMaybeMessage<S3File>(arena);
  651. }
  652. using ::google::protobuf::Message::CopyFrom;
  653. void CopyFrom(const S3File& from);
  654. using ::google::protobuf::Message::MergeFrom;
  655. void MergeFrom( const S3File& from) {
  656. S3File::MergeImpl(*this, from);
  657. }
  658. private:
  659. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  660. public:
  661. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  662. bool IsInitialized() const final;
  663. ::size_t ByteSizeLong() const final;
  664. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  665. ::uint8_t* _InternalSerialize(
  666. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  667. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  668. private:
  669. void SharedCtor(::google::protobuf::Arena* arena);
  670. void SharedDtor();
  671. void SetCachedSize(int size) const final;
  672. void InternalSwap(S3File* other);
  673. private:
  674. friend class ::google::protobuf::internal::AnyMetadata;
  675. static ::absl::string_view FullMessageName() {
  676. return "palm.lily.v1.S3File";
  677. }
  678. protected:
  679. explicit S3File(::google::protobuf::Arena* arena);
  680. public:
  681. static const ClassData _class_data_;
  682. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  683. ::google::protobuf::Metadata GetMetadata() const final;
  684. // nested types ----------------------------------------------------
  685. // accessors -------------------------------------------------------
  686. enum : int {
  687. kBucketFieldNumber = 1,
  688. kNameFieldNumber = 2,
  689. kContentTypeFieldNumber = 9,
  690. };
  691. // string bucket = 1;
  692. void clear_bucket() ;
  693. const std::string& bucket() const;
  694. template <typename Arg_ = const std::string&, typename... Args_>
  695. void set_bucket(Arg_&& arg, Args_... args);
  696. std::string* mutable_bucket();
  697. PROTOBUF_NODISCARD std::string* release_bucket();
  698. void set_allocated_bucket(std::string* ptr);
  699. private:
  700. const std::string& _internal_bucket() const;
  701. inline PROTOBUF_ALWAYS_INLINE void _internal_set_bucket(
  702. const std::string& value);
  703. std::string* _internal_mutable_bucket();
  704. public:
  705. // string name = 2;
  706. void clear_name() ;
  707. const std::string& name() const;
  708. template <typename Arg_ = const std::string&, typename... Args_>
  709. void set_name(Arg_&& arg, Args_... args);
  710. std::string* mutable_name();
  711. PROTOBUF_NODISCARD std::string* release_name();
  712. void set_allocated_name(std::string* ptr);
  713. private:
  714. const std::string& _internal_name() const;
  715. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
  716. const std::string& value);
  717. std::string* _internal_mutable_name();
  718. public:
  719. // string content_type = 9;
  720. void clear_content_type() ;
  721. const std::string& content_type() const;
  722. template <typename Arg_ = const std::string&, typename... Args_>
  723. void set_content_type(Arg_&& arg, Args_... args);
  724. std::string* mutable_content_type();
  725. PROTOBUF_NODISCARD std::string* release_content_type();
  726. void set_allocated_content_type(std::string* ptr);
  727. private:
  728. const std::string& _internal_content_type() const;
  729. inline PROTOBUF_ALWAYS_INLINE void _internal_set_content_type(
  730. const std::string& value);
  731. std::string* _internal_mutable_content_type();
  732. public:
  733. // @@protoc_insertion_point(class_scope:palm.lily.v1.S3File)
  734. private:
  735. class _Internal;
  736. friend class ::google::protobuf::internal::TcParser;
  737. static const ::google::protobuf::internal::TcParseTable<1, 3, 0, 50, 2> _table_;
  738. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  739. typedef void InternalArenaConstructable_;
  740. typedef void DestructorSkippable_;
  741. struct Impl_ {
  742. ::google::protobuf::internal::ArenaStringPtr bucket_;
  743. ::google::protobuf::internal::ArenaStringPtr name_;
  744. ::google::protobuf::internal::ArenaStringPtr content_type_;
  745. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  746. PROTOBUF_TSAN_DECLARE_MEMBER
  747. };
  748. union { Impl_ _impl_; };
  749. friend struct ::TableStruct_lily_2eproto;
  750. };// -------------------------------------------------------------------
  751. class S3GetFileRequest final :
  752. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:palm.lily.v1.S3GetFileRequest) */ {
  753. public:
  754. inline S3GetFileRequest() : S3GetFileRequest(nullptr) {}
  755. ~S3GetFileRequest() override;
  756. template<typename = void>
  757. explicit PROTOBUF_CONSTEXPR S3GetFileRequest(::google::protobuf::internal::ConstantInitialized);
  758. S3GetFileRequest(const S3GetFileRequest& from);
  759. S3GetFileRequest(S3GetFileRequest&& from) noexcept
  760. : S3GetFileRequest() {
  761. *this = ::std::move(from);
  762. }
  763. inline S3GetFileRequest& operator=(const S3GetFileRequest& from) {
  764. CopyFrom(from);
  765. return *this;
  766. }
  767. inline S3GetFileRequest& operator=(S3GetFileRequest&& from) noexcept {
  768. if (this == &from) return *this;
  769. if (GetOwningArena() == from.GetOwningArena()
  770. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  771. && GetOwningArena() != nullptr
  772. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  773. ) {
  774. InternalSwap(&from);
  775. } else {
  776. CopyFrom(from);
  777. }
  778. return *this;
  779. }
  780. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  781. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  782. }
  783. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  784. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  785. }
  786. static const ::google::protobuf::Descriptor* descriptor() {
  787. return GetDescriptor();
  788. }
  789. static const ::google::protobuf::Descriptor* GetDescriptor() {
  790. return default_instance().GetMetadata().descriptor;
  791. }
  792. static const ::google::protobuf::Reflection* GetReflection() {
  793. return default_instance().GetMetadata().reflection;
  794. }
  795. static const S3GetFileRequest& default_instance() {
  796. return *internal_default_instance();
  797. }
  798. static inline const S3GetFileRequest* internal_default_instance() {
  799. return reinterpret_cast<const S3GetFileRequest*>(
  800. &_S3GetFileRequest_default_instance_);
  801. }
  802. static constexpr int kIndexInFileMessages =
  803. 4;
  804. friend void swap(S3GetFileRequest& a, S3GetFileRequest& b) {
  805. a.Swap(&b);
  806. }
  807. inline void Swap(S3GetFileRequest* other) {
  808. if (other == this) return;
  809. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  810. if (GetOwningArena() != nullptr &&
  811. GetOwningArena() == other->GetOwningArena()) {
  812. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  813. if (GetOwningArena() == other->GetOwningArena()) {
  814. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  815. InternalSwap(other);
  816. } else {
  817. ::google::protobuf::internal::GenericSwap(this, other);
  818. }
  819. }
  820. void UnsafeArenaSwap(S3GetFileRequest* other) {
  821. if (other == this) return;
  822. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  823. InternalSwap(other);
  824. }
  825. // implements Message ----------------------------------------------
  826. S3GetFileRequest* New(::google::protobuf::Arena* arena = nullptr) const final {
  827. return CreateMaybeMessage<S3GetFileRequest>(arena);
  828. }
  829. using ::google::protobuf::Message::CopyFrom;
  830. void CopyFrom(const S3GetFileRequest& from);
  831. using ::google::protobuf::Message::MergeFrom;
  832. void MergeFrom( const S3GetFileRequest& from) {
  833. S3GetFileRequest::MergeImpl(*this, from);
  834. }
  835. private:
  836. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  837. public:
  838. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  839. bool IsInitialized() const final;
  840. ::size_t ByteSizeLong() const final;
  841. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  842. ::uint8_t* _InternalSerialize(
  843. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  844. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  845. private:
  846. void SharedCtor(::google::protobuf::Arena* arena);
  847. void SharedDtor();
  848. void SetCachedSize(int size) const final;
  849. void InternalSwap(S3GetFileRequest* other);
  850. private:
  851. friend class ::google::protobuf::internal::AnyMetadata;
  852. static ::absl::string_view FullMessageName() {
  853. return "palm.lily.v1.S3GetFileRequest";
  854. }
  855. protected:
  856. explicit S3GetFileRequest(::google::protobuf::Arena* arena);
  857. public:
  858. static const ClassData _class_data_;
  859. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  860. ::google::protobuf::Metadata GetMetadata() const final;
  861. // nested types ----------------------------------------------------
  862. // accessors -------------------------------------------------------
  863. enum : int {
  864. kBucketFieldNumber = 1,
  865. kNameFieldNumber = 2,
  866. kTtlFieldNumber = 9,
  867. };
  868. // string bucket = 1;
  869. void clear_bucket() ;
  870. const std::string& bucket() const;
  871. template <typename Arg_ = const std::string&, typename... Args_>
  872. void set_bucket(Arg_&& arg, Args_... args);
  873. std::string* mutable_bucket();
  874. PROTOBUF_NODISCARD std::string* release_bucket();
  875. void set_allocated_bucket(std::string* ptr);
  876. private:
  877. const std::string& _internal_bucket() const;
  878. inline PROTOBUF_ALWAYS_INLINE void _internal_set_bucket(
  879. const std::string& value);
  880. std::string* _internal_mutable_bucket();
  881. public:
  882. // string name = 2;
  883. void clear_name() ;
  884. const std::string& name() const;
  885. template <typename Arg_ = const std::string&, typename... Args_>
  886. void set_name(Arg_&& arg, Args_... args);
  887. std::string* mutable_name();
  888. PROTOBUF_NODISCARD std::string* release_name();
  889. void set_allocated_name(std::string* ptr);
  890. private:
  891. const std::string& _internal_name() const;
  892. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
  893. const std::string& value);
  894. std::string* _internal_mutable_name();
  895. public:
  896. // .google.protobuf.Duration ttl = 9;
  897. bool has_ttl() const;
  898. void clear_ttl() ;
  899. const ::google::protobuf::Duration& ttl() const;
  900. PROTOBUF_NODISCARD ::google::protobuf::Duration* release_ttl();
  901. ::google::protobuf::Duration* mutable_ttl();
  902. void set_allocated_ttl(::google::protobuf::Duration* value);
  903. void unsafe_arena_set_allocated_ttl(::google::protobuf::Duration* value);
  904. ::google::protobuf::Duration* unsafe_arena_release_ttl();
  905. private:
  906. const ::google::protobuf::Duration& _internal_ttl() const;
  907. ::google::protobuf::Duration* _internal_mutable_ttl();
  908. public:
  909. // @@protoc_insertion_point(class_scope:palm.lily.v1.S3GetFileRequest)
  910. private:
  911. class _Internal;
  912. friend class ::google::protobuf::internal::TcParser;
  913. static const ::google::protobuf::internal::TcParseTable<1, 3, 1, 48, 2> _table_;
  914. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  915. typedef void InternalArenaConstructable_;
  916. typedef void DestructorSkippable_;
  917. struct Impl_ {
  918. ::google::protobuf::internal::HasBits<1> _has_bits_;
  919. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  920. ::google::protobuf::internal::ArenaStringPtr bucket_;
  921. ::google::protobuf::internal::ArenaStringPtr name_;
  922. ::google::protobuf::Duration* ttl_;
  923. PROTOBUF_TSAN_DECLARE_MEMBER
  924. };
  925. union { Impl_ _impl_; };
  926. friend struct ::TableStruct_lily_2eproto;
  927. };// -------------------------------------------------------------------
  928. class S3GetFileResponse final :
  929. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:palm.lily.v1.S3GetFileResponse) */ {
  930. public:
  931. inline S3GetFileResponse() : S3GetFileResponse(nullptr) {}
  932. ~S3GetFileResponse() override;
  933. template<typename = void>
  934. explicit PROTOBUF_CONSTEXPR S3GetFileResponse(::google::protobuf::internal::ConstantInitialized);
  935. S3GetFileResponse(const S3GetFileResponse& from);
  936. S3GetFileResponse(S3GetFileResponse&& from) noexcept
  937. : S3GetFileResponse() {
  938. *this = ::std::move(from);
  939. }
  940. inline S3GetFileResponse& operator=(const S3GetFileResponse& from) {
  941. CopyFrom(from);
  942. return *this;
  943. }
  944. inline S3GetFileResponse& operator=(S3GetFileResponse&& from) noexcept {
  945. if (this == &from) return *this;
  946. if (GetOwningArena() == from.GetOwningArena()
  947. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  948. && GetOwningArena() != nullptr
  949. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  950. ) {
  951. InternalSwap(&from);
  952. } else {
  953. CopyFrom(from);
  954. }
  955. return *this;
  956. }
  957. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  958. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  959. }
  960. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  961. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  962. }
  963. static const ::google::protobuf::Descriptor* descriptor() {
  964. return GetDescriptor();
  965. }
  966. static const ::google::protobuf::Descriptor* GetDescriptor() {
  967. return default_instance().GetMetadata().descriptor;
  968. }
  969. static const ::google::protobuf::Reflection* GetReflection() {
  970. return default_instance().GetMetadata().reflection;
  971. }
  972. static const S3GetFileResponse& default_instance() {
  973. return *internal_default_instance();
  974. }
  975. static inline const S3GetFileResponse* internal_default_instance() {
  976. return reinterpret_cast<const S3GetFileResponse*>(
  977. &_S3GetFileResponse_default_instance_);
  978. }
  979. static constexpr int kIndexInFileMessages =
  980. 5;
  981. friend void swap(S3GetFileResponse& a, S3GetFileResponse& b) {
  982. a.Swap(&b);
  983. }
  984. inline void Swap(S3GetFileResponse* other) {
  985. if (other == this) return;
  986. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  987. if (GetOwningArena() != nullptr &&
  988. GetOwningArena() == other->GetOwningArena()) {
  989. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  990. if (GetOwningArena() == other->GetOwningArena()) {
  991. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  992. InternalSwap(other);
  993. } else {
  994. ::google::protobuf::internal::GenericSwap(this, other);
  995. }
  996. }
  997. void UnsafeArenaSwap(S3GetFileResponse* other) {
  998. if (other == this) return;
  999. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1000. InternalSwap(other);
  1001. }
  1002. // implements Message ----------------------------------------------
  1003. S3GetFileResponse* New(::google::protobuf::Arena* arena = nullptr) const final {
  1004. return CreateMaybeMessage<S3GetFileResponse>(arena);
  1005. }
  1006. using ::google::protobuf::Message::CopyFrom;
  1007. void CopyFrom(const S3GetFileResponse& from);
  1008. using ::google::protobuf::Message::MergeFrom;
  1009. void MergeFrom( const S3GetFileResponse& from) {
  1010. S3GetFileResponse::MergeImpl(*this, from);
  1011. }
  1012. private:
  1013. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  1014. public:
  1015. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1016. bool IsInitialized() const final;
  1017. ::size_t ByteSizeLong() const final;
  1018. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  1019. ::uint8_t* _InternalSerialize(
  1020. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  1021. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1022. private:
  1023. void SharedCtor(::google::protobuf::Arena* arena);
  1024. void SharedDtor();
  1025. void SetCachedSize(int size) const final;
  1026. void InternalSwap(S3GetFileResponse* other);
  1027. private:
  1028. friend class ::google::protobuf::internal::AnyMetadata;
  1029. static ::absl::string_view FullMessageName() {
  1030. return "palm.lily.v1.S3GetFileResponse";
  1031. }
  1032. protected:
  1033. explicit S3GetFileResponse(::google::protobuf::Arena* arena);
  1034. public:
  1035. static const ClassData _class_data_;
  1036. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  1037. ::google::protobuf::Metadata GetMetadata() const final;
  1038. // nested types ----------------------------------------------------
  1039. // accessors -------------------------------------------------------
  1040. enum : int {
  1041. kUrlFieldNumber = 1,
  1042. };
  1043. // string url = 1;
  1044. void clear_url() ;
  1045. const std::string& url() const;
  1046. template <typename Arg_ = const std::string&, typename... Args_>
  1047. void set_url(Arg_&& arg, Args_... args);
  1048. std::string* mutable_url();
  1049. PROTOBUF_NODISCARD std::string* release_url();
  1050. void set_allocated_url(std::string* ptr);
  1051. private:
  1052. const std::string& _internal_url() const;
  1053. inline PROTOBUF_ALWAYS_INLINE void _internal_set_url(
  1054. const std::string& value);
  1055. std::string* _internal_mutable_url();
  1056. public:
  1057. // @@protoc_insertion_point(class_scope:palm.lily.v1.S3GetFileResponse)
  1058. private:
  1059. class _Internal;
  1060. friend class ::google::protobuf::internal::TcParser;
  1061. static const ::google::protobuf::internal::TcParseTable<0, 1, 0, 42, 2> _table_;
  1062. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  1063. typedef void InternalArenaConstructable_;
  1064. typedef void DestructorSkippable_;
  1065. struct Impl_ {
  1066. ::google::protobuf::internal::ArenaStringPtr url_;
  1067. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1068. PROTOBUF_TSAN_DECLARE_MEMBER
  1069. };
  1070. union { Impl_ _impl_; };
  1071. friend struct ::TableStruct_lily_2eproto;
  1072. };// -------------------------------------------------------------------
  1073. class TexToRequest_FilesEntry_DoNotUse final : public ::google::protobuf::internal::MapEntry<TexToRequest_FilesEntry_DoNotUse,
  1074. std::string, std::string,
  1075. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1076. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES> {
  1077. public:
  1078. typedef ::google::protobuf::internal::MapEntry<TexToRequest_FilesEntry_DoNotUse,
  1079. std::string, std::string,
  1080. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1081. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES> SuperType;
  1082. TexToRequest_FilesEntry_DoNotUse();
  1083. template <typename = void>
  1084. explicit PROTOBUF_CONSTEXPR TexToRequest_FilesEntry_DoNotUse(
  1085. ::google::protobuf::internal::ConstantInitialized);
  1086. explicit TexToRequest_FilesEntry_DoNotUse(::google::protobuf::Arena* arena);
  1087. void MergeFrom(const TexToRequest_FilesEntry_DoNotUse& other);
  1088. static const TexToRequest_FilesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const TexToRequest_FilesEntry_DoNotUse*>(&_TexToRequest_FilesEntry_DoNotUse_default_instance_); }
  1089. static bool ValidateKey(std::string* s) {
  1090. return ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::google::protobuf::internal::WireFormatLite::PARSE, "palm.lily.v1.TexToRequest.FilesEntry.key");
  1091. }
  1092. static bool ValidateValue(void*) { return true; }
  1093. using ::google::protobuf::Message::MergeFrom;
  1094. ::google::protobuf::Metadata GetMetadata() const final;
  1095. friend struct ::TableStruct_lily_2eproto;
  1096. };
  1097. // -------------------------------------------------------------------
  1098. class TexToRequest final :
  1099. public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:palm.lily.v1.TexToRequest) */ {
  1100. public:
  1101. inline TexToRequest() : TexToRequest(nullptr) {}
  1102. ~TexToRequest() override;
  1103. template<typename = void>
  1104. explicit PROTOBUF_CONSTEXPR TexToRequest(::google::protobuf::internal::ConstantInitialized);
  1105. TexToRequest(const TexToRequest& from);
  1106. TexToRequest(TexToRequest&& from) noexcept
  1107. : TexToRequest() {
  1108. *this = ::std::move(from);
  1109. }
  1110. inline TexToRequest& operator=(const TexToRequest& from) {
  1111. CopyFrom(from);
  1112. return *this;
  1113. }
  1114. inline TexToRequest& operator=(TexToRequest&& from) noexcept {
  1115. if (this == &from) return *this;
  1116. if (GetOwningArena() == from.GetOwningArena()
  1117. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1118. && GetOwningArena() != nullptr
  1119. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1120. ) {
  1121. InternalSwap(&from);
  1122. } else {
  1123. CopyFrom(from);
  1124. }
  1125. return *this;
  1126. }
  1127. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1128. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  1129. }
  1130. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1131. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  1132. }
  1133. static const ::google::protobuf::Descriptor* descriptor() {
  1134. return GetDescriptor();
  1135. }
  1136. static const ::google::protobuf::Descriptor* GetDescriptor() {
  1137. return default_instance().GetMetadata().descriptor;
  1138. }
  1139. static const ::google::protobuf::Reflection* GetReflection() {
  1140. return default_instance().GetMetadata().reflection;
  1141. }
  1142. static const TexToRequest& default_instance() {
  1143. return *internal_default_instance();
  1144. }
  1145. static inline const TexToRequest* internal_default_instance() {
  1146. return reinterpret_cast<const TexToRequest*>(
  1147. &_TexToRequest_default_instance_);
  1148. }
  1149. static constexpr int kIndexInFileMessages =
  1150. 7;
  1151. friend void swap(TexToRequest& a, TexToRequest& b) {
  1152. a.Swap(&b);
  1153. }
  1154. inline void Swap(TexToRequest* other) {
  1155. if (other == this) return;
  1156. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1157. if (GetOwningArena() != nullptr &&
  1158. GetOwningArena() == other->GetOwningArena()) {
  1159. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1160. if (GetOwningArena() == other->GetOwningArena()) {
  1161. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1162. InternalSwap(other);
  1163. } else {
  1164. ::google::protobuf::internal::GenericSwap(this, other);
  1165. }
  1166. }
  1167. void UnsafeArenaSwap(TexToRequest* other) {
  1168. if (other == this) return;
  1169. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1170. InternalSwap(other);
  1171. }
  1172. // implements Message ----------------------------------------------
  1173. TexToRequest* New(::google::protobuf::Arena* arena = nullptr) const final {
  1174. return CreateMaybeMessage<TexToRequest>(arena);
  1175. }
  1176. using ::google::protobuf::Message::CopyFrom;
  1177. void CopyFrom(const TexToRequest& from);
  1178. using ::google::protobuf::Message::MergeFrom;
  1179. void MergeFrom( const TexToRequest& from) {
  1180. TexToRequest::MergeImpl(*this, from);
  1181. }
  1182. private:
  1183. static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
  1184. public:
  1185. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1186. bool IsInitialized() const final;
  1187. ::size_t ByteSizeLong() const final;
  1188. const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
  1189. ::uint8_t* _InternalSerialize(
  1190. ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
  1191. int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
  1192. private:
  1193. void SharedCtor(::google::protobuf::Arena* arena);
  1194. void SharedDtor();
  1195. void SetCachedSize(int size) const final;
  1196. void InternalSwap(TexToRequest* other);
  1197. private:
  1198. friend class ::google::protobuf::internal::AnyMetadata;
  1199. static ::absl::string_view FullMessageName() {
  1200. return "palm.lily.v1.TexToRequest";
  1201. }
  1202. protected:
  1203. explicit TexToRequest(::google::protobuf::Arena* arena);
  1204. public:
  1205. static const ClassData _class_data_;
  1206. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  1207. ::google::protobuf::Metadata GetMetadata() const final;
  1208. // nested types ----------------------------------------------------
  1209. // accessors -------------------------------------------------------
  1210. enum : int {
  1211. kFilesFieldNumber = 2,
  1212. kTitleFieldNumber = 1,
  1213. kOwnerFieldNumber = 8,
  1214. kTtlFieldNumber = 7,
  1215. kPublishedFieldNumber = 9,
  1216. };
  1217. // map<string, bytes> files = 2;
  1218. int files_size() const;
  1219. private:
  1220. int _internal_files_size() const;
  1221. public:
  1222. void clear_files() ;
  1223. const ::google::protobuf::Map<std::string, std::string>& files() const;
  1224. ::google::protobuf::Map<std::string, std::string>* mutable_files();
  1225. private:
  1226. const ::google::protobuf::Map<std::string, std::string>& _internal_files() const;
  1227. ::google::protobuf::Map<std::string, std::string>* _internal_mutable_files();
  1228. public:
  1229. // string title = 1;
  1230. void clear_title() ;
  1231. const std::string& title() const;
  1232. template <typename Arg_ = const std::string&, typename... Args_>
  1233. void set_title(Arg_&& arg, Args_... args);
  1234. std::string* mutable_title();
  1235. PROTOBUF_NODISCARD std::string* release_title();
  1236. void set_allocated_title(std::string* ptr);
  1237. private:
  1238. const std::string& _internal_title() const;
  1239. inline PROTOBUF_ALWAYS_INLINE void _internal_set_title(
  1240. const std::string& value);
  1241. std::string* _internal_mutable_title();
  1242. public:
  1243. // optional string owner = 8;
  1244. bool has_owner() const;
  1245. void clear_owner() ;
  1246. const std::string& owner() const;
  1247. template <typename Arg_ = const std::string&, typename... Args_>
  1248. void set_owner(Arg_&& arg, Args_... args);
  1249. std::string* mutable_owner();
  1250. PROTOBUF_NODISCARD std::string* release_owner();
  1251. void set_allocated_owner(std::string* ptr);
  1252. private:
  1253. const std::string& _internal_owner() const;
  1254. inline PROTOBUF_ALWAYS_INLINE void _internal_set_owner(
  1255. const std::string& value);
  1256. std::string* _internal_mutable_owner();
  1257. public:
  1258. // optional .google.protobuf.Duration ttl = 7;
  1259. bool has_ttl() const;
  1260. void clear_ttl() ;
  1261. const ::google::protobuf::Duration& ttl() const;
  1262. PROTOBUF_NODISCARD ::google::protobuf::Duration* release_ttl();
  1263. ::google::protobuf::Duration* mutable_ttl();
  1264. void set_allocated_ttl(::google::protobuf::Duration* value);
  1265. void unsafe_arena_set_allocated_ttl(::google::protobuf::Duration* value);
  1266. ::google::protobuf::Duration* unsafe_arena_release_ttl();
  1267. private:
  1268. const ::google::protobuf::Duration& _internal_ttl() const;
  1269. ::google::protobuf::Duration* _internal_mutable_ttl();
  1270. public:
  1271. // bool published = 9;
  1272. void clear_published() ;
  1273. bool published() const;
  1274. void set_published(bool value);
  1275. private:
  1276. bool _internal_published() const;
  1277. void _internal_set_published(bool value);
  1278. public:
  1279. // @@protoc_insertion_point(class_scope:palm.lily.v1.TexToRequest)
  1280. private:
  1281. class _Internal;
  1282. friend class ::google::protobuf::internal::TcParser;
  1283. static const ::google::protobuf::internal::TcParseTable<2, 5, 2, 49, 2> _table_;
  1284. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  1285. typedef void InternalArenaConstructable_;
  1286. typedef void DestructorSkippable_;
  1287. struct Impl_ {
  1288. ::google::protobuf::internal::HasBits<1> _has_bits_;
  1289. mutable ::google::protobuf::internal::CachedSize _cached_size_;
  1290. ::google::protobuf::internal::MapField<TexToRequest_FilesEntry_DoNotUse, std::string, std::string,
  1291. ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
  1292. ::google::protobuf::internal::WireFormatLite::TYPE_BYTES>
  1293. files_;
  1294. ::google::protobuf::internal::ArenaStringPtr title_;
  1295. ::google::protobuf::internal::ArenaStringPtr owner_;
  1296. ::google::protobuf::Duration* ttl_;
  1297. bool published_;
  1298. PROTOBUF_TSAN_DECLARE_MEMBER
  1299. };
  1300. union { Impl_ _impl_; };
  1301. friend struct ::TableStruct_lily_2eproto;
  1302. };// -------------------------------------------------------------------
  1303. class EpubBuildRequest final :
  1304. public ::google::protobuf::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:palm.lily.v1.EpubBuildRequest) */ {
  1305. public:
  1306. inline EpubBuildRequest() : EpubBuildRequest(nullptr) {}
  1307. template<typename = void>
  1308. explicit PROTOBUF_CONSTEXPR EpubBuildRequest(::google::protobuf::internal::ConstantInitialized);
  1309. EpubBuildRequest(const EpubBuildRequest& from);
  1310. EpubBuildRequest(EpubBuildRequest&& from) noexcept
  1311. : EpubBuildRequest() {
  1312. *this = ::std::move(from);
  1313. }
  1314. inline EpubBuildRequest& operator=(const EpubBuildRequest& from) {
  1315. CopyFrom(from);
  1316. return *this;
  1317. }
  1318. inline EpubBuildRequest& operator=(EpubBuildRequest&& from) noexcept {
  1319. if (this == &from) return *this;
  1320. if (GetOwningArena() == from.GetOwningArena()
  1321. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1322. && GetOwningArena() != nullptr
  1323. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1324. ) {
  1325. InternalSwap(&from);
  1326. } else {
  1327. CopyFrom(from);
  1328. }
  1329. return *this;
  1330. }
  1331. inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
  1332. return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
  1333. }
  1334. inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
  1335. return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
  1336. }
  1337. static const ::google::protobuf::Descriptor* descriptor() {
  1338. return GetDescriptor();
  1339. }
  1340. static const ::google::protobuf::Descriptor* GetDescriptor() {
  1341. return default_instance().GetMetadata().descriptor;
  1342. }
  1343. static const ::google::protobuf::Reflection* GetReflection() {
  1344. return default_instance().GetMetadata().reflection;
  1345. }
  1346. static const EpubBuildRequest& default_instance() {
  1347. return *internal_default_instance();
  1348. }
  1349. static inline const EpubBuildRequest* internal_default_instance() {
  1350. return reinterpret_cast<const EpubBuildRequest*>(
  1351. &_EpubBuildRequest_default_instance_);
  1352. }
  1353. static constexpr int kIndexInFileMessages =
  1354. 8;
  1355. friend void swap(EpubBuildRequest& a, EpubBuildRequest& b) {
  1356. a.Swap(&b);
  1357. }
  1358. inline void Swap(EpubBuildRequest* other) {
  1359. if (other == this) return;
  1360. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1361. if (GetOwningArena() != nullptr &&
  1362. GetOwningArena() == other->GetOwningArena()) {
  1363. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1364. if (GetOwningArena() == other->GetOwningArena()) {
  1365. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1366. InternalSwap(other);
  1367. } else {
  1368. ::google::protobuf::internal::GenericSwap(this, other);
  1369. }
  1370. }
  1371. void UnsafeArenaSwap(EpubBuildRequest* other) {
  1372. if (other == this) return;
  1373. ABSL_DCHECK(GetOwningArena() == other->GetOwningArena());
  1374. InternalSwap(other);
  1375. }
  1376. // implements Message ----------------------------------------------
  1377. EpubBuildRequest* New(::google::protobuf::Arena* arena = nullptr) const final {
  1378. return CreateMaybeMessage<EpubBuildRequest>(arena);
  1379. }
  1380. using ::google::protobuf::internal::ZeroFieldsBase::CopyFrom;
  1381. inline void CopyFrom(const EpubBuildRequest& from) {
  1382. ::google::protobuf::internal::ZeroFieldsBase::CopyImpl(*this, from);
  1383. }
  1384. using ::google::protobuf::internal::ZeroFieldsBase::MergeFrom;
  1385. void MergeFrom(const EpubBuildRequest& from) {
  1386. ::google::protobuf::internal::ZeroFieldsBase::MergeImpl(*this, from);
  1387. }
  1388. public:
  1389. private:
  1390. friend class ::google::protobuf::internal::AnyMetadata;
  1391. static ::absl::string_view FullMessageName() {
  1392. return "palm.lily.v1.EpubBuildRequest";
  1393. }
  1394. protected:
  1395. explicit EpubBuildRequest(::google::protobuf::Arena* arena);
  1396. public:
  1397. static const ClassData _class_data_;
  1398. const ::google::protobuf::Message::ClassData*GetClassData() const final;
  1399. ::google::protobuf::Metadata GetMetadata() const final;
  1400. // nested types ----------------------------------------------------
  1401. // accessors -------------------------------------------------------
  1402. // @@protoc_insertion_point(class_scope:palm.lily.v1.EpubBuildRequest)
  1403. private:
  1404. class _Internal;
  1405. template <typename T> friend class ::google::protobuf::Arena::InternalHelper;
  1406. typedef void InternalArenaConstructable_;
  1407. typedef void DestructorSkippable_;
  1408. struct Impl_ {
  1409. PROTOBUF_TSAN_DECLARE_MEMBER
  1410. };
  1411. friend struct ::TableStruct_lily_2eproto;
  1412. };
  1413. // ===================================================================
  1414. // ===================================================================
  1415. #ifdef __GNUC__
  1416. #pragma GCC diagnostic push
  1417. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  1418. #endif // __GNUC__
  1419. // -------------------------------------------------------------------
  1420. // ExcelModel_Sheet_Cell
  1421. // uint32 row = 1;
  1422. inline void ExcelModel_Sheet_Cell::clear_row() {
  1423. _impl_.row_ = 0u;
  1424. }
  1425. inline ::uint32_t ExcelModel_Sheet_Cell::row() const {
  1426. // @@protoc_insertion_point(field_get:palm.lily.v1.ExcelModel.Sheet.Cell.row)
  1427. return _internal_row();
  1428. }
  1429. inline void ExcelModel_Sheet_Cell::set_row(::uint32_t value) {
  1430. _internal_set_row(value);
  1431. // @@protoc_insertion_point(field_set:palm.lily.v1.ExcelModel.Sheet.Cell.row)
  1432. }
  1433. inline ::uint32_t ExcelModel_Sheet_Cell::_internal_row() const {
  1434. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1435. return _impl_.row_;
  1436. }
  1437. inline void ExcelModel_Sheet_Cell::_internal_set_row(::uint32_t value) {
  1438. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1439. ;
  1440. _impl_.row_ = value;
  1441. }
  1442. // uint32 col = 2;
  1443. inline void ExcelModel_Sheet_Cell::clear_col() {
  1444. _impl_.col_ = 0u;
  1445. }
  1446. inline ::uint32_t ExcelModel_Sheet_Cell::col() const {
  1447. // @@protoc_insertion_point(field_get:palm.lily.v1.ExcelModel.Sheet.Cell.col)
  1448. return _internal_col();
  1449. }
  1450. inline void ExcelModel_Sheet_Cell::set_col(::uint32_t value) {
  1451. _internal_set_col(value);
  1452. // @@protoc_insertion_point(field_set:palm.lily.v1.ExcelModel.Sheet.Cell.col)
  1453. }
  1454. inline ::uint32_t ExcelModel_Sheet_Cell::_internal_col() const {
  1455. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1456. return _impl_.col_;
  1457. }
  1458. inline void ExcelModel_Sheet_Cell::_internal_set_col(::uint32_t value) {
  1459. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1460. ;
  1461. _impl_.col_ = value;
  1462. }
  1463. // string val = 3;
  1464. inline void ExcelModel_Sheet_Cell::clear_val() {
  1465. _impl_.val_.ClearToEmpty();
  1466. }
  1467. inline const std::string& ExcelModel_Sheet_Cell::val() const {
  1468. // @@protoc_insertion_point(field_get:palm.lily.v1.ExcelModel.Sheet.Cell.val)
  1469. return _internal_val();
  1470. }
  1471. template <typename Arg_, typename... Args_>
  1472. inline PROTOBUF_ALWAYS_INLINE void ExcelModel_Sheet_Cell::set_val(Arg_&& arg,
  1473. Args_... args) {
  1474. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1475. ;
  1476. _impl_.val_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  1477. // @@protoc_insertion_point(field_set:palm.lily.v1.ExcelModel.Sheet.Cell.val)
  1478. }
  1479. inline std::string* ExcelModel_Sheet_Cell::mutable_val() {
  1480. std::string* _s = _internal_mutable_val();
  1481. // @@protoc_insertion_point(field_mutable:palm.lily.v1.ExcelModel.Sheet.Cell.val)
  1482. return _s;
  1483. }
  1484. inline const std::string& ExcelModel_Sheet_Cell::_internal_val() const {
  1485. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1486. return _impl_.val_.Get();
  1487. }
  1488. inline void ExcelModel_Sheet_Cell::_internal_set_val(const std::string& value) {
  1489. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1490. ;
  1491. _impl_.val_.Set(value, GetArenaForAllocation());
  1492. }
  1493. inline std::string* ExcelModel_Sheet_Cell::_internal_mutable_val() {
  1494. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1495. ;
  1496. return _impl_.val_.Mutable( GetArenaForAllocation());
  1497. }
  1498. inline std::string* ExcelModel_Sheet_Cell::release_val() {
  1499. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1500. // @@protoc_insertion_point(field_release:palm.lily.v1.ExcelModel.Sheet.Cell.val)
  1501. return _impl_.val_.Release();
  1502. }
  1503. inline void ExcelModel_Sheet_Cell::set_allocated_val(std::string* value) {
  1504. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1505. _impl_.val_.SetAllocated(value, GetArenaForAllocation());
  1506. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1507. if (_impl_.val_.IsDefault()) {
  1508. _impl_.val_.Set("", GetArenaForAllocation());
  1509. }
  1510. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1511. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.ExcelModel.Sheet.Cell.val)
  1512. }
  1513. // -------------------------------------------------------------------
  1514. // ExcelModel_Sheet
  1515. // string name = 1;
  1516. inline void ExcelModel_Sheet::clear_name() {
  1517. _impl_.name_.ClearToEmpty();
  1518. }
  1519. inline const std::string& ExcelModel_Sheet::name() const {
  1520. // @@protoc_insertion_point(field_get:palm.lily.v1.ExcelModel.Sheet.name)
  1521. return _internal_name();
  1522. }
  1523. template <typename Arg_, typename... Args_>
  1524. inline PROTOBUF_ALWAYS_INLINE void ExcelModel_Sheet::set_name(Arg_&& arg,
  1525. Args_... args) {
  1526. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1527. ;
  1528. _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  1529. // @@protoc_insertion_point(field_set:palm.lily.v1.ExcelModel.Sheet.name)
  1530. }
  1531. inline std::string* ExcelModel_Sheet::mutable_name() {
  1532. std::string* _s = _internal_mutable_name();
  1533. // @@protoc_insertion_point(field_mutable:palm.lily.v1.ExcelModel.Sheet.name)
  1534. return _s;
  1535. }
  1536. inline const std::string& ExcelModel_Sheet::_internal_name() const {
  1537. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1538. return _impl_.name_.Get();
  1539. }
  1540. inline void ExcelModel_Sheet::_internal_set_name(const std::string& value) {
  1541. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1542. ;
  1543. _impl_.name_.Set(value, GetArenaForAllocation());
  1544. }
  1545. inline std::string* ExcelModel_Sheet::_internal_mutable_name() {
  1546. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1547. ;
  1548. return _impl_.name_.Mutable( GetArenaForAllocation());
  1549. }
  1550. inline std::string* ExcelModel_Sheet::release_name() {
  1551. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1552. // @@protoc_insertion_point(field_release:palm.lily.v1.ExcelModel.Sheet.name)
  1553. return _impl_.name_.Release();
  1554. }
  1555. inline void ExcelModel_Sheet::set_allocated_name(std::string* value) {
  1556. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1557. _impl_.name_.SetAllocated(value, GetArenaForAllocation());
  1558. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1559. if (_impl_.name_.IsDefault()) {
  1560. _impl_.name_.Set("", GetArenaForAllocation());
  1561. }
  1562. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1563. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.ExcelModel.Sheet.name)
  1564. }
  1565. // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
  1566. inline int ExcelModel_Sheet::_internal_cells_size() const {
  1567. return _internal_cells().size();
  1568. }
  1569. inline int ExcelModel_Sheet::cells_size() const {
  1570. return _internal_cells_size();
  1571. }
  1572. inline void ExcelModel_Sheet::clear_cells() {
  1573. _internal_mutable_cells()->Clear();
  1574. }
  1575. inline ::palm::lily::v1::ExcelModel_Sheet_Cell* ExcelModel_Sheet::mutable_cells(int index) {
  1576. // @@protoc_insertion_point(field_mutable:palm.lily.v1.ExcelModel.Sheet.cells)
  1577. return _internal_mutable_cells()->Mutable(index);
  1578. }
  1579. inline ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet_Cell >*
  1580. ExcelModel_Sheet::mutable_cells() {
  1581. // @@protoc_insertion_point(field_mutable_list:palm.lily.v1.ExcelModel.Sheet.cells)
  1582. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1583. return _internal_mutable_cells();
  1584. }
  1585. inline const ::palm::lily::v1::ExcelModel_Sheet_Cell& ExcelModel_Sheet::cells(int index) const {
  1586. // @@protoc_insertion_point(field_get:palm.lily.v1.ExcelModel.Sheet.cells)
  1587. return _internal_cells().Get(index);
  1588. }
  1589. inline ::palm::lily::v1::ExcelModel_Sheet_Cell* ExcelModel_Sheet::add_cells() {
  1590. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1591. ::palm::lily::v1::ExcelModel_Sheet_Cell* _add = _internal_mutable_cells()->Add();
  1592. // @@protoc_insertion_point(field_add:palm.lily.v1.ExcelModel.Sheet.cells)
  1593. return _add;
  1594. }
  1595. inline const ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet_Cell >&
  1596. ExcelModel_Sheet::cells() const {
  1597. // @@protoc_insertion_point(field_list:palm.lily.v1.ExcelModel.Sheet.cells)
  1598. return _internal_cells();
  1599. }
  1600. inline const ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet_Cell>&
  1601. ExcelModel_Sheet::_internal_cells() const {
  1602. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1603. return _impl_.cells_;
  1604. }
  1605. inline ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet_Cell>*
  1606. ExcelModel_Sheet::_internal_mutable_cells() {
  1607. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1608. return &_impl_.cells_;
  1609. }
  1610. // -------------------------------------------------------------------
  1611. // ExcelModel
  1612. // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
  1613. inline int ExcelModel::_internal_sheets_size() const {
  1614. return _internal_sheets().size();
  1615. }
  1616. inline int ExcelModel::sheets_size() const {
  1617. return _internal_sheets_size();
  1618. }
  1619. inline void ExcelModel::clear_sheets() {
  1620. _internal_mutable_sheets()->Clear();
  1621. }
  1622. inline ::palm::lily::v1::ExcelModel_Sheet* ExcelModel::mutable_sheets(int index) {
  1623. // @@protoc_insertion_point(field_mutable:palm.lily.v1.ExcelModel.sheets)
  1624. return _internal_mutable_sheets()->Mutable(index);
  1625. }
  1626. inline ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet >*
  1627. ExcelModel::mutable_sheets() {
  1628. // @@protoc_insertion_point(field_mutable_list:palm.lily.v1.ExcelModel.sheets)
  1629. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1630. return _internal_mutable_sheets();
  1631. }
  1632. inline const ::palm::lily::v1::ExcelModel_Sheet& ExcelModel::sheets(int index) const {
  1633. // @@protoc_insertion_point(field_get:palm.lily.v1.ExcelModel.sheets)
  1634. return _internal_sheets().Get(index);
  1635. }
  1636. inline ::palm::lily::v1::ExcelModel_Sheet* ExcelModel::add_sheets() {
  1637. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1638. ::palm::lily::v1::ExcelModel_Sheet* _add = _internal_mutable_sheets()->Add();
  1639. // @@protoc_insertion_point(field_add:palm.lily.v1.ExcelModel.sheets)
  1640. return _add;
  1641. }
  1642. inline const ::google::protobuf::RepeatedPtrField< ::palm::lily::v1::ExcelModel_Sheet >&
  1643. ExcelModel::sheets() const {
  1644. // @@protoc_insertion_point(field_list:palm.lily.v1.ExcelModel.sheets)
  1645. return _internal_sheets();
  1646. }
  1647. inline const ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet>&
  1648. ExcelModel::_internal_sheets() const {
  1649. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1650. return _impl_.sheets_;
  1651. }
  1652. inline ::google::protobuf::RepeatedPtrField<::palm::lily::v1::ExcelModel_Sheet>*
  1653. ExcelModel::_internal_mutable_sheets() {
  1654. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1655. return &_impl_.sheets_;
  1656. }
  1657. // -------------------------------------------------------------------
  1658. // S3File
  1659. // string bucket = 1;
  1660. inline void S3File::clear_bucket() {
  1661. _impl_.bucket_.ClearToEmpty();
  1662. }
  1663. inline const std::string& S3File::bucket() const {
  1664. // @@protoc_insertion_point(field_get:palm.lily.v1.S3File.bucket)
  1665. return _internal_bucket();
  1666. }
  1667. template <typename Arg_, typename... Args_>
  1668. inline PROTOBUF_ALWAYS_INLINE void S3File::set_bucket(Arg_&& arg,
  1669. Args_... args) {
  1670. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1671. ;
  1672. _impl_.bucket_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  1673. // @@protoc_insertion_point(field_set:palm.lily.v1.S3File.bucket)
  1674. }
  1675. inline std::string* S3File::mutable_bucket() {
  1676. std::string* _s = _internal_mutable_bucket();
  1677. // @@protoc_insertion_point(field_mutable:palm.lily.v1.S3File.bucket)
  1678. return _s;
  1679. }
  1680. inline const std::string& S3File::_internal_bucket() const {
  1681. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1682. return _impl_.bucket_.Get();
  1683. }
  1684. inline void S3File::_internal_set_bucket(const std::string& value) {
  1685. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1686. ;
  1687. _impl_.bucket_.Set(value, GetArenaForAllocation());
  1688. }
  1689. inline std::string* S3File::_internal_mutable_bucket() {
  1690. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1691. ;
  1692. return _impl_.bucket_.Mutable( GetArenaForAllocation());
  1693. }
  1694. inline std::string* S3File::release_bucket() {
  1695. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1696. // @@protoc_insertion_point(field_release:palm.lily.v1.S3File.bucket)
  1697. return _impl_.bucket_.Release();
  1698. }
  1699. inline void S3File::set_allocated_bucket(std::string* value) {
  1700. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1701. _impl_.bucket_.SetAllocated(value, GetArenaForAllocation());
  1702. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1703. if (_impl_.bucket_.IsDefault()) {
  1704. _impl_.bucket_.Set("", GetArenaForAllocation());
  1705. }
  1706. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1707. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.S3File.bucket)
  1708. }
  1709. // string name = 2;
  1710. inline void S3File::clear_name() {
  1711. _impl_.name_.ClearToEmpty();
  1712. }
  1713. inline const std::string& S3File::name() const {
  1714. // @@protoc_insertion_point(field_get:palm.lily.v1.S3File.name)
  1715. return _internal_name();
  1716. }
  1717. template <typename Arg_, typename... Args_>
  1718. inline PROTOBUF_ALWAYS_INLINE void S3File::set_name(Arg_&& arg,
  1719. Args_... args) {
  1720. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1721. ;
  1722. _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  1723. // @@protoc_insertion_point(field_set:palm.lily.v1.S3File.name)
  1724. }
  1725. inline std::string* S3File::mutable_name() {
  1726. std::string* _s = _internal_mutable_name();
  1727. // @@protoc_insertion_point(field_mutable:palm.lily.v1.S3File.name)
  1728. return _s;
  1729. }
  1730. inline const std::string& S3File::_internal_name() const {
  1731. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1732. return _impl_.name_.Get();
  1733. }
  1734. inline void S3File::_internal_set_name(const std::string& value) {
  1735. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1736. ;
  1737. _impl_.name_.Set(value, GetArenaForAllocation());
  1738. }
  1739. inline std::string* S3File::_internal_mutable_name() {
  1740. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1741. ;
  1742. return _impl_.name_.Mutable( GetArenaForAllocation());
  1743. }
  1744. inline std::string* S3File::release_name() {
  1745. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1746. // @@protoc_insertion_point(field_release:palm.lily.v1.S3File.name)
  1747. return _impl_.name_.Release();
  1748. }
  1749. inline void S3File::set_allocated_name(std::string* value) {
  1750. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1751. _impl_.name_.SetAllocated(value, GetArenaForAllocation());
  1752. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1753. if (_impl_.name_.IsDefault()) {
  1754. _impl_.name_.Set("", GetArenaForAllocation());
  1755. }
  1756. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1757. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.S3File.name)
  1758. }
  1759. // string content_type = 9;
  1760. inline void S3File::clear_content_type() {
  1761. _impl_.content_type_.ClearToEmpty();
  1762. }
  1763. inline const std::string& S3File::content_type() const {
  1764. // @@protoc_insertion_point(field_get:palm.lily.v1.S3File.content_type)
  1765. return _internal_content_type();
  1766. }
  1767. template <typename Arg_, typename... Args_>
  1768. inline PROTOBUF_ALWAYS_INLINE void S3File::set_content_type(Arg_&& arg,
  1769. Args_... args) {
  1770. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1771. ;
  1772. _impl_.content_type_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  1773. // @@protoc_insertion_point(field_set:palm.lily.v1.S3File.content_type)
  1774. }
  1775. inline std::string* S3File::mutable_content_type() {
  1776. std::string* _s = _internal_mutable_content_type();
  1777. // @@protoc_insertion_point(field_mutable:palm.lily.v1.S3File.content_type)
  1778. return _s;
  1779. }
  1780. inline const std::string& S3File::_internal_content_type() const {
  1781. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1782. return _impl_.content_type_.Get();
  1783. }
  1784. inline void S3File::_internal_set_content_type(const std::string& value) {
  1785. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1786. ;
  1787. _impl_.content_type_.Set(value, GetArenaForAllocation());
  1788. }
  1789. inline std::string* S3File::_internal_mutable_content_type() {
  1790. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1791. ;
  1792. return _impl_.content_type_.Mutable( GetArenaForAllocation());
  1793. }
  1794. inline std::string* S3File::release_content_type() {
  1795. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1796. // @@protoc_insertion_point(field_release:palm.lily.v1.S3File.content_type)
  1797. return _impl_.content_type_.Release();
  1798. }
  1799. inline void S3File::set_allocated_content_type(std::string* value) {
  1800. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1801. _impl_.content_type_.SetAllocated(value, GetArenaForAllocation());
  1802. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1803. if (_impl_.content_type_.IsDefault()) {
  1804. _impl_.content_type_.Set("", GetArenaForAllocation());
  1805. }
  1806. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1807. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.S3File.content_type)
  1808. }
  1809. // -------------------------------------------------------------------
  1810. // S3GetFileRequest
  1811. // string bucket = 1;
  1812. inline void S3GetFileRequest::clear_bucket() {
  1813. _impl_.bucket_.ClearToEmpty();
  1814. }
  1815. inline const std::string& S3GetFileRequest::bucket() const {
  1816. // @@protoc_insertion_point(field_get:palm.lily.v1.S3GetFileRequest.bucket)
  1817. return _internal_bucket();
  1818. }
  1819. template <typename Arg_, typename... Args_>
  1820. inline PROTOBUF_ALWAYS_INLINE void S3GetFileRequest::set_bucket(Arg_&& arg,
  1821. Args_... args) {
  1822. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1823. ;
  1824. _impl_.bucket_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  1825. // @@protoc_insertion_point(field_set:palm.lily.v1.S3GetFileRequest.bucket)
  1826. }
  1827. inline std::string* S3GetFileRequest::mutable_bucket() {
  1828. std::string* _s = _internal_mutable_bucket();
  1829. // @@protoc_insertion_point(field_mutable:palm.lily.v1.S3GetFileRequest.bucket)
  1830. return _s;
  1831. }
  1832. inline const std::string& S3GetFileRequest::_internal_bucket() const {
  1833. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1834. return _impl_.bucket_.Get();
  1835. }
  1836. inline void S3GetFileRequest::_internal_set_bucket(const std::string& value) {
  1837. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1838. ;
  1839. _impl_.bucket_.Set(value, GetArenaForAllocation());
  1840. }
  1841. inline std::string* S3GetFileRequest::_internal_mutable_bucket() {
  1842. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1843. ;
  1844. return _impl_.bucket_.Mutable( GetArenaForAllocation());
  1845. }
  1846. inline std::string* S3GetFileRequest::release_bucket() {
  1847. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1848. // @@protoc_insertion_point(field_release:palm.lily.v1.S3GetFileRequest.bucket)
  1849. return _impl_.bucket_.Release();
  1850. }
  1851. inline void S3GetFileRequest::set_allocated_bucket(std::string* value) {
  1852. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1853. _impl_.bucket_.SetAllocated(value, GetArenaForAllocation());
  1854. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1855. if (_impl_.bucket_.IsDefault()) {
  1856. _impl_.bucket_.Set("", GetArenaForAllocation());
  1857. }
  1858. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1859. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.S3GetFileRequest.bucket)
  1860. }
  1861. // string name = 2;
  1862. inline void S3GetFileRequest::clear_name() {
  1863. _impl_.name_.ClearToEmpty();
  1864. }
  1865. inline const std::string& S3GetFileRequest::name() const {
  1866. // @@protoc_insertion_point(field_get:palm.lily.v1.S3GetFileRequest.name)
  1867. return _internal_name();
  1868. }
  1869. template <typename Arg_, typename... Args_>
  1870. inline PROTOBUF_ALWAYS_INLINE void S3GetFileRequest::set_name(Arg_&& arg,
  1871. Args_... args) {
  1872. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1873. ;
  1874. _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  1875. // @@protoc_insertion_point(field_set:palm.lily.v1.S3GetFileRequest.name)
  1876. }
  1877. inline std::string* S3GetFileRequest::mutable_name() {
  1878. std::string* _s = _internal_mutable_name();
  1879. // @@protoc_insertion_point(field_mutable:palm.lily.v1.S3GetFileRequest.name)
  1880. return _s;
  1881. }
  1882. inline const std::string& S3GetFileRequest::_internal_name() const {
  1883. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1884. return _impl_.name_.Get();
  1885. }
  1886. inline void S3GetFileRequest::_internal_set_name(const std::string& value) {
  1887. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1888. ;
  1889. _impl_.name_.Set(value, GetArenaForAllocation());
  1890. }
  1891. inline std::string* S3GetFileRequest::_internal_mutable_name() {
  1892. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1893. ;
  1894. return _impl_.name_.Mutable( GetArenaForAllocation());
  1895. }
  1896. inline std::string* S3GetFileRequest::release_name() {
  1897. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1898. // @@protoc_insertion_point(field_release:palm.lily.v1.S3GetFileRequest.name)
  1899. return _impl_.name_.Release();
  1900. }
  1901. inline void S3GetFileRequest::set_allocated_name(std::string* value) {
  1902. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1903. _impl_.name_.SetAllocated(value, GetArenaForAllocation());
  1904. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1905. if (_impl_.name_.IsDefault()) {
  1906. _impl_.name_.Set("", GetArenaForAllocation());
  1907. }
  1908. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1909. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.S3GetFileRequest.name)
  1910. }
  1911. // .google.protobuf.Duration ttl = 9;
  1912. inline bool S3GetFileRequest::has_ttl() const {
  1913. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  1914. PROTOBUF_ASSUME(!value || _impl_.ttl_ != nullptr);
  1915. return value;
  1916. }
  1917. inline const ::google::protobuf::Duration& S3GetFileRequest::_internal_ttl() const {
  1918. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  1919. const ::google::protobuf::Duration* p = _impl_.ttl_;
  1920. return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
  1921. }
  1922. inline const ::google::protobuf::Duration& S3GetFileRequest::ttl() const {
  1923. // @@protoc_insertion_point(field_get:palm.lily.v1.S3GetFileRequest.ttl)
  1924. return _internal_ttl();
  1925. }
  1926. inline void S3GetFileRequest::unsafe_arena_set_allocated_ttl(::google::protobuf::Duration* value) {
  1927. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1928. if (GetArenaForAllocation() == nullptr) {
  1929. delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ttl_);
  1930. }
  1931. _impl_.ttl_ = reinterpret_cast<::google::protobuf::Duration*>(value);
  1932. if (value != nullptr) {
  1933. _impl_._has_bits_[0] |= 0x00000001u;
  1934. } else {
  1935. _impl_._has_bits_[0] &= ~0x00000001u;
  1936. }
  1937. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:palm.lily.v1.S3GetFileRequest.ttl)
  1938. }
  1939. inline ::google::protobuf::Duration* S3GetFileRequest::release_ttl() {
  1940. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1941. _impl_._has_bits_[0] &= ~0x00000001u;
  1942. ::google::protobuf::Duration* released = _impl_.ttl_;
  1943. _impl_.ttl_ = nullptr;
  1944. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  1945. auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
  1946. released = ::google::protobuf::internal::DuplicateIfNonNull(released);
  1947. if (GetArenaForAllocation() == nullptr) {
  1948. delete old;
  1949. }
  1950. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  1951. if (GetArenaForAllocation() != nullptr) {
  1952. released = ::google::protobuf::internal::DuplicateIfNonNull(released);
  1953. }
  1954. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  1955. return released;
  1956. }
  1957. inline ::google::protobuf::Duration* S3GetFileRequest::unsafe_arena_release_ttl() {
  1958. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1959. // @@protoc_insertion_point(field_release:palm.lily.v1.S3GetFileRequest.ttl)
  1960. _impl_._has_bits_[0] &= ~0x00000001u;
  1961. ::google::protobuf::Duration* temp = _impl_.ttl_;
  1962. _impl_.ttl_ = nullptr;
  1963. return temp;
  1964. }
  1965. inline ::google::protobuf::Duration* S3GetFileRequest::_internal_mutable_ttl() {
  1966. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1967. _impl_._has_bits_[0] |= 0x00000001u;
  1968. if (_impl_.ttl_ == nullptr) {
  1969. auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaForAllocation());
  1970. _impl_.ttl_ = reinterpret_cast<::google::protobuf::Duration*>(p);
  1971. }
  1972. return _impl_.ttl_;
  1973. }
  1974. inline ::google::protobuf::Duration* S3GetFileRequest::mutable_ttl() {
  1975. ::google::protobuf::Duration* _msg = _internal_mutable_ttl();
  1976. // @@protoc_insertion_point(field_mutable:palm.lily.v1.S3GetFileRequest.ttl)
  1977. return _msg;
  1978. }
  1979. inline void S3GetFileRequest::set_allocated_ttl(::google::protobuf::Duration* value) {
  1980. ::google::protobuf::Arena* message_arena = GetArenaForAllocation();
  1981. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  1982. if (message_arena == nullptr) {
  1983. delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ttl_);
  1984. }
  1985. if (value != nullptr) {
  1986. ::google::protobuf::Arena* submessage_arena =
  1987. ::google::protobuf::Arena::InternalGetOwningArena(reinterpret_cast<::google::protobuf::MessageLite*>(value));
  1988. if (message_arena != submessage_arena) {
  1989. value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
  1990. }
  1991. _impl_._has_bits_[0] |= 0x00000001u;
  1992. } else {
  1993. _impl_._has_bits_[0] &= ~0x00000001u;
  1994. }
  1995. _impl_.ttl_ = reinterpret_cast<::google::protobuf::Duration*>(value);
  1996. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.S3GetFileRequest.ttl)
  1997. }
  1998. // -------------------------------------------------------------------
  1999. // S3GetFileResponse
  2000. // string url = 1;
  2001. inline void S3GetFileResponse::clear_url() {
  2002. _impl_.url_.ClearToEmpty();
  2003. }
  2004. inline const std::string& S3GetFileResponse::url() const {
  2005. // @@protoc_insertion_point(field_get:palm.lily.v1.S3GetFileResponse.url)
  2006. return _internal_url();
  2007. }
  2008. template <typename Arg_, typename... Args_>
  2009. inline PROTOBUF_ALWAYS_INLINE void S3GetFileResponse::set_url(Arg_&& arg,
  2010. Args_... args) {
  2011. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2012. ;
  2013. _impl_.url_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  2014. // @@protoc_insertion_point(field_set:palm.lily.v1.S3GetFileResponse.url)
  2015. }
  2016. inline std::string* S3GetFileResponse::mutable_url() {
  2017. std::string* _s = _internal_mutable_url();
  2018. // @@protoc_insertion_point(field_mutable:palm.lily.v1.S3GetFileResponse.url)
  2019. return _s;
  2020. }
  2021. inline const std::string& S3GetFileResponse::_internal_url() const {
  2022. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  2023. return _impl_.url_.Get();
  2024. }
  2025. inline void S3GetFileResponse::_internal_set_url(const std::string& value) {
  2026. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2027. ;
  2028. _impl_.url_.Set(value, GetArenaForAllocation());
  2029. }
  2030. inline std::string* S3GetFileResponse::_internal_mutable_url() {
  2031. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2032. ;
  2033. return _impl_.url_.Mutable( GetArenaForAllocation());
  2034. }
  2035. inline std::string* S3GetFileResponse::release_url() {
  2036. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2037. // @@protoc_insertion_point(field_release:palm.lily.v1.S3GetFileResponse.url)
  2038. return _impl_.url_.Release();
  2039. }
  2040. inline void S3GetFileResponse::set_allocated_url(std::string* value) {
  2041. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2042. _impl_.url_.SetAllocated(value, GetArenaForAllocation());
  2043. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2044. if (_impl_.url_.IsDefault()) {
  2045. _impl_.url_.Set("", GetArenaForAllocation());
  2046. }
  2047. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2048. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.S3GetFileResponse.url)
  2049. }
  2050. // -------------------------------------------------------------------
  2051. // -------------------------------------------------------------------
  2052. // TexToRequest
  2053. // string title = 1;
  2054. inline void TexToRequest::clear_title() {
  2055. _impl_.title_.ClearToEmpty();
  2056. }
  2057. inline const std::string& TexToRequest::title() const {
  2058. // @@protoc_insertion_point(field_get:palm.lily.v1.TexToRequest.title)
  2059. return _internal_title();
  2060. }
  2061. template <typename Arg_, typename... Args_>
  2062. inline PROTOBUF_ALWAYS_INLINE void TexToRequest::set_title(Arg_&& arg,
  2063. Args_... args) {
  2064. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2065. ;
  2066. _impl_.title_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  2067. // @@protoc_insertion_point(field_set:palm.lily.v1.TexToRequest.title)
  2068. }
  2069. inline std::string* TexToRequest::mutable_title() {
  2070. std::string* _s = _internal_mutable_title();
  2071. // @@protoc_insertion_point(field_mutable:palm.lily.v1.TexToRequest.title)
  2072. return _s;
  2073. }
  2074. inline const std::string& TexToRequest::_internal_title() const {
  2075. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  2076. return _impl_.title_.Get();
  2077. }
  2078. inline void TexToRequest::_internal_set_title(const std::string& value) {
  2079. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2080. ;
  2081. _impl_.title_.Set(value, GetArenaForAllocation());
  2082. }
  2083. inline std::string* TexToRequest::_internal_mutable_title() {
  2084. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2085. ;
  2086. return _impl_.title_.Mutable( GetArenaForAllocation());
  2087. }
  2088. inline std::string* TexToRequest::release_title() {
  2089. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2090. // @@protoc_insertion_point(field_release:palm.lily.v1.TexToRequest.title)
  2091. return _impl_.title_.Release();
  2092. }
  2093. inline void TexToRequest::set_allocated_title(std::string* value) {
  2094. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2095. _impl_.title_.SetAllocated(value, GetArenaForAllocation());
  2096. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2097. if (_impl_.title_.IsDefault()) {
  2098. _impl_.title_.Set("", GetArenaForAllocation());
  2099. }
  2100. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2101. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.TexToRequest.title)
  2102. }
  2103. // map<string, bytes> files = 2;
  2104. inline int TexToRequest::_internal_files_size() const {
  2105. return _internal_files().size();
  2106. }
  2107. inline int TexToRequest::files_size() const {
  2108. return _internal_files_size();
  2109. }
  2110. inline void TexToRequest::clear_files() {
  2111. _impl_.files_.Clear();
  2112. }
  2113. inline const ::google::protobuf::Map<std::string, std::string>& TexToRequest::_internal_files() const {
  2114. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  2115. return _impl_.files_.GetMap();
  2116. }
  2117. inline const ::google::protobuf::Map<std::string, std::string>& TexToRequest::files() const {
  2118. // @@protoc_insertion_point(field_map:palm.lily.v1.TexToRequest.files)
  2119. return _internal_files();
  2120. }
  2121. inline ::google::protobuf::Map<std::string, std::string>* TexToRequest::_internal_mutable_files() {
  2122. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2123. return _impl_.files_.MutableMap();
  2124. }
  2125. inline ::google::protobuf::Map<std::string, std::string>* TexToRequest::mutable_files() {
  2126. // @@protoc_insertion_point(field_mutable_map:palm.lily.v1.TexToRequest.files)
  2127. return _internal_mutable_files();
  2128. }
  2129. // optional .google.protobuf.Duration ttl = 7;
  2130. inline bool TexToRequest::has_ttl() const {
  2131. bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
  2132. PROTOBUF_ASSUME(!value || _impl_.ttl_ != nullptr);
  2133. return value;
  2134. }
  2135. inline const ::google::protobuf::Duration& TexToRequest::_internal_ttl() const {
  2136. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  2137. const ::google::protobuf::Duration* p = _impl_.ttl_;
  2138. return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Duration&>(::google::protobuf::_Duration_default_instance_);
  2139. }
  2140. inline const ::google::protobuf::Duration& TexToRequest::ttl() const {
  2141. // @@protoc_insertion_point(field_get:palm.lily.v1.TexToRequest.ttl)
  2142. return _internal_ttl();
  2143. }
  2144. inline void TexToRequest::unsafe_arena_set_allocated_ttl(::google::protobuf::Duration* value) {
  2145. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2146. if (GetArenaForAllocation() == nullptr) {
  2147. delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ttl_);
  2148. }
  2149. _impl_.ttl_ = reinterpret_cast<::google::protobuf::Duration*>(value);
  2150. if (value != nullptr) {
  2151. _impl_._has_bits_[0] |= 0x00000002u;
  2152. } else {
  2153. _impl_._has_bits_[0] &= ~0x00000002u;
  2154. }
  2155. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:palm.lily.v1.TexToRequest.ttl)
  2156. }
  2157. inline ::google::protobuf::Duration* TexToRequest::release_ttl() {
  2158. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2159. _impl_._has_bits_[0] &= ~0x00000002u;
  2160. ::google::protobuf::Duration* released = _impl_.ttl_;
  2161. _impl_.ttl_ = nullptr;
  2162. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  2163. auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
  2164. released = ::google::protobuf::internal::DuplicateIfNonNull(released);
  2165. if (GetArenaForAllocation() == nullptr) {
  2166. delete old;
  2167. }
  2168. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  2169. if (GetArenaForAllocation() != nullptr) {
  2170. released = ::google::protobuf::internal::DuplicateIfNonNull(released);
  2171. }
  2172. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  2173. return released;
  2174. }
  2175. inline ::google::protobuf::Duration* TexToRequest::unsafe_arena_release_ttl() {
  2176. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2177. // @@protoc_insertion_point(field_release:palm.lily.v1.TexToRequest.ttl)
  2178. _impl_._has_bits_[0] &= ~0x00000002u;
  2179. ::google::protobuf::Duration* temp = _impl_.ttl_;
  2180. _impl_.ttl_ = nullptr;
  2181. return temp;
  2182. }
  2183. inline ::google::protobuf::Duration* TexToRequest::_internal_mutable_ttl() {
  2184. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2185. _impl_._has_bits_[0] |= 0x00000002u;
  2186. if (_impl_.ttl_ == nullptr) {
  2187. auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaForAllocation());
  2188. _impl_.ttl_ = reinterpret_cast<::google::protobuf::Duration*>(p);
  2189. }
  2190. return _impl_.ttl_;
  2191. }
  2192. inline ::google::protobuf::Duration* TexToRequest::mutable_ttl() {
  2193. ::google::protobuf::Duration* _msg = _internal_mutable_ttl();
  2194. // @@protoc_insertion_point(field_mutable:palm.lily.v1.TexToRequest.ttl)
  2195. return _msg;
  2196. }
  2197. inline void TexToRequest::set_allocated_ttl(::google::protobuf::Duration* value) {
  2198. ::google::protobuf::Arena* message_arena = GetArenaForAllocation();
  2199. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2200. if (message_arena == nullptr) {
  2201. delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.ttl_);
  2202. }
  2203. if (value != nullptr) {
  2204. ::google::protobuf::Arena* submessage_arena =
  2205. ::google::protobuf::Arena::InternalGetOwningArena(reinterpret_cast<::google::protobuf::MessageLite*>(value));
  2206. if (message_arena != submessage_arena) {
  2207. value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
  2208. }
  2209. _impl_._has_bits_[0] |= 0x00000002u;
  2210. } else {
  2211. _impl_._has_bits_[0] &= ~0x00000002u;
  2212. }
  2213. _impl_.ttl_ = reinterpret_cast<::google::protobuf::Duration*>(value);
  2214. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.TexToRequest.ttl)
  2215. }
  2216. // optional string owner = 8;
  2217. inline bool TexToRequest::has_owner() const {
  2218. bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
  2219. return value;
  2220. }
  2221. inline void TexToRequest::clear_owner() {
  2222. _impl_.owner_.ClearToEmpty();
  2223. _impl_._has_bits_[0] &= ~0x00000001u;
  2224. }
  2225. inline const std::string& TexToRequest::owner() const {
  2226. // @@protoc_insertion_point(field_get:palm.lily.v1.TexToRequest.owner)
  2227. return _internal_owner();
  2228. }
  2229. template <typename Arg_, typename... Args_>
  2230. inline PROTOBUF_ALWAYS_INLINE void TexToRequest::set_owner(Arg_&& arg,
  2231. Args_... args) {
  2232. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2233. _impl_._has_bits_[0] |= 0x00000001u;
  2234. _impl_.owner_.Set(static_cast<Arg_&&>(arg), args..., GetArenaForAllocation());
  2235. // @@protoc_insertion_point(field_set:palm.lily.v1.TexToRequest.owner)
  2236. }
  2237. inline std::string* TexToRequest::mutable_owner() {
  2238. std::string* _s = _internal_mutable_owner();
  2239. // @@protoc_insertion_point(field_mutable:palm.lily.v1.TexToRequest.owner)
  2240. return _s;
  2241. }
  2242. inline const std::string& TexToRequest::_internal_owner() const {
  2243. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  2244. return _impl_.owner_.Get();
  2245. }
  2246. inline void TexToRequest::_internal_set_owner(const std::string& value) {
  2247. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2248. _impl_._has_bits_[0] |= 0x00000001u;
  2249. _impl_.owner_.Set(value, GetArenaForAllocation());
  2250. }
  2251. inline std::string* TexToRequest::_internal_mutable_owner() {
  2252. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2253. _impl_._has_bits_[0] |= 0x00000001u;
  2254. return _impl_.owner_.Mutable( GetArenaForAllocation());
  2255. }
  2256. inline std::string* TexToRequest::release_owner() {
  2257. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2258. // @@protoc_insertion_point(field_release:palm.lily.v1.TexToRequest.owner)
  2259. if ((_impl_._has_bits_[0] & 0x00000001u) == 0) {
  2260. return nullptr;
  2261. }
  2262. _impl_._has_bits_[0] &= ~0x00000001u;
  2263. auto* released = _impl_.owner_.Release();
  2264. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2265. _impl_.owner_.Set("", GetArenaForAllocation());
  2266. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2267. return released;
  2268. }
  2269. inline void TexToRequest::set_allocated_owner(std::string* value) {
  2270. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2271. if (value != nullptr) {
  2272. _impl_._has_bits_[0] |= 0x00000001u;
  2273. } else {
  2274. _impl_._has_bits_[0] &= ~0x00000001u;
  2275. }
  2276. _impl_.owner_.SetAllocated(value, GetArenaForAllocation());
  2277. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2278. if (_impl_.owner_.IsDefault()) {
  2279. _impl_.owner_.Set("", GetArenaForAllocation());
  2280. }
  2281. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2282. // @@protoc_insertion_point(field_set_allocated:palm.lily.v1.TexToRequest.owner)
  2283. }
  2284. // bool published = 9;
  2285. inline void TexToRequest::clear_published() {
  2286. _impl_.published_ = false;
  2287. }
  2288. inline bool TexToRequest::published() const {
  2289. // @@protoc_insertion_point(field_get:palm.lily.v1.TexToRequest.published)
  2290. return _internal_published();
  2291. }
  2292. inline void TexToRequest::set_published(bool value) {
  2293. _internal_set_published(value);
  2294. // @@protoc_insertion_point(field_set:palm.lily.v1.TexToRequest.published)
  2295. }
  2296. inline bool TexToRequest::_internal_published() const {
  2297. PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
  2298. return _impl_.published_;
  2299. }
  2300. inline void TexToRequest::_internal_set_published(bool value) {
  2301. PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
  2302. ;
  2303. _impl_.published_ = value;
  2304. }
  2305. // -------------------------------------------------------------------
  2306. // EpubBuildRequest
  2307. #ifdef __GNUC__
  2308. #pragma GCC diagnostic pop
  2309. #endif // __GNUC__
  2310. // @@protoc_insertion_point(namespace_scope)
  2311. } // namespace v1
  2312. } // namespace lily
  2313. } // namespace palm
  2314. // @@protoc_insertion_point(global_scope)
  2315. #include "google/protobuf/port_undef.inc"
  2316. #endif // GOOGLE_PROTOBUF_INCLUDED_lily_2eproto_2epb_2eh