lily.pb.cc 84 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: lily.proto
  3. #include "lily.pb.h"
  4. #include <algorithm>
  5. #include "google/protobuf/io/coded_stream.h"
  6. #include "google/protobuf/extension_set.h"
  7. #include "google/protobuf/wire_format_lite.h"
  8. #include "google/protobuf/descriptor.h"
  9. #include "google/protobuf/generated_message_reflection.h"
  10. #include "google/protobuf/reflection_ops.h"
  11. #include "google/protobuf/wire_format.h"
  12. #include "google/protobuf/generated_message_tctable_impl.h"
  13. // @@protoc_insertion_point(includes)
  14. // Must be included last.
  15. #include "google/protobuf/port_def.inc"
  16. PROTOBUF_PRAGMA_INIT_SEG
  17. namespace _pb = ::google::protobuf;
  18. namespace _pbi = ::google::protobuf::internal;
  19. namespace _fl = ::google::protobuf::internal::field_layout;
  20. namespace palm {
  21. namespace lily {
  22. namespace v1 {
  23. template <typename>
  24. PROTOBUF_CONSTEXPR ExcelModel_Sheet_Cell::ExcelModel_Sheet_Cell(::_pbi::ConstantInitialized)
  25. : _impl_{
  26. /*decltype(_impl_.val_)*/ {
  27. &::_pbi::fixed_address_empty_string,
  28. ::_pbi::ConstantInitialized{},
  29. },
  30. /*decltype(_impl_.row_)*/ 0u,
  31. /*decltype(_impl_.col_)*/ 0u,
  32. /*decltype(_impl_._cached_size_)*/ {},
  33. } {}
  34. struct ExcelModel_Sheet_CellDefaultTypeInternal {
  35. PROTOBUF_CONSTEXPR ExcelModel_Sheet_CellDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  36. ~ExcelModel_Sheet_CellDefaultTypeInternal() {}
  37. union {
  38. ExcelModel_Sheet_Cell _instance;
  39. };
  40. };
  41. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  42. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExcelModel_Sheet_CellDefaultTypeInternal _ExcelModel_Sheet_Cell_default_instance_;
  43. template <typename>
  44. PROTOBUF_CONSTEXPR ExcelModel_Sheet::ExcelModel_Sheet(::_pbi::ConstantInitialized)
  45. : _impl_{
  46. /*decltype(_impl_.cells_)*/ {},
  47. /*decltype(_impl_.name_)*/ {
  48. &::_pbi::fixed_address_empty_string,
  49. ::_pbi::ConstantInitialized{},
  50. },
  51. /*decltype(_impl_._cached_size_)*/ {},
  52. } {}
  53. struct ExcelModel_SheetDefaultTypeInternal {
  54. PROTOBUF_CONSTEXPR ExcelModel_SheetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  55. ~ExcelModel_SheetDefaultTypeInternal() {}
  56. union {
  57. ExcelModel_Sheet _instance;
  58. };
  59. };
  60. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  61. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExcelModel_SheetDefaultTypeInternal _ExcelModel_Sheet_default_instance_;
  62. template <typename>
  63. PROTOBUF_CONSTEXPR ExcelModel::ExcelModel(::_pbi::ConstantInitialized)
  64. : _impl_{
  65. /*decltype(_impl_.sheets_)*/ {},
  66. /*decltype(_impl_._cached_size_)*/ {},
  67. } {}
  68. struct ExcelModelDefaultTypeInternal {
  69. PROTOBUF_CONSTEXPR ExcelModelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  70. ~ExcelModelDefaultTypeInternal() {}
  71. union {
  72. ExcelModel _instance;
  73. };
  74. };
  75. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  76. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExcelModelDefaultTypeInternal _ExcelModel_default_instance_;
  77. template <typename>
  78. PROTOBUF_CONSTEXPR S3File::S3File(::_pbi::ConstantInitialized)
  79. : _impl_{
  80. /*decltype(_impl_.bucket_)*/ {
  81. &::_pbi::fixed_address_empty_string,
  82. ::_pbi::ConstantInitialized{},
  83. },
  84. /*decltype(_impl_.name_)*/ {
  85. &::_pbi::fixed_address_empty_string,
  86. ::_pbi::ConstantInitialized{},
  87. },
  88. /*decltype(_impl_.content_type_)*/ {
  89. &::_pbi::fixed_address_empty_string,
  90. ::_pbi::ConstantInitialized{},
  91. },
  92. /*decltype(_impl_._cached_size_)*/ {},
  93. } {}
  94. struct S3FileDefaultTypeInternal {
  95. PROTOBUF_CONSTEXPR S3FileDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  96. ~S3FileDefaultTypeInternal() {}
  97. union {
  98. S3File _instance;
  99. };
  100. };
  101. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  102. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 S3FileDefaultTypeInternal _S3File_default_instance_;
  103. template <typename>
  104. PROTOBUF_CONSTEXPR S3GetFileRequest::S3GetFileRequest(::_pbi::ConstantInitialized)
  105. : _impl_{
  106. /*decltype(_impl_._has_bits_)*/ {},
  107. /*decltype(_impl_._cached_size_)*/ {},
  108. /*decltype(_impl_.bucket_)*/ {
  109. &::_pbi::fixed_address_empty_string,
  110. ::_pbi::ConstantInitialized{},
  111. },
  112. /*decltype(_impl_.name_)*/ {
  113. &::_pbi::fixed_address_empty_string,
  114. ::_pbi::ConstantInitialized{},
  115. },
  116. /*decltype(_impl_.ttl_)*/ nullptr,
  117. } {}
  118. struct S3GetFileRequestDefaultTypeInternal {
  119. PROTOBUF_CONSTEXPR S3GetFileRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  120. ~S3GetFileRequestDefaultTypeInternal() {}
  121. union {
  122. S3GetFileRequest _instance;
  123. };
  124. };
  125. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  126. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 S3GetFileRequestDefaultTypeInternal _S3GetFileRequest_default_instance_;
  127. template <typename>
  128. PROTOBUF_CONSTEXPR S3GetFileResponse::S3GetFileResponse(::_pbi::ConstantInitialized)
  129. : _impl_{
  130. /*decltype(_impl_.url_)*/ {
  131. &::_pbi::fixed_address_empty_string,
  132. ::_pbi::ConstantInitialized{},
  133. },
  134. /*decltype(_impl_._cached_size_)*/ {},
  135. } {}
  136. struct S3GetFileResponseDefaultTypeInternal {
  137. PROTOBUF_CONSTEXPR S3GetFileResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  138. ~S3GetFileResponseDefaultTypeInternal() {}
  139. union {
  140. S3GetFileResponse _instance;
  141. };
  142. };
  143. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  144. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 S3GetFileResponseDefaultTypeInternal _S3GetFileResponse_default_instance_;
  145. template <typename>
  146. PROTOBUF_CONSTEXPR TexToRequest_FilesEntry_DoNotUse::TexToRequest_FilesEntry_DoNotUse(::_pbi::ConstantInitialized) {}
  147. struct TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal {
  148. PROTOBUF_CONSTEXPR TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  149. ~TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal() {}
  150. union {
  151. TexToRequest_FilesEntry_DoNotUse _instance;
  152. };
  153. };
  154. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  155. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal _TexToRequest_FilesEntry_DoNotUse_default_instance_;
  156. template <typename>
  157. PROTOBUF_CONSTEXPR TexToRequest::TexToRequest(::_pbi::ConstantInitialized)
  158. : _impl_{
  159. /*decltype(_impl_._has_bits_)*/ {},
  160. /*decltype(_impl_._cached_size_)*/ {},
  161. /* decltype(_impl_.files_) */ {},
  162. /*decltype(_impl_.title_)*/ {
  163. &::_pbi::fixed_address_empty_string,
  164. ::_pbi::ConstantInitialized{},
  165. },
  166. /*decltype(_impl_.owner_)*/ {
  167. &::_pbi::fixed_address_empty_string,
  168. ::_pbi::ConstantInitialized{},
  169. },
  170. /*decltype(_impl_.ttl_)*/ nullptr,
  171. /*decltype(_impl_.published_)*/ false,
  172. } {}
  173. struct TexToRequestDefaultTypeInternal {
  174. PROTOBUF_CONSTEXPR TexToRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  175. ~TexToRequestDefaultTypeInternal() {}
  176. union {
  177. TexToRequest _instance;
  178. };
  179. };
  180. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  181. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TexToRequestDefaultTypeInternal _TexToRequest_default_instance_;
  182. template <typename>
  183. PROTOBUF_CONSTEXPR EpubBuildRequest::EpubBuildRequest(::_pbi::ConstantInitialized) {}
  184. struct EpubBuildRequestDefaultTypeInternal {
  185. PROTOBUF_CONSTEXPR EpubBuildRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
  186. ~EpubBuildRequestDefaultTypeInternal() {}
  187. union {
  188. EpubBuildRequest _instance;
  189. };
  190. };
  191. PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
  192. PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EpubBuildRequestDefaultTypeInternal _EpubBuildRequest_default_instance_;
  193. } // namespace v1
  194. } // namespace lily
  195. } // namespace palm
  196. static ::_pb::Metadata file_level_metadata_lily_2eproto[9];
  197. static constexpr const ::_pb::EnumDescriptor**
  198. file_level_enum_descriptors_lily_2eproto = nullptr;
  199. static constexpr const ::_pb::ServiceDescriptor**
  200. file_level_service_descriptors_lily_2eproto = nullptr;
  201. const ::uint32_t TableStruct_lily_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
  202. protodesc_cold) = {
  203. ~0u, // no _has_bits_
  204. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _internal_metadata_),
  205. ~0u, // no _extensions_
  206. ~0u, // no _oneof_case_
  207. ~0u, // no _weak_field_map_
  208. ~0u, // no _inlined_string_donated_
  209. ~0u, // no _split_
  210. ~0u, // no sizeof(Split)
  211. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _impl_.row_),
  212. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _impl_.col_),
  213. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _impl_.val_),
  214. ~0u, // no _has_bits_
  215. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet, _internal_metadata_),
  216. ~0u, // no _extensions_
  217. ~0u, // no _oneof_case_
  218. ~0u, // no _weak_field_map_
  219. ~0u, // no _inlined_string_donated_
  220. ~0u, // no _split_
  221. ~0u, // no sizeof(Split)
  222. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet, _impl_.name_),
  223. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet, _impl_.cells_),
  224. ~0u, // no _has_bits_
  225. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel, _internal_metadata_),
  226. ~0u, // no _extensions_
  227. ~0u, // no _oneof_case_
  228. ~0u, // no _weak_field_map_
  229. ~0u, // no _inlined_string_donated_
  230. ~0u, // no _split_
  231. ~0u, // no sizeof(Split)
  232. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel, _impl_.sheets_),
  233. ~0u, // no _has_bits_
  234. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _internal_metadata_),
  235. ~0u, // no _extensions_
  236. ~0u, // no _oneof_case_
  237. ~0u, // no _weak_field_map_
  238. ~0u, // no _inlined_string_donated_
  239. ~0u, // no _split_
  240. ~0u, // no sizeof(Split)
  241. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _impl_.bucket_),
  242. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _impl_.name_),
  243. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _impl_.content_type_),
  244. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_._has_bits_),
  245. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _internal_metadata_),
  246. ~0u, // no _extensions_
  247. ~0u, // no _oneof_case_
  248. ~0u, // no _weak_field_map_
  249. ~0u, // no _inlined_string_donated_
  250. ~0u, // no _split_
  251. ~0u, // no sizeof(Split)
  252. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_.bucket_),
  253. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_.name_),
  254. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_.ttl_),
  255. ~0u,
  256. ~0u,
  257. 0,
  258. ~0u, // no _has_bits_
  259. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileResponse, _internal_metadata_),
  260. ~0u, // no _extensions_
  261. ~0u, // no _oneof_case_
  262. ~0u, // no _weak_field_map_
  263. ~0u, // no _inlined_string_donated_
  264. ~0u, // no _split_
  265. ~0u, // no sizeof(Split)
  266. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileResponse, _impl_.url_),
  267. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, _has_bits_),
  268. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, _internal_metadata_),
  269. ~0u, // no _extensions_
  270. ~0u, // no _oneof_case_
  271. ~0u, // no _weak_field_map_
  272. ~0u, // no _inlined_string_donated_
  273. ~0u, // no _split_
  274. ~0u, // no sizeof(Split)
  275. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, key_),
  276. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, value_),
  277. 0,
  278. 1,
  279. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_._has_bits_),
  280. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _internal_metadata_),
  281. ~0u, // no _extensions_
  282. ~0u, // no _oneof_case_
  283. ~0u, // no _weak_field_map_
  284. ~0u, // no _inlined_string_donated_
  285. ~0u, // no _split_
  286. ~0u, // no sizeof(Split)
  287. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.title_),
  288. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.files_),
  289. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.ttl_),
  290. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.owner_),
  291. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.published_),
  292. ~0u,
  293. ~0u,
  294. 1,
  295. 0,
  296. ~0u,
  297. ~0u, // no _has_bits_
  298. PROTOBUF_FIELD_OFFSET(::palm::lily::v1::EpubBuildRequest, _internal_metadata_),
  299. ~0u, // no _extensions_
  300. ~0u, // no _oneof_case_
  301. ~0u, // no _weak_field_map_
  302. ~0u, // no _inlined_string_donated_
  303. ~0u, // no _split_
  304. ~0u, // no sizeof(Split)
  305. };
  306. static const ::_pbi::MigrationSchema
  307. schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  308. {0, -1, -1, sizeof(::palm::lily::v1::ExcelModel_Sheet_Cell)},
  309. {11, -1, -1, sizeof(::palm::lily::v1::ExcelModel_Sheet)},
  310. {21, -1, -1, sizeof(::palm::lily::v1::ExcelModel)},
  311. {30, -1, -1, sizeof(::palm::lily::v1::S3File)},
  312. {41, 52, -1, sizeof(::palm::lily::v1::S3GetFileRequest)},
  313. {55, -1, -1, sizeof(::palm::lily::v1::S3GetFileResponse)},
  314. {64, 74, -1, sizeof(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse)},
  315. {76, 89, -1, sizeof(::palm::lily::v1::TexToRequest)},
  316. {94, -1, -1, sizeof(::palm::lily::v1::EpubBuildRequest)},
  317. };
  318. static const ::_pb::Message* const file_default_instances[] = {
  319. &::palm::lily::v1::_ExcelModel_Sheet_Cell_default_instance_._instance,
  320. &::palm::lily::v1::_ExcelModel_Sheet_default_instance_._instance,
  321. &::palm::lily::v1::_ExcelModel_default_instance_._instance,
  322. &::palm::lily::v1::_S3File_default_instance_._instance,
  323. &::palm::lily::v1::_S3GetFileRequest_default_instance_._instance,
  324. &::palm::lily::v1::_S3GetFileResponse_default_instance_._instance,
  325. &::palm::lily::v1::_TexToRequest_FilesEntry_DoNotUse_default_instance_._instance,
  326. &::palm::lily::v1::_TexToRequest_default_instance_._instance,
  327. &::palm::lily::v1::_EpubBuildRequest_default_instance_._instance,
  328. };
  329. const char descriptor_table_protodef_lily_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
  330. "\n\nlily.proto\022\014palm.lily.v1\032\036google/proto"
  331. "buf/duration.proto\"\266\001\n\nExcelModel\022.\n\006she"
  332. "ets\030\001 \003(\0132\036.palm.lily.v1.ExcelModel.Shee"
  333. "t\032x\n\005Sheet\022\014\n\004name\030\001 \001(\t\0222\n\005cells\030\002 \003(\0132"
  334. "#.palm.lily.v1.ExcelModel.Sheet.Cell\032-\n\004"
  335. "Cell\022\013\n\003row\030\001 \001(\r\022\013\n\003col\030\002 \001(\r\022\013\n\003val\030\003 "
  336. "\001(\t\"<\n\006S3File\022\016\n\006bucket\030\001 \001(\t\022\014\n\004name\030\002 "
  337. "\001(\t\022\024\n\014content_type\030\t \001(\t\"X\n\020S3GetFileRe"
  338. "quest\022\016\n\006bucket\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022&\n\003t"
  339. "tl\030\t \001(\0132\031.google.protobuf.Duration\" \n\021S"
  340. "3GetFileResponse\022\013\n\003url\030\001 \001(\t\"\347\001\n\014TexToR"
  341. "equest\022\r\n\005title\030\001 \001(\t\0224\n\005files\030\002 \003(\0132%.p"
  342. "alm.lily.v1.TexToRequest.FilesEntry\022+\n\003t"
  343. "tl\030\007 \001(\0132\031.google.protobuf.DurationH\000\210\001\001"
  344. "\022\022\n\005owner\030\010 \001(\tH\001\210\001\001\022\021\n\tpublished\030\t \001(\010\032"
  345. ",\n\nFilesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
  346. "\014:\0028\001B\006\n\004_ttlB\010\n\006_owner\"\022\n\020EpubBuildRequ"
  347. "est2\200\001\n\005Excel\0229\n\005Parse\022\024.palm.lily.v1.S3"
  348. "File\032\030.palm.lily.v1.ExcelModel\"\000\022<\n\010Gene"
  349. "rate\022\030.palm.lily.v1.ExcelModel\032\024.palm.li"
  350. "ly.v1.S3File\"\0002R\n\002S3\022L\n\007GetFile\022\036.palm.l"
  351. "ily.v1.S3GetFileRequest\032\037.palm.lily.v1.S"
  352. "3GetFileResponse\"\0002\200\001\n\003Tex\022;\n\005ToPdf\022\032.pa"
  353. "lm.lily.v1.TexToRequest\032\024.palm.lily.v1.S"
  354. "3File\"\000\022<\n\006ToWord\022\032.palm.lily.v1.TexToRe"
  355. "quest\032\024.palm.lily.v1.S3File\"\0002G\n\004Epub\022\?\n"
  356. "\005Build\022\036.palm.lily.v1.EpubBuildRequest\032\024"
  357. ".palm.lily.v1.S3File\"\000B.\n*com.github.sat"
  358. "urn_xiv.palm.plugins.lily.v1P\001b\006proto3"
  359. };
  360. static const ::_pbi::DescriptorTable* const descriptor_table_lily_2eproto_deps[1] =
  361. {
  362. &::descriptor_table_google_2fprotobuf_2fduration_2eproto,
  363. };
  364. static ::absl::once_flag descriptor_table_lily_2eproto_once;
  365. const ::_pbi::DescriptorTable descriptor_table_lily_2eproto = {
  366. false,
  367. false,
  368. 1158,
  369. descriptor_table_protodef_lily_2eproto,
  370. "lily.proto",
  371. &descriptor_table_lily_2eproto_once,
  372. descriptor_table_lily_2eproto_deps,
  373. 1,
  374. 9,
  375. schemas,
  376. file_default_instances,
  377. TableStruct_lily_2eproto::offsets,
  378. file_level_metadata_lily_2eproto,
  379. file_level_enum_descriptors_lily_2eproto,
  380. file_level_service_descriptors_lily_2eproto,
  381. };
  382. // This function exists to be marked as weak.
  383. // It can significantly speed up compilation by breaking up LLVM's SCC
  384. // in the .pb.cc translation units. Large translation units see a
  385. // reduction of more than 35% of walltime for optimized builds. Without
  386. // the weak attribute all the messages in the file, including all the
  387. // vtables and everything they use become part of the same SCC through
  388. // a cycle like:
  389. // GetMetadata -> descriptor table -> default instances ->
  390. // vtables -> GetMetadata
  391. // By adding a weak function here we break the connection from the
  392. // individual vtables back into the descriptor table.
  393. PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_lily_2eproto_getter() {
  394. return &descriptor_table_lily_2eproto;
  395. }
  396. // Force running AddDescriptors() at dynamic initialization time.
  397. PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
  398. static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_lily_2eproto(&descriptor_table_lily_2eproto);
  399. namespace palm {
  400. namespace lily {
  401. namespace v1 {
  402. // ===================================================================
  403. class ExcelModel_Sheet_Cell::_Internal {
  404. public:
  405. };
  406. ExcelModel_Sheet_Cell::ExcelModel_Sheet_Cell(::google::protobuf::Arena* arena)
  407. : ::google::protobuf::Message(arena) {
  408. SharedCtor(arena);
  409. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.ExcelModel.Sheet.Cell)
  410. }
  411. ExcelModel_Sheet_Cell::ExcelModel_Sheet_Cell(const ExcelModel_Sheet_Cell& from) : ::google::protobuf::Message() {
  412. ExcelModel_Sheet_Cell* const _this = this;
  413. (void)_this;
  414. new (&_impl_) Impl_{
  415. decltype(_impl_.val_){},
  416. decltype(_impl_.row_){},
  417. decltype(_impl_.col_){},
  418. /*decltype(_impl_._cached_size_)*/ {},
  419. };
  420. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  421. from._internal_metadata_);
  422. _impl_.val_.InitDefault();
  423. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  424. _impl_.val_.Set("", GetArenaForAllocation());
  425. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  426. if (!from._internal_val().empty()) {
  427. _this->_impl_.val_.Set(from._internal_val(), _this->GetArenaForAllocation());
  428. }
  429. ::memcpy(&_impl_.row_, &from._impl_.row_,
  430. static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.col_) -
  431. reinterpret_cast<char*>(&_impl_.row_)) + sizeof(_impl_.col_));
  432. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.ExcelModel.Sheet.Cell)
  433. }
  434. inline void ExcelModel_Sheet_Cell::SharedCtor(::_pb::Arena* arena) {
  435. (void)arena;
  436. new (&_impl_) Impl_{
  437. decltype(_impl_.val_){},
  438. decltype(_impl_.row_){0u},
  439. decltype(_impl_.col_){0u},
  440. /*decltype(_impl_._cached_size_)*/ {},
  441. };
  442. _impl_.val_.InitDefault();
  443. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  444. _impl_.val_.Set("", GetArenaForAllocation());
  445. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  446. }
  447. ExcelModel_Sheet_Cell::~ExcelModel_Sheet_Cell() {
  448. // @@protoc_insertion_point(destructor:palm.lily.v1.ExcelModel.Sheet.Cell)
  449. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  450. SharedDtor();
  451. }
  452. inline void ExcelModel_Sheet_Cell::SharedDtor() {
  453. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  454. _impl_.val_.Destroy();
  455. }
  456. void ExcelModel_Sheet_Cell::SetCachedSize(int size) const {
  457. _impl_._cached_size_.Set(size);
  458. }
  459. PROTOBUF_NOINLINE void ExcelModel_Sheet_Cell::Clear() {
  460. // @@protoc_insertion_point(message_clear_start:palm.lily.v1.ExcelModel.Sheet.Cell)
  461. ::uint32_t cached_has_bits = 0;
  462. // Prevent compiler warnings about cached_has_bits being unused
  463. (void) cached_has_bits;
  464. _impl_.val_.ClearToEmpty();
  465. ::memset(&_impl_.row_, 0, static_cast<::size_t>(
  466. reinterpret_cast<char*>(&_impl_.col_) -
  467. reinterpret_cast<char*>(&_impl_.row_)) + sizeof(_impl_.col_));
  468. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  469. }
  470. const char* ExcelModel_Sheet_Cell::_InternalParse(
  471. const char* ptr, ::_pbi::ParseContext* ctx) {
  472. ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
  473. return ptr;
  474. }
  475. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  476. const ::_pbi::TcParseTable<2, 3, 0, 46, 2> ExcelModel_Sheet_Cell::_table_ = {
  477. {
  478. 0, // no _has_bits_
  479. 0, // no _extensions_
  480. 3, 24, // max_field_number, fast_idx_mask
  481. offsetof(decltype(_table_), field_lookup_table),
  482. 4294967288, // skipmap
  483. offsetof(decltype(_table_), field_entries),
  484. 3, // num_field_entries
  485. 0, // num_aux_entries
  486. offsetof(decltype(_table_), field_names), // no aux_entries
  487. &_ExcelModel_Sheet_Cell_default_instance_._instance,
  488. ::_pbi::TcParser::GenericFallback, // fallback
  489. }, {{
  490. {::_pbi::TcParser::MiniParse, {}},
  491. // uint32 row = 1;
  492. {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ExcelModel_Sheet_Cell, _impl_.row_), 63>(),
  493. {8, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.row_)}},
  494. // uint32 col = 2;
  495. {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ExcelModel_Sheet_Cell, _impl_.col_), 63>(),
  496. {16, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.col_)}},
  497. // string val = 3;
  498. {::_pbi::TcParser::FastUS1,
  499. {26, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.val_)}},
  500. }}, {{
  501. 65535, 65535
  502. }}, {{
  503. // uint32 row = 1;
  504. {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.row_), 0, 0,
  505. (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
  506. // uint32 col = 2;
  507. {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.col_), 0, 0,
  508. (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
  509. // string val = 3;
  510. {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.val_), 0, 0,
  511. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  512. }},
  513. // no aux_entries
  514. {{
  515. "\42\0\0\3\0\0\0\0"
  516. "palm.lily.v1.ExcelModel.Sheet.Cell"
  517. "val"
  518. }},
  519. };
  520. ::uint8_t* ExcelModel_Sheet_Cell::_InternalSerialize(
  521. ::uint8_t* target,
  522. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  523. // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.ExcelModel.Sheet.Cell)
  524. ::uint32_t cached_has_bits = 0;
  525. (void)cached_has_bits;
  526. // uint32 row = 1;
  527. if (this->_internal_row() != 0) {
  528. target = stream->EnsureSpace(target);
  529. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  530. 1, this->_internal_row(), target);
  531. }
  532. // uint32 col = 2;
  533. if (this->_internal_col() != 0) {
  534. target = stream->EnsureSpace(target);
  535. target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
  536. 2, this->_internal_col(), target);
  537. }
  538. // string val = 3;
  539. if (!this->_internal_val().empty()) {
  540. const std::string& _s = this->_internal_val();
  541. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  542. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.ExcelModel.Sheet.Cell.val");
  543. target = stream->WriteStringMaybeAliased(3, _s, target);
  544. }
  545. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  546. target =
  547. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  548. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  549. }
  550. // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.ExcelModel.Sheet.Cell)
  551. return target;
  552. }
  553. ::size_t ExcelModel_Sheet_Cell::ByteSizeLong() const {
  554. // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.ExcelModel.Sheet.Cell)
  555. ::size_t total_size = 0;
  556. ::uint32_t cached_has_bits = 0;
  557. // Prevent compiler warnings about cached_has_bits being unused
  558. (void) cached_has_bits;
  559. // string val = 3;
  560. if (!this->_internal_val().empty()) {
  561. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  562. this->_internal_val());
  563. }
  564. // uint32 row = 1;
  565. if (this->_internal_row() != 0) {
  566. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  567. this->_internal_row());
  568. }
  569. // uint32 col = 2;
  570. if (this->_internal_col() != 0) {
  571. total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
  572. this->_internal_col());
  573. }
  574. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  575. }
  576. const ::google::protobuf::Message::ClassData ExcelModel_Sheet_Cell::_class_data_ = {
  577. ::google::protobuf::Message::CopyWithSourceCheck,
  578. ExcelModel_Sheet_Cell::MergeImpl
  579. };
  580. const ::google::protobuf::Message::ClassData*ExcelModel_Sheet_Cell::GetClassData() const { return &_class_data_; }
  581. void ExcelModel_Sheet_Cell::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
  582. auto* const _this = static_cast<ExcelModel_Sheet_Cell*>(&to_msg);
  583. auto& from = static_cast<const ExcelModel_Sheet_Cell&>(from_msg);
  584. // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.ExcelModel.Sheet.Cell)
  585. ABSL_DCHECK_NE(&from, _this);
  586. ::uint32_t cached_has_bits = 0;
  587. (void) cached_has_bits;
  588. if (!from._internal_val().empty()) {
  589. _this->_internal_set_val(from._internal_val());
  590. }
  591. if (from._internal_row() != 0) {
  592. _this->_internal_set_row(from._internal_row());
  593. }
  594. if (from._internal_col() != 0) {
  595. _this->_internal_set_col(from._internal_col());
  596. }
  597. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  598. }
  599. void ExcelModel_Sheet_Cell::CopyFrom(const ExcelModel_Sheet_Cell& from) {
  600. // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.ExcelModel.Sheet.Cell)
  601. if (&from == this) return;
  602. Clear();
  603. MergeFrom(from);
  604. }
  605. PROTOBUF_NOINLINE bool ExcelModel_Sheet_Cell::IsInitialized() const {
  606. return true;
  607. }
  608. void ExcelModel_Sheet_Cell::InternalSwap(ExcelModel_Sheet_Cell* other) {
  609. using std::swap;
  610. auto* lhs_arena = GetArenaForAllocation();
  611. auto* rhs_arena = other->GetArenaForAllocation();
  612. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  613. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.val_, lhs_arena,
  614. &other->_impl_.val_, rhs_arena);
  615. ::google::protobuf::internal::memswap<
  616. PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.col_)
  617. + sizeof(ExcelModel_Sheet_Cell::_impl_.col_)
  618. - PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.row_)>(
  619. reinterpret_cast<char*>(&_impl_.row_),
  620. reinterpret_cast<char*>(&other->_impl_.row_));
  621. }
  622. ::google::protobuf::Metadata ExcelModel_Sheet_Cell::GetMetadata() const {
  623. return ::_pbi::AssignDescriptors(
  624. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  625. file_level_metadata_lily_2eproto[0]);
  626. }
  627. // ===================================================================
  628. class ExcelModel_Sheet::_Internal {
  629. public:
  630. };
  631. ExcelModel_Sheet::ExcelModel_Sheet(::google::protobuf::Arena* arena)
  632. : ::google::protobuf::Message(arena) {
  633. SharedCtor(arena);
  634. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.ExcelModel.Sheet)
  635. }
  636. ExcelModel_Sheet::ExcelModel_Sheet(const ExcelModel_Sheet& from) : ::google::protobuf::Message() {
  637. ExcelModel_Sheet* const _this = this;
  638. (void)_this;
  639. new (&_impl_) Impl_{
  640. decltype(_impl_.cells_){from._impl_.cells_},
  641. decltype(_impl_.name_){},
  642. /*decltype(_impl_._cached_size_)*/ {},
  643. };
  644. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  645. from._internal_metadata_);
  646. _impl_.name_.InitDefault();
  647. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  648. _impl_.name_.Set("", GetArenaForAllocation());
  649. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  650. if (!from._internal_name().empty()) {
  651. _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
  652. }
  653. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.ExcelModel.Sheet)
  654. }
  655. inline void ExcelModel_Sheet::SharedCtor(::_pb::Arena* arena) {
  656. (void)arena;
  657. new (&_impl_) Impl_{
  658. decltype(_impl_.cells_){arena},
  659. decltype(_impl_.name_){},
  660. /*decltype(_impl_._cached_size_)*/ {},
  661. };
  662. _impl_.name_.InitDefault();
  663. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  664. _impl_.name_.Set("", GetArenaForAllocation());
  665. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  666. }
  667. ExcelModel_Sheet::~ExcelModel_Sheet() {
  668. // @@protoc_insertion_point(destructor:palm.lily.v1.ExcelModel.Sheet)
  669. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  670. SharedDtor();
  671. }
  672. inline void ExcelModel_Sheet::SharedDtor() {
  673. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  674. _impl_.cells_.~RepeatedPtrField();
  675. _impl_.name_.Destroy();
  676. }
  677. void ExcelModel_Sheet::SetCachedSize(int size) const {
  678. _impl_._cached_size_.Set(size);
  679. }
  680. PROTOBUF_NOINLINE void ExcelModel_Sheet::Clear() {
  681. // @@protoc_insertion_point(message_clear_start:palm.lily.v1.ExcelModel.Sheet)
  682. ::uint32_t cached_has_bits = 0;
  683. // Prevent compiler warnings about cached_has_bits being unused
  684. (void) cached_has_bits;
  685. _internal_mutable_cells()->Clear();
  686. _impl_.name_.ClearToEmpty();
  687. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  688. }
  689. const char* ExcelModel_Sheet::_InternalParse(
  690. const char* ptr, ::_pbi::ParseContext* ctx) {
  691. ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
  692. return ptr;
  693. }
  694. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  695. const ::_pbi::TcParseTable<1, 2, 1, 42, 2> ExcelModel_Sheet::_table_ = {
  696. {
  697. 0, // no _has_bits_
  698. 0, // no _extensions_
  699. 2, 8, // max_field_number, fast_idx_mask
  700. offsetof(decltype(_table_), field_lookup_table),
  701. 4294967292, // skipmap
  702. offsetof(decltype(_table_), field_entries),
  703. 2, // num_field_entries
  704. 1, // num_aux_entries
  705. offsetof(decltype(_table_), aux_entries),
  706. &_ExcelModel_Sheet_default_instance_._instance,
  707. ::_pbi::TcParser::GenericFallback, // fallback
  708. }, {{
  709. // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
  710. {::_pbi::TcParser::FastMtR1,
  711. {18, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.cells_)}},
  712. // string name = 1;
  713. {::_pbi::TcParser::FastUS1,
  714. {10, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.name_)}},
  715. }}, {{
  716. 65535, 65535
  717. }}, {{
  718. // string name = 1;
  719. {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.name_), 0, 0,
  720. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  721. // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
  722. {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.cells_), 0, 0,
  723. (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
  724. }}, {{
  725. {::_pbi::TcParser::GetTable<::palm::lily::v1::ExcelModel_Sheet_Cell>()},
  726. }}, {{
  727. "\35\4\0\0\0\0\0\0"
  728. "palm.lily.v1.ExcelModel.Sheet"
  729. "name"
  730. }},
  731. };
  732. ::uint8_t* ExcelModel_Sheet::_InternalSerialize(
  733. ::uint8_t* target,
  734. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  735. // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.ExcelModel.Sheet)
  736. ::uint32_t cached_has_bits = 0;
  737. (void)cached_has_bits;
  738. // string name = 1;
  739. if (!this->_internal_name().empty()) {
  740. const std::string& _s = this->_internal_name();
  741. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  742. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.ExcelModel.Sheet.name");
  743. target = stream->WriteStringMaybeAliased(1, _s, target);
  744. }
  745. // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
  746. for (unsigned i = 0,
  747. n = static_cast<unsigned>(this->_internal_cells_size()); i < n; i++) {
  748. const auto& repfield = this->_internal_cells().Get(i);
  749. target = ::google::protobuf::internal::WireFormatLite::
  750. InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
  751. }
  752. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  753. target =
  754. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  755. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  756. }
  757. // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.ExcelModel.Sheet)
  758. return target;
  759. }
  760. ::size_t ExcelModel_Sheet::ByteSizeLong() const {
  761. // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.ExcelModel.Sheet)
  762. ::size_t total_size = 0;
  763. ::uint32_t cached_has_bits = 0;
  764. // Prevent compiler warnings about cached_has_bits being unused
  765. (void) cached_has_bits;
  766. // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
  767. total_size += 1UL * this->_internal_cells_size();
  768. for (const auto& msg : this->_internal_cells()) {
  769. total_size +=
  770. ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
  771. }
  772. // string name = 1;
  773. if (!this->_internal_name().empty()) {
  774. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  775. this->_internal_name());
  776. }
  777. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  778. }
  779. const ::google::protobuf::Message::ClassData ExcelModel_Sheet::_class_data_ = {
  780. ::google::protobuf::Message::CopyWithSourceCheck,
  781. ExcelModel_Sheet::MergeImpl
  782. };
  783. const ::google::protobuf::Message::ClassData*ExcelModel_Sheet::GetClassData() const { return &_class_data_; }
  784. void ExcelModel_Sheet::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
  785. auto* const _this = static_cast<ExcelModel_Sheet*>(&to_msg);
  786. auto& from = static_cast<const ExcelModel_Sheet&>(from_msg);
  787. // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.ExcelModel.Sheet)
  788. ABSL_DCHECK_NE(&from, _this);
  789. ::uint32_t cached_has_bits = 0;
  790. (void) cached_has_bits;
  791. _this->_internal_mutable_cells()->MergeFrom(from._internal_cells());
  792. if (!from._internal_name().empty()) {
  793. _this->_internal_set_name(from._internal_name());
  794. }
  795. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  796. }
  797. void ExcelModel_Sheet::CopyFrom(const ExcelModel_Sheet& from) {
  798. // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.ExcelModel.Sheet)
  799. if (&from == this) return;
  800. Clear();
  801. MergeFrom(from);
  802. }
  803. PROTOBUF_NOINLINE bool ExcelModel_Sheet::IsInitialized() const {
  804. return true;
  805. }
  806. void ExcelModel_Sheet::InternalSwap(ExcelModel_Sheet* other) {
  807. using std::swap;
  808. auto* lhs_arena = GetArenaForAllocation();
  809. auto* rhs_arena = other->GetArenaForAllocation();
  810. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  811. _impl_.cells_.InternalSwap(&other->_impl_.cells_);
  812. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
  813. &other->_impl_.name_, rhs_arena);
  814. }
  815. ::google::protobuf::Metadata ExcelModel_Sheet::GetMetadata() const {
  816. return ::_pbi::AssignDescriptors(
  817. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  818. file_level_metadata_lily_2eproto[1]);
  819. }
  820. // ===================================================================
  821. class ExcelModel::_Internal {
  822. public:
  823. };
  824. ExcelModel::ExcelModel(::google::protobuf::Arena* arena)
  825. : ::google::protobuf::Message(arena) {
  826. SharedCtor(arena);
  827. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.ExcelModel)
  828. }
  829. ExcelModel::ExcelModel(const ExcelModel& from) : ::google::protobuf::Message() {
  830. ExcelModel* const _this = this;
  831. (void)_this;
  832. new (&_impl_) Impl_{
  833. decltype(_impl_.sheets_){from._impl_.sheets_},
  834. /*decltype(_impl_._cached_size_)*/ {},
  835. };
  836. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  837. from._internal_metadata_);
  838. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.ExcelModel)
  839. }
  840. inline void ExcelModel::SharedCtor(::_pb::Arena* arena) {
  841. (void)arena;
  842. new (&_impl_) Impl_{
  843. decltype(_impl_.sheets_){arena},
  844. /*decltype(_impl_._cached_size_)*/ {},
  845. };
  846. }
  847. ExcelModel::~ExcelModel() {
  848. // @@protoc_insertion_point(destructor:palm.lily.v1.ExcelModel)
  849. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  850. SharedDtor();
  851. }
  852. inline void ExcelModel::SharedDtor() {
  853. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  854. _impl_.sheets_.~RepeatedPtrField();
  855. }
  856. void ExcelModel::SetCachedSize(int size) const {
  857. _impl_._cached_size_.Set(size);
  858. }
  859. PROTOBUF_NOINLINE void ExcelModel::Clear() {
  860. // @@protoc_insertion_point(message_clear_start:palm.lily.v1.ExcelModel)
  861. ::uint32_t cached_has_bits = 0;
  862. // Prevent compiler warnings about cached_has_bits being unused
  863. (void) cached_has_bits;
  864. _internal_mutable_sheets()->Clear();
  865. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  866. }
  867. const char* ExcelModel::_InternalParse(
  868. const char* ptr, ::_pbi::ParseContext* ctx) {
  869. ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
  870. return ptr;
  871. }
  872. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  873. const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ExcelModel::_table_ = {
  874. {
  875. 0, // no _has_bits_
  876. 0, // no _extensions_
  877. 1, 0, // max_field_number, fast_idx_mask
  878. offsetof(decltype(_table_), field_lookup_table),
  879. 4294967294, // skipmap
  880. offsetof(decltype(_table_), field_entries),
  881. 1, // num_field_entries
  882. 1, // num_aux_entries
  883. offsetof(decltype(_table_), aux_entries),
  884. &_ExcelModel_default_instance_._instance,
  885. ::_pbi::TcParser::GenericFallback, // fallback
  886. }, {{
  887. // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
  888. {::_pbi::TcParser::FastMtR1,
  889. {10, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel, _impl_.sheets_)}},
  890. }}, {{
  891. 65535, 65535
  892. }}, {{
  893. // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
  894. {PROTOBUF_FIELD_OFFSET(ExcelModel, _impl_.sheets_), 0, 0,
  895. (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
  896. }}, {{
  897. {::_pbi::TcParser::GetTable<::palm::lily::v1::ExcelModel_Sheet>()},
  898. }}, {{
  899. }},
  900. };
  901. ::uint8_t* ExcelModel::_InternalSerialize(
  902. ::uint8_t* target,
  903. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  904. // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.ExcelModel)
  905. ::uint32_t cached_has_bits = 0;
  906. (void)cached_has_bits;
  907. // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
  908. for (unsigned i = 0,
  909. n = static_cast<unsigned>(this->_internal_sheets_size()); i < n; i++) {
  910. const auto& repfield = this->_internal_sheets().Get(i);
  911. target = ::google::protobuf::internal::WireFormatLite::
  912. InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
  913. }
  914. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  915. target =
  916. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  917. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  918. }
  919. // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.ExcelModel)
  920. return target;
  921. }
  922. ::size_t ExcelModel::ByteSizeLong() const {
  923. // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.ExcelModel)
  924. ::size_t total_size = 0;
  925. ::uint32_t cached_has_bits = 0;
  926. // Prevent compiler warnings about cached_has_bits being unused
  927. (void) cached_has_bits;
  928. // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
  929. total_size += 1UL * this->_internal_sheets_size();
  930. for (const auto& msg : this->_internal_sheets()) {
  931. total_size +=
  932. ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
  933. }
  934. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  935. }
  936. const ::google::protobuf::Message::ClassData ExcelModel::_class_data_ = {
  937. ::google::protobuf::Message::CopyWithSourceCheck,
  938. ExcelModel::MergeImpl
  939. };
  940. const ::google::protobuf::Message::ClassData*ExcelModel::GetClassData() const { return &_class_data_; }
  941. void ExcelModel::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
  942. auto* const _this = static_cast<ExcelModel*>(&to_msg);
  943. auto& from = static_cast<const ExcelModel&>(from_msg);
  944. // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.ExcelModel)
  945. ABSL_DCHECK_NE(&from, _this);
  946. ::uint32_t cached_has_bits = 0;
  947. (void) cached_has_bits;
  948. _this->_internal_mutable_sheets()->MergeFrom(from._internal_sheets());
  949. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  950. }
  951. void ExcelModel::CopyFrom(const ExcelModel& from) {
  952. // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.ExcelModel)
  953. if (&from == this) return;
  954. Clear();
  955. MergeFrom(from);
  956. }
  957. PROTOBUF_NOINLINE bool ExcelModel::IsInitialized() const {
  958. return true;
  959. }
  960. void ExcelModel::InternalSwap(ExcelModel* other) {
  961. using std::swap;
  962. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  963. _impl_.sheets_.InternalSwap(&other->_impl_.sheets_);
  964. }
  965. ::google::protobuf::Metadata ExcelModel::GetMetadata() const {
  966. return ::_pbi::AssignDescriptors(
  967. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  968. file_level_metadata_lily_2eproto[2]);
  969. }
  970. // ===================================================================
  971. class S3File::_Internal {
  972. public:
  973. };
  974. S3File::S3File(::google::protobuf::Arena* arena)
  975. : ::google::protobuf::Message(arena) {
  976. SharedCtor(arena);
  977. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.S3File)
  978. }
  979. S3File::S3File(const S3File& from) : ::google::protobuf::Message() {
  980. S3File* const _this = this;
  981. (void)_this;
  982. new (&_impl_) Impl_{
  983. decltype(_impl_.bucket_){},
  984. decltype(_impl_.name_){},
  985. decltype(_impl_.content_type_){},
  986. /*decltype(_impl_._cached_size_)*/ {},
  987. };
  988. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  989. from._internal_metadata_);
  990. _impl_.bucket_.InitDefault();
  991. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  992. _impl_.bucket_.Set("", GetArenaForAllocation());
  993. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  994. if (!from._internal_bucket().empty()) {
  995. _this->_impl_.bucket_.Set(from._internal_bucket(), _this->GetArenaForAllocation());
  996. }
  997. _impl_.name_.InitDefault();
  998. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  999. _impl_.name_.Set("", GetArenaForAllocation());
  1000. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1001. if (!from._internal_name().empty()) {
  1002. _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
  1003. }
  1004. _impl_.content_type_.InitDefault();
  1005. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1006. _impl_.content_type_.Set("", GetArenaForAllocation());
  1007. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1008. if (!from._internal_content_type().empty()) {
  1009. _this->_impl_.content_type_.Set(from._internal_content_type(), _this->GetArenaForAllocation());
  1010. }
  1011. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.S3File)
  1012. }
  1013. inline void S3File::SharedCtor(::_pb::Arena* arena) {
  1014. (void)arena;
  1015. new (&_impl_) Impl_{
  1016. decltype(_impl_.bucket_){},
  1017. decltype(_impl_.name_){},
  1018. decltype(_impl_.content_type_){},
  1019. /*decltype(_impl_._cached_size_)*/ {},
  1020. };
  1021. _impl_.bucket_.InitDefault();
  1022. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1023. _impl_.bucket_.Set("", GetArenaForAllocation());
  1024. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1025. _impl_.name_.InitDefault();
  1026. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1027. _impl_.name_.Set("", GetArenaForAllocation());
  1028. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1029. _impl_.content_type_.InitDefault();
  1030. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1031. _impl_.content_type_.Set("", GetArenaForAllocation());
  1032. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1033. }
  1034. S3File::~S3File() {
  1035. // @@protoc_insertion_point(destructor:palm.lily.v1.S3File)
  1036. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  1037. SharedDtor();
  1038. }
  1039. inline void S3File::SharedDtor() {
  1040. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1041. _impl_.bucket_.Destroy();
  1042. _impl_.name_.Destroy();
  1043. _impl_.content_type_.Destroy();
  1044. }
  1045. void S3File::SetCachedSize(int size) const {
  1046. _impl_._cached_size_.Set(size);
  1047. }
  1048. PROTOBUF_NOINLINE void S3File::Clear() {
  1049. // @@protoc_insertion_point(message_clear_start:palm.lily.v1.S3File)
  1050. ::uint32_t cached_has_bits = 0;
  1051. // Prevent compiler warnings about cached_has_bits being unused
  1052. (void) cached_has_bits;
  1053. _impl_.bucket_.ClearToEmpty();
  1054. _impl_.name_.ClearToEmpty();
  1055. _impl_.content_type_.ClearToEmpty();
  1056. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  1057. }
  1058. const char* S3File::_InternalParse(
  1059. const char* ptr, ::_pbi::ParseContext* ctx) {
  1060. ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
  1061. return ptr;
  1062. }
  1063. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  1064. const ::_pbi::TcParseTable<1, 3, 0, 50, 2> S3File::_table_ = {
  1065. {
  1066. 0, // no _has_bits_
  1067. 0, // no _extensions_
  1068. 9, 8, // max_field_number, fast_idx_mask
  1069. offsetof(decltype(_table_), field_lookup_table),
  1070. 4294967036, // skipmap
  1071. offsetof(decltype(_table_), field_entries),
  1072. 3, // num_field_entries
  1073. 0, // num_aux_entries
  1074. offsetof(decltype(_table_), field_names), // no aux_entries
  1075. &_S3File_default_instance_._instance,
  1076. ::_pbi::TcParser::GenericFallback, // fallback
  1077. }, {{
  1078. // string name = 2;
  1079. {::_pbi::TcParser::FastUS1,
  1080. {18, 63, 0, PROTOBUF_FIELD_OFFSET(S3File, _impl_.name_)}},
  1081. // string bucket = 1;
  1082. {::_pbi::TcParser::FastUS1,
  1083. {10, 63, 0, PROTOBUF_FIELD_OFFSET(S3File, _impl_.bucket_)}},
  1084. }}, {{
  1085. 65535, 65535
  1086. }}, {{
  1087. // string bucket = 1;
  1088. {PROTOBUF_FIELD_OFFSET(S3File, _impl_.bucket_), 0, 0,
  1089. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1090. // string name = 2;
  1091. {PROTOBUF_FIELD_OFFSET(S3File, _impl_.name_), 0, 0,
  1092. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1093. // string content_type = 9;
  1094. {PROTOBUF_FIELD_OFFSET(S3File, _impl_.content_type_), 0, 0,
  1095. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1096. }},
  1097. // no aux_entries
  1098. {{
  1099. "\23\6\4\14\0\0\0\0"
  1100. "palm.lily.v1.S3File"
  1101. "bucket"
  1102. "name"
  1103. "content_type"
  1104. }},
  1105. };
  1106. ::uint8_t* S3File::_InternalSerialize(
  1107. ::uint8_t* target,
  1108. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  1109. // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.S3File)
  1110. ::uint32_t cached_has_bits = 0;
  1111. (void)cached_has_bits;
  1112. // string bucket = 1;
  1113. if (!this->_internal_bucket().empty()) {
  1114. const std::string& _s = this->_internal_bucket();
  1115. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1116. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3File.bucket");
  1117. target = stream->WriteStringMaybeAliased(1, _s, target);
  1118. }
  1119. // string name = 2;
  1120. if (!this->_internal_name().empty()) {
  1121. const std::string& _s = this->_internal_name();
  1122. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1123. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3File.name");
  1124. target = stream->WriteStringMaybeAliased(2, _s, target);
  1125. }
  1126. // string content_type = 9;
  1127. if (!this->_internal_content_type().empty()) {
  1128. const std::string& _s = this->_internal_content_type();
  1129. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1130. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3File.content_type");
  1131. target = stream->WriteStringMaybeAliased(9, _s, target);
  1132. }
  1133. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1134. target =
  1135. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1136. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  1137. }
  1138. // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.S3File)
  1139. return target;
  1140. }
  1141. ::size_t S3File::ByteSizeLong() const {
  1142. // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.S3File)
  1143. ::size_t total_size = 0;
  1144. ::uint32_t cached_has_bits = 0;
  1145. // Prevent compiler warnings about cached_has_bits being unused
  1146. (void) cached_has_bits;
  1147. // string bucket = 1;
  1148. if (!this->_internal_bucket().empty()) {
  1149. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1150. this->_internal_bucket());
  1151. }
  1152. // string name = 2;
  1153. if (!this->_internal_name().empty()) {
  1154. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1155. this->_internal_name());
  1156. }
  1157. // string content_type = 9;
  1158. if (!this->_internal_content_type().empty()) {
  1159. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1160. this->_internal_content_type());
  1161. }
  1162. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1163. }
  1164. const ::google::protobuf::Message::ClassData S3File::_class_data_ = {
  1165. ::google::protobuf::Message::CopyWithSourceCheck,
  1166. S3File::MergeImpl
  1167. };
  1168. const ::google::protobuf::Message::ClassData*S3File::GetClassData() const { return &_class_data_; }
  1169. void S3File::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
  1170. auto* const _this = static_cast<S3File*>(&to_msg);
  1171. auto& from = static_cast<const S3File&>(from_msg);
  1172. // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.S3File)
  1173. ABSL_DCHECK_NE(&from, _this);
  1174. ::uint32_t cached_has_bits = 0;
  1175. (void) cached_has_bits;
  1176. if (!from._internal_bucket().empty()) {
  1177. _this->_internal_set_bucket(from._internal_bucket());
  1178. }
  1179. if (!from._internal_name().empty()) {
  1180. _this->_internal_set_name(from._internal_name());
  1181. }
  1182. if (!from._internal_content_type().empty()) {
  1183. _this->_internal_set_content_type(from._internal_content_type());
  1184. }
  1185. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  1186. }
  1187. void S3File::CopyFrom(const S3File& from) {
  1188. // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.S3File)
  1189. if (&from == this) return;
  1190. Clear();
  1191. MergeFrom(from);
  1192. }
  1193. PROTOBUF_NOINLINE bool S3File::IsInitialized() const {
  1194. return true;
  1195. }
  1196. void S3File::InternalSwap(S3File* other) {
  1197. using std::swap;
  1198. auto* lhs_arena = GetArenaForAllocation();
  1199. auto* rhs_arena = other->GetArenaForAllocation();
  1200. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1201. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bucket_, lhs_arena,
  1202. &other->_impl_.bucket_, rhs_arena);
  1203. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
  1204. &other->_impl_.name_, rhs_arena);
  1205. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.content_type_, lhs_arena,
  1206. &other->_impl_.content_type_, rhs_arena);
  1207. }
  1208. ::google::protobuf::Metadata S3File::GetMetadata() const {
  1209. return ::_pbi::AssignDescriptors(
  1210. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  1211. file_level_metadata_lily_2eproto[3]);
  1212. }
  1213. // ===================================================================
  1214. class S3GetFileRequest::_Internal {
  1215. public:
  1216. using HasBits = decltype(std::declval<S3GetFileRequest>()._impl_._has_bits_);
  1217. static constexpr ::int32_t kHasBitsOffset =
  1218. 8 * PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_._has_bits_);
  1219. static const ::google::protobuf::Duration& ttl(const S3GetFileRequest* msg);
  1220. static void set_has_ttl(HasBits* has_bits) {
  1221. (*has_bits)[0] |= 1u;
  1222. }
  1223. };
  1224. const ::google::protobuf::Duration& S3GetFileRequest::_Internal::ttl(const S3GetFileRequest* msg) {
  1225. return *msg->_impl_.ttl_;
  1226. }
  1227. void S3GetFileRequest::clear_ttl() {
  1228. if (_impl_.ttl_ != nullptr) _impl_.ttl_->Clear();
  1229. _impl_._has_bits_[0] &= ~0x00000001u;
  1230. }
  1231. S3GetFileRequest::S3GetFileRequest(::google::protobuf::Arena* arena)
  1232. : ::google::protobuf::Message(arena) {
  1233. SharedCtor(arena);
  1234. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.S3GetFileRequest)
  1235. }
  1236. S3GetFileRequest::S3GetFileRequest(const S3GetFileRequest& from) : ::google::protobuf::Message() {
  1237. S3GetFileRequest* const _this = this;
  1238. (void)_this;
  1239. new (&_impl_) Impl_{
  1240. decltype(_impl_._has_bits_){from._impl_._has_bits_},
  1241. /*decltype(_impl_._cached_size_)*/ {},
  1242. decltype(_impl_.bucket_){},
  1243. decltype(_impl_.name_){},
  1244. decltype(_impl_.ttl_){nullptr},
  1245. };
  1246. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  1247. from._internal_metadata_);
  1248. _impl_.bucket_.InitDefault();
  1249. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1250. _impl_.bucket_.Set("", GetArenaForAllocation());
  1251. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1252. if (!from._internal_bucket().empty()) {
  1253. _this->_impl_.bucket_.Set(from._internal_bucket(), _this->GetArenaForAllocation());
  1254. }
  1255. _impl_.name_.InitDefault();
  1256. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1257. _impl_.name_.Set("", GetArenaForAllocation());
  1258. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1259. if (!from._internal_name().empty()) {
  1260. _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
  1261. }
  1262. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  1263. _this->_impl_.ttl_ = new ::google::protobuf::Duration(*from._impl_.ttl_);
  1264. }
  1265. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.S3GetFileRequest)
  1266. }
  1267. inline void S3GetFileRequest::SharedCtor(::_pb::Arena* arena) {
  1268. (void)arena;
  1269. new (&_impl_) Impl_{
  1270. decltype(_impl_._has_bits_){},
  1271. /*decltype(_impl_._cached_size_)*/ {},
  1272. decltype(_impl_.bucket_){},
  1273. decltype(_impl_.name_){},
  1274. decltype(_impl_.ttl_){nullptr},
  1275. };
  1276. _impl_.bucket_.InitDefault();
  1277. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1278. _impl_.bucket_.Set("", GetArenaForAllocation());
  1279. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1280. _impl_.name_.InitDefault();
  1281. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1282. _impl_.name_.Set("", GetArenaForAllocation());
  1283. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1284. }
  1285. S3GetFileRequest::~S3GetFileRequest() {
  1286. // @@protoc_insertion_point(destructor:palm.lily.v1.S3GetFileRequest)
  1287. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  1288. SharedDtor();
  1289. }
  1290. inline void S3GetFileRequest::SharedDtor() {
  1291. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1292. _impl_.bucket_.Destroy();
  1293. _impl_.name_.Destroy();
  1294. if (this != internal_default_instance()) delete _impl_.ttl_;
  1295. }
  1296. void S3GetFileRequest::SetCachedSize(int size) const {
  1297. _impl_._cached_size_.Set(size);
  1298. }
  1299. PROTOBUF_NOINLINE void S3GetFileRequest::Clear() {
  1300. // @@protoc_insertion_point(message_clear_start:palm.lily.v1.S3GetFileRequest)
  1301. ::uint32_t cached_has_bits = 0;
  1302. // Prevent compiler warnings about cached_has_bits being unused
  1303. (void) cached_has_bits;
  1304. _impl_.bucket_.ClearToEmpty();
  1305. _impl_.name_.ClearToEmpty();
  1306. cached_has_bits = _impl_._has_bits_[0];
  1307. if (cached_has_bits & 0x00000001u) {
  1308. ABSL_DCHECK(_impl_.ttl_ != nullptr);
  1309. _impl_.ttl_->Clear();
  1310. }
  1311. _impl_._has_bits_.Clear();
  1312. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  1313. }
  1314. const char* S3GetFileRequest::_InternalParse(
  1315. const char* ptr, ::_pbi::ParseContext* ctx) {
  1316. ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
  1317. return ptr;
  1318. }
  1319. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  1320. const ::_pbi::TcParseTable<1, 3, 1, 48, 2> S3GetFileRequest::_table_ = {
  1321. {
  1322. PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_._has_bits_),
  1323. 0, // no _extensions_
  1324. 9, 8, // max_field_number, fast_idx_mask
  1325. offsetof(decltype(_table_), field_lookup_table),
  1326. 4294967036, // skipmap
  1327. offsetof(decltype(_table_), field_entries),
  1328. 3, // num_field_entries
  1329. 1, // num_aux_entries
  1330. offsetof(decltype(_table_), aux_entries),
  1331. &_S3GetFileRequest_default_instance_._instance,
  1332. ::_pbi::TcParser::GenericFallback, // fallback
  1333. }, {{
  1334. // string name = 2;
  1335. {::_pbi::TcParser::FastUS1,
  1336. {18, 63, 0, PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.name_)}},
  1337. // string bucket = 1;
  1338. {::_pbi::TcParser::FastUS1,
  1339. {10, 63, 0, PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.bucket_)}},
  1340. }}, {{
  1341. 65535, 65535
  1342. }}, {{
  1343. // string bucket = 1;
  1344. {PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.bucket_), -1, 0,
  1345. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1346. // string name = 2;
  1347. {PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.name_), -1, 0,
  1348. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1349. // .google.protobuf.Duration ttl = 9;
  1350. {PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.ttl_), _Internal::kHasBitsOffset + 0, 0,
  1351. (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
  1352. }}, {{
  1353. {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
  1354. }}, {{
  1355. "\35\6\4\0\0\0\0\0"
  1356. "palm.lily.v1.S3GetFileRequest"
  1357. "bucket"
  1358. "name"
  1359. }},
  1360. };
  1361. ::uint8_t* S3GetFileRequest::_InternalSerialize(
  1362. ::uint8_t* target,
  1363. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  1364. // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.S3GetFileRequest)
  1365. ::uint32_t cached_has_bits = 0;
  1366. (void)cached_has_bits;
  1367. // string bucket = 1;
  1368. if (!this->_internal_bucket().empty()) {
  1369. const std::string& _s = this->_internal_bucket();
  1370. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1371. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3GetFileRequest.bucket");
  1372. target = stream->WriteStringMaybeAliased(1, _s, target);
  1373. }
  1374. // string name = 2;
  1375. if (!this->_internal_name().empty()) {
  1376. const std::string& _s = this->_internal_name();
  1377. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1378. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3GetFileRequest.name");
  1379. target = stream->WriteStringMaybeAliased(2, _s, target);
  1380. }
  1381. cached_has_bits = _impl_._has_bits_[0];
  1382. // .google.protobuf.Duration ttl = 9;
  1383. if (cached_has_bits & 0x00000001u) {
  1384. target = ::google::protobuf::internal::WireFormatLite::
  1385. InternalWriteMessage(9, _Internal::ttl(this),
  1386. _Internal::ttl(this).GetCachedSize(), target, stream);
  1387. }
  1388. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1389. target =
  1390. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1391. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  1392. }
  1393. // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.S3GetFileRequest)
  1394. return target;
  1395. }
  1396. ::size_t S3GetFileRequest::ByteSizeLong() const {
  1397. // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.S3GetFileRequest)
  1398. ::size_t total_size = 0;
  1399. ::uint32_t cached_has_bits = 0;
  1400. // Prevent compiler warnings about cached_has_bits being unused
  1401. (void) cached_has_bits;
  1402. // string bucket = 1;
  1403. if (!this->_internal_bucket().empty()) {
  1404. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1405. this->_internal_bucket());
  1406. }
  1407. // string name = 2;
  1408. if (!this->_internal_name().empty()) {
  1409. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1410. this->_internal_name());
  1411. }
  1412. // .google.protobuf.Duration ttl = 9;
  1413. cached_has_bits = _impl_._has_bits_[0];
  1414. if (cached_has_bits & 0x00000001u) {
  1415. total_size += 1 +
  1416. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1417. *_impl_.ttl_);
  1418. }
  1419. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1420. }
  1421. const ::google::protobuf::Message::ClassData S3GetFileRequest::_class_data_ = {
  1422. ::google::protobuf::Message::CopyWithSourceCheck,
  1423. S3GetFileRequest::MergeImpl
  1424. };
  1425. const ::google::protobuf::Message::ClassData*S3GetFileRequest::GetClassData() const { return &_class_data_; }
  1426. void S3GetFileRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
  1427. auto* const _this = static_cast<S3GetFileRequest*>(&to_msg);
  1428. auto& from = static_cast<const S3GetFileRequest&>(from_msg);
  1429. // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.S3GetFileRequest)
  1430. ABSL_DCHECK_NE(&from, _this);
  1431. ::uint32_t cached_has_bits = 0;
  1432. (void) cached_has_bits;
  1433. if (!from._internal_bucket().empty()) {
  1434. _this->_internal_set_bucket(from._internal_bucket());
  1435. }
  1436. if (!from._internal_name().empty()) {
  1437. _this->_internal_set_name(from._internal_name());
  1438. }
  1439. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  1440. _this->_internal_mutable_ttl()->::google::protobuf::Duration::MergeFrom(
  1441. from._internal_ttl());
  1442. }
  1443. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  1444. }
  1445. void S3GetFileRequest::CopyFrom(const S3GetFileRequest& from) {
  1446. // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.S3GetFileRequest)
  1447. if (&from == this) return;
  1448. Clear();
  1449. MergeFrom(from);
  1450. }
  1451. PROTOBUF_NOINLINE bool S3GetFileRequest::IsInitialized() const {
  1452. return true;
  1453. }
  1454. void S3GetFileRequest::InternalSwap(S3GetFileRequest* other) {
  1455. using std::swap;
  1456. auto* lhs_arena = GetArenaForAllocation();
  1457. auto* rhs_arena = other->GetArenaForAllocation();
  1458. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1459. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  1460. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bucket_, lhs_arena,
  1461. &other->_impl_.bucket_, rhs_arena);
  1462. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
  1463. &other->_impl_.name_, rhs_arena);
  1464. swap(_impl_.ttl_, other->_impl_.ttl_);
  1465. }
  1466. ::google::protobuf::Metadata S3GetFileRequest::GetMetadata() const {
  1467. return ::_pbi::AssignDescriptors(
  1468. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  1469. file_level_metadata_lily_2eproto[4]);
  1470. }
  1471. // ===================================================================
  1472. class S3GetFileResponse::_Internal {
  1473. public:
  1474. };
  1475. S3GetFileResponse::S3GetFileResponse(::google::protobuf::Arena* arena)
  1476. : ::google::protobuf::Message(arena) {
  1477. SharedCtor(arena);
  1478. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.S3GetFileResponse)
  1479. }
  1480. S3GetFileResponse::S3GetFileResponse(const S3GetFileResponse& from) : ::google::protobuf::Message() {
  1481. S3GetFileResponse* const _this = this;
  1482. (void)_this;
  1483. new (&_impl_) Impl_{
  1484. decltype(_impl_.url_){},
  1485. /*decltype(_impl_._cached_size_)*/ {},
  1486. };
  1487. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  1488. from._internal_metadata_);
  1489. _impl_.url_.InitDefault();
  1490. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1491. _impl_.url_.Set("", GetArenaForAllocation());
  1492. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1493. if (!from._internal_url().empty()) {
  1494. _this->_impl_.url_.Set(from._internal_url(), _this->GetArenaForAllocation());
  1495. }
  1496. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.S3GetFileResponse)
  1497. }
  1498. inline void S3GetFileResponse::SharedCtor(::_pb::Arena* arena) {
  1499. (void)arena;
  1500. new (&_impl_) Impl_{
  1501. decltype(_impl_.url_){},
  1502. /*decltype(_impl_._cached_size_)*/ {},
  1503. };
  1504. _impl_.url_.InitDefault();
  1505. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1506. _impl_.url_.Set("", GetArenaForAllocation());
  1507. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1508. }
  1509. S3GetFileResponse::~S3GetFileResponse() {
  1510. // @@protoc_insertion_point(destructor:palm.lily.v1.S3GetFileResponse)
  1511. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  1512. SharedDtor();
  1513. }
  1514. inline void S3GetFileResponse::SharedDtor() {
  1515. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1516. _impl_.url_.Destroy();
  1517. }
  1518. void S3GetFileResponse::SetCachedSize(int size) const {
  1519. _impl_._cached_size_.Set(size);
  1520. }
  1521. PROTOBUF_NOINLINE void S3GetFileResponse::Clear() {
  1522. // @@protoc_insertion_point(message_clear_start:palm.lily.v1.S3GetFileResponse)
  1523. ::uint32_t cached_has_bits = 0;
  1524. // Prevent compiler warnings about cached_has_bits being unused
  1525. (void) cached_has_bits;
  1526. _impl_.url_.ClearToEmpty();
  1527. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  1528. }
  1529. const char* S3GetFileResponse::_InternalParse(
  1530. const char* ptr, ::_pbi::ParseContext* ctx) {
  1531. ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
  1532. return ptr;
  1533. }
  1534. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  1535. const ::_pbi::TcParseTable<0, 1, 0, 42, 2> S3GetFileResponse::_table_ = {
  1536. {
  1537. 0, // no _has_bits_
  1538. 0, // no _extensions_
  1539. 1, 0, // max_field_number, fast_idx_mask
  1540. offsetof(decltype(_table_), field_lookup_table),
  1541. 4294967294, // skipmap
  1542. offsetof(decltype(_table_), field_entries),
  1543. 1, // num_field_entries
  1544. 0, // num_aux_entries
  1545. offsetof(decltype(_table_), field_names), // no aux_entries
  1546. &_S3GetFileResponse_default_instance_._instance,
  1547. ::_pbi::TcParser::GenericFallback, // fallback
  1548. }, {{
  1549. // string url = 1;
  1550. {::_pbi::TcParser::FastUS1,
  1551. {10, 63, 0, PROTOBUF_FIELD_OFFSET(S3GetFileResponse, _impl_.url_)}},
  1552. }}, {{
  1553. 65535, 65535
  1554. }}, {{
  1555. // string url = 1;
  1556. {PROTOBUF_FIELD_OFFSET(S3GetFileResponse, _impl_.url_), 0, 0,
  1557. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1558. }},
  1559. // no aux_entries
  1560. {{
  1561. "\36\3\0\0\0\0\0\0"
  1562. "palm.lily.v1.S3GetFileResponse"
  1563. "url"
  1564. }},
  1565. };
  1566. ::uint8_t* S3GetFileResponse::_InternalSerialize(
  1567. ::uint8_t* target,
  1568. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  1569. // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.S3GetFileResponse)
  1570. ::uint32_t cached_has_bits = 0;
  1571. (void)cached_has_bits;
  1572. // string url = 1;
  1573. if (!this->_internal_url().empty()) {
  1574. const std::string& _s = this->_internal_url();
  1575. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1576. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3GetFileResponse.url");
  1577. target = stream->WriteStringMaybeAliased(1, _s, target);
  1578. }
  1579. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1580. target =
  1581. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1582. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  1583. }
  1584. // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.S3GetFileResponse)
  1585. return target;
  1586. }
  1587. ::size_t S3GetFileResponse::ByteSizeLong() const {
  1588. // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.S3GetFileResponse)
  1589. ::size_t total_size = 0;
  1590. ::uint32_t cached_has_bits = 0;
  1591. // Prevent compiler warnings about cached_has_bits being unused
  1592. (void) cached_has_bits;
  1593. // string url = 1;
  1594. if (!this->_internal_url().empty()) {
  1595. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1596. this->_internal_url());
  1597. }
  1598. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1599. }
  1600. const ::google::protobuf::Message::ClassData S3GetFileResponse::_class_data_ = {
  1601. ::google::protobuf::Message::CopyWithSourceCheck,
  1602. S3GetFileResponse::MergeImpl
  1603. };
  1604. const ::google::protobuf::Message::ClassData*S3GetFileResponse::GetClassData() const { return &_class_data_; }
  1605. void S3GetFileResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
  1606. auto* const _this = static_cast<S3GetFileResponse*>(&to_msg);
  1607. auto& from = static_cast<const S3GetFileResponse&>(from_msg);
  1608. // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.S3GetFileResponse)
  1609. ABSL_DCHECK_NE(&from, _this);
  1610. ::uint32_t cached_has_bits = 0;
  1611. (void) cached_has_bits;
  1612. if (!from._internal_url().empty()) {
  1613. _this->_internal_set_url(from._internal_url());
  1614. }
  1615. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  1616. }
  1617. void S3GetFileResponse::CopyFrom(const S3GetFileResponse& from) {
  1618. // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.S3GetFileResponse)
  1619. if (&from == this) return;
  1620. Clear();
  1621. MergeFrom(from);
  1622. }
  1623. PROTOBUF_NOINLINE bool S3GetFileResponse::IsInitialized() const {
  1624. return true;
  1625. }
  1626. void S3GetFileResponse::InternalSwap(S3GetFileResponse* other) {
  1627. using std::swap;
  1628. auto* lhs_arena = GetArenaForAllocation();
  1629. auto* rhs_arena = other->GetArenaForAllocation();
  1630. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1631. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, lhs_arena,
  1632. &other->_impl_.url_, rhs_arena);
  1633. }
  1634. ::google::protobuf::Metadata S3GetFileResponse::GetMetadata() const {
  1635. return ::_pbi::AssignDescriptors(
  1636. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  1637. file_level_metadata_lily_2eproto[5]);
  1638. }
  1639. // ===================================================================
  1640. TexToRequest_FilesEntry_DoNotUse::TexToRequest_FilesEntry_DoNotUse() {}
  1641. TexToRequest_FilesEntry_DoNotUse::TexToRequest_FilesEntry_DoNotUse(::google::protobuf::Arena* arena)
  1642. : SuperType(arena) {}
  1643. void TexToRequest_FilesEntry_DoNotUse::MergeFrom(const TexToRequest_FilesEntry_DoNotUse& other) {
  1644. MergeFromInternal(other);
  1645. }
  1646. ::google::protobuf::Metadata TexToRequest_FilesEntry_DoNotUse::GetMetadata() const {
  1647. return ::_pbi::AssignDescriptors(
  1648. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  1649. file_level_metadata_lily_2eproto[6]);
  1650. }
  1651. // ===================================================================
  1652. class TexToRequest::_Internal {
  1653. public:
  1654. using HasBits = decltype(std::declval<TexToRequest>()._impl_._has_bits_);
  1655. static constexpr ::int32_t kHasBitsOffset =
  1656. 8 * PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_._has_bits_);
  1657. static const ::google::protobuf::Duration& ttl(const TexToRequest* msg);
  1658. static void set_has_ttl(HasBits* has_bits) {
  1659. (*has_bits)[0] |= 2u;
  1660. }
  1661. static void set_has_owner(HasBits* has_bits) {
  1662. (*has_bits)[0] |= 1u;
  1663. }
  1664. };
  1665. const ::google::protobuf::Duration& TexToRequest::_Internal::ttl(const TexToRequest* msg) {
  1666. return *msg->_impl_.ttl_;
  1667. }
  1668. void TexToRequest::clear_ttl() {
  1669. if (_impl_.ttl_ != nullptr) _impl_.ttl_->Clear();
  1670. _impl_._has_bits_[0] &= ~0x00000002u;
  1671. }
  1672. TexToRequest::TexToRequest(::google::protobuf::Arena* arena)
  1673. : ::google::protobuf::Message(arena) {
  1674. SharedCtor(arena);
  1675. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.TexToRequest)
  1676. }
  1677. TexToRequest::TexToRequest(const TexToRequest& from) : ::google::protobuf::Message() {
  1678. TexToRequest* const _this = this;
  1679. (void)_this;
  1680. new (&_impl_) Impl_{
  1681. decltype(_impl_._has_bits_){from._impl_._has_bits_},
  1682. /*decltype(_impl_._cached_size_)*/ {},
  1683. /* decltype(_impl_.files_) */ {},
  1684. decltype(_impl_.title_){},
  1685. decltype(_impl_.owner_){},
  1686. decltype(_impl_.ttl_){nullptr},
  1687. decltype(_impl_.published_){},
  1688. };
  1689. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  1690. from._internal_metadata_);
  1691. _this->_impl_.files_.MergeFrom(from._impl_.files_);
  1692. _impl_.title_.InitDefault();
  1693. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1694. _impl_.title_.Set("", GetArenaForAllocation());
  1695. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1696. if (!from._internal_title().empty()) {
  1697. _this->_impl_.title_.Set(from._internal_title(), _this->GetArenaForAllocation());
  1698. }
  1699. _impl_.owner_.InitDefault();
  1700. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1701. _impl_.owner_.Set("", GetArenaForAllocation());
  1702. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1703. if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
  1704. _this->_impl_.owner_.Set(from._internal_owner(), _this->GetArenaForAllocation());
  1705. }
  1706. if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
  1707. _this->_impl_.ttl_ = new ::google::protobuf::Duration(*from._impl_.ttl_);
  1708. }
  1709. _this->_impl_.published_ = from._impl_.published_;
  1710. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.TexToRequest)
  1711. }
  1712. inline void TexToRequest::SharedCtor(::_pb::Arena* arena) {
  1713. (void)arena;
  1714. new (&_impl_) Impl_{
  1715. decltype(_impl_._has_bits_){},
  1716. /*decltype(_impl_._cached_size_)*/ {},
  1717. /* decltype(_impl_.files_) */ {::google::protobuf::internal::ArenaInitialized(), arena},
  1718. decltype(_impl_.title_){},
  1719. decltype(_impl_.owner_){},
  1720. decltype(_impl_.ttl_){nullptr},
  1721. decltype(_impl_.published_){false},
  1722. };
  1723. _impl_.title_.InitDefault();
  1724. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1725. _impl_.title_.Set("", GetArenaForAllocation());
  1726. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1727. _impl_.owner_.InitDefault();
  1728. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1729. _impl_.owner_.Set("", GetArenaForAllocation());
  1730. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  1731. }
  1732. TexToRequest::~TexToRequest() {
  1733. // @@protoc_insertion_point(destructor:palm.lily.v1.TexToRequest)
  1734. _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
  1735. SharedDtor();
  1736. }
  1737. inline void TexToRequest::SharedDtor() {
  1738. ABSL_DCHECK(GetArenaForAllocation() == nullptr);
  1739. _impl_.files_.~MapField();
  1740. _impl_.title_.Destroy();
  1741. _impl_.owner_.Destroy();
  1742. if (this != internal_default_instance()) delete _impl_.ttl_;
  1743. }
  1744. void TexToRequest::SetCachedSize(int size) const {
  1745. _impl_._cached_size_.Set(size);
  1746. }
  1747. PROTOBUF_NOINLINE void TexToRequest::Clear() {
  1748. // @@protoc_insertion_point(message_clear_start:palm.lily.v1.TexToRequest)
  1749. ::uint32_t cached_has_bits = 0;
  1750. // Prevent compiler warnings about cached_has_bits being unused
  1751. (void) cached_has_bits;
  1752. _impl_.files_.Clear();
  1753. _impl_.title_.ClearToEmpty();
  1754. cached_has_bits = _impl_._has_bits_[0];
  1755. if (cached_has_bits & 0x00000003u) {
  1756. if (cached_has_bits & 0x00000001u) {
  1757. _impl_.owner_.ClearNonDefaultToEmpty();
  1758. }
  1759. if (cached_has_bits & 0x00000002u) {
  1760. ABSL_DCHECK(_impl_.ttl_ != nullptr);
  1761. _impl_.ttl_->Clear();
  1762. }
  1763. }
  1764. _impl_.published_ = false;
  1765. _impl_._has_bits_.Clear();
  1766. _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
  1767. }
  1768. const char* TexToRequest::_InternalParse(
  1769. const char* ptr, ::_pbi::ParseContext* ctx) {
  1770. ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
  1771. return ptr;
  1772. }
  1773. PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
  1774. const ::_pbi::TcParseTable<2, 5, 2, 49, 2> TexToRequest::_table_ = {
  1775. {
  1776. PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_._has_bits_),
  1777. 0, // no _extensions_
  1778. 9, 24, // max_field_number, fast_idx_mask
  1779. offsetof(decltype(_table_), field_lookup_table),
  1780. 4294966844, // skipmap
  1781. offsetof(decltype(_table_), field_entries),
  1782. 5, // num_field_entries
  1783. 2, // num_aux_entries
  1784. offsetof(decltype(_table_), aux_entries),
  1785. &_TexToRequest_default_instance_._instance,
  1786. ::_pbi::TcParser::GenericFallback, // fallback
  1787. }, {{
  1788. // optional string owner = 8;
  1789. {::_pbi::TcParser::FastUS1,
  1790. {66, 0, 0, PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.owner_)}},
  1791. // string title = 1;
  1792. {::_pbi::TcParser::FastUS1,
  1793. {10, 63, 0, PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.title_)}},
  1794. {::_pbi::TcParser::MiniParse, {}},
  1795. // optional .google.protobuf.Duration ttl = 7;
  1796. {::_pbi::TcParser::FastMtS1,
  1797. {58, 1, 1, PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.ttl_)}},
  1798. }}, {{
  1799. 65535, 65535
  1800. }}, {{
  1801. // string title = 1;
  1802. {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.title_), -1, 0,
  1803. (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1804. // map<string, bytes> files = 2;
  1805. {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.files_), -1, 0,
  1806. (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
  1807. // optional .google.protobuf.Duration ttl = 7;
  1808. {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.ttl_), _Internal::kHasBitsOffset + 1, 1,
  1809. (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
  1810. // optional string owner = 8;
  1811. {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.owner_), _Internal::kHasBitsOffset + 0, 0,
  1812. (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
  1813. // bool published = 9;
  1814. {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.published_), -1, 0,
  1815. (0 | ::_fl::kFcSingular | ::_fl::kBool)},
  1816. }}, {{
  1817. {::_pbi::TcParser::GetMapAuxInfo<decltype(TexToRequest()._impl_.files_)>(1, 0, 0)},
  1818. {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
  1819. }}, {{
  1820. "\31\5\5\0\5\0\0\0"
  1821. "palm.lily.v1.TexToRequest"
  1822. "title"
  1823. "files"
  1824. "owner"
  1825. }},
  1826. };
  1827. ::uint8_t* TexToRequest::_InternalSerialize(
  1828. ::uint8_t* target,
  1829. ::google::protobuf::io::EpsCopyOutputStream* stream) const {
  1830. // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.TexToRequest)
  1831. ::uint32_t cached_has_bits = 0;
  1832. (void)cached_has_bits;
  1833. // string title = 1;
  1834. if (!this->_internal_title().empty()) {
  1835. const std::string& _s = this->_internal_title();
  1836. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1837. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.title");
  1838. target = stream->WriteStringMaybeAliased(1, _s, target);
  1839. }
  1840. // map<string, bytes> files = 2;
  1841. if (!_internal_files().empty()) {
  1842. using MapType = ::google::protobuf::Map<std::string, std::string>;
  1843. using WireHelper = TexToRequest_FilesEntry_DoNotUse::Funcs;
  1844. const auto& field = _internal_files();
  1845. if (stream->IsSerializationDeterministic() && field.size() > 1) {
  1846. for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
  1847. target = WireHelper::InternalSerialize(
  1848. 2, entry.first, entry.second, target, stream);
  1849. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1850. entry.first.data(), static_cast<int>(entry.first.length()),
  1851. ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.files");
  1852. }
  1853. } else {
  1854. for (const auto& entry : field) {
  1855. target = WireHelper::InternalSerialize(
  1856. 2, entry.first, entry.second, target, stream);
  1857. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1858. entry.first.data(), static_cast<int>(entry.first.length()),
  1859. ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.files");
  1860. }
  1861. }
  1862. }
  1863. cached_has_bits = _impl_._has_bits_[0];
  1864. // optional .google.protobuf.Duration ttl = 7;
  1865. if (cached_has_bits & 0x00000002u) {
  1866. target = ::google::protobuf::internal::WireFormatLite::
  1867. InternalWriteMessage(7, _Internal::ttl(this),
  1868. _Internal::ttl(this).GetCachedSize(), target, stream);
  1869. }
  1870. // optional string owner = 8;
  1871. if (cached_has_bits & 0x00000001u) {
  1872. const std::string& _s = this->_internal_owner();
  1873. ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
  1874. _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.owner");
  1875. target = stream->WriteStringMaybeAliased(8, _s, target);
  1876. }
  1877. // bool published = 9;
  1878. if (this->_internal_published() != 0) {
  1879. target = stream->EnsureSpace(target);
  1880. target = ::_pbi::WireFormatLite::WriteBoolToArray(
  1881. 9, this->_internal_published(), target);
  1882. }
  1883. if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
  1884. target =
  1885. ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
  1886. _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
  1887. }
  1888. // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.TexToRequest)
  1889. return target;
  1890. }
  1891. ::size_t TexToRequest::ByteSizeLong() const {
  1892. // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.TexToRequest)
  1893. ::size_t total_size = 0;
  1894. ::uint32_t cached_has_bits = 0;
  1895. // Prevent compiler warnings about cached_has_bits being unused
  1896. (void) cached_has_bits;
  1897. // map<string, bytes> files = 2;
  1898. total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_files_size());
  1899. for (const auto& entry : _internal_files()) {
  1900. total_size += TexToRequest_FilesEntry_DoNotUse::Funcs::ByteSizeLong(entry.first, entry.second);
  1901. }
  1902. // string title = 1;
  1903. if (!this->_internal_title().empty()) {
  1904. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1905. this->_internal_title());
  1906. }
  1907. cached_has_bits = _impl_._has_bits_[0];
  1908. if (cached_has_bits & 0x00000003u) {
  1909. // optional string owner = 8;
  1910. if (cached_has_bits & 0x00000001u) {
  1911. total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
  1912. this->_internal_owner());
  1913. }
  1914. // optional .google.protobuf.Duration ttl = 7;
  1915. if (cached_has_bits & 0x00000002u) {
  1916. total_size += 1 +
  1917. ::google::protobuf::internal::WireFormatLite::MessageSize(
  1918. *_impl_.ttl_);
  1919. }
  1920. }
  1921. // bool published = 9;
  1922. if (this->_internal_published() != 0) {
  1923. total_size += 2;
  1924. }
  1925. return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
  1926. }
  1927. const ::google::protobuf::Message::ClassData TexToRequest::_class_data_ = {
  1928. ::google::protobuf::Message::CopyWithSourceCheck,
  1929. TexToRequest::MergeImpl
  1930. };
  1931. const ::google::protobuf::Message::ClassData*TexToRequest::GetClassData() const { return &_class_data_; }
  1932. void TexToRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
  1933. auto* const _this = static_cast<TexToRequest*>(&to_msg);
  1934. auto& from = static_cast<const TexToRequest&>(from_msg);
  1935. // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.TexToRequest)
  1936. ABSL_DCHECK_NE(&from, _this);
  1937. ::uint32_t cached_has_bits = 0;
  1938. (void) cached_has_bits;
  1939. _this->_impl_.files_.MergeFrom(from._impl_.files_);
  1940. if (!from._internal_title().empty()) {
  1941. _this->_internal_set_title(from._internal_title());
  1942. }
  1943. cached_has_bits = from._impl_._has_bits_[0];
  1944. if (cached_has_bits & 0x00000003u) {
  1945. if (cached_has_bits & 0x00000001u) {
  1946. _this->_internal_set_owner(from._internal_owner());
  1947. }
  1948. if (cached_has_bits & 0x00000002u) {
  1949. _this->_internal_mutable_ttl()->::google::protobuf::Duration::MergeFrom(
  1950. from._internal_ttl());
  1951. }
  1952. }
  1953. if (from._internal_published() != 0) {
  1954. _this->_internal_set_published(from._internal_published());
  1955. }
  1956. _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
  1957. }
  1958. void TexToRequest::CopyFrom(const TexToRequest& from) {
  1959. // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.TexToRequest)
  1960. if (&from == this) return;
  1961. Clear();
  1962. MergeFrom(from);
  1963. }
  1964. PROTOBUF_NOINLINE bool TexToRequest::IsInitialized() const {
  1965. return true;
  1966. }
  1967. void TexToRequest::InternalSwap(TexToRequest* other) {
  1968. using std::swap;
  1969. auto* lhs_arena = GetArenaForAllocation();
  1970. auto* rhs_arena = other->GetArenaForAllocation();
  1971. _internal_metadata_.InternalSwap(&other->_internal_metadata_);
  1972. swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
  1973. _impl_.files_.InternalSwap(&other->_impl_.files_);
  1974. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, lhs_arena,
  1975. &other->_impl_.title_, rhs_arena);
  1976. ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.owner_, lhs_arena,
  1977. &other->_impl_.owner_, rhs_arena);
  1978. ::google::protobuf::internal::memswap<
  1979. PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.published_)
  1980. + sizeof(TexToRequest::_impl_.published_)
  1981. - PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.ttl_)>(
  1982. reinterpret_cast<char*>(&_impl_.ttl_),
  1983. reinterpret_cast<char*>(&other->_impl_.ttl_));
  1984. }
  1985. ::google::protobuf::Metadata TexToRequest::GetMetadata() const {
  1986. return ::_pbi::AssignDescriptors(
  1987. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  1988. file_level_metadata_lily_2eproto[7]);
  1989. }
  1990. // ===================================================================
  1991. class EpubBuildRequest::_Internal {
  1992. public:
  1993. };
  1994. EpubBuildRequest::EpubBuildRequest(::google::protobuf::Arena* arena)
  1995. : ::google::protobuf::internal::ZeroFieldsBase(arena) {
  1996. // @@protoc_insertion_point(arena_constructor:palm.lily.v1.EpubBuildRequest)
  1997. }
  1998. EpubBuildRequest::EpubBuildRequest(const EpubBuildRequest& from) : ::google::protobuf::internal::ZeroFieldsBase() {
  1999. EpubBuildRequest* const _this = this;
  2000. (void)_this;
  2001. _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
  2002. from._internal_metadata_);
  2003. // @@protoc_insertion_point(copy_constructor:palm.lily.v1.EpubBuildRequest)
  2004. }
  2005. const ::google::protobuf::Message::ClassData EpubBuildRequest::_class_data_ = {
  2006. ::google::protobuf::internal::ZeroFieldsBase::CopyImpl,
  2007. ::google::protobuf::internal::ZeroFieldsBase::MergeImpl,
  2008. };
  2009. const ::google::protobuf::Message::ClassData*EpubBuildRequest::GetClassData() const { return &_class_data_; }
  2010. ::google::protobuf::Metadata EpubBuildRequest::GetMetadata() const {
  2011. return ::_pbi::AssignDescriptors(
  2012. &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
  2013. file_level_metadata_lily_2eproto[8]);
  2014. }
  2015. // @@protoc_insertion_point(namespace_scope)
  2016. } // namespace v1
  2017. } // namespace lily
  2018. } // namespace palm
  2019. namespace google {
  2020. namespace protobuf {
  2021. } // namespace protobuf
  2022. } // namespace google
  2023. // @@protoc_insertion_point(global_scope)
  2024. #include "google/protobuf/port_undef.inc"