| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: lily.proto
- #include "lily.pb.h"
- #include <algorithm>
- #include "google/protobuf/io/coded_stream.h"
- #include "google/protobuf/extension_set.h"
- #include "google/protobuf/wire_format_lite.h"
- #include "google/protobuf/descriptor.h"
- #include "google/protobuf/generated_message_reflection.h"
- #include "google/protobuf/reflection_ops.h"
- #include "google/protobuf/wire_format.h"
- #include "google/protobuf/generated_message_tctable_impl.h"
- // @@protoc_insertion_point(includes)
- // Must be included last.
- #include "google/protobuf/port_def.inc"
- PROTOBUF_PRAGMA_INIT_SEG
- namespace _pb = ::google::protobuf;
- namespace _pbi = ::google::protobuf::internal;
- namespace _fl = ::google::protobuf::internal::field_layout;
- namespace palm {
- namespace lily {
- namespace v1 {
- template <typename>
- PROTOBUF_CONSTEXPR ExcelModel_Sheet_Cell::ExcelModel_Sheet_Cell(::_pbi::ConstantInitialized)
- : _impl_{
- /*decltype(_impl_.val_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_.row_)*/ 0u,
- /*decltype(_impl_.col_)*/ 0u,
- /*decltype(_impl_._cached_size_)*/ {},
- } {}
- struct ExcelModel_Sheet_CellDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ExcelModel_Sheet_CellDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~ExcelModel_Sheet_CellDefaultTypeInternal() {}
- union {
- ExcelModel_Sheet_Cell _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExcelModel_Sheet_CellDefaultTypeInternal _ExcelModel_Sheet_Cell_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR ExcelModel_Sheet::ExcelModel_Sheet(::_pbi::ConstantInitialized)
- : _impl_{
- /*decltype(_impl_.cells_)*/ {},
- /*decltype(_impl_.name_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_._cached_size_)*/ {},
- } {}
- struct ExcelModel_SheetDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ExcelModel_SheetDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~ExcelModel_SheetDefaultTypeInternal() {}
- union {
- ExcelModel_Sheet _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExcelModel_SheetDefaultTypeInternal _ExcelModel_Sheet_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR ExcelModel::ExcelModel(::_pbi::ConstantInitialized)
- : _impl_{
- /*decltype(_impl_.sheets_)*/ {},
- /*decltype(_impl_._cached_size_)*/ {},
- } {}
- struct ExcelModelDefaultTypeInternal {
- PROTOBUF_CONSTEXPR ExcelModelDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~ExcelModelDefaultTypeInternal() {}
- union {
- ExcelModel _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 ExcelModelDefaultTypeInternal _ExcelModel_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR S3File::S3File(::_pbi::ConstantInitialized)
- : _impl_{
- /*decltype(_impl_.bucket_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_.name_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_.content_type_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_._cached_size_)*/ {},
- } {}
- struct S3FileDefaultTypeInternal {
- PROTOBUF_CONSTEXPR S3FileDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~S3FileDefaultTypeInternal() {}
- union {
- S3File _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 S3FileDefaultTypeInternal _S3File_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR S3GetFileRequest::S3GetFileRequest(::_pbi::ConstantInitialized)
- : _impl_{
- /*decltype(_impl_._has_bits_)*/ {},
- /*decltype(_impl_._cached_size_)*/ {},
- /*decltype(_impl_.bucket_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_.name_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_.ttl_)*/ nullptr,
- } {}
- struct S3GetFileRequestDefaultTypeInternal {
- PROTOBUF_CONSTEXPR S3GetFileRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~S3GetFileRequestDefaultTypeInternal() {}
- union {
- S3GetFileRequest _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 S3GetFileRequestDefaultTypeInternal _S3GetFileRequest_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR S3GetFileResponse::S3GetFileResponse(::_pbi::ConstantInitialized)
- : _impl_{
- /*decltype(_impl_.url_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_._cached_size_)*/ {},
- } {}
- struct S3GetFileResponseDefaultTypeInternal {
- PROTOBUF_CONSTEXPR S3GetFileResponseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~S3GetFileResponseDefaultTypeInternal() {}
- union {
- S3GetFileResponse _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 S3GetFileResponseDefaultTypeInternal _S3GetFileResponse_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR TexToRequest_FilesEntry_DoNotUse::TexToRequest_FilesEntry_DoNotUse(::_pbi::ConstantInitialized) {}
- struct TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal {
- PROTOBUF_CONSTEXPR TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal() {}
- union {
- TexToRequest_FilesEntry_DoNotUse _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TexToRequest_FilesEntry_DoNotUseDefaultTypeInternal _TexToRequest_FilesEntry_DoNotUse_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR TexToRequest::TexToRequest(::_pbi::ConstantInitialized)
- : _impl_{
- /*decltype(_impl_._has_bits_)*/ {},
- /*decltype(_impl_._cached_size_)*/ {},
- /* decltype(_impl_.files_) */ {},
- /*decltype(_impl_.title_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_.owner_)*/ {
- &::_pbi::fixed_address_empty_string,
- ::_pbi::ConstantInitialized{},
- },
- /*decltype(_impl_.ttl_)*/ nullptr,
- /*decltype(_impl_.published_)*/ false,
- } {}
- struct TexToRequestDefaultTypeInternal {
- PROTOBUF_CONSTEXPR TexToRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~TexToRequestDefaultTypeInternal() {}
- union {
- TexToRequest _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 TexToRequestDefaultTypeInternal _TexToRequest_default_instance_;
- template <typename>
- PROTOBUF_CONSTEXPR EpubBuildRequest::EpubBuildRequest(::_pbi::ConstantInitialized) {}
- struct EpubBuildRequestDefaultTypeInternal {
- PROTOBUF_CONSTEXPR EpubBuildRequestDefaultTypeInternal() : _instance(::_pbi::ConstantInitialized{}) {}
- ~EpubBuildRequestDefaultTypeInternal() {}
- union {
- EpubBuildRequest _instance;
- };
- };
- PROTOBUF_ATTRIBUTE_NO_DESTROY PROTOBUF_CONSTINIT
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY1 EpubBuildRequestDefaultTypeInternal _EpubBuildRequest_default_instance_;
- } // namespace v1
- } // namespace lily
- } // namespace palm
- static ::_pb::Metadata file_level_metadata_lily_2eproto[9];
- static constexpr const ::_pb::EnumDescriptor**
- file_level_enum_descriptors_lily_2eproto = nullptr;
- static constexpr const ::_pb::ServiceDescriptor**
- file_level_service_descriptors_lily_2eproto = nullptr;
- const ::uint32_t TableStruct_lily_2eproto::offsets[] PROTOBUF_SECTION_VARIABLE(
- protodesc_cold) = {
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _impl_.row_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _impl_.col_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet_Cell, _impl_.val_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet, _impl_.name_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel_Sheet, _impl_.cells_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::ExcelModel, _impl_.sheets_),
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _impl_.bucket_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _impl_.name_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3File, _impl_.content_type_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_._has_bits_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_.bucket_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_.name_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileRequest, _impl_.ttl_),
- ~0u,
- ~0u,
- 0,
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileResponse, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::S3GetFileResponse, _impl_.url_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, _has_bits_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, key_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse, value_),
- 0,
- 1,
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_._has_bits_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.title_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.files_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.ttl_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.owner_),
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::TexToRequest, _impl_.published_),
- ~0u,
- ~0u,
- 1,
- 0,
- ~0u,
- ~0u, // no _has_bits_
- PROTOBUF_FIELD_OFFSET(::palm::lily::v1::EpubBuildRequest, _internal_metadata_),
- ~0u, // no _extensions_
- ~0u, // no _oneof_case_
- ~0u, // no _weak_field_map_
- ~0u, // no _inlined_string_donated_
- ~0u, // no _split_
- ~0u, // no sizeof(Split)
- };
- static const ::_pbi::MigrationSchema
- schemas[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- {0, -1, -1, sizeof(::palm::lily::v1::ExcelModel_Sheet_Cell)},
- {11, -1, -1, sizeof(::palm::lily::v1::ExcelModel_Sheet)},
- {21, -1, -1, sizeof(::palm::lily::v1::ExcelModel)},
- {30, -1, -1, sizeof(::palm::lily::v1::S3File)},
- {41, 52, -1, sizeof(::palm::lily::v1::S3GetFileRequest)},
- {55, -1, -1, sizeof(::palm::lily::v1::S3GetFileResponse)},
- {64, 74, -1, sizeof(::palm::lily::v1::TexToRequest_FilesEntry_DoNotUse)},
- {76, 89, -1, sizeof(::palm::lily::v1::TexToRequest)},
- {94, -1, -1, sizeof(::palm::lily::v1::EpubBuildRequest)},
- };
- static const ::_pb::Message* const file_default_instances[] = {
- &::palm::lily::v1::_ExcelModel_Sheet_Cell_default_instance_._instance,
- &::palm::lily::v1::_ExcelModel_Sheet_default_instance_._instance,
- &::palm::lily::v1::_ExcelModel_default_instance_._instance,
- &::palm::lily::v1::_S3File_default_instance_._instance,
- &::palm::lily::v1::_S3GetFileRequest_default_instance_._instance,
- &::palm::lily::v1::_S3GetFileResponse_default_instance_._instance,
- &::palm::lily::v1::_TexToRequest_FilesEntry_DoNotUse_default_instance_._instance,
- &::palm::lily::v1::_TexToRequest_default_instance_._instance,
- &::palm::lily::v1::_EpubBuildRequest_default_instance_._instance,
- };
- const char descriptor_table_protodef_lily_2eproto[] PROTOBUF_SECTION_VARIABLE(protodesc_cold) = {
- "\n\nlily.proto\022\014palm.lily.v1\032\036google/proto"
- "buf/duration.proto\"\266\001\n\nExcelModel\022.\n\006she"
- "ets\030\001 \003(\0132\036.palm.lily.v1.ExcelModel.Shee"
- "t\032x\n\005Sheet\022\014\n\004name\030\001 \001(\t\0222\n\005cells\030\002 \003(\0132"
- "#.palm.lily.v1.ExcelModel.Sheet.Cell\032-\n\004"
- "Cell\022\013\n\003row\030\001 \001(\r\022\013\n\003col\030\002 \001(\r\022\013\n\003val\030\003 "
- "\001(\t\"<\n\006S3File\022\016\n\006bucket\030\001 \001(\t\022\014\n\004name\030\002 "
- "\001(\t\022\024\n\014content_type\030\t \001(\t\"X\n\020S3GetFileRe"
- "quest\022\016\n\006bucket\030\001 \001(\t\022\014\n\004name\030\002 \001(\t\022&\n\003t"
- "tl\030\t \001(\0132\031.google.protobuf.Duration\" \n\021S"
- "3GetFileResponse\022\013\n\003url\030\001 \001(\t\"\347\001\n\014TexToR"
- "equest\022\r\n\005title\030\001 \001(\t\0224\n\005files\030\002 \003(\0132%.p"
- "alm.lily.v1.TexToRequest.FilesEntry\022+\n\003t"
- "tl\030\007 \001(\0132\031.google.protobuf.DurationH\000\210\001\001"
- "\022\022\n\005owner\030\010 \001(\tH\001\210\001\001\022\021\n\tpublished\030\t \001(\010\032"
- ",\n\nFilesEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
- "\014:\0028\001B\006\n\004_ttlB\010\n\006_owner\"\022\n\020EpubBuildRequ"
- "est2\200\001\n\005Excel\0229\n\005Parse\022\024.palm.lily.v1.S3"
- "File\032\030.palm.lily.v1.ExcelModel\"\000\022<\n\010Gene"
- "rate\022\030.palm.lily.v1.ExcelModel\032\024.palm.li"
- "ly.v1.S3File\"\0002R\n\002S3\022L\n\007GetFile\022\036.palm.l"
- "ily.v1.S3GetFileRequest\032\037.palm.lily.v1.S"
- "3GetFileResponse\"\0002\200\001\n\003Tex\022;\n\005ToPdf\022\032.pa"
- "lm.lily.v1.TexToRequest\032\024.palm.lily.v1.S"
- "3File\"\000\022<\n\006ToWord\022\032.palm.lily.v1.TexToRe"
- "quest\032\024.palm.lily.v1.S3File\"\0002G\n\004Epub\022\?\n"
- "\005Build\022\036.palm.lily.v1.EpubBuildRequest\032\024"
- ".palm.lily.v1.S3File\"\000B.\n*com.github.sat"
- "urn_xiv.palm.plugins.lily.v1P\001b\006proto3"
- };
- static const ::_pbi::DescriptorTable* const descriptor_table_lily_2eproto_deps[1] =
- {
- &::descriptor_table_google_2fprotobuf_2fduration_2eproto,
- };
- static ::absl::once_flag descriptor_table_lily_2eproto_once;
- const ::_pbi::DescriptorTable descriptor_table_lily_2eproto = {
- false,
- false,
- 1158,
- descriptor_table_protodef_lily_2eproto,
- "lily.proto",
- &descriptor_table_lily_2eproto_once,
- descriptor_table_lily_2eproto_deps,
- 1,
- 9,
- schemas,
- file_default_instances,
- TableStruct_lily_2eproto::offsets,
- file_level_metadata_lily_2eproto,
- file_level_enum_descriptors_lily_2eproto,
- file_level_service_descriptors_lily_2eproto,
- };
- // This function exists to be marked as weak.
- // It can significantly speed up compilation by breaking up LLVM's SCC
- // in the .pb.cc translation units. Large translation units see a
- // reduction of more than 35% of walltime for optimized builds. Without
- // the weak attribute all the messages in the file, including all the
- // vtables and everything they use become part of the same SCC through
- // a cycle like:
- // GetMetadata -> descriptor table -> default instances ->
- // vtables -> GetMetadata
- // By adding a weak function here we break the connection from the
- // individual vtables back into the descriptor table.
- PROTOBUF_ATTRIBUTE_WEAK const ::_pbi::DescriptorTable* descriptor_table_lily_2eproto_getter() {
- return &descriptor_table_lily_2eproto;
- }
- // Force running AddDescriptors() at dynamic initialization time.
- PROTOBUF_ATTRIBUTE_INIT_PRIORITY2
- static ::_pbi::AddDescriptorsRunner dynamic_init_dummy_lily_2eproto(&descriptor_table_lily_2eproto);
- namespace palm {
- namespace lily {
- namespace v1 {
- // ===================================================================
- class ExcelModel_Sheet_Cell::_Internal {
- public:
- };
- ExcelModel_Sheet_Cell::ExcelModel_Sheet_Cell(::google::protobuf::Arena* arena)
- : ::google::protobuf::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.ExcelModel.Sheet.Cell)
- }
- ExcelModel_Sheet_Cell::ExcelModel_Sheet_Cell(const ExcelModel_Sheet_Cell& from) : ::google::protobuf::Message() {
- ExcelModel_Sheet_Cell* const _this = this;
- (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.val_){},
- decltype(_impl_.row_){},
- decltype(_impl_.col_){},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- _impl_.val_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.val_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_val().empty()) {
- _this->_impl_.val_.Set(from._internal_val(), _this->GetArenaForAllocation());
- }
- ::memcpy(&_impl_.row_, &from._impl_.row_,
- static_cast<::size_t>(reinterpret_cast<char*>(&_impl_.col_) -
- reinterpret_cast<char*>(&_impl_.row_)) + sizeof(_impl_.col_));
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.ExcelModel.Sheet.Cell)
- }
- inline void ExcelModel_Sheet_Cell::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.val_){},
- decltype(_impl_.row_){0u},
- decltype(_impl_.col_){0u},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _impl_.val_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.val_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- ExcelModel_Sheet_Cell::~ExcelModel_Sheet_Cell() {
- // @@protoc_insertion_point(destructor:palm.lily.v1.ExcelModel.Sheet.Cell)
- _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
- SharedDtor();
- }
- inline void ExcelModel_Sheet_Cell::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.val_.Destroy();
- }
- void ExcelModel_Sheet_Cell::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- PROTOBUF_NOINLINE void ExcelModel_Sheet_Cell::Clear() {
- // @@protoc_insertion_point(message_clear_start:palm.lily.v1.ExcelModel.Sheet.Cell)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.val_.ClearToEmpty();
- ::memset(&_impl_.row_, 0, static_cast<::size_t>(
- reinterpret_cast<char*>(&_impl_.col_) -
- reinterpret_cast<char*>(&_impl_.row_)) + sizeof(_impl_.col_));
- _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
- }
- const char* ExcelModel_Sheet_Cell::_InternalParse(
- const char* ptr, ::_pbi::ParseContext* ctx) {
- ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
- return ptr;
- }
- PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
- const ::_pbi::TcParseTable<2, 3, 0, 46, 2> ExcelModel_Sheet_Cell::_table_ = {
- {
- 0, // no _has_bits_
- 0, // no _extensions_
- 3, 24, // max_field_number, fast_idx_mask
- offsetof(decltype(_table_), field_lookup_table),
- 4294967288, // skipmap
- offsetof(decltype(_table_), field_entries),
- 3, // num_field_entries
- 0, // num_aux_entries
- offsetof(decltype(_table_), field_names), // no aux_entries
- &_ExcelModel_Sheet_Cell_default_instance_._instance,
- ::_pbi::TcParser::GenericFallback, // fallback
- }, {{
- {::_pbi::TcParser::MiniParse, {}},
- // uint32 row = 1;
- {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ExcelModel_Sheet_Cell, _impl_.row_), 63>(),
- {8, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.row_)}},
- // uint32 col = 2;
- {::_pbi::TcParser::SingularVarintNoZag1<::uint32_t, offsetof(ExcelModel_Sheet_Cell, _impl_.col_), 63>(),
- {16, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.col_)}},
- // string val = 3;
- {::_pbi::TcParser::FastUS1,
- {26, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.val_)}},
- }}, {{
- 65535, 65535
- }}, {{
- // uint32 row = 1;
- {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.row_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
- // uint32 col = 2;
- {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.col_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUInt32)},
- // string val = 3;
- {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.val_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- }},
- // no aux_entries
- {{
- "\42\0\0\3\0\0\0\0"
- "palm.lily.v1.ExcelModel.Sheet.Cell"
- "val"
- }},
- };
- ::uint8_t* ExcelModel_Sheet_Cell::_InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.ExcelModel.Sheet.Cell)
- ::uint32_t cached_has_bits = 0;
- (void)cached_has_bits;
- // uint32 row = 1;
- if (this->_internal_row() != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 1, this->_internal_row(), target);
- }
- // uint32 col = 2;
- if (this->_internal_col() != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteUInt32ToArray(
- 2, this->_internal_col(), target);
- }
- // string val = 3;
- if (!this->_internal_val().empty()) {
- const std::string& _s = this->_internal_val();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.ExcelModel.Sheet.Cell.val");
- target = stream->WriteStringMaybeAliased(3, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target =
- ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.ExcelModel.Sheet.Cell)
- return target;
- }
- ::size_t ExcelModel_Sheet_Cell::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.ExcelModel.Sheet.Cell)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string val = 3;
- if (!this->_internal_val().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_val());
- }
- // uint32 row = 1;
- if (this->_internal_row() != 0) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_row());
- }
- // uint32 col = 2;
- if (this->_internal_col() != 0) {
- total_size += ::_pbi::WireFormatLite::UInt32SizePlusOne(
- this->_internal_col());
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::google::protobuf::Message::ClassData ExcelModel_Sheet_Cell::_class_data_ = {
- ::google::protobuf::Message::CopyWithSourceCheck,
- ExcelModel_Sheet_Cell::MergeImpl
- };
- const ::google::protobuf::Message::ClassData*ExcelModel_Sheet_Cell::GetClassData() const { return &_class_data_; }
- void ExcelModel_Sheet_Cell::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
- auto* const _this = static_cast<ExcelModel_Sheet_Cell*>(&to_msg);
- auto& from = static_cast<const ExcelModel_Sheet_Cell&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.ExcelModel.Sheet.Cell)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_val().empty()) {
- _this->_internal_set_val(from._internal_val());
- }
- if (from._internal_row() != 0) {
- _this->_internal_set_row(from._internal_row());
- }
- if (from._internal_col() != 0) {
- _this->_internal_set_col(from._internal_col());
- }
- _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
- }
- void ExcelModel_Sheet_Cell::CopyFrom(const ExcelModel_Sheet_Cell& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.ExcelModel.Sheet.Cell)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- PROTOBUF_NOINLINE bool ExcelModel_Sheet_Cell::IsInitialized() const {
- return true;
- }
- void ExcelModel_Sheet_Cell::InternalSwap(ExcelModel_Sheet_Cell* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.val_, lhs_arena,
- &other->_impl_.val_, rhs_arena);
- ::google::protobuf::internal::memswap<
- PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.col_)
- + sizeof(ExcelModel_Sheet_Cell::_impl_.col_)
- - PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet_Cell, _impl_.row_)>(
- reinterpret_cast<char*>(&_impl_.row_),
- reinterpret_cast<char*>(&other->_impl_.row_));
- }
- ::google::protobuf::Metadata ExcelModel_Sheet_Cell::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[0]);
- }
- // ===================================================================
- class ExcelModel_Sheet::_Internal {
- public:
- };
- ExcelModel_Sheet::ExcelModel_Sheet(::google::protobuf::Arena* arena)
- : ::google::protobuf::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.ExcelModel.Sheet)
- }
- ExcelModel_Sheet::ExcelModel_Sheet(const ExcelModel_Sheet& from) : ::google::protobuf::Message() {
- ExcelModel_Sheet* const _this = this;
- (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.cells_){from._impl_.cells_},
- decltype(_impl_.name_){},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_name().empty()) {
- _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.ExcelModel.Sheet)
- }
- inline void ExcelModel_Sheet::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.cells_){arena},
- decltype(_impl_.name_){},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- ExcelModel_Sheet::~ExcelModel_Sheet() {
- // @@protoc_insertion_point(destructor:palm.lily.v1.ExcelModel.Sheet)
- _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
- SharedDtor();
- }
- inline void ExcelModel_Sheet::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.cells_.~RepeatedPtrField();
- _impl_.name_.Destroy();
- }
- void ExcelModel_Sheet::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- PROTOBUF_NOINLINE void ExcelModel_Sheet::Clear() {
- // @@protoc_insertion_point(message_clear_start:palm.lily.v1.ExcelModel.Sheet)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _internal_mutable_cells()->Clear();
- _impl_.name_.ClearToEmpty();
- _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
- }
- const char* ExcelModel_Sheet::_InternalParse(
- const char* ptr, ::_pbi::ParseContext* ctx) {
- ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
- return ptr;
- }
- PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
- const ::_pbi::TcParseTable<1, 2, 1, 42, 2> ExcelModel_Sheet::_table_ = {
- {
- 0, // no _has_bits_
- 0, // no _extensions_
- 2, 8, // max_field_number, fast_idx_mask
- offsetof(decltype(_table_), field_lookup_table),
- 4294967292, // skipmap
- offsetof(decltype(_table_), field_entries),
- 2, // num_field_entries
- 1, // num_aux_entries
- offsetof(decltype(_table_), aux_entries),
- &_ExcelModel_Sheet_default_instance_._instance,
- ::_pbi::TcParser::GenericFallback, // fallback
- }, {{
- // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
- {::_pbi::TcParser::FastMtR1,
- {18, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.cells_)}},
- // string name = 1;
- {::_pbi::TcParser::FastUS1,
- {10, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.name_)}},
- }}, {{
- 65535, 65535
- }}, {{
- // string name = 1;
- {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.name_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
- {PROTOBUF_FIELD_OFFSET(ExcelModel_Sheet, _impl_.cells_), 0, 0,
- (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
- }}, {{
- {::_pbi::TcParser::GetTable<::palm::lily::v1::ExcelModel_Sheet_Cell>()},
- }}, {{
- "\35\4\0\0\0\0\0\0"
- "palm.lily.v1.ExcelModel.Sheet"
- "name"
- }},
- };
- ::uint8_t* ExcelModel_Sheet::_InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.ExcelModel.Sheet)
- ::uint32_t cached_has_bits = 0;
- (void)cached_has_bits;
- // string name = 1;
- if (!this->_internal_name().empty()) {
- const std::string& _s = this->_internal_name();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.ExcelModel.Sheet.name");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_cells_size()); i < n; i++) {
- const auto& repfield = this->_internal_cells().Get(i);
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessage(2, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target =
- ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.ExcelModel.Sheet)
- return target;
- }
- ::size_t ExcelModel_Sheet::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.ExcelModel.Sheet)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .palm.lily.v1.ExcelModel.Sheet.Cell cells = 2;
- total_size += 1UL * this->_internal_cells_size();
- for (const auto& msg : this->_internal_cells()) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
- }
- // string name = 1;
- if (!this->_internal_name().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_name());
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::google::protobuf::Message::ClassData ExcelModel_Sheet::_class_data_ = {
- ::google::protobuf::Message::CopyWithSourceCheck,
- ExcelModel_Sheet::MergeImpl
- };
- const ::google::protobuf::Message::ClassData*ExcelModel_Sheet::GetClassData() const { return &_class_data_; }
- void ExcelModel_Sheet::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
- auto* const _this = static_cast<ExcelModel_Sheet*>(&to_msg);
- auto& from = static_cast<const ExcelModel_Sheet&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.ExcelModel.Sheet)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_internal_mutable_cells()->MergeFrom(from._internal_cells());
- if (!from._internal_name().empty()) {
- _this->_internal_set_name(from._internal_name());
- }
- _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
- }
- void ExcelModel_Sheet::CopyFrom(const ExcelModel_Sheet& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.ExcelModel.Sheet)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- PROTOBUF_NOINLINE bool ExcelModel_Sheet::IsInitialized() const {
- return true;
- }
- void ExcelModel_Sheet::InternalSwap(ExcelModel_Sheet* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.cells_.InternalSwap(&other->_impl_.cells_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
- &other->_impl_.name_, rhs_arena);
- }
- ::google::protobuf::Metadata ExcelModel_Sheet::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[1]);
- }
- // ===================================================================
- class ExcelModel::_Internal {
- public:
- };
- ExcelModel::ExcelModel(::google::protobuf::Arena* arena)
- : ::google::protobuf::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.ExcelModel)
- }
- ExcelModel::ExcelModel(const ExcelModel& from) : ::google::protobuf::Message() {
- ExcelModel* const _this = this;
- (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.sheets_){from._impl_.sheets_},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.ExcelModel)
- }
- inline void ExcelModel::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.sheets_){arena},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- }
- ExcelModel::~ExcelModel() {
- // @@protoc_insertion_point(destructor:palm.lily.v1.ExcelModel)
- _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
- SharedDtor();
- }
- inline void ExcelModel::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.sheets_.~RepeatedPtrField();
- }
- void ExcelModel::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- PROTOBUF_NOINLINE void ExcelModel::Clear() {
- // @@protoc_insertion_point(message_clear_start:palm.lily.v1.ExcelModel)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _internal_mutable_sheets()->Clear();
- _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
- }
- const char* ExcelModel::_InternalParse(
- const char* ptr, ::_pbi::ParseContext* ctx) {
- ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
- return ptr;
- }
- PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
- const ::_pbi::TcParseTable<0, 1, 1, 0, 2> ExcelModel::_table_ = {
- {
- 0, // no _has_bits_
- 0, // no _extensions_
- 1, 0, // max_field_number, fast_idx_mask
- offsetof(decltype(_table_), field_lookup_table),
- 4294967294, // skipmap
- offsetof(decltype(_table_), field_entries),
- 1, // num_field_entries
- 1, // num_aux_entries
- offsetof(decltype(_table_), aux_entries),
- &_ExcelModel_default_instance_._instance,
- ::_pbi::TcParser::GenericFallback, // fallback
- }, {{
- // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
- {::_pbi::TcParser::FastMtR1,
- {10, 63, 0, PROTOBUF_FIELD_OFFSET(ExcelModel, _impl_.sheets_)}},
- }}, {{
- 65535, 65535
- }}, {{
- // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
- {PROTOBUF_FIELD_OFFSET(ExcelModel, _impl_.sheets_), 0, 0,
- (0 | ::_fl::kFcRepeated | ::_fl::kMessage | ::_fl::kTvTable)},
- }}, {{
- {::_pbi::TcParser::GetTable<::palm::lily::v1::ExcelModel_Sheet>()},
- }}, {{
- }},
- };
- ::uint8_t* ExcelModel::_InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.ExcelModel)
- ::uint32_t cached_has_bits = 0;
- (void)cached_has_bits;
- // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
- for (unsigned i = 0,
- n = static_cast<unsigned>(this->_internal_sheets_size()); i < n; i++) {
- const auto& repfield = this->_internal_sheets().Get(i);
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessage(1, repfield, repfield.GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target =
- ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.ExcelModel)
- return target;
- }
- ::size_t ExcelModel::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.ExcelModel)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // repeated .palm.lily.v1.ExcelModel.Sheet sheets = 1;
- total_size += 1UL * this->_internal_sheets_size();
- for (const auto& msg : this->_internal_sheets()) {
- total_size +=
- ::google::protobuf::internal::WireFormatLite::MessageSize(msg);
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::google::protobuf::Message::ClassData ExcelModel::_class_data_ = {
- ::google::protobuf::Message::CopyWithSourceCheck,
- ExcelModel::MergeImpl
- };
- const ::google::protobuf::Message::ClassData*ExcelModel::GetClassData() const { return &_class_data_; }
- void ExcelModel::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
- auto* const _this = static_cast<ExcelModel*>(&to_msg);
- auto& from = static_cast<const ExcelModel&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.ExcelModel)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_internal_mutable_sheets()->MergeFrom(from._internal_sheets());
- _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
- }
- void ExcelModel::CopyFrom(const ExcelModel& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.ExcelModel)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- PROTOBUF_NOINLINE bool ExcelModel::IsInitialized() const {
- return true;
- }
- void ExcelModel::InternalSwap(ExcelModel* other) {
- using std::swap;
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- _impl_.sheets_.InternalSwap(&other->_impl_.sheets_);
- }
- ::google::protobuf::Metadata ExcelModel::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[2]);
- }
- // ===================================================================
- class S3File::_Internal {
- public:
- };
- S3File::S3File(::google::protobuf::Arena* arena)
- : ::google::protobuf::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.S3File)
- }
- S3File::S3File(const S3File& from) : ::google::protobuf::Message() {
- S3File* const _this = this;
- (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.bucket_){},
- decltype(_impl_.name_){},
- decltype(_impl_.content_type_){},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- _impl_.bucket_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.bucket_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_bucket().empty()) {
- _this->_impl_.bucket_.Set(from._internal_bucket(), _this->GetArenaForAllocation());
- }
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_name().empty()) {
- _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
- }
- _impl_.content_type_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.content_type_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_content_type().empty()) {
- _this->_impl_.content_type_.Set(from._internal_content_type(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.S3File)
- }
- inline void S3File::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.bucket_){},
- decltype(_impl_.name_){},
- decltype(_impl_.content_type_){},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _impl_.bucket_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.bucket_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.content_type_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.content_type_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- S3File::~S3File() {
- // @@protoc_insertion_point(destructor:palm.lily.v1.S3File)
- _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
- SharedDtor();
- }
- inline void S3File::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.bucket_.Destroy();
- _impl_.name_.Destroy();
- _impl_.content_type_.Destroy();
- }
- void S3File::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- PROTOBUF_NOINLINE void S3File::Clear() {
- // @@protoc_insertion_point(message_clear_start:palm.lily.v1.S3File)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.bucket_.ClearToEmpty();
- _impl_.name_.ClearToEmpty();
- _impl_.content_type_.ClearToEmpty();
- _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
- }
- const char* S3File::_InternalParse(
- const char* ptr, ::_pbi::ParseContext* ctx) {
- ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
- return ptr;
- }
- PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
- const ::_pbi::TcParseTable<1, 3, 0, 50, 2> S3File::_table_ = {
- {
- 0, // no _has_bits_
- 0, // no _extensions_
- 9, 8, // max_field_number, fast_idx_mask
- offsetof(decltype(_table_), field_lookup_table),
- 4294967036, // skipmap
- offsetof(decltype(_table_), field_entries),
- 3, // num_field_entries
- 0, // num_aux_entries
- offsetof(decltype(_table_), field_names), // no aux_entries
- &_S3File_default_instance_._instance,
- ::_pbi::TcParser::GenericFallback, // fallback
- }, {{
- // string name = 2;
- {::_pbi::TcParser::FastUS1,
- {18, 63, 0, PROTOBUF_FIELD_OFFSET(S3File, _impl_.name_)}},
- // string bucket = 1;
- {::_pbi::TcParser::FastUS1,
- {10, 63, 0, PROTOBUF_FIELD_OFFSET(S3File, _impl_.bucket_)}},
- }}, {{
- 65535, 65535
- }}, {{
- // string bucket = 1;
- {PROTOBUF_FIELD_OFFSET(S3File, _impl_.bucket_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- // string name = 2;
- {PROTOBUF_FIELD_OFFSET(S3File, _impl_.name_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- // string content_type = 9;
- {PROTOBUF_FIELD_OFFSET(S3File, _impl_.content_type_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- }},
- // no aux_entries
- {{
- "\23\6\4\14\0\0\0\0"
- "palm.lily.v1.S3File"
- "bucket"
- "name"
- "content_type"
- }},
- };
- ::uint8_t* S3File::_InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.S3File)
- ::uint32_t cached_has_bits = 0;
- (void)cached_has_bits;
- // string bucket = 1;
- if (!this->_internal_bucket().empty()) {
- const std::string& _s = this->_internal_bucket();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3File.bucket");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // string name = 2;
- if (!this->_internal_name().empty()) {
- const std::string& _s = this->_internal_name();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3File.name");
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- // string content_type = 9;
- if (!this->_internal_content_type().empty()) {
- const std::string& _s = this->_internal_content_type();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3File.content_type");
- target = stream->WriteStringMaybeAliased(9, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target =
- ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.S3File)
- return target;
- }
- ::size_t S3File::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.S3File)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string bucket = 1;
- if (!this->_internal_bucket().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_bucket());
- }
- // string name = 2;
- if (!this->_internal_name().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_name());
- }
- // string content_type = 9;
- if (!this->_internal_content_type().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_content_type());
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::google::protobuf::Message::ClassData S3File::_class_data_ = {
- ::google::protobuf::Message::CopyWithSourceCheck,
- S3File::MergeImpl
- };
- const ::google::protobuf::Message::ClassData*S3File::GetClassData() const { return &_class_data_; }
- void S3File::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
- auto* const _this = static_cast<S3File*>(&to_msg);
- auto& from = static_cast<const S3File&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.S3File)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_bucket().empty()) {
- _this->_internal_set_bucket(from._internal_bucket());
- }
- if (!from._internal_name().empty()) {
- _this->_internal_set_name(from._internal_name());
- }
- if (!from._internal_content_type().empty()) {
- _this->_internal_set_content_type(from._internal_content_type());
- }
- _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
- }
- void S3File::CopyFrom(const S3File& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.S3File)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- PROTOBUF_NOINLINE bool S3File::IsInitialized() const {
- return true;
- }
- void S3File::InternalSwap(S3File* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bucket_, lhs_arena,
- &other->_impl_.bucket_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
- &other->_impl_.name_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.content_type_, lhs_arena,
- &other->_impl_.content_type_, rhs_arena);
- }
- ::google::protobuf::Metadata S3File::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[3]);
- }
- // ===================================================================
- class S3GetFileRequest::_Internal {
- public:
- using HasBits = decltype(std::declval<S3GetFileRequest>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_._has_bits_);
- static const ::google::protobuf::Duration& ttl(const S3GetFileRequest* msg);
- static void set_has_ttl(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::google::protobuf::Duration& S3GetFileRequest::_Internal::ttl(const S3GetFileRequest* msg) {
- return *msg->_impl_.ttl_;
- }
- void S3GetFileRequest::clear_ttl() {
- if (_impl_.ttl_ != nullptr) _impl_.ttl_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- S3GetFileRequest::S3GetFileRequest(::google::protobuf::Arena* arena)
- : ::google::protobuf::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.S3GetFileRequest)
- }
- S3GetFileRequest::S3GetFileRequest(const S3GetFileRequest& from) : ::google::protobuf::Message() {
- S3GetFileRequest* const _this = this;
- (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_},
- /*decltype(_impl_._cached_size_)*/ {},
- decltype(_impl_.bucket_){},
- decltype(_impl_.name_){},
- decltype(_impl_.ttl_){nullptr},
- };
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- _impl_.bucket_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.bucket_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_bucket().empty()) {
- _this->_impl_.bucket_.Set(from._internal_bucket(), _this->GetArenaForAllocation());
- }
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_name().empty()) {
- _this->_impl_.name_.Set(from._internal_name(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.ttl_ = new ::google::protobuf::Duration(*from._impl_.ttl_);
- }
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.S3GetFileRequest)
- }
- inline void S3GetFileRequest::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){},
- /*decltype(_impl_._cached_size_)*/ {},
- decltype(_impl_.bucket_){},
- decltype(_impl_.name_){},
- decltype(_impl_.ttl_){nullptr},
- };
- _impl_.bucket_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.bucket_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.name_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- S3GetFileRequest::~S3GetFileRequest() {
- // @@protoc_insertion_point(destructor:palm.lily.v1.S3GetFileRequest)
- _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
- SharedDtor();
- }
- inline void S3GetFileRequest::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.bucket_.Destroy();
- _impl_.name_.Destroy();
- if (this != internal_default_instance()) delete _impl_.ttl_;
- }
- void S3GetFileRequest::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- PROTOBUF_NOINLINE void S3GetFileRequest::Clear() {
- // @@protoc_insertion_point(message_clear_start:palm.lily.v1.S3GetFileRequest)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.bucket_.ClearToEmpty();
- _impl_.name_.ClearToEmpty();
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- ABSL_DCHECK(_impl_.ttl_ != nullptr);
- _impl_.ttl_->Clear();
- }
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
- }
- const char* S3GetFileRequest::_InternalParse(
- const char* ptr, ::_pbi::ParseContext* ctx) {
- ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
- return ptr;
- }
- PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
- const ::_pbi::TcParseTable<1, 3, 1, 48, 2> S3GetFileRequest::_table_ = {
- {
- PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_._has_bits_),
- 0, // no _extensions_
- 9, 8, // max_field_number, fast_idx_mask
- offsetof(decltype(_table_), field_lookup_table),
- 4294967036, // skipmap
- offsetof(decltype(_table_), field_entries),
- 3, // num_field_entries
- 1, // num_aux_entries
- offsetof(decltype(_table_), aux_entries),
- &_S3GetFileRequest_default_instance_._instance,
- ::_pbi::TcParser::GenericFallback, // fallback
- }, {{
- // string name = 2;
- {::_pbi::TcParser::FastUS1,
- {18, 63, 0, PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.name_)}},
- // string bucket = 1;
- {::_pbi::TcParser::FastUS1,
- {10, 63, 0, PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.bucket_)}},
- }}, {{
- 65535, 65535
- }}, {{
- // string bucket = 1;
- {PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.bucket_), -1, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- // string name = 2;
- {PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.name_), -1, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- // .google.protobuf.Duration ttl = 9;
- {PROTOBUF_FIELD_OFFSET(S3GetFileRequest, _impl_.ttl_), _Internal::kHasBitsOffset + 0, 0,
- (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
- }}, {{
- {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
- }}, {{
- "\35\6\4\0\0\0\0\0"
- "palm.lily.v1.S3GetFileRequest"
- "bucket"
- "name"
- }},
- };
- ::uint8_t* S3GetFileRequest::_InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.S3GetFileRequest)
- ::uint32_t cached_has_bits = 0;
- (void)cached_has_bits;
- // string bucket = 1;
- if (!this->_internal_bucket().empty()) {
- const std::string& _s = this->_internal_bucket();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3GetFileRequest.bucket");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // string name = 2;
- if (!this->_internal_name().empty()) {
- const std::string& _s = this->_internal_name();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3GetFileRequest.name");
- target = stream->WriteStringMaybeAliased(2, _s, target);
- }
- cached_has_bits = _impl_._has_bits_[0];
- // .google.protobuf.Duration ttl = 9;
- if (cached_has_bits & 0x00000001u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessage(9, _Internal::ttl(this),
- _Internal::ttl(this).GetCachedSize(), target, stream);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target =
- ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.S3GetFileRequest)
- return target;
- }
- ::size_t S3GetFileRequest::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.S3GetFileRequest)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string bucket = 1;
- if (!this->_internal_bucket().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_bucket());
- }
- // string name = 2;
- if (!this->_internal_name().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_name());
- }
- // .google.protobuf.Duration ttl = 9;
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *_impl_.ttl_);
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::google::protobuf::Message::ClassData S3GetFileRequest::_class_data_ = {
- ::google::protobuf::Message::CopyWithSourceCheck,
- S3GetFileRequest::MergeImpl
- };
- const ::google::protobuf::Message::ClassData*S3GetFileRequest::GetClassData() const { return &_class_data_; }
- void S3GetFileRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
- auto* const _this = static_cast<S3GetFileRequest*>(&to_msg);
- auto& from = static_cast<const S3GetFileRequest&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.S3GetFileRequest)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_bucket().empty()) {
- _this->_internal_set_bucket(from._internal_bucket());
- }
- if (!from._internal_name().empty()) {
- _this->_internal_set_name(from._internal_name());
- }
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_internal_mutable_ttl()->::google::protobuf::Duration::MergeFrom(
- from._internal_ttl());
- }
- _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
- }
- void S3GetFileRequest::CopyFrom(const S3GetFileRequest& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.S3GetFileRequest)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- PROTOBUF_NOINLINE bool S3GetFileRequest::IsInitialized() const {
- return true;
- }
- void S3GetFileRequest::InternalSwap(S3GetFileRequest* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.bucket_, lhs_arena,
- &other->_impl_.bucket_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.name_, lhs_arena,
- &other->_impl_.name_, rhs_arena);
- swap(_impl_.ttl_, other->_impl_.ttl_);
- }
- ::google::protobuf::Metadata S3GetFileRequest::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[4]);
- }
- // ===================================================================
- class S3GetFileResponse::_Internal {
- public:
- };
- S3GetFileResponse::S3GetFileResponse(::google::protobuf::Arena* arena)
- : ::google::protobuf::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.S3GetFileResponse)
- }
- S3GetFileResponse::S3GetFileResponse(const S3GetFileResponse& from) : ::google::protobuf::Message() {
- S3GetFileResponse* const _this = this;
- (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_.url_){},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- _impl_.url_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.url_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_url().empty()) {
- _this->_impl_.url_.Set(from._internal_url(), _this->GetArenaForAllocation());
- }
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.S3GetFileResponse)
- }
- inline void S3GetFileResponse::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_.url_){},
- /*decltype(_impl_._cached_size_)*/ {},
- };
- _impl_.url_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.url_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- S3GetFileResponse::~S3GetFileResponse() {
- // @@protoc_insertion_point(destructor:palm.lily.v1.S3GetFileResponse)
- _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
- SharedDtor();
- }
- inline void S3GetFileResponse::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.url_.Destroy();
- }
- void S3GetFileResponse::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- PROTOBUF_NOINLINE void S3GetFileResponse::Clear() {
- // @@protoc_insertion_point(message_clear_start:palm.lily.v1.S3GetFileResponse)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.url_.ClearToEmpty();
- _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
- }
- const char* S3GetFileResponse::_InternalParse(
- const char* ptr, ::_pbi::ParseContext* ctx) {
- ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
- return ptr;
- }
- PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
- const ::_pbi::TcParseTable<0, 1, 0, 42, 2> S3GetFileResponse::_table_ = {
- {
- 0, // no _has_bits_
- 0, // no _extensions_
- 1, 0, // max_field_number, fast_idx_mask
- offsetof(decltype(_table_), field_lookup_table),
- 4294967294, // skipmap
- offsetof(decltype(_table_), field_entries),
- 1, // num_field_entries
- 0, // num_aux_entries
- offsetof(decltype(_table_), field_names), // no aux_entries
- &_S3GetFileResponse_default_instance_._instance,
- ::_pbi::TcParser::GenericFallback, // fallback
- }, {{
- // string url = 1;
- {::_pbi::TcParser::FastUS1,
- {10, 63, 0, PROTOBUF_FIELD_OFFSET(S3GetFileResponse, _impl_.url_)}},
- }}, {{
- 65535, 65535
- }}, {{
- // string url = 1;
- {PROTOBUF_FIELD_OFFSET(S3GetFileResponse, _impl_.url_), 0, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- }},
- // no aux_entries
- {{
- "\36\3\0\0\0\0\0\0"
- "palm.lily.v1.S3GetFileResponse"
- "url"
- }},
- };
- ::uint8_t* S3GetFileResponse::_InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.S3GetFileResponse)
- ::uint32_t cached_has_bits = 0;
- (void)cached_has_bits;
- // string url = 1;
- if (!this->_internal_url().empty()) {
- const std::string& _s = this->_internal_url();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.S3GetFileResponse.url");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target =
- ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.S3GetFileResponse)
- return target;
- }
- ::size_t S3GetFileResponse::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.S3GetFileResponse)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // string url = 1;
- if (!this->_internal_url().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_url());
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::google::protobuf::Message::ClassData S3GetFileResponse::_class_data_ = {
- ::google::protobuf::Message::CopyWithSourceCheck,
- S3GetFileResponse::MergeImpl
- };
- const ::google::protobuf::Message::ClassData*S3GetFileResponse::GetClassData() const { return &_class_data_; }
- void S3GetFileResponse::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
- auto* const _this = static_cast<S3GetFileResponse*>(&to_msg);
- auto& from = static_cast<const S3GetFileResponse&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.S3GetFileResponse)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- if (!from._internal_url().empty()) {
- _this->_internal_set_url(from._internal_url());
- }
- _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
- }
- void S3GetFileResponse::CopyFrom(const S3GetFileResponse& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.S3GetFileResponse)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- PROTOBUF_NOINLINE bool S3GetFileResponse::IsInitialized() const {
- return true;
- }
- void S3GetFileResponse::InternalSwap(S3GetFileResponse* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.url_, lhs_arena,
- &other->_impl_.url_, rhs_arena);
- }
- ::google::protobuf::Metadata S3GetFileResponse::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[5]);
- }
- // ===================================================================
- TexToRequest_FilesEntry_DoNotUse::TexToRequest_FilesEntry_DoNotUse() {}
- TexToRequest_FilesEntry_DoNotUse::TexToRequest_FilesEntry_DoNotUse(::google::protobuf::Arena* arena)
- : SuperType(arena) {}
- void TexToRequest_FilesEntry_DoNotUse::MergeFrom(const TexToRequest_FilesEntry_DoNotUse& other) {
- MergeFromInternal(other);
- }
- ::google::protobuf::Metadata TexToRequest_FilesEntry_DoNotUse::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[6]);
- }
- // ===================================================================
- class TexToRequest::_Internal {
- public:
- using HasBits = decltype(std::declval<TexToRequest>()._impl_._has_bits_);
- static constexpr ::int32_t kHasBitsOffset =
- 8 * PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_._has_bits_);
- static const ::google::protobuf::Duration& ttl(const TexToRequest* msg);
- static void set_has_ttl(HasBits* has_bits) {
- (*has_bits)[0] |= 2u;
- }
- static void set_has_owner(HasBits* has_bits) {
- (*has_bits)[0] |= 1u;
- }
- };
- const ::google::protobuf::Duration& TexToRequest::_Internal::ttl(const TexToRequest* msg) {
- return *msg->_impl_.ttl_;
- }
- void TexToRequest::clear_ttl() {
- if (_impl_.ttl_ != nullptr) _impl_.ttl_->Clear();
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- TexToRequest::TexToRequest(::google::protobuf::Arena* arena)
- : ::google::protobuf::Message(arena) {
- SharedCtor(arena);
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.TexToRequest)
- }
- TexToRequest::TexToRequest(const TexToRequest& from) : ::google::protobuf::Message() {
- TexToRequest* const _this = this;
- (void)_this;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){from._impl_._has_bits_},
- /*decltype(_impl_._cached_size_)*/ {},
- /* decltype(_impl_.files_) */ {},
- decltype(_impl_.title_){},
- decltype(_impl_.owner_){},
- decltype(_impl_.ttl_){nullptr},
- decltype(_impl_.published_){},
- };
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- _this->_impl_.files_.MergeFrom(from._impl_.files_);
- _impl_.title_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.title_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (!from._internal_title().empty()) {
- _this->_impl_.title_.Set(from._internal_title(), _this->GetArenaForAllocation());
- }
- _impl_.owner_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.owner_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if ((from._impl_._has_bits_[0] & 0x00000001u) != 0) {
- _this->_impl_.owner_.Set(from._internal_owner(), _this->GetArenaForAllocation());
- }
- if ((from._impl_._has_bits_[0] & 0x00000002u) != 0) {
- _this->_impl_.ttl_ = new ::google::protobuf::Duration(*from._impl_.ttl_);
- }
- _this->_impl_.published_ = from._impl_.published_;
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.TexToRequest)
- }
- inline void TexToRequest::SharedCtor(::_pb::Arena* arena) {
- (void)arena;
- new (&_impl_) Impl_{
- decltype(_impl_._has_bits_){},
- /*decltype(_impl_._cached_size_)*/ {},
- /* decltype(_impl_.files_) */ {::google::protobuf::internal::ArenaInitialized(), arena},
- decltype(_impl_.title_){},
- decltype(_impl_.owner_){},
- decltype(_impl_.ttl_){nullptr},
- decltype(_impl_.published_){false},
- };
- _impl_.title_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.title_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.owner_.InitDefault();
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- _impl_.owner_.Set("", GetArenaForAllocation());
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- }
- TexToRequest::~TexToRequest() {
- // @@protoc_insertion_point(destructor:palm.lily.v1.TexToRequest)
- _internal_metadata_.Delete<::google::protobuf::UnknownFieldSet>();
- SharedDtor();
- }
- inline void TexToRequest::SharedDtor() {
- ABSL_DCHECK(GetArenaForAllocation() == nullptr);
- _impl_.files_.~MapField();
- _impl_.title_.Destroy();
- _impl_.owner_.Destroy();
- if (this != internal_default_instance()) delete _impl_.ttl_;
- }
- void TexToRequest::SetCachedSize(int size) const {
- _impl_._cached_size_.Set(size);
- }
- PROTOBUF_NOINLINE void TexToRequest::Clear() {
- // @@protoc_insertion_point(message_clear_start:palm.lily.v1.TexToRequest)
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- _impl_.files_.Clear();
- _impl_.title_.ClearToEmpty();
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _impl_.owner_.ClearNonDefaultToEmpty();
- }
- if (cached_has_bits & 0x00000002u) {
- ABSL_DCHECK(_impl_.ttl_ != nullptr);
- _impl_.ttl_->Clear();
- }
- }
- _impl_.published_ = false;
- _impl_._has_bits_.Clear();
- _internal_metadata_.Clear<::google::protobuf::UnknownFieldSet>();
- }
- const char* TexToRequest::_InternalParse(
- const char* ptr, ::_pbi::ParseContext* ctx) {
- ptr = ::_pbi::TcParser::ParseLoop(this, ptr, ctx, &_table_.header);
- return ptr;
- }
- PROTOBUF_CONSTINIT PROTOBUF_ATTRIBUTE_INIT_PRIORITY1
- const ::_pbi::TcParseTable<2, 5, 2, 49, 2> TexToRequest::_table_ = {
- {
- PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_._has_bits_),
- 0, // no _extensions_
- 9, 24, // max_field_number, fast_idx_mask
- offsetof(decltype(_table_), field_lookup_table),
- 4294966844, // skipmap
- offsetof(decltype(_table_), field_entries),
- 5, // num_field_entries
- 2, // num_aux_entries
- offsetof(decltype(_table_), aux_entries),
- &_TexToRequest_default_instance_._instance,
- ::_pbi::TcParser::GenericFallback, // fallback
- }, {{
- // optional string owner = 8;
- {::_pbi::TcParser::FastUS1,
- {66, 0, 0, PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.owner_)}},
- // string title = 1;
- {::_pbi::TcParser::FastUS1,
- {10, 63, 0, PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.title_)}},
- {::_pbi::TcParser::MiniParse, {}},
- // optional .google.protobuf.Duration ttl = 7;
- {::_pbi::TcParser::FastMtS1,
- {58, 1, 1, PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.ttl_)}},
- }}, {{
- 65535, 65535
- }}, {{
- // string title = 1;
- {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.title_), -1, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kUtf8String | ::_fl::kRepAString)},
- // map<string, bytes> files = 2;
- {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.files_), -1, 0,
- (0 | ::_fl::kFcRepeated | ::_fl::kMap)},
- // optional .google.protobuf.Duration ttl = 7;
- {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.ttl_), _Internal::kHasBitsOffset + 1, 1,
- (0 | ::_fl::kFcOptional | ::_fl::kMessage | ::_fl::kTvTable)},
- // optional string owner = 8;
- {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.owner_), _Internal::kHasBitsOffset + 0, 0,
- (0 | ::_fl::kFcOptional | ::_fl::kUtf8String | ::_fl::kRepAString)},
- // bool published = 9;
- {PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.published_), -1, 0,
- (0 | ::_fl::kFcSingular | ::_fl::kBool)},
- }}, {{
- {::_pbi::TcParser::GetMapAuxInfo<decltype(TexToRequest()._impl_.files_)>(1, 0, 0)},
- {::_pbi::TcParser::GetTable<::google::protobuf::Duration>()},
- }}, {{
- "\31\5\5\0\5\0\0\0"
- "palm.lily.v1.TexToRequest"
- "title"
- "files"
- "owner"
- }},
- };
- ::uint8_t* TexToRequest::_InternalSerialize(
- ::uint8_t* target,
- ::google::protobuf::io::EpsCopyOutputStream* stream) const {
- // @@protoc_insertion_point(serialize_to_array_start:palm.lily.v1.TexToRequest)
- ::uint32_t cached_has_bits = 0;
- (void)cached_has_bits;
- // string title = 1;
- if (!this->_internal_title().empty()) {
- const std::string& _s = this->_internal_title();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.title");
- target = stream->WriteStringMaybeAliased(1, _s, target);
- }
- // map<string, bytes> files = 2;
- if (!_internal_files().empty()) {
- using MapType = ::google::protobuf::Map<std::string, std::string>;
- using WireHelper = TexToRequest_FilesEntry_DoNotUse::Funcs;
- const auto& field = _internal_files();
- if (stream->IsSerializationDeterministic() && field.size() > 1) {
- for (const auto& entry : ::google::protobuf::internal::MapSorterPtr<MapType>(field)) {
- target = WireHelper::InternalSerialize(
- 2, entry.first, entry.second, target, stream);
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- entry.first.data(), static_cast<int>(entry.first.length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.files");
- }
- } else {
- for (const auto& entry : field) {
- target = WireHelper::InternalSerialize(
- 2, entry.first, entry.second, target, stream);
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- entry.first.data(), static_cast<int>(entry.first.length()),
- ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.files");
- }
- }
- }
- cached_has_bits = _impl_._has_bits_[0];
- // optional .google.protobuf.Duration ttl = 7;
- if (cached_has_bits & 0x00000002u) {
- target = ::google::protobuf::internal::WireFormatLite::
- InternalWriteMessage(7, _Internal::ttl(this),
- _Internal::ttl(this).GetCachedSize(), target, stream);
- }
- // optional string owner = 8;
- if (cached_has_bits & 0x00000001u) {
- const std::string& _s = this->_internal_owner();
- ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(
- _s.data(), static_cast<int>(_s.length()), ::google::protobuf::internal::WireFormatLite::SERIALIZE, "palm.lily.v1.TexToRequest.owner");
- target = stream->WriteStringMaybeAliased(8, _s, target);
- }
- // bool published = 9;
- if (this->_internal_published() != 0) {
- target = stream->EnsureSpace(target);
- target = ::_pbi::WireFormatLite::WriteBoolToArray(
- 9, this->_internal_published(), target);
- }
- if (PROTOBUF_PREDICT_FALSE(_internal_metadata_.have_unknown_fields())) {
- target =
- ::_pbi::WireFormat::InternalSerializeUnknownFieldsToArray(
- _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance), target, stream);
- }
- // @@protoc_insertion_point(serialize_to_array_end:palm.lily.v1.TexToRequest)
- return target;
- }
- ::size_t TexToRequest::ByteSizeLong() const {
- // @@protoc_insertion_point(message_byte_size_start:palm.lily.v1.TexToRequest)
- ::size_t total_size = 0;
- ::uint32_t cached_has_bits = 0;
- // Prevent compiler warnings about cached_has_bits being unused
- (void) cached_has_bits;
- // map<string, bytes> files = 2;
- total_size += 1 * ::google::protobuf::internal::FromIntSize(_internal_files_size());
- for (const auto& entry : _internal_files()) {
- total_size += TexToRequest_FilesEntry_DoNotUse::Funcs::ByteSizeLong(entry.first, entry.second);
- }
- // string title = 1;
- if (!this->_internal_title().empty()) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_title());
- }
- cached_has_bits = _impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- // optional string owner = 8;
- if (cached_has_bits & 0x00000001u) {
- total_size += 1 + ::google::protobuf::internal::WireFormatLite::StringSize(
- this->_internal_owner());
- }
- // optional .google.protobuf.Duration ttl = 7;
- if (cached_has_bits & 0x00000002u) {
- total_size += 1 +
- ::google::protobuf::internal::WireFormatLite::MessageSize(
- *_impl_.ttl_);
- }
- }
- // bool published = 9;
- if (this->_internal_published() != 0) {
- total_size += 2;
- }
- return MaybeComputeUnknownFieldsSize(total_size, &_impl_._cached_size_);
- }
- const ::google::protobuf::Message::ClassData TexToRequest::_class_data_ = {
- ::google::protobuf::Message::CopyWithSourceCheck,
- TexToRequest::MergeImpl
- };
- const ::google::protobuf::Message::ClassData*TexToRequest::GetClassData() const { return &_class_data_; }
- void TexToRequest::MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg) {
- auto* const _this = static_cast<TexToRequest*>(&to_msg);
- auto& from = static_cast<const TexToRequest&>(from_msg);
- // @@protoc_insertion_point(class_specific_merge_from_start:palm.lily.v1.TexToRequest)
- ABSL_DCHECK_NE(&from, _this);
- ::uint32_t cached_has_bits = 0;
- (void) cached_has_bits;
- _this->_impl_.files_.MergeFrom(from._impl_.files_);
- if (!from._internal_title().empty()) {
- _this->_internal_set_title(from._internal_title());
- }
- cached_has_bits = from._impl_._has_bits_[0];
- if (cached_has_bits & 0x00000003u) {
- if (cached_has_bits & 0x00000001u) {
- _this->_internal_set_owner(from._internal_owner());
- }
- if (cached_has_bits & 0x00000002u) {
- _this->_internal_mutable_ttl()->::google::protobuf::Duration::MergeFrom(
- from._internal_ttl());
- }
- }
- if (from._internal_published() != 0) {
- _this->_internal_set_published(from._internal_published());
- }
- _this->_internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(from._internal_metadata_);
- }
- void TexToRequest::CopyFrom(const TexToRequest& from) {
- // @@protoc_insertion_point(class_specific_copy_from_start:palm.lily.v1.TexToRequest)
- if (&from == this) return;
- Clear();
- MergeFrom(from);
- }
- PROTOBUF_NOINLINE bool TexToRequest::IsInitialized() const {
- return true;
- }
- void TexToRequest::InternalSwap(TexToRequest* other) {
- using std::swap;
- auto* lhs_arena = GetArenaForAllocation();
- auto* rhs_arena = other->GetArenaForAllocation();
- _internal_metadata_.InternalSwap(&other->_internal_metadata_);
- swap(_impl_._has_bits_[0], other->_impl_._has_bits_[0]);
- _impl_.files_.InternalSwap(&other->_impl_.files_);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.title_, lhs_arena,
- &other->_impl_.title_, rhs_arena);
- ::_pbi::ArenaStringPtr::InternalSwap(&_impl_.owner_, lhs_arena,
- &other->_impl_.owner_, rhs_arena);
- ::google::protobuf::internal::memswap<
- PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.published_)
- + sizeof(TexToRequest::_impl_.published_)
- - PROTOBUF_FIELD_OFFSET(TexToRequest, _impl_.ttl_)>(
- reinterpret_cast<char*>(&_impl_.ttl_),
- reinterpret_cast<char*>(&other->_impl_.ttl_));
- }
- ::google::protobuf::Metadata TexToRequest::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[7]);
- }
- // ===================================================================
- class EpubBuildRequest::_Internal {
- public:
- };
- EpubBuildRequest::EpubBuildRequest(::google::protobuf::Arena* arena)
- : ::google::protobuf::internal::ZeroFieldsBase(arena) {
- // @@protoc_insertion_point(arena_constructor:palm.lily.v1.EpubBuildRequest)
- }
- EpubBuildRequest::EpubBuildRequest(const EpubBuildRequest& from) : ::google::protobuf::internal::ZeroFieldsBase() {
- EpubBuildRequest* const _this = this;
- (void)_this;
- _internal_metadata_.MergeFrom<::google::protobuf::UnknownFieldSet>(
- from._internal_metadata_);
- // @@protoc_insertion_point(copy_constructor:palm.lily.v1.EpubBuildRequest)
- }
- const ::google::protobuf::Message::ClassData EpubBuildRequest::_class_data_ = {
- ::google::protobuf::internal::ZeroFieldsBase::CopyImpl,
- ::google::protobuf::internal::ZeroFieldsBase::MergeImpl,
- };
- const ::google::protobuf::Message::ClassData*EpubBuildRequest::GetClassData() const { return &_class_data_; }
- ::google::protobuf::Metadata EpubBuildRequest::GetMetadata() const {
- return ::_pbi::AssignDescriptors(
- &descriptor_table_lily_2eproto_getter, &descriptor_table_lily_2eproto_once,
- file_level_metadata_lily_2eproto[8]);
- }
- // @@protoc_insertion_point(namespace_scope)
- } // namespace v1
- } // namespace lily
- } // namespace palm
- namespace google {
- namespace protobuf {
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #include "google/protobuf/port_undef.inc"
|