| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947 |
- /*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: google/firestore/v1/query.proto
- // Protobuf C++ Version: 4.25.1
- #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fquery_2eproto_2epb_2eh
- #define GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fquery_2eproto_2epb_2eh
- #include <limits>
- #include <string>
- #include <type_traits>
- #include <utility>
- #include "google/protobuf/port_def.inc"
- #if PROTOBUF_VERSION < 4025000
- #error "This file was generated by a newer version of protoc which is"
- #error "incompatible with your Protocol Buffer headers. Please update"
- #error "your headers."
- #endif // PROTOBUF_VERSION
- #if 4025001 < PROTOBUF_MIN_PROTOC_VERSION
- #error "This file was generated by an older version of protoc which is"
- #error "incompatible with your Protocol Buffer headers. Please"
- #error "regenerate this file with a newer version of protoc."
- #endif // PROTOBUF_MIN_PROTOC_VERSION
- #include "google/protobuf/port_undef.inc"
- #include "google/protobuf/io/coded_stream.h"
- #include "google/protobuf/arena.h"
- #include "google/protobuf/arenastring.h"
- #include "google/protobuf/generated_message_tctable_decl.h"
- #include "google/protobuf/generated_message_util.h"
- #include "google/protobuf/metadata_lite.h"
- #include "google/protobuf/generated_message_reflection.h"
- #include "google/protobuf/message.h"
- #include "google/protobuf/repeated_field.h" // IWYU pragma: export
- #include "google/protobuf/extension_set.h" // IWYU pragma: export
- #include "google/protobuf/generated_enum_reflection.h"
- #include "google/protobuf/unknown_field_set.h"
- #include "google/firestore/v1/document.pb.h"
- #include "google/protobuf/wrappers.pb.h"
- // @@protoc_insertion_point(includes)
- // Must be included last.
- #include "google/protobuf/port_def.inc"
- #define PROTOBUF_INTERNAL_EXPORT_google_2ffirestore_2fv1_2fquery_2eproto
- namespace google {
- namespace protobuf {
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- } // namespace protobuf
- } // namespace google
- // Internal implementation detail -- do not use these members.
- struct TableStruct_google_2ffirestore_2fv1_2fquery_2eproto {
- static const ::uint32_t offsets[];
- };
- extern const ::google::protobuf::internal::DescriptorTable
- descriptor_table_google_2ffirestore_2fv1_2fquery_2eproto;
- namespace google {
- namespace firestore {
- namespace v1 {
- class Cursor;
- struct CursorDefaultTypeInternal;
- extern CursorDefaultTypeInternal _Cursor_default_instance_;
- class StructuredAggregationQuery;
- struct StructuredAggregationQueryDefaultTypeInternal;
- extern StructuredAggregationQueryDefaultTypeInternal _StructuredAggregationQuery_default_instance_;
- class StructuredAggregationQuery_Aggregation;
- struct StructuredAggregationQuery_AggregationDefaultTypeInternal;
- extern StructuredAggregationQuery_AggregationDefaultTypeInternal _StructuredAggregationQuery_Aggregation_default_instance_;
- class StructuredAggregationQuery_Aggregation_Avg;
- struct StructuredAggregationQuery_Aggregation_AvgDefaultTypeInternal;
- extern StructuredAggregationQuery_Aggregation_AvgDefaultTypeInternal _StructuredAggregationQuery_Aggregation_Avg_default_instance_;
- class StructuredAggregationQuery_Aggregation_Count;
- struct StructuredAggregationQuery_Aggregation_CountDefaultTypeInternal;
- extern StructuredAggregationQuery_Aggregation_CountDefaultTypeInternal _StructuredAggregationQuery_Aggregation_Count_default_instance_;
- class StructuredAggregationQuery_Aggregation_Sum;
- struct StructuredAggregationQuery_Aggregation_SumDefaultTypeInternal;
- extern StructuredAggregationQuery_Aggregation_SumDefaultTypeInternal _StructuredAggregationQuery_Aggregation_Sum_default_instance_;
- class StructuredQuery;
- struct StructuredQueryDefaultTypeInternal;
- extern StructuredQueryDefaultTypeInternal _StructuredQuery_default_instance_;
- class StructuredQuery_CollectionSelector;
- struct StructuredQuery_CollectionSelectorDefaultTypeInternal;
- extern StructuredQuery_CollectionSelectorDefaultTypeInternal _StructuredQuery_CollectionSelector_default_instance_;
- class StructuredQuery_CompositeFilter;
- struct StructuredQuery_CompositeFilterDefaultTypeInternal;
- extern StructuredQuery_CompositeFilterDefaultTypeInternal _StructuredQuery_CompositeFilter_default_instance_;
- class StructuredQuery_FieldFilter;
- struct StructuredQuery_FieldFilterDefaultTypeInternal;
- extern StructuredQuery_FieldFilterDefaultTypeInternal _StructuredQuery_FieldFilter_default_instance_;
- class StructuredQuery_FieldReference;
- struct StructuredQuery_FieldReferenceDefaultTypeInternal;
- extern StructuredQuery_FieldReferenceDefaultTypeInternal _StructuredQuery_FieldReference_default_instance_;
- class StructuredQuery_Filter;
- struct StructuredQuery_FilterDefaultTypeInternal;
- extern StructuredQuery_FilterDefaultTypeInternal _StructuredQuery_Filter_default_instance_;
- class StructuredQuery_Order;
- struct StructuredQuery_OrderDefaultTypeInternal;
- extern StructuredQuery_OrderDefaultTypeInternal _StructuredQuery_Order_default_instance_;
- class StructuredQuery_Projection;
- struct StructuredQuery_ProjectionDefaultTypeInternal;
- extern StructuredQuery_ProjectionDefaultTypeInternal _StructuredQuery_Projection_default_instance_;
- class StructuredQuery_UnaryFilter;
- struct StructuredQuery_UnaryFilterDefaultTypeInternal;
- extern StructuredQuery_UnaryFilterDefaultTypeInternal _StructuredQuery_UnaryFilter_default_instance_;
- } // namespace v1
- } // namespace firestore
- namespace protobuf {
- } // namespace protobuf
- } // namespace google
- namespace google {
- namespace firestore {
- namespace v1 {
- enum StructuredQuery_CompositeFilter_Operator : int {
- StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED = 0,
- StructuredQuery_CompositeFilter_Operator_AND = 1,
- StructuredQuery_CompositeFilter_Operator_OR = 2,
- StructuredQuery_CompositeFilter_Operator_StructuredQuery_CompositeFilter_Operator_INT_MIN_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::min(),
- StructuredQuery_CompositeFilter_Operator_StructuredQuery_CompositeFilter_Operator_INT_MAX_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::max(),
- };
- bool StructuredQuery_CompositeFilter_Operator_IsValid(int value);
- extern const uint32_t StructuredQuery_CompositeFilter_Operator_internal_data_[];
- constexpr StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter_Operator_Operator_MIN = static_cast<StructuredQuery_CompositeFilter_Operator>(0);
- constexpr StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter_Operator_Operator_MAX = static_cast<StructuredQuery_CompositeFilter_Operator>(2);
- constexpr int StructuredQuery_CompositeFilter_Operator_Operator_ARRAYSIZE = 2 + 1;
- const ::google::protobuf::EnumDescriptor*
- StructuredQuery_CompositeFilter_Operator_descriptor();
- template <typename T>
- const std::string& StructuredQuery_CompositeFilter_Operator_Name(T value) {
- static_assert(std::is_same<T, StructuredQuery_CompositeFilter_Operator>::value ||
- std::is_integral<T>::value,
- "Incorrect type passed to Operator_Name().");
- return StructuredQuery_CompositeFilter_Operator_Name(static_cast<StructuredQuery_CompositeFilter_Operator>(value));
- }
- template <>
- inline const std::string& StructuredQuery_CompositeFilter_Operator_Name(StructuredQuery_CompositeFilter_Operator value) {
- return ::google::protobuf::internal::NameOfDenseEnum<StructuredQuery_CompositeFilter_Operator_descriptor,
- 0, 2>(
- static_cast<int>(value));
- }
- inline bool StructuredQuery_CompositeFilter_Operator_Parse(absl::string_view name, StructuredQuery_CompositeFilter_Operator* value) {
- return ::google::protobuf::internal::ParseNamedEnum<StructuredQuery_CompositeFilter_Operator>(
- StructuredQuery_CompositeFilter_Operator_descriptor(), name, value);
- }
- enum StructuredQuery_FieldFilter_Operator : int {
- StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED = 0,
- StructuredQuery_FieldFilter_Operator_LESS_THAN = 1,
- StructuredQuery_FieldFilter_Operator_LESS_THAN_OR_EQUAL = 2,
- StructuredQuery_FieldFilter_Operator_GREATER_THAN = 3,
- StructuredQuery_FieldFilter_Operator_GREATER_THAN_OR_EQUAL = 4,
- StructuredQuery_FieldFilter_Operator_EQUAL = 5,
- StructuredQuery_FieldFilter_Operator_NOT_EQUAL = 6,
- StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS = 7,
- StructuredQuery_FieldFilter_Operator_IN = 8,
- StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS_ANY = 9,
- StructuredQuery_FieldFilter_Operator_NOT_IN = 10,
- StructuredQuery_FieldFilter_Operator_StructuredQuery_FieldFilter_Operator_INT_MIN_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::min(),
- StructuredQuery_FieldFilter_Operator_StructuredQuery_FieldFilter_Operator_INT_MAX_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::max(),
- };
- bool StructuredQuery_FieldFilter_Operator_IsValid(int value);
- extern const uint32_t StructuredQuery_FieldFilter_Operator_internal_data_[];
- constexpr StructuredQuery_FieldFilter_Operator StructuredQuery_FieldFilter_Operator_Operator_MIN = static_cast<StructuredQuery_FieldFilter_Operator>(0);
- constexpr StructuredQuery_FieldFilter_Operator StructuredQuery_FieldFilter_Operator_Operator_MAX = static_cast<StructuredQuery_FieldFilter_Operator>(10);
- constexpr int StructuredQuery_FieldFilter_Operator_Operator_ARRAYSIZE = 10 + 1;
- const ::google::protobuf::EnumDescriptor*
- StructuredQuery_FieldFilter_Operator_descriptor();
- template <typename T>
- const std::string& StructuredQuery_FieldFilter_Operator_Name(T value) {
- static_assert(std::is_same<T, StructuredQuery_FieldFilter_Operator>::value ||
- std::is_integral<T>::value,
- "Incorrect type passed to Operator_Name().");
- return StructuredQuery_FieldFilter_Operator_Name(static_cast<StructuredQuery_FieldFilter_Operator>(value));
- }
- template <>
- inline const std::string& StructuredQuery_FieldFilter_Operator_Name(StructuredQuery_FieldFilter_Operator value) {
- return ::google::protobuf::internal::NameOfDenseEnum<StructuredQuery_FieldFilter_Operator_descriptor,
- 0, 10>(
- static_cast<int>(value));
- }
- inline bool StructuredQuery_FieldFilter_Operator_Parse(absl::string_view name, StructuredQuery_FieldFilter_Operator* value) {
- return ::google::protobuf::internal::ParseNamedEnum<StructuredQuery_FieldFilter_Operator>(
- StructuredQuery_FieldFilter_Operator_descriptor(), name, value);
- }
- enum StructuredQuery_UnaryFilter_Operator : int {
- StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED = 0,
- StructuredQuery_UnaryFilter_Operator_IS_NAN = 2,
- StructuredQuery_UnaryFilter_Operator_IS_NULL = 3,
- StructuredQuery_UnaryFilter_Operator_IS_NOT_NAN = 4,
- StructuredQuery_UnaryFilter_Operator_IS_NOT_NULL = 5,
- StructuredQuery_UnaryFilter_Operator_StructuredQuery_UnaryFilter_Operator_INT_MIN_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::min(),
- StructuredQuery_UnaryFilter_Operator_StructuredQuery_UnaryFilter_Operator_INT_MAX_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::max(),
- };
- bool StructuredQuery_UnaryFilter_Operator_IsValid(int value);
- extern const uint32_t StructuredQuery_UnaryFilter_Operator_internal_data_[];
- constexpr StructuredQuery_UnaryFilter_Operator StructuredQuery_UnaryFilter_Operator_Operator_MIN = static_cast<StructuredQuery_UnaryFilter_Operator>(0);
- constexpr StructuredQuery_UnaryFilter_Operator StructuredQuery_UnaryFilter_Operator_Operator_MAX = static_cast<StructuredQuery_UnaryFilter_Operator>(5);
- constexpr int StructuredQuery_UnaryFilter_Operator_Operator_ARRAYSIZE = 5 + 1;
- const ::google::protobuf::EnumDescriptor*
- StructuredQuery_UnaryFilter_Operator_descriptor();
- template <typename T>
- const std::string& StructuredQuery_UnaryFilter_Operator_Name(T value) {
- static_assert(std::is_same<T, StructuredQuery_UnaryFilter_Operator>::value ||
- std::is_integral<T>::value,
- "Incorrect type passed to Operator_Name().");
- return StructuredQuery_UnaryFilter_Operator_Name(static_cast<StructuredQuery_UnaryFilter_Operator>(value));
- }
- template <>
- inline const std::string& StructuredQuery_UnaryFilter_Operator_Name(StructuredQuery_UnaryFilter_Operator value) {
- return ::google::protobuf::internal::NameOfDenseEnum<StructuredQuery_UnaryFilter_Operator_descriptor,
- 0, 5>(
- static_cast<int>(value));
- }
- inline bool StructuredQuery_UnaryFilter_Operator_Parse(absl::string_view name, StructuredQuery_UnaryFilter_Operator* value) {
- return ::google::protobuf::internal::ParseNamedEnum<StructuredQuery_UnaryFilter_Operator>(
- StructuredQuery_UnaryFilter_Operator_descriptor(), name, value);
- }
- enum StructuredQuery_Direction : int {
- StructuredQuery_Direction_DIRECTION_UNSPECIFIED = 0,
- StructuredQuery_Direction_ASCENDING = 1,
- StructuredQuery_Direction_DESCENDING = 2,
- StructuredQuery_Direction_StructuredQuery_Direction_INT_MIN_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::min(),
- StructuredQuery_Direction_StructuredQuery_Direction_INT_MAX_SENTINEL_DO_NOT_USE_ =
- std::numeric_limits<::int32_t>::max(),
- };
- bool StructuredQuery_Direction_IsValid(int value);
- extern const uint32_t StructuredQuery_Direction_internal_data_[];
- constexpr StructuredQuery_Direction StructuredQuery_Direction_Direction_MIN = static_cast<StructuredQuery_Direction>(0);
- constexpr StructuredQuery_Direction StructuredQuery_Direction_Direction_MAX = static_cast<StructuredQuery_Direction>(2);
- constexpr int StructuredQuery_Direction_Direction_ARRAYSIZE = 2 + 1;
- const ::google::protobuf::EnumDescriptor*
- StructuredQuery_Direction_descriptor();
- template <typename T>
- const std::string& StructuredQuery_Direction_Name(T value) {
- static_assert(std::is_same<T, StructuredQuery_Direction>::value ||
- std::is_integral<T>::value,
- "Incorrect type passed to Direction_Name().");
- return StructuredQuery_Direction_Name(static_cast<StructuredQuery_Direction>(value));
- }
- template <>
- inline const std::string& StructuredQuery_Direction_Name(StructuredQuery_Direction value) {
- return ::google::protobuf::internal::NameOfDenseEnum<StructuredQuery_Direction_descriptor,
- 0, 2>(
- static_cast<int>(value));
- }
- inline bool StructuredQuery_Direction_Parse(absl::string_view name, StructuredQuery_Direction* value) {
- return ::google::protobuf::internal::ParseNamedEnum<StructuredQuery_Direction>(
- StructuredQuery_Direction_descriptor(), name, value);
- }
- // ===================================================================
- // -------------------------------------------------------------------
- class StructuredQuery_FieldReference final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.FieldReference) */ {
- public:
- inline StructuredQuery_FieldReference() : StructuredQuery_FieldReference(nullptr) {}
- ~StructuredQuery_FieldReference() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_FieldReference(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_FieldReference(const StructuredQuery_FieldReference& from)
- : StructuredQuery_FieldReference(nullptr, from) {}
- StructuredQuery_FieldReference(StructuredQuery_FieldReference&& from) noexcept
- : StructuredQuery_FieldReference() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_FieldReference& operator=(const StructuredQuery_FieldReference& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_FieldReference& operator=(StructuredQuery_FieldReference&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_FieldReference& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredQuery_FieldReference* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_FieldReference*>(
- &_StructuredQuery_FieldReference_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(StructuredQuery_FieldReference& a, StructuredQuery_FieldReference& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_FieldReference* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_FieldReference* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_FieldReference* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_FieldReference>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_FieldReference& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_FieldReference& from) {
- StructuredQuery_FieldReference::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_FieldReference* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.FieldReference";
- }
- protected:
- explicit StructuredQuery_FieldReference(::google::protobuf::Arena* arena);
- StructuredQuery_FieldReference(::google::protobuf::Arena* arena, const StructuredQuery_FieldReference& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFieldPathFieldNumber = 2,
- };
- // string field_path = 2;
- void clear_field_path() ;
- const std::string& field_path() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_field_path(Arg_&& arg, Args_... args);
- std::string* mutable_field_path();
- PROTOBUF_NODISCARD std::string* release_field_path();
- void set_allocated_field_path(std::string* value);
- private:
- const std::string& _internal_field_path() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_field_path(
- const std::string& value);
- std::string* _internal_mutable_field_path();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldReference)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 1, 0,
- 69, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::ArenaStringPtr field_path_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery_CollectionSelector final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.CollectionSelector) */ {
- public:
- inline StructuredQuery_CollectionSelector() : StructuredQuery_CollectionSelector(nullptr) {}
- ~StructuredQuery_CollectionSelector() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_CollectionSelector(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_CollectionSelector(const StructuredQuery_CollectionSelector& from)
- : StructuredQuery_CollectionSelector(nullptr, from) {}
- StructuredQuery_CollectionSelector(StructuredQuery_CollectionSelector&& from) noexcept
- : StructuredQuery_CollectionSelector() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_CollectionSelector& operator=(const StructuredQuery_CollectionSelector& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_CollectionSelector& operator=(StructuredQuery_CollectionSelector&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_CollectionSelector& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredQuery_CollectionSelector* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_CollectionSelector*>(
- &_StructuredQuery_CollectionSelector_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(StructuredQuery_CollectionSelector& a, StructuredQuery_CollectionSelector& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_CollectionSelector* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_CollectionSelector* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_CollectionSelector* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_CollectionSelector>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_CollectionSelector& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_CollectionSelector& from) {
- StructuredQuery_CollectionSelector::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_CollectionSelector* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.CollectionSelector";
- }
- protected:
- explicit StructuredQuery_CollectionSelector(::google::protobuf::Arena* arena);
- StructuredQuery_CollectionSelector(::google::protobuf::Arena* arena, const StructuredQuery_CollectionSelector& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kCollectionIdFieldNumber = 2,
- kAllDescendantsFieldNumber = 3,
- };
- // string collection_id = 2;
- void clear_collection_id() ;
- const std::string& collection_id() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_collection_id(Arg_&& arg, Args_... args);
- std::string* mutable_collection_id();
- PROTOBUF_NODISCARD std::string* release_collection_id();
- void set_allocated_collection_id(std::string* value);
- private:
- const std::string& _internal_collection_id() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_collection_id(
- const std::string& value);
- std::string* _internal_mutable_collection_id();
- public:
- // bool all_descendants = 3;
- void clear_all_descendants() ;
- bool all_descendants() const;
- void set_all_descendants(bool value);
- private:
- bool _internal_all_descendants() const;
- void _internal_set_all_descendants(bool value);
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CollectionSelector)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 1, 2, 0,
- 76, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::ArenaStringPtr collection_id_;
- bool all_descendants_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery_UnaryFilter final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.UnaryFilter) */ {
- public:
- inline StructuredQuery_UnaryFilter() : StructuredQuery_UnaryFilter(nullptr) {}
- ~StructuredQuery_UnaryFilter() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_UnaryFilter(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_UnaryFilter(const StructuredQuery_UnaryFilter& from)
- : StructuredQuery_UnaryFilter(nullptr, from) {}
- StructuredQuery_UnaryFilter(StructuredQuery_UnaryFilter&& from) noexcept
- : StructuredQuery_UnaryFilter() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_UnaryFilter& operator=(const StructuredQuery_UnaryFilter& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_UnaryFilter& operator=(StructuredQuery_UnaryFilter&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_UnaryFilter& default_instance() {
- return *internal_default_instance();
- }
- enum OperandTypeCase {
- kField = 2,
- OPERAND_TYPE_NOT_SET = 0,
- };
- static inline const StructuredQuery_UnaryFilter* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_UnaryFilter*>(
- &_StructuredQuery_UnaryFilter_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(StructuredQuery_UnaryFilter& a, StructuredQuery_UnaryFilter& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_UnaryFilter* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_UnaryFilter* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_UnaryFilter* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_UnaryFilter>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_UnaryFilter& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_UnaryFilter& from) {
- StructuredQuery_UnaryFilter::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_UnaryFilter* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.UnaryFilter";
- }
- protected:
- explicit StructuredQuery_UnaryFilter(::google::protobuf::Arena* arena);
- StructuredQuery_UnaryFilter(::google::protobuf::Arena* arena, const StructuredQuery_UnaryFilter& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- using Operator = StructuredQuery_UnaryFilter_Operator;
- static constexpr Operator OPERATOR_UNSPECIFIED = StructuredQuery_UnaryFilter_Operator_OPERATOR_UNSPECIFIED;
- static constexpr Operator IS_NAN = StructuredQuery_UnaryFilter_Operator_IS_NAN;
- static constexpr Operator IS_NULL = StructuredQuery_UnaryFilter_Operator_IS_NULL;
- static constexpr Operator IS_NOT_NAN = StructuredQuery_UnaryFilter_Operator_IS_NOT_NAN;
- static constexpr Operator IS_NOT_NULL = StructuredQuery_UnaryFilter_Operator_IS_NOT_NULL;
- static inline bool Operator_IsValid(int value) {
- return StructuredQuery_UnaryFilter_Operator_IsValid(value);
- }
- static constexpr Operator Operator_MIN = StructuredQuery_UnaryFilter_Operator_Operator_MIN;
- static constexpr Operator Operator_MAX = StructuredQuery_UnaryFilter_Operator_Operator_MAX;
- static constexpr int Operator_ARRAYSIZE = StructuredQuery_UnaryFilter_Operator_Operator_ARRAYSIZE;
- static inline const ::google::protobuf::EnumDescriptor* Operator_descriptor() {
- return StructuredQuery_UnaryFilter_Operator_descriptor();
- }
- template <typename T>
- static inline const std::string& Operator_Name(T value) {
- return StructuredQuery_UnaryFilter_Operator_Name(value);
- }
- static inline bool Operator_Parse(absl::string_view name, Operator* value) {
- return StructuredQuery_UnaryFilter_Operator_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kOpFieldNumber = 1,
- kFieldFieldNumber = 2,
- };
- // .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1;
- void clear_op() ;
- ::google::firestore::v1::StructuredQuery_UnaryFilter_Operator op() const;
- void set_op(::google::firestore::v1::StructuredQuery_UnaryFilter_Operator value);
- private:
- ::google::firestore::v1::StructuredQuery_UnaryFilter_Operator _internal_op() const;
- void _internal_set_op(::google::firestore::v1::StructuredQuery_UnaryFilter_Operator value);
- public:
- // .google.firestore.v1.StructuredQuery.FieldReference field = 2;
- bool has_field() const;
- private:
- bool _internal_has_field() const;
- public:
- void clear_field() ;
- const ::google::firestore::v1::StructuredQuery_FieldReference& field() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_FieldReference* release_field();
- ::google::firestore::v1::StructuredQuery_FieldReference* mutable_field();
- void set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- void unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- ::google::firestore::v1::StructuredQuery_FieldReference* unsafe_arena_release_field();
- private:
- const ::google::firestore::v1::StructuredQuery_FieldReference& _internal_field() const;
- ::google::firestore::v1::StructuredQuery_FieldReference* _internal_mutable_field();
- public:
- void clear_operand_type();
- OperandTypeCase operand_type_case() const;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.UnaryFilter)
- private:
- class _Internal;
- void set_has_field();
- inline bool has_operand_type() const;
- inline void clear_has_operand_type();
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 2, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- int op_;
- union OperandTypeUnion {
- constexpr OperandTypeUnion() : _constinit_{} {}
- ::google::protobuf::internal::ConstantInitialized _constinit_;
- ::google::firestore::v1::StructuredQuery_FieldReference* field_;
- } operand_type_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::uint32_t _oneof_case_[1];
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery_Projection final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.Projection) */ {
- public:
- inline StructuredQuery_Projection() : StructuredQuery_Projection(nullptr) {}
- ~StructuredQuery_Projection() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_Projection(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_Projection(const StructuredQuery_Projection& from)
- : StructuredQuery_Projection(nullptr, from) {}
- StructuredQuery_Projection(StructuredQuery_Projection&& from) noexcept
- : StructuredQuery_Projection() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_Projection& operator=(const StructuredQuery_Projection& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_Projection& operator=(StructuredQuery_Projection&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_Projection& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredQuery_Projection* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_Projection*>(
- &_StructuredQuery_Projection_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(StructuredQuery_Projection& a, StructuredQuery_Projection& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_Projection* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_Projection* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_Projection* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_Projection>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_Projection& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_Projection& from) {
- StructuredQuery_Projection::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_Projection* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.Projection";
- }
- protected:
- explicit StructuredQuery_Projection(::google::protobuf::Arena* arena);
- StructuredQuery_Projection(::google::protobuf::Arena* arena, const StructuredQuery_Projection& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFieldsFieldNumber = 2,
- };
- // repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
- int fields_size() const;
- private:
- int _internal_fields_size() const;
- public:
- void clear_fields() ;
- ::google::firestore::v1::StructuredQuery_FieldReference* mutable_fields(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_FieldReference >*
- mutable_fields();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_FieldReference>& _internal_fields() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_FieldReference>* _internal_mutable_fields();
- public:
- const ::google::firestore::v1::StructuredQuery_FieldReference& fields(int index) const;
- ::google::firestore::v1::StructuredQuery_FieldReference* add_fields();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_FieldReference >&
- fields() const;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Projection)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 1, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_FieldReference > fields_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery_Order final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.Order) */ {
- public:
- inline StructuredQuery_Order() : StructuredQuery_Order(nullptr) {}
- ~StructuredQuery_Order() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_Order(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_Order(const StructuredQuery_Order& from)
- : StructuredQuery_Order(nullptr, from) {}
- StructuredQuery_Order(StructuredQuery_Order&& from) noexcept
- : StructuredQuery_Order() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_Order& operator=(const StructuredQuery_Order& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_Order& operator=(StructuredQuery_Order&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_Order& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredQuery_Order* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_Order*>(
- &_StructuredQuery_Order_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(StructuredQuery_Order& a, StructuredQuery_Order& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_Order* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_Order* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_Order* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_Order>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_Order& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_Order& from) {
- StructuredQuery_Order::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_Order* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.Order";
- }
- protected:
- explicit StructuredQuery_Order(::google::protobuf::Arena* arena);
- StructuredQuery_Order(::google::protobuf::Arena* arena, const StructuredQuery_Order& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFieldFieldNumber = 1,
- kDirectionFieldNumber = 2,
- };
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- bool has_field() const;
- void clear_field() ;
- const ::google::firestore::v1::StructuredQuery_FieldReference& field() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_FieldReference* release_field();
- ::google::firestore::v1::StructuredQuery_FieldReference* mutable_field();
- void set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- void unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- ::google::firestore::v1::StructuredQuery_FieldReference* unsafe_arena_release_field();
- private:
- const ::google::firestore::v1::StructuredQuery_FieldReference& _internal_field() const;
- ::google::firestore::v1::StructuredQuery_FieldReference* _internal_mutable_field();
- public:
- // .google.firestore.v1.StructuredQuery.Direction direction = 2;
- void clear_direction() ;
- ::google::firestore::v1::StructuredQuery_Direction direction() const;
- void set_direction(::google::firestore::v1::StructuredQuery_Direction value);
- private:
- ::google::firestore::v1::StructuredQuery_Direction _internal_direction() const;
- void _internal_set_direction(::google::firestore::v1::StructuredQuery_Direction value);
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Order)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 1, 2, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::firestore::v1::StructuredQuery_FieldReference* field_;
- int direction_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredAggregationQuery_Aggregation_Sum final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum) */ {
- public:
- inline StructuredAggregationQuery_Aggregation_Sum() : StructuredAggregationQuery_Aggregation_Sum(nullptr) {}
- ~StructuredAggregationQuery_Aggregation_Sum() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredAggregationQuery_Aggregation_Sum(::google::protobuf::internal::ConstantInitialized);
- inline StructuredAggregationQuery_Aggregation_Sum(const StructuredAggregationQuery_Aggregation_Sum& from)
- : StructuredAggregationQuery_Aggregation_Sum(nullptr, from) {}
- StructuredAggregationQuery_Aggregation_Sum(StructuredAggregationQuery_Aggregation_Sum&& from) noexcept
- : StructuredAggregationQuery_Aggregation_Sum() {
- *this = ::std::move(from);
- }
- inline StructuredAggregationQuery_Aggregation_Sum& operator=(const StructuredAggregationQuery_Aggregation_Sum& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredAggregationQuery_Aggregation_Sum& operator=(StructuredAggregationQuery_Aggregation_Sum&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredAggregationQuery_Aggregation_Sum& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredAggregationQuery_Aggregation_Sum* internal_default_instance() {
- return reinterpret_cast<const StructuredAggregationQuery_Aggregation_Sum*>(
- &_StructuredAggregationQuery_Aggregation_Sum_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(StructuredAggregationQuery_Aggregation_Sum& a, StructuredAggregationQuery_Aggregation_Sum& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredAggregationQuery_Aggregation_Sum* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredAggregationQuery_Aggregation_Sum* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredAggregationQuery_Aggregation_Sum* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredAggregationQuery_Aggregation_Sum>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredAggregationQuery_Aggregation_Sum& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredAggregationQuery_Aggregation_Sum& from) {
- StructuredAggregationQuery_Aggregation_Sum::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredAggregationQuery_Aggregation_Sum* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum";
- }
- protected:
- explicit StructuredAggregationQuery_Aggregation_Sum(::google::protobuf::Arena* arena);
- StructuredAggregationQuery_Aggregation_Sum(::google::protobuf::Arena* arena, const StructuredAggregationQuery_Aggregation_Sum& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFieldFieldNumber = 1,
- };
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- bool has_field() const;
- void clear_field() ;
- const ::google::firestore::v1::StructuredQuery_FieldReference& field() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_FieldReference* release_field();
- ::google::firestore::v1::StructuredQuery_FieldReference* mutable_field();
- void set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- void unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- ::google::firestore::v1::StructuredQuery_FieldReference* unsafe_arena_release_field();
- private:
- const ::google::firestore::v1::StructuredQuery_FieldReference& _internal_field() const;
- ::google::firestore::v1::StructuredQuery_FieldReference* _internal_mutable_field();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 1, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::firestore::v1::StructuredQuery_FieldReference* field_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredAggregationQuery_Aggregation_Count final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count) */ {
- public:
- inline StructuredAggregationQuery_Aggregation_Count() : StructuredAggregationQuery_Aggregation_Count(nullptr) {}
- ~StructuredAggregationQuery_Aggregation_Count() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredAggregationQuery_Aggregation_Count(::google::protobuf::internal::ConstantInitialized);
- inline StructuredAggregationQuery_Aggregation_Count(const StructuredAggregationQuery_Aggregation_Count& from)
- : StructuredAggregationQuery_Aggregation_Count(nullptr, from) {}
- StructuredAggregationQuery_Aggregation_Count(StructuredAggregationQuery_Aggregation_Count&& from) noexcept
- : StructuredAggregationQuery_Aggregation_Count() {
- *this = ::std::move(from);
- }
- inline StructuredAggregationQuery_Aggregation_Count& operator=(const StructuredAggregationQuery_Aggregation_Count& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredAggregationQuery_Aggregation_Count& operator=(StructuredAggregationQuery_Aggregation_Count&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredAggregationQuery_Aggregation_Count& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredAggregationQuery_Aggregation_Count* internal_default_instance() {
- return reinterpret_cast<const StructuredAggregationQuery_Aggregation_Count*>(
- &_StructuredAggregationQuery_Aggregation_Count_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(StructuredAggregationQuery_Aggregation_Count& a, StructuredAggregationQuery_Aggregation_Count& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredAggregationQuery_Aggregation_Count* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredAggregationQuery_Aggregation_Count* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredAggregationQuery_Aggregation_Count* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredAggregationQuery_Aggregation_Count>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredAggregationQuery_Aggregation_Count& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredAggregationQuery_Aggregation_Count& from) {
- StructuredAggregationQuery_Aggregation_Count::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredAggregationQuery_Aggregation_Count* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredAggregationQuery.Aggregation.Count";
- }
- protected:
- explicit StructuredAggregationQuery_Aggregation_Count(::google::protobuf::Arena* arena);
- StructuredAggregationQuery_Aggregation_Count(::google::protobuf::Arena* arena, const StructuredAggregationQuery_Aggregation_Count& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kUpToFieldNumber = 1,
- };
- // .google.protobuf.Int64Value up_to = 1;
- bool has_up_to() const;
- void clear_up_to() ;
- const ::google::protobuf::Int64Value& up_to() const;
- PROTOBUF_NODISCARD ::google::protobuf::Int64Value* release_up_to();
- ::google::protobuf::Int64Value* mutable_up_to();
- void set_allocated_up_to(::google::protobuf::Int64Value* value);
- void unsafe_arena_set_allocated_up_to(::google::protobuf::Int64Value* value);
- ::google::protobuf::Int64Value* unsafe_arena_release_up_to();
- private:
- const ::google::protobuf::Int64Value& _internal_up_to() const;
- ::google::protobuf::Int64Value* _internal_mutable_up_to();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 1, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::Int64Value* up_to_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredAggregationQuery_Aggregation_Avg final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg) */ {
- public:
- inline StructuredAggregationQuery_Aggregation_Avg() : StructuredAggregationQuery_Aggregation_Avg(nullptr) {}
- ~StructuredAggregationQuery_Aggregation_Avg() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredAggregationQuery_Aggregation_Avg(::google::protobuf::internal::ConstantInitialized);
- inline StructuredAggregationQuery_Aggregation_Avg(const StructuredAggregationQuery_Aggregation_Avg& from)
- : StructuredAggregationQuery_Aggregation_Avg(nullptr, from) {}
- StructuredAggregationQuery_Aggregation_Avg(StructuredAggregationQuery_Aggregation_Avg&& from) noexcept
- : StructuredAggregationQuery_Aggregation_Avg() {
- *this = ::std::move(from);
- }
- inline StructuredAggregationQuery_Aggregation_Avg& operator=(const StructuredAggregationQuery_Aggregation_Avg& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredAggregationQuery_Aggregation_Avg& operator=(StructuredAggregationQuery_Aggregation_Avg&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredAggregationQuery_Aggregation_Avg& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredAggregationQuery_Aggregation_Avg* internal_default_instance() {
- return reinterpret_cast<const StructuredAggregationQuery_Aggregation_Avg*>(
- &_StructuredAggregationQuery_Aggregation_Avg_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- friend void swap(StructuredAggregationQuery_Aggregation_Avg& a, StructuredAggregationQuery_Aggregation_Avg& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredAggregationQuery_Aggregation_Avg* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredAggregationQuery_Aggregation_Avg* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredAggregationQuery_Aggregation_Avg* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredAggregationQuery_Aggregation_Avg>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredAggregationQuery_Aggregation_Avg& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredAggregationQuery_Aggregation_Avg& from) {
- StructuredAggregationQuery_Aggregation_Avg::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredAggregationQuery_Aggregation_Avg* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg";
- }
- protected:
- explicit StructuredAggregationQuery_Aggregation_Avg(::google::protobuf::Arena* arena);
- StructuredAggregationQuery_Aggregation_Avg(::google::protobuf::Arena* arena, const StructuredAggregationQuery_Aggregation_Avg& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFieldFieldNumber = 1,
- };
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- bool has_field() const;
- void clear_field() ;
- const ::google::firestore::v1::StructuredQuery_FieldReference& field() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_FieldReference* release_field();
- ::google::firestore::v1::StructuredQuery_FieldReference* mutable_field();
- void set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- void unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- ::google::firestore::v1::StructuredQuery_FieldReference* unsafe_arena_release_field();
- private:
- const ::google::firestore::v1::StructuredQuery_FieldReference& _internal_field() const;
- ::google::firestore::v1::StructuredQuery_FieldReference* _internal_mutable_field();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 1, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::firestore::v1::StructuredQuery_FieldReference* field_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery_FieldFilter final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.FieldFilter) */ {
- public:
- inline StructuredQuery_FieldFilter() : StructuredQuery_FieldFilter(nullptr) {}
- ~StructuredQuery_FieldFilter() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_FieldFilter(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_FieldFilter(const StructuredQuery_FieldFilter& from)
- : StructuredQuery_FieldFilter(nullptr, from) {}
- StructuredQuery_FieldFilter(StructuredQuery_FieldFilter&& from) noexcept
- : StructuredQuery_FieldFilter() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_FieldFilter& operator=(const StructuredQuery_FieldFilter& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_FieldFilter& operator=(StructuredQuery_FieldFilter&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_FieldFilter& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredQuery_FieldFilter* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_FieldFilter*>(
- &_StructuredQuery_FieldFilter_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(StructuredQuery_FieldFilter& a, StructuredQuery_FieldFilter& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_FieldFilter* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_FieldFilter* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_FieldFilter* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_FieldFilter>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_FieldFilter& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_FieldFilter& from) {
- StructuredQuery_FieldFilter::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_FieldFilter* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.FieldFilter";
- }
- protected:
- explicit StructuredQuery_FieldFilter(::google::protobuf::Arena* arena);
- StructuredQuery_FieldFilter(::google::protobuf::Arena* arena, const StructuredQuery_FieldFilter& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- using Operator = StructuredQuery_FieldFilter_Operator;
- static constexpr Operator OPERATOR_UNSPECIFIED = StructuredQuery_FieldFilter_Operator_OPERATOR_UNSPECIFIED;
- static constexpr Operator LESS_THAN = StructuredQuery_FieldFilter_Operator_LESS_THAN;
- static constexpr Operator LESS_THAN_OR_EQUAL = StructuredQuery_FieldFilter_Operator_LESS_THAN_OR_EQUAL;
- static constexpr Operator GREATER_THAN = StructuredQuery_FieldFilter_Operator_GREATER_THAN;
- static constexpr Operator GREATER_THAN_OR_EQUAL = StructuredQuery_FieldFilter_Operator_GREATER_THAN_OR_EQUAL;
- static constexpr Operator EQUAL = StructuredQuery_FieldFilter_Operator_EQUAL;
- static constexpr Operator NOT_EQUAL = StructuredQuery_FieldFilter_Operator_NOT_EQUAL;
- static constexpr Operator ARRAY_CONTAINS = StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS;
- static constexpr Operator IN_ = StructuredQuery_FieldFilter_Operator_IN;
- static constexpr Operator ARRAY_CONTAINS_ANY = StructuredQuery_FieldFilter_Operator_ARRAY_CONTAINS_ANY;
- static constexpr Operator NOT_IN = StructuredQuery_FieldFilter_Operator_NOT_IN;
- static inline bool Operator_IsValid(int value) {
- return StructuredQuery_FieldFilter_Operator_IsValid(value);
- }
- static constexpr Operator Operator_MIN = StructuredQuery_FieldFilter_Operator_Operator_MIN;
- static constexpr Operator Operator_MAX = StructuredQuery_FieldFilter_Operator_Operator_MAX;
- static constexpr int Operator_ARRAYSIZE = StructuredQuery_FieldFilter_Operator_Operator_ARRAYSIZE;
- static inline const ::google::protobuf::EnumDescriptor* Operator_descriptor() {
- return StructuredQuery_FieldFilter_Operator_descriptor();
- }
- template <typename T>
- static inline const std::string& Operator_Name(T value) {
- return StructuredQuery_FieldFilter_Operator_Name(value);
- }
- static inline bool Operator_Parse(absl::string_view name, Operator* value) {
- return StructuredQuery_FieldFilter_Operator_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kFieldFieldNumber = 1,
- kValueFieldNumber = 3,
- kOpFieldNumber = 2,
- };
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- bool has_field() const;
- void clear_field() ;
- const ::google::firestore::v1::StructuredQuery_FieldReference& field() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_FieldReference* release_field();
- ::google::firestore::v1::StructuredQuery_FieldReference* mutable_field();
- void set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- void unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value);
- ::google::firestore::v1::StructuredQuery_FieldReference* unsafe_arena_release_field();
- private:
- const ::google::firestore::v1::StructuredQuery_FieldReference& _internal_field() const;
- ::google::firestore::v1::StructuredQuery_FieldReference* _internal_mutable_field();
- public:
- // .google.firestore.v1.Value value = 3;
- bool has_value() const;
- void clear_value() ;
- const ::google::firestore::v1::Value& value() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::Value* release_value();
- ::google::firestore::v1::Value* mutable_value();
- void set_allocated_value(::google::firestore::v1::Value* value);
- void unsafe_arena_set_allocated_value(::google::firestore::v1::Value* value);
- ::google::firestore::v1::Value* unsafe_arena_release_value();
- private:
- const ::google::firestore::v1::Value& _internal_value() const;
- ::google::firestore::v1::Value* _internal_mutable_value();
- public:
- // .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
- void clear_op() ;
- ::google::firestore::v1::StructuredQuery_FieldFilter_Operator op() const;
- void set_op(::google::firestore::v1::StructuredQuery_FieldFilter_Operator value);
- private:
- ::google::firestore::v1::StructuredQuery_FieldFilter_Operator _internal_op() const;
- void _internal_set_op(::google::firestore::v1::StructuredQuery_FieldFilter_Operator value);
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldFilter)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 2, 3, 2,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::firestore::v1::StructuredQuery_FieldReference* field_;
- ::google::firestore::v1::Value* value_;
- int op_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredAggregationQuery_Aggregation final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredAggregationQuery.Aggregation) */ {
- public:
- inline StructuredAggregationQuery_Aggregation() : StructuredAggregationQuery_Aggregation(nullptr) {}
- ~StructuredAggregationQuery_Aggregation() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredAggregationQuery_Aggregation(::google::protobuf::internal::ConstantInitialized);
- inline StructuredAggregationQuery_Aggregation(const StructuredAggregationQuery_Aggregation& from)
- : StructuredAggregationQuery_Aggregation(nullptr, from) {}
- StructuredAggregationQuery_Aggregation(StructuredAggregationQuery_Aggregation&& from) noexcept
- : StructuredAggregationQuery_Aggregation() {
- *this = ::std::move(from);
- }
- inline StructuredAggregationQuery_Aggregation& operator=(const StructuredAggregationQuery_Aggregation& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredAggregationQuery_Aggregation& operator=(StructuredAggregationQuery_Aggregation&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredAggregationQuery_Aggregation& default_instance() {
- return *internal_default_instance();
- }
- enum OperatorCase {
- kCount = 1,
- kSum = 2,
- kAvg = 3,
- OPERATOR_NOT_SET = 0,
- };
- static inline const StructuredAggregationQuery_Aggregation* internal_default_instance() {
- return reinterpret_cast<const StructuredAggregationQuery_Aggregation*>(
- &_StructuredAggregationQuery_Aggregation_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 12;
- friend void swap(StructuredAggregationQuery_Aggregation& a, StructuredAggregationQuery_Aggregation& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredAggregationQuery_Aggregation* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredAggregationQuery_Aggregation* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredAggregationQuery_Aggregation* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredAggregationQuery_Aggregation>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredAggregationQuery_Aggregation& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredAggregationQuery_Aggregation& from) {
- StructuredAggregationQuery_Aggregation::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredAggregationQuery_Aggregation* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredAggregationQuery.Aggregation";
- }
- protected:
- explicit StructuredAggregationQuery_Aggregation(::google::protobuf::Arena* arena);
- StructuredAggregationQuery_Aggregation(::google::protobuf::Arena* arena, const StructuredAggregationQuery_Aggregation& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- using Count = StructuredAggregationQuery_Aggregation_Count;
- using Sum = StructuredAggregationQuery_Aggregation_Sum;
- using Avg = StructuredAggregationQuery_Aggregation_Avg;
- // accessors -------------------------------------------------------
- enum : int {
- kAliasFieldNumber = 7,
- kCountFieldNumber = 1,
- kSumFieldNumber = 2,
- kAvgFieldNumber = 3,
- };
- // string alias = 7;
- void clear_alias() ;
- const std::string& alias() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_alias(Arg_&& arg, Args_... args);
- std::string* mutable_alias();
- PROTOBUF_NODISCARD std::string* release_alias();
- void set_allocated_alias(std::string* value);
- private:
- const std::string& _internal_alias() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_alias(
- const std::string& value);
- std::string* _internal_mutable_alias();
- public:
- // .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1;
- bool has_count() const;
- private:
- bool _internal_has_count() const;
- public:
- void clear_count() ;
- const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count& count() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* release_count();
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* mutable_count();
- void set_allocated_count(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* value);
- void unsafe_arena_set_allocated_count(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* value);
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* unsafe_arena_release_count();
- private:
- const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count& _internal_count() const;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* _internal_mutable_count();
- public:
- // .google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum sum = 2;
- bool has_sum() const;
- private:
- bool _internal_has_sum() const;
- public:
- void clear_sum() ;
- const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum& sum() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* release_sum();
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* mutable_sum();
- void set_allocated_sum(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* value);
- void unsafe_arena_set_allocated_sum(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* value);
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* unsafe_arena_release_sum();
- private:
- const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum& _internal_sum() const;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* _internal_mutable_sum();
- public:
- // .google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg avg = 3;
- bool has_avg() const;
- private:
- bool _internal_has_avg() const;
- public:
- void clear_avg() ;
- const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg& avg() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* release_avg();
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* mutable_avg();
- void set_allocated_avg(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* value);
- void unsafe_arena_set_allocated_avg(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* value);
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* unsafe_arena_release_avg();
- private:
- const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg& _internal_avg() const;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* _internal_mutable_avg();
- public:
- void clear_operator();
- OperatorCase operator_case() const;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery.Aggregation)
- private:
- class _Internal;
- void set_has_count();
- void set_has_sum();
- void set_has_avg();
- inline bool has_operator() const;
- inline void clear_has_operator();
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 4, 3,
- 72, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::ArenaStringPtr alias_;
- union OperatorUnion {
- constexpr OperatorUnion() : _constinit_{} {}
- ::google::protobuf::internal::ConstantInitialized _constinit_;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* count_;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* sum_;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* avg_;
- } operator_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::uint32_t _oneof_case_[1];
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class Cursor final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Cursor) */ {
- public:
- inline Cursor() : Cursor(nullptr) {}
- ~Cursor() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Cursor(::google::protobuf::internal::ConstantInitialized);
- inline Cursor(const Cursor& from)
- : Cursor(nullptr, from) {}
- Cursor(Cursor&& from) noexcept
- : Cursor() {
- *this = ::std::move(from);
- }
- inline Cursor& operator=(const Cursor& from) {
- CopyFrom(from);
- return *this;
- }
- inline Cursor& operator=(Cursor&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Cursor& default_instance() {
- return *internal_default_instance();
- }
- static inline const Cursor* internal_default_instance() {
- return reinterpret_cast<const Cursor*>(
- &_Cursor_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 14;
- friend void swap(Cursor& a, Cursor& b) {
- a.Swap(&b);
- }
- inline void Swap(Cursor* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Cursor* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Cursor* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Cursor>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const Cursor& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const Cursor& from) {
- Cursor::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(Cursor* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.Cursor";
- }
- protected:
- explicit Cursor(::google::protobuf::Arena* arena);
- Cursor(::google::protobuf::Arena* arena, const Cursor& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kValuesFieldNumber = 1,
- kBeforeFieldNumber = 2,
- };
- // repeated .google.firestore.v1.Value values = 1;
- int values_size() const;
- private:
- int _internal_values_size() const;
- public:
- void clear_values() ;
- ::google::firestore::v1::Value* mutable_values(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Value >*
- mutable_values();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>& _internal_values() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>* _internal_mutable_values();
- public:
- const ::google::firestore::v1::Value& values(int index) const;
- ::google::firestore::v1::Value* add_values();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Value >&
- values() const;
- // bool before = 2;
- void clear_before() ;
- bool before() const;
- void set_before(bool value);
- private:
- bool _internal_before() const;
- void _internal_set_before(bool value);
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.Cursor)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 1, 2, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Value > values_;
- bool before_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery_CompositeFilter final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.CompositeFilter) */ {
- public:
- inline StructuredQuery_CompositeFilter() : StructuredQuery_CompositeFilter(nullptr) {}
- ~StructuredQuery_CompositeFilter() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_CompositeFilter(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_CompositeFilter(const StructuredQuery_CompositeFilter& from)
- : StructuredQuery_CompositeFilter(nullptr, from) {}
- StructuredQuery_CompositeFilter(StructuredQuery_CompositeFilter&& from) noexcept
- : StructuredQuery_CompositeFilter() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_CompositeFilter& operator=(const StructuredQuery_CompositeFilter& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_CompositeFilter& operator=(StructuredQuery_CompositeFilter&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_CompositeFilter& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredQuery_CompositeFilter* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_CompositeFilter*>(
- &_StructuredQuery_CompositeFilter_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(StructuredQuery_CompositeFilter& a, StructuredQuery_CompositeFilter& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_CompositeFilter* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_CompositeFilter* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_CompositeFilter* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_CompositeFilter>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_CompositeFilter& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_CompositeFilter& from) {
- StructuredQuery_CompositeFilter::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_CompositeFilter* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.CompositeFilter";
- }
- protected:
- explicit StructuredQuery_CompositeFilter(::google::protobuf::Arena* arena);
- StructuredQuery_CompositeFilter(::google::protobuf::Arena* arena, const StructuredQuery_CompositeFilter& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- using Operator = StructuredQuery_CompositeFilter_Operator;
- static constexpr Operator OPERATOR_UNSPECIFIED = StructuredQuery_CompositeFilter_Operator_OPERATOR_UNSPECIFIED;
- static constexpr Operator AND = StructuredQuery_CompositeFilter_Operator_AND;
- static constexpr Operator OR = StructuredQuery_CompositeFilter_Operator_OR;
- static inline bool Operator_IsValid(int value) {
- return StructuredQuery_CompositeFilter_Operator_IsValid(value);
- }
- static constexpr Operator Operator_MIN = StructuredQuery_CompositeFilter_Operator_Operator_MIN;
- static constexpr Operator Operator_MAX = StructuredQuery_CompositeFilter_Operator_Operator_MAX;
- static constexpr int Operator_ARRAYSIZE = StructuredQuery_CompositeFilter_Operator_Operator_ARRAYSIZE;
- static inline const ::google::protobuf::EnumDescriptor* Operator_descriptor() {
- return StructuredQuery_CompositeFilter_Operator_descriptor();
- }
- template <typename T>
- static inline const std::string& Operator_Name(T value) {
- return StructuredQuery_CompositeFilter_Operator_Name(value);
- }
- static inline bool Operator_Parse(absl::string_view name, Operator* value) {
- return StructuredQuery_CompositeFilter_Operator_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kFiltersFieldNumber = 2,
- kOpFieldNumber = 1,
- };
- // repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
- int filters_size() const;
- private:
- int _internal_filters_size() const;
- public:
- void clear_filters() ;
- ::google::firestore::v1::StructuredQuery_Filter* mutable_filters(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_Filter >*
- mutable_filters();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Filter>& _internal_filters() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Filter>* _internal_mutable_filters();
- public:
- const ::google::firestore::v1::StructuredQuery_Filter& filters(int index) const;
- ::google::firestore::v1::StructuredQuery_Filter* add_filters();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_Filter >&
- filters() const;
- // .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
- void clear_op() ;
- ::google::firestore::v1::StructuredQuery_CompositeFilter_Operator op() const;
- void set_op(::google::firestore::v1::StructuredQuery_CompositeFilter_Operator value);
- private:
- ::google::firestore::v1::StructuredQuery_CompositeFilter_Operator _internal_op() const;
- void _internal_set_op(::google::firestore::v1::StructuredQuery_CompositeFilter_Operator value);
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.CompositeFilter)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 1, 2, 1,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_Filter > filters_;
- int op_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery_Filter final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery.Filter) */ {
- public:
- inline StructuredQuery_Filter() : StructuredQuery_Filter(nullptr) {}
- ~StructuredQuery_Filter() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery_Filter(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery_Filter(const StructuredQuery_Filter& from)
- : StructuredQuery_Filter(nullptr, from) {}
- StructuredQuery_Filter(StructuredQuery_Filter&& from) noexcept
- : StructuredQuery_Filter() {
- *this = ::std::move(from);
- }
- inline StructuredQuery_Filter& operator=(const StructuredQuery_Filter& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery_Filter& operator=(StructuredQuery_Filter&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery_Filter& default_instance() {
- return *internal_default_instance();
- }
- enum FilterTypeCase {
- kCompositeFilter = 1,
- kFieldFilter = 2,
- kUnaryFilter = 3,
- FILTER_TYPE_NOT_SET = 0,
- };
- static inline const StructuredQuery_Filter* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery_Filter*>(
- &_StructuredQuery_Filter_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(StructuredQuery_Filter& a, StructuredQuery_Filter& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery_Filter* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery_Filter* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery_Filter* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery_Filter>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery_Filter& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery_Filter& from) {
- StructuredQuery_Filter::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery_Filter* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery.Filter";
- }
- protected:
- explicit StructuredQuery_Filter(::google::protobuf::Arena* arena);
- StructuredQuery_Filter(::google::protobuf::Arena* arena, const StructuredQuery_Filter& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kCompositeFilterFieldNumber = 1,
- kFieldFilterFieldNumber = 2,
- kUnaryFilterFieldNumber = 3,
- };
- // .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
- bool has_composite_filter() const;
- private:
- bool _internal_has_composite_filter() const;
- public:
- void clear_composite_filter() ;
- const ::google::firestore::v1::StructuredQuery_CompositeFilter& composite_filter() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_CompositeFilter* release_composite_filter();
- ::google::firestore::v1::StructuredQuery_CompositeFilter* mutable_composite_filter();
- void set_allocated_composite_filter(::google::firestore::v1::StructuredQuery_CompositeFilter* value);
- void unsafe_arena_set_allocated_composite_filter(::google::firestore::v1::StructuredQuery_CompositeFilter* value);
- ::google::firestore::v1::StructuredQuery_CompositeFilter* unsafe_arena_release_composite_filter();
- private:
- const ::google::firestore::v1::StructuredQuery_CompositeFilter& _internal_composite_filter() const;
- ::google::firestore::v1::StructuredQuery_CompositeFilter* _internal_mutable_composite_filter();
- public:
- // .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
- bool has_field_filter() const;
- private:
- bool _internal_has_field_filter() const;
- public:
- void clear_field_filter() ;
- const ::google::firestore::v1::StructuredQuery_FieldFilter& field_filter() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_FieldFilter* release_field_filter();
- ::google::firestore::v1::StructuredQuery_FieldFilter* mutable_field_filter();
- void set_allocated_field_filter(::google::firestore::v1::StructuredQuery_FieldFilter* value);
- void unsafe_arena_set_allocated_field_filter(::google::firestore::v1::StructuredQuery_FieldFilter* value);
- ::google::firestore::v1::StructuredQuery_FieldFilter* unsafe_arena_release_field_filter();
- private:
- const ::google::firestore::v1::StructuredQuery_FieldFilter& _internal_field_filter() const;
- ::google::firestore::v1::StructuredQuery_FieldFilter* _internal_mutable_field_filter();
- public:
- // .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
- bool has_unary_filter() const;
- private:
- bool _internal_has_unary_filter() const;
- public:
- void clear_unary_filter() ;
- const ::google::firestore::v1::StructuredQuery_UnaryFilter& unary_filter() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_UnaryFilter* release_unary_filter();
- ::google::firestore::v1::StructuredQuery_UnaryFilter* mutable_unary_filter();
- void set_allocated_unary_filter(::google::firestore::v1::StructuredQuery_UnaryFilter* value);
- void unsafe_arena_set_allocated_unary_filter(::google::firestore::v1::StructuredQuery_UnaryFilter* value);
- ::google::firestore::v1::StructuredQuery_UnaryFilter* unsafe_arena_release_unary_filter();
- private:
- const ::google::firestore::v1::StructuredQuery_UnaryFilter& _internal_unary_filter() const;
- ::google::firestore::v1::StructuredQuery_UnaryFilter* _internal_mutable_unary_filter();
- public:
- void clear_filter_type();
- FilterTypeCase filter_type_case() const;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Filter)
- private:
- class _Internal;
- void set_has_composite_filter();
- void set_has_field_filter();
- void set_has_unary_filter();
- inline bool has_filter_type() const;
- inline void clear_has_filter_type();
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 3, 3,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- union FilterTypeUnion {
- constexpr FilterTypeUnion() : _constinit_{} {}
- ::google::protobuf::internal::ConstantInitialized _constinit_;
- ::google::firestore::v1::StructuredQuery_CompositeFilter* composite_filter_;
- ::google::firestore::v1::StructuredQuery_FieldFilter* field_filter_;
- ::google::firestore::v1::StructuredQuery_UnaryFilter* unary_filter_;
- } filter_type_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::uint32_t _oneof_case_[1];
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredQuery final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredQuery) */ {
- public:
- inline StructuredQuery() : StructuredQuery(nullptr) {}
- ~StructuredQuery() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredQuery(::google::protobuf::internal::ConstantInitialized);
- inline StructuredQuery(const StructuredQuery& from)
- : StructuredQuery(nullptr, from) {}
- StructuredQuery(StructuredQuery&& from) noexcept
- : StructuredQuery() {
- *this = ::std::move(from);
- }
- inline StructuredQuery& operator=(const StructuredQuery& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredQuery& operator=(StructuredQuery&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredQuery& default_instance() {
- return *internal_default_instance();
- }
- static inline const StructuredQuery* internal_default_instance() {
- return reinterpret_cast<const StructuredQuery*>(
- &_StructuredQuery_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 8;
- friend void swap(StructuredQuery& a, StructuredQuery& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredQuery* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredQuery* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredQuery* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredQuery>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredQuery& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredQuery& from) {
- StructuredQuery::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredQuery* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredQuery";
- }
- protected:
- explicit StructuredQuery(::google::protobuf::Arena* arena);
- StructuredQuery(::google::protobuf::Arena* arena, const StructuredQuery& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- using CollectionSelector = StructuredQuery_CollectionSelector;
- using Filter = StructuredQuery_Filter;
- using CompositeFilter = StructuredQuery_CompositeFilter;
- using FieldFilter = StructuredQuery_FieldFilter;
- using UnaryFilter = StructuredQuery_UnaryFilter;
- using Order = StructuredQuery_Order;
- using FieldReference = StructuredQuery_FieldReference;
- using Projection = StructuredQuery_Projection;
- using Direction = StructuredQuery_Direction;
- static constexpr Direction DIRECTION_UNSPECIFIED = StructuredQuery_Direction_DIRECTION_UNSPECIFIED;
- static constexpr Direction ASCENDING = StructuredQuery_Direction_ASCENDING;
- static constexpr Direction DESCENDING = StructuredQuery_Direction_DESCENDING;
- static inline bool Direction_IsValid(int value) {
- return StructuredQuery_Direction_IsValid(value);
- }
- static constexpr Direction Direction_MIN = StructuredQuery_Direction_Direction_MIN;
- static constexpr Direction Direction_MAX = StructuredQuery_Direction_Direction_MAX;
- static constexpr int Direction_ARRAYSIZE = StructuredQuery_Direction_Direction_ARRAYSIZE;
- static inline const ::google::protobuf::EnumDescriptor* Direction_descriptor() {
- return StructuredQuery_Direction_descriptor();
- }
- template <typename T>
- static inline const std::string& Direction_Name(T value) {
- return StructuredQuery_Direction_Name(value);
- }
- static inline bool Direction_Parse(absl::string_view name, Direction* value) {
- return StructuredQuery_Direction_Parse(name, value);
- }
- // accessors -------------------------------------------------------
- enum : int {
- kFromFieldNumber = 2,
- kOrderByFieldNumber = 4,
- kSelectFieldNumber = 1,
- kWhereFieldNumber = 3,
- kLimitFieldNumber = 5,
- kStartAtFieldNumber = 7,
- kEndAtFieldNumber = 8,
- kOffsetFieldNumber = 6,
- };
- // repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2;
- int from_size() const;
- private:
- int _internal_from_size() const;
- public:
- void clear_from() ;
- ::google::firestore::v1::StructuredQuery_CollectionSelector* mutable_from(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_CollectionSelector >*
- mutable_from();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_CollectionSelector>& _internal_from() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_CollectionSelector>* _internal_mutable_from();
- public:
- const ::google::firestore::v1::StructuredQuery_CollectionSelector& from(int index) const;
- ::google::firestore::v1::StructuredQuery_CollectionSelector* add_from();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_CollectionSelector >&
- from() const;
- // repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
- int order_by_size() const;
- private:
- int _internal_order_by_size() const;
- public:
- void clear_order_by() ;
- ::google::firestore::v1::StructuredQuery_Order* mutable_order_by(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_Order >*
- mutable_order_by();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Order>& _internal_order_by() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Order>* _internal_mutable_order_by();
- public:
- const ::google::firestore::v1::StructuredQuery_Order& order_by(int index) const;
- ::google::firestore::v1::StructuredQuery_Order* add_order_by();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_Order >&
- order_by() const;
- // .google.firestore.v1.StructuredQuery.Projection select = 1;
- bool has_select() const;
- void clear_select() ;
- const ::google::firestore::v1::StructuredQuery_Projection& select() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_Projection* release_select();
- ::google::firestore::v1::StructuredQuery_Projection* mutable_select();
- void set_allocated_select(::google::firestore::v1::StructuredQuery_Projection* value);
- void unsafe_arena_set_allocated_select(::google::firestore::v1::StructuredQuery_Projection* value);
- ::google::firestore::v1::StructuredQuery_Projection* unsafe_arena_release_select();
- private:
- const ::google::firestore::v1::StructuredQuery_Projection& _internal_select() const;
- ::google::firestore::v1::StructuredQuery_Projection* _internal_mutable_select();
- public:
- // .google.firestore.v1.StructuredQuery.Filter where = 3;
- bool has_where() const;
- void clear_where() ;
- const ::google::firestore::v1::StructuredQuery_Filter& where() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery_Filter* release_where();
- ::google::firestore::v1::StructuredQuery_Filter* mutable_where();
- void set_allocated_where(::google::firestore::v1::StructuredQuery_Filter* value);
- void unsafe_arena_set_allocated_where(::google::firestore::v1::StructuredQuery_Filter* value);
- ::google::firestore::v1::StructuredQuery_Filter* unsafe_arena_release_where();
- private:
- const ::google::firestore::v1::StructuredQuery_Filter& _internal_where() const;
- ::google::firestore::v1::StructuredQuery_Filter* _internal_mutable_where();
- public:
- // .google.protobuf.Int32Value limit = 5;
- bool has_limit() const;
- void clear_limit() ;
- const ::google::protobuf::Int32Value& limit() const;
- PROTOBUF_NODISCARD ::google::protobuf::Int32Value* release_limit();
- ::google::protobuf::Int32Value* mutable_limit();
- void set_allocated_limit(::google::protobuf::Int32Value* value);
- void unsafe_arena_set_allocated_limit(::google::protobuf::Int32Value* value);
- ::google::protobuf::Int32Value* unsafe_arena_release_limit();
- private:
- const ::google::protobuf::Int32Value& _internal_limit() const;
- ::google::protobuf::Int32Value* _internal_mutable_limit();
- public:
- // .google.firestore.v1.Cursor start_at = 7;
- bool has_start_at() const;
- void clear_start_at() ;
- const ::google::firestore::v1::Cursor& start_at() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::Cursor* release_start_at();
- ::google::firestore::v1::Cursor* mutable_start_at();
- void set_allocated_start_at(::google::firestore::v1::Cursor* value);
- void unsafe_arena_set_allocated_start_at(::google::firestore::v1::Cursor* value);
- ::google::firestore::v1::Cursor* unsafe_arena_release_start_at();
- private:
- const ::google::firestore::v1::Cursor& _internal_start_at() const;
- ::google::firestore::v1::Cursor* _internal_mutable_start_at();
- public:
- // .google.firestore.v1.Cursor end_at = 8;
- bool has_end_at() const;
- void clear_end_at() ;
- const ::google::firestore::v1::Cursor& end_at() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::Cursor* release_end_at();
- ::google::firestore::v1::Cursor* mutable_end_at();
- void set_allocated_end_at(::google::firestore::v1::Cursor* value);
- void unsafe_arena_set_allocated_end_at(::google::firestore::v1::Cursor* value);
- ::google::firestore::v1::Cursor* unsafe_arena_release_end_at();
- private:
- const ::google::firestore::v1::Cursor& _internal_end_at() const;
- ::google::firestore::v1::Cursor* _internal_mutable_end_at();
- public:
- // int32 offset = 6;
- void clear_offset() ;
- ::int32_t offset() const;
- void set_offset(::int32_t value);
- private:
- ::int32_t _internal_offset() const;
- void _internal_set_offset(::int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 3, 8, 7,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::internal::HasBits<1> _has_bits_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_CollectionSelector > from_;
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredQuery_Order > order_by_;
- ::google::firestore::v1::StructuredQuery_Projection* select_;
- ::google::firestore::v1::StructuredQuery_Filter* where_;
- ::google::protobuf::Int32Value* limit_;
- ::google::firestore::v1::Cursor* start_at_;
- ::google::firestore::v1::Cursor* end_at_;
- ::int32_t offset_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };// -------------------------------------------------------------------
- class StructuredAggregationQuery final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.StructuredAggregationQuery) */ {
- public:
- inline StructuredAggregationQuery() : StructuredAggregationQuery(nullptr) {}
- ~StructuredAggregationQuery() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR StructuredAggregationQuery(::google::protobuf::internal::ConstantInitialized);
- inline StructuredAggregationQuery(const StructuredAggregationQuery& from)
- : StructuredAggregationQuery(nullptr, from) {}
- StructuredAggregationQuery(StructuredAggregationQuery&& from) noexcept
- : StructuredAggregationQuery() {
- *this = ::std::move(from);
- }
- inline StructuredAggregationQuery& operator=(const StructuredAggregationQuery& from) {
- CopyFrom(from);
- return *this;
- }
- inline StructuredAggregationQuery& operator=(StructuredAggregationQuery&& from) noexcept {
- if (this == &from) return *this;
- if (GetArena() == from.GetArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.unknown_fields<::google::protobuf::UnknownFieldSet>(::google::protobuf::UnknownFieldSet::default_instance);
- }
- inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- return _internal_metadata_.mutable_unknown_fields<::google::protobuf::UnknownFieldSet>();
- }
- static const ::google::protobuf::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::google::protobuf::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::google::protobuf::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const StructuredAggregationQuery& default_instance() {
- return *internal_default_instance();
- }
- enum QueryTypeCase {
- kStructuredQuery = 1,
- QUERY_TYPE_NOT_SET = 0,
- };
- static inline const StructuredAggregationQuery* internal_default_instance() {
- return reinterpret_cast<const StructuredAggregationQuery*>(
- &_StructuredAggregationQuery_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 13;
- friend void swap(StructuredAggregationQuery& a, StructuredAggregationQuery& b) {
- a.Swap(&b);
- }
- inline void Swap(StructuredAggregationQuery* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() != nullptr &&
- GetArena() == other->GetArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetArena() == other->GetArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::google::protobuf::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(StructuredAggregationQuery* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- StructuredAggregationQuery* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<StructuredAggregationQuery>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const StructuredAggregationQuery& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const StructuredAggregationQuery& from) {
- StructuredAggregationQuery::MergeImpl(*this, from);
- }
- private:
- static void MergeImpl(::google::protobuf::Message& to_msg, const ::google::protobuf::Message& from_msg);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- ::size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::google::protobuf::internal::ParseContext* ctx) final;
- ::uint8_t* _InternalSerialize(
- ::uint8_t* target, ::google::protobuf::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const { return _impl_._cached_size_.Get(); }
- private:
- ::google::protobuf::internal::CachedSize* AccessCachedSize() const final;
- void SharedCtor(::google::protobuf::Arena* arena);
- void SharedDtor();
- void InternalSwap(StructuredAggregationQuery* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.StructuredAggregationQuery";
- }
- protected:
- explicit StructuredAggregationQuery(::google::protobuf::Arena* arena);
- StructuredAggregationQuery(::google::protobuf::Arena* arena, const StructuredAggregationQuery& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- using Aggregation = StructuredAggregationQuery_Aggregation;
- // accessors -------------------------------------------------------
- enum : int {
- kAggregationsFieldNumber = 3,
- kStructuredQueryFieldNumber = 1,
- };
- // repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3;
- int aggregations_size() const;
- private:
- int _internal_aggregations_size() const;
- public:
- void clear_aggregations() ;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation* mutable_aggregations(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredAggregationQuery_Aggregation >*
- mutable_aggregations();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredAggregationQuery_Aggregation>& _internal_aggregations() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredAggregationQuery_Aggregation>* _internal_mutable_aggregations();
- public:
- const ::google::firestore::v1::StructuredAggregationQuery_Aggregation& aggregations(int index) const;
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation* add_aggregations();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredAggregationQuery_Aggregation >&
- aggregations() const;
- // .google.firestore.v1.StructuredQuery structured_query = 1;
- bool has_structured_query() const;
- private:
- bool _internal_has_structured_query() const;
- public:
- void clear_structured_query() ;
- const ::google::firestore::v1::StructuredQuery& structured_query() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::StructuredQuery* release_structured_query();
- ::google::firestore::v1::StructuredQuery* mutable_structured_query();
- void set_allocated_structured_query(::google::firestore::v1::StructuredQuery* value);
- void unsafe_arena_set_allocated_structured_query(::google::firestore::v1::StructuredQuery* value);
- ::google::firestore::v1::StructuredQuery* unsafe_arena_release_structured_query();
- private:
- const ::google::firestore::v1::StructuredQuery& _internal_structured_query() const;
- ::google::firestore::v1::StructuredQuery* _internal_mutable_structured_query();
- public:
- void clear_query_type();
- QueryTypeCase query_type_case() const;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredAggregationQuery)
- private:
- class _Internal;
- void set_has_structured_query();
- inline bool has_query_type() const;
- inline void clear_has_query_type();
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 2, 2,
- 0, 2>
- _table_;
- friend class ::google::protobuf::MessageLite;
- friend class ::google::protobuf::Arena;
- template <typename T>
- friend class ::google::protobuf::Arena::InternalHelper;
- using InternalArenaConstructable_ = void;
- using DestructorSkippable_ = void;
- struct Impl_ {
- inline explicit constexpr Impl_(
- ::google::protobuf::internal::ConstantInitialized) noexcept;
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena);
- inline explicit Impl_(::google::protobuf::internal::InternalVisibility visibility,
- ::google::protobuf::Arena* arena, const Impl_& from);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::StructuredAggregationQuery_Aggregation > aggregations_;
- union QueryTypeUnion {
- constexpr QueryTypeUnion() : _constinit_{} {}
- ::google::protobuf::internal::ConstantInitialized _constinit_;
- ::google::firestore::v1::StructuredQuery* structured_query_;
- } query_type_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- ::uint32_t _oneof_case_[1];
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fquery_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // StructuredQuery_CollectionSelector
- // string collection_id = 2;
- inline void StructuredQuery_CollectionSelector::clear_collection_id() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.collection_id_.ClearToEmpty();
- }
- inline const std::string& StructuredQuery_CollectionSelector::collection_id() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.CollectionSelector.collection_id)
- return _internal_collection_id();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void StructuredQuery_CollectionSelector::set_collection_id(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.collection_id_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.CollectionSelector.collection_id)
- }
- inline std::string* StructuredQuery_CollectionSelector::mutable_collection_id() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_collection_id();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.CollectionSelector.collection_id)
- return _s;
- }
- inline const std::string& StructuredQuery_CollectionSelector::_internal_collection_id() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.collection_id_.Get();
- }
- inline void StructuredQuery_CollectionSelector::_internal_set_collection_id(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.collection_id_.Set(value, GetArena());
- }
- inline std::string* StructuredQuery_CollectionSelector::_internal_mutable_collection_id() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- return _impl_.collection_id_.Mutable( GetArena());
- }
- inline std::string* StructuredQuery_CollectionSelector::release_collection_id() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.CollectionSelector.collection_id)
- return _impl_.collection_id_.Release();
- }
- inline void StructuredQuery_CollectionSelector::set_allocated_collection_id(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.collection_id_.SetAllocated(value, GetArena());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.collection_id_.IsDefault()) {
- _impl_.collection_id_.Set("", GetArena());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.CollectionSelector.collection_id)
- }
- // bool all_descendants = 3;
- inline void StructuredQuery_CollectionSelector::clear_all_descendants() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.all_descendants_ = false;
- }
- inline bool StructuredQuery_CollectionSelector::all_descendants() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.CollectionSelector.all_descendants)
- return _internal_all_descendants();
- }
- inline void StructuredQuery_CollectionSelector::set_all_descendants(bool value) {
- _internal_set_all_descendants(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.CollectionSelector.all_descendants)
- }
- inline bool StructuredQuery_CollectionSelector::_internal_all_descendants() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.all_descendants_;
- }
- inline void StructuredQuery_CollectionSelector::_internal_set_all_descendants(bool value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.all_descendants_ = value;
- }
- // -------------------------------------------------------------------
- // StructuredQuery_Filter
- // .google.firestore.v1.StructuredQuery.CompositeFilter composite_filter = 1;
- inline bool StructuredQuery_Filter::has_composite_filter() const {
- return filter_type_case() == kCompositeFilter;
- }
- inline bool StructuredQuery_Filter::_internal_has_composite_filter() const {
- return filter_type_case() == kCompositeFilter;
- }
- inline void StructuredQuery_Filter::set_has_composite_filter() {
- _impl_._oneof_case_[0] = kCompositeFilter;
- }
- inline void StructuredQuery_Filter::clear_composite_filter() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (filter_type_case() == kCompositeFilter) {
- if (GetArena() == nullptr) {
- delete _impl_.filter_type_.composite_filter_;
- }
- clear_has_filter_type();
- }
- }
- inline ::google::firestore::v1::StructuredQuery_CompositeFilter* StructuredQuery_Filter::release_composite_filter() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.Filter.composite_filter)
- if (filter_type_case() == kCompositeFilter) {
- clear_has_filter_type();
- auto* temp = _impl_.filter_type_.composite_filter_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.filter_type_.composite_filter_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredQuery_CompositeFilter& StructuredQuery_Filter::_internal_composite_filter() const {
- return filter_type_case() == kCompositeFilter ? *_impl_.filter_type_.composite_filter_ : reinterpret_cast<::google::firestore::v1::StructuredQuery_CompositeFilter&>(::google::firestore::v1::_StructuredQuery_CompositeFilter_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_CompositeFilter& StructuredQuery_Filter::composite_filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.Filter.composite_filter)
- return _internal_composite_filter();
- }
- inline ::google::firestore::v1::StructuredQuery_CompositeFilter* StructuredQuery_Filter::unsafe_arena_release_composite_filter() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredQuery.Filter.composite_filter)
- if (filter_type_case() == kCompositeFilter) {
- clear_has_filter_type();
- auto* temp = _impl_.filter_type_.composite_filter_;
- _impl_.filter_type_.composite_filter_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredQuery_Filter::unsafe_arena_set_allocated_composite_filter(::google::firestore::v1::StructuredQuery_CompositeFilter* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_filter_type();
- if (value) {
- set_has_composite_filter();
- _impl_.filter_type_.composite_filter_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.Filter.composite_filter)
- }
- inline ::google::firestore::v1::StructuredQuery_CompositeFilter* StructuredQuery_Filter::_internal_mutable_composite_filter() {
- if (filter_type_case() != kCompositeFilter) {
- clear_filter_type();
- set_has_composite_filter();
- _impl_.filter_type_.composite_filter_ = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_CompositeFilter>(GetArena());
- }
- return _impl_.filter_type_.composite_filter_;
- }
- inline ::google::firestore::v1::StructuredQuery_CompositeFilter* StructuredQuery_Filter::mutable_composite_filter() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_CompositeFilter* _msg = _internal_mutable_composite_filter();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.Filter.composite_filter)
- return _msg;
- }
- // .google.firestore.v1.StructuredQuery.FieldFilter field_filter = 2;
- inline bool StructuredQuery_Filter::has_field_filter() const {
- return filter_type_case() == kFieldFilter;
- }
- inline bool StructuredQuery_Filter::_internal_has_field_filter() const {
- return filter_type_case() == kFieldFilter;
- }
- inline void StructuredQuery_Filter::set_has_field_filter() {
- _impl_._oneof_case_[0] = kFieldFilter;
- }
- inline void StructuredQuery_Filter::clear_field_filter() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (filter_type_case() == kFieldFilter) {
- if (GetArena() == nullptr) {
- delete _impl_.filter_type_.field_filter_;
- }
- clear_has_filter_type();
- }
- }
- inline ::google::firestore::v1::StructuredQuery_FieldFilter* StructuredQuery_Filter::release_field_filter() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.Filter.field_filter)
- if (filter_type_case() == kFieldFilter) {
- clear_has_filter_type();
- auto* temp = _impl_.filter_type_.field_filter_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.filter_type_.field_filter_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldFilter& StructuredQuery_Filter::_internal_field_filter() const {
- return filter_type_case() == kFieldFilter ? *_impl_.filter_type_.field_filter_ : reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldFilter&>(::google::firestore::v1::_StructuredQuery_FieldFilter_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldFilter& StructuredQuery_Filter::field_filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.Filter.field_filter)
- return _internal_field_filter();
- }
- inline ::google::firestore::v1::StructuredQuery_FieldFilter* StructuredQuery_Filter::unsafe_arena_release_field_filter() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredQuery.Filter.field_filter)
- if (filter_type_case() == kFieldFilter) {
- clear_has_filter_type();
- auto* temp = _impl_.filter_type_.field_filter_;
- _impl_.filter_type_.field_filter_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredQuery_Filter::unsafe_arena_set_allocated_field_filter(::google::firestore::v1::StructuredQuery_FieldFilter* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_filter_type();
- if (value) {
- set_has_field_filter();
- _impl_.filter_type_.field_filter_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.Filter.field_filter)
- }
- inline ::google::firestore::v1::StructuredQuery_FieldFilter* StructuredQuery_Filter::_internal_mutable_field_filter() {
- if (filter_type_case() != kFieldFilter) {
- clear_filter_type();
- set_has_field_filter();
- _impl_.filter_type_.field_filter_ = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_FieldFilter>(GetArena());
- }
- return _impl_.filter_type_.field_filter_;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldFilter* StructuredQuery_Filter::mutable_field_filter() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_FieldFilter* _msg = _internal_mutable_field_filter();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.Filter.field_filter)
- return _msg;
- }
- // .google.firestore.v1.StructuredQuery.UnaryFilter unary_filter = 3;
- inline bool StructuredQuery_Filter::has_unary_filter() const {
- return filter_type_case() == kUnaryFilter;
- }
- inline bool StructuredQuery_Filter::_internal_has_unary_filter() const {
- return filter_type_case() == kUnaryFilter;
- }
- inline void StructuredQuery_Filter::set_has_unary_filter() {
- _impl_._oneof_case_[0] = kUnaryFilter;
- }
- inline void StructuredQuery_Filter::clear_unary_filter() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (filter_type_case() == kUnaryFilter) {
- if (GetArena() == nullptr) {
- delete _impl_.filter_type_.unary_filter_;
- }
- clear_has_filter_type();
- }
- }
- inline ::google::firestore::v1::StructuredQuery_UnaryFilter* StructuredQuery_Filter::release_unary_filter() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.Filter.unary_filter)
- if (filter_type_case() == kUnaryFilter) {
- clear_has_filter_type();
- auto* temp = _impl_.filter_type_.unary_filter_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.filter_type_.unary_filter_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredQuery_UnaryFilter& StructuredQuery_Filter::_internal_unary_filter() const {
- return filter_type_case() == kUnaryFilter ? *_impl_.filter_type_.unary_filter_ : reinterpret_cast<::google::firestore::v1::StructuredQuery_UnaryFilter&>(::google::firestore::v1::_StructuredQuery_UnaryFilter_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_UnaryFilter& StructuredQuery_Filter::unary_filter() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.Filter.unary_filter)
- return _internal_unary_filter();
- }
- inline ::google::firestore::v1::StructuredQuery_UnaryFilter* StructuredQuery_Filter::unsafe_arena_release_unary_filter() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredQuery.Filter.unary_filter)
- if (filter_type_case() == kUnaryFilter) {
- clear_has_filter_type();
- auto* temp = _impl_.filter_type_.unary_filter_;
- _impl_.filter_type_.unary_filter_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredQuery_Filter::unsafe_arena_set_allocated_unary_filter(::google::firestore::v1::StructuredQuery_UnaryFilter* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_filter_type();
- if (value) {
- set_has_unary_filter();
- _impl_.filter_type_.unary_filter_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.Filter.unary_filter)
- }
- inline ::google::firestore::v1::StructuredQuery_UnaryFilter* StructuredQuery_Filter::_internal_mutable_unary_filter() {
- if (filter_type_case() != kUnaryFilter) {
- clear_filter_type();
- set_has_unary_filter();
- _impl_.filter_type_.unary_filter_ = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_UnaryFilter>(GetArena());
- }
- return _impl_.filter_type_.unary_filter_;
- }
- inline ::google::firestore::v1::StructuredQuery_UnaryFilter* StructuredQuery_Filter::mutable_unary_filter() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_UnaryFilter* _msg = _internal_mutable_unary_filter();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.Filter.unary_filter)
- return _msg;
- }
- inline bool StructuredQuery_Filter::has_filter_type() const {
- return filter_type_case() != FILTER_TYPE_NOT_SET;
- }
- inline void StructuredQuery_Filter::clear_has_filter_type() {
- _impl_._oneof_case_[0] = FILTER_TYPE_NOT_SET;
- }
- inline StructuredQuery_Filter::FilterTypeCase StructuredQuery_Filter::filter_type_case() const {
- return StructuredQuery_Filter::FilterTypeCase(_impl_._oneof_case_[0]);
- }
- // -------------------------------------------------------------------
- // StructuredQuery_CompositeFilter
- // .google.firestore.v1.StructuredQuery.CompositeFilter.Operator op = 1;
- inline void StructuredQuery_CompositeFilter::clear_op() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.op_ = 0;
- }
- inline ::google::firestore::v1::StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter::op() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.CompositeFilter.op)
- return _internal_op();
- }
- inline void StructuredQuery_CompositeFilter::set_op(::google::firestore::v1::StructuredQuery_CompositeFilter_Operator value) {
- _internal_set_op(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.CompositeFilter.op)
- }
- inline ::google::firestore::v1::StructuredQuery_CompositeFilter_Operator StructuredQuery_CompositeFilter::_internal_op() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return static_cast<::google::firestore::v1::StructuredQuery_CompositeFilter_Operator>(_impl_.op_);
- }
- inline void StructuredQuery_CompositeFilter::_internal_set_op(::google::firestore::v1::StructuredQuery_CompositeFilter_Operator value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.op_ = value;
- }
- // repeated .google.firestore.v1.StructuredQuery.Filter filters = 2;
- inline int StructuredQuery_CompositeFilter::_internal_filters_size() const {
- return _internal_filters().size();
- }
- inline int StructuredQuery_CompositeFilter::filters_size() const {
- return _internal_filters_size();
- }
- inline void StructuredQuery_CompositeFilter::clear_filters() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.filters_.Clear();
- }
- inline ::google::firestore::v1::StructuredQuery_Filter* StructuredQuery_CompositeFilter::mutable_filters(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.CompositeFilter.filters)
- return _internal_mutable_filters()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Filter>* StructuredQuery_CompositeFilter::mutable_filters()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.StructuredQuery.CompositeFilter.filters)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_filters();
- }
- inline const ::google::firestore::v1::StructuredQuery_Filter& StructuredQuery_CompositeFilter::filters(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.CompositeFilter.filters)
- return _internal_filters().Get(index);
- }
- inline ::google::firestore::v1::StructuredQuery_Filter* StructuredQuery_CompositeFilter::add_filters() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::StructuredQuery_Filter* _add = _internal_mutable_filters()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.StructuredQuery.CompositeFilter.filters)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Filter>& StructuredQuery_CompositeFilter::filters() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.StructuredQuery.CompositeFilter.filters)
- return _internal_filters();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Filter>&
- StructuredQuery_CompositeFilter::_internal_filters() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.filters_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Filter>*
- StructuredQuery_CompositeFilter::_internal_mutable_filters() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.filters_;
- }
- // -------------------------------------------------------------------
- // StructuredQuery_FieldFilter
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- inline bool StructuredQuery_FieldFilter::has_field() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.field_ != nullptr);
- return value;
- }
- inline void StructuredQuery_FieldFilter::clear_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.field_ != nullptr) _impl_.field_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredQuery_FieldFilter::_internal_field() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::StructuredQuery_FieldReference* p = _impl_.field_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::StructuredQuery_FieldReference&>(::google::firestore::v1::_StructuredQuery_FieldReference_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredQuery_FieldFilter::field() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.FieldFilter.field)
- return _internal_field();
- }
- inline void StructuredQuery_FieldFilter::unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_);
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.FieldFilter.field)
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_FieldFilter::release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* released = _impl_.field_;
- _impl_.field_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_FieldFilter::unsafe_arena_release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.FieldFilter.field)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* temp = _impl_.field_;
- _impl_.field_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_FieldFilter::_internal_mutable_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.field_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_FieldReference>(GetArena());
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(p);
- }
- return _impl_.field_;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_FieldFilter::mutable_field() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_FieldReference* _msg = _internal_mutable_field();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.FieldFilter.field)
- return _msg;
- }
- inline void StructuredQuery_FieldFilter::set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(_impl_.field_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.FieldFilter.field)
- }
- // .google.firestore.v1.StructuredQuery.FieldFilter.Operator op = 2;
- inline void StructuredQuery_FieldFilter::clear_op() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.op_ = 0;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldFilter_Operator StructuredQuery_FieldFilter::op() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.FieldFilter.op)
- return _internal_op();
- }
- inline void StructuredQuery_FieldFilter::set_op(::google::firestore::v1::StructuredQuery_FieldFilter_Operator value) {
- _internal_set_op(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.FieldFilter.op)
- }
- inline ::google::firestore::v1::StructuredQuery_FieldFilter_Operator StructuredQuery_FieldFilter::_internal_op() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return static_cast<::google::firestore::v1::StructuredQuery_FieldFilter_Operator>(_impl_.op_);
- }
- inline void StructuredQuery_FieldFilter::_internal_set_op(::google::firestore::v1::StructuredQuery_FieldFilter_Operator value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.op_ = value;
- }
- // .google.firestore.v1.Value value = 3;
- inline bool StructuredQuery_FieldFilter::has_value() const {
- bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.value_ != nullptr);
- return value;
- }
- inline const ::google::firestore::v1::Value& StructuredQuery_FieldFilter::_internal_value() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::Value* p = _impl_.value_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::Value&>(::google::firestore::v1::_Value_default_instance_);
- }
- inline const ::google::firestore::v1::Value& StructuredQuery_FieldFilter::value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.FieldFilter.value)
- return _internal_value();
- }
- inline void StructuredQuery_FieldFilter::unsafe_arena_set_allocated_value(::google::firestore::v1::Value* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_);
- }
- _impl_.value_ = reinterpret_cast<::google::firestore::v1::Value*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.FieldFilter.value)
- }
- inline ::google::firestore::v1::Value* StructuredQuery_FieldFilter::release_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::google::firestore::v1::Value* released = _impl_.value_;
- _impl_.value_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::Value* StructuredQuery_FieldFilter::unsafe_arena_release_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.FieldFilter.value)
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::google::firestore::v1::Value* temp = _impl_.value_;
- _impl_.value_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::Value* StructuredQuery_FieldFilter::_internal_mutable_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000002u;
- if (_impl_.value_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::Value>(GetArena());
- _impl_.value_ = reinterpret_cast<::google::firestore::v1::Value*>(p);
- }
- return _impl_.value_;
- }
- inline ::google::firestore::v1::Value* StructuredQuery_FieldFilter::mutable_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::Value* _msg = _internal_mutable_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.FieldFilter.value)
- return _msg;
- }
- inline void StructuredQuery_FieldFilter::set_allocated_value(::google::firestore::v1::Value* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.value_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- _impl_.value_ = reinterpret_cast<::google::firestore::v1::Value*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.FieldFilter.value)
- }
- // -------------------------------------------------------------------
- // StructuredQuery_UnaryFilter
- // .google.firestore.v1.StructuredQuery.UnaryFilter.Operator op = 1;
- inline void StructuredQuery_UnaryFilter::clear_op() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.op_ = 0;
- }
- inline ::google::firestore::v1::StructuredQuery_UnaryFilter_Operator StructuredQuery_UnaryFilter::op() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.UnaryFilter.op)
- return _internal_op();
- }
- inline void StructuredQuery_UnaryFilter::set_op(::google::firestore::v1::StructuredQuery_UnaryFilter_Operator value) {
- _internal_set_op(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.UnaryFilter.op)
- }
- inline ::google::firestore::v1::StructuredQuery_UnaryFilter_Operator StructuredQuery_UnaryFilter::_internal_op() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return static_cast<::google::firestore::v1::StructuredQuery_UnaryFilter_Operator>(_impl_.op_);
- }
- inline void StructuredQuery_UnaryFilter::_internal_set_op(::google::firestore::v1::StructuredQuery_UnaryFilter_Operator value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.op_ = value;
- }
- // .google.firestore.v1.StructuredQuery.FieldReference field = 2;
- inline bool StructuredQuery_UnaryFilter::has_field() const {
- return operand_type_case() == kField;
- }
- inline bool StructuredQuery_UnaryFilter::_internal_has_field() const {
- return operand_type_case() == kField;
- }
- inline void StructuredQuery_UnaryFilter::set_has_field() {
- _impl_._oneof_case_[0] = kField;
- }
- inline void StructuredQuery_UnaryFilter::clear_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (operand_type_case() == kField) {
- if (GetArena() == nullptr) {
- delete _impl_.operand_type_.field_;
- }
- clear_has_operand_type();
- }
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_UnaryFilter::release_field() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.UnaryFilter.field)
- if (operand_type_case() == kField) {
- clear_has_operand_type();
- auto* temp = _impl_.operand_type_.field_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.operand_type_.field_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredQuery_UnaryFilter::_internal_field() const {
- return operand_type_case() == kField ? *_impl_.operand_type_.field_ : reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference&>(::google::firestore::v1::_StructuredQuery_FieldReference_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredQuery_UnaryFilter::field() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.UnaryFilter.field)
- return _internal_field();
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_UnaryFilter::unsafe_arena_release_field() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredQuery.UnaryFilter.field)
- if (operand_type_case() == kField) {
- clear_has_operand_type();
- auto* temp = _impl_.operand_type_.field_;
- _impl_.operand_type_.field_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredQuery_UnaryFilter::unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_operand_type();
- if (value) {
- set_has_field();
- _impl_.operand_type_.field_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.UnaryFilter.field)
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_UnaryFilter::_internal_mutable_field() {
- if (operand_type_case() != kField) {
- clear_operand_type();
- set_has_field();
- _impl_.operand_type_.field_ = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_FieldReference>(GetArena());
- }
- return _impl_.operand_type_.field_;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_UnaryFilter::mutable_field() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_FieldReference* _msg = _internal_mutable_field();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.UnaryFilter.field)
- return _msg;
- }
- inline bool StructuredQuery_UnaryFilter::has_operand_type() const {
- return operand_type_case() != OPERAND_TYPE_NOT_SET;
- }
- inline void StructuredQuery_UnaryFilter::clear_has_operand_type() {
- _impl_._oneof_case_[0] = OPERAND_TYPE_NOT_SET;
- }
- inline StructuredQuery_UnaryFilter::OperandTypeCase StructuredQuery_UnaryFilter::operand_type_case() const {
- return StructuredQuery_UnaryFilter::OperandTypeCase(_impl_._oneof_case_[0]);
- }
- // -------------------------------------------------------------------
- // StructuredQuery_Order
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- inline bool StructuredQuery_Order::has_field() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.field_ != nullptr);
- return value;
- }
- inline void StructuredQuery_Order::clear_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.field_ != nullptr) _impl_.field_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredQuery_Order::_internal_field() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::StructuredQuery_FieldReference* p = _impl_.field_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::StructuredQuery_FieldReference&>(::google::firestore::v1::_StructuredQuery_FieldReference_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredQuery_Order::field() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.Order.field)
- return _internal_field();
- }
- inline void StructuredQuery_Order::unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_);
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.Order.field)
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_Order::release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* released = _impl_.field_;
- _impl_.field_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_Order::unsafe_arena_release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.Order.field)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* temp = _impl_.field_;
- _impl_.field_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_Order::_internal_mutable_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.field_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_FieldReference>(GetArena());
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(p);
- }
- return _impl_.field_;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_Order::mutable_field() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_FieldReference* _msg = _internal_mutable_field();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.Order.field)
- return _msg;
- }
- inline void StructuredQuery_Order::set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(_impl_.field_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.Order.field)
- }
- // .google.firestore.v1.StructuredQuery.Direction direction = 2;
- inline void StructuredQuery_Order::clear_direction() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.direction_ = 0;
- }
- inline ::google::firestore::v1::StructuredQuery_Direction StructuredQuery_Order::direction() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.Order.direction)
- return _internal_direction();
- }
- inline void StructuredQuery_Order::set_direction(::google::firestore::v1::StructuredQuery_Direction value) {
- _internal_set_direction(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.Order.direction)
- }
- inline ::google::firestore::v1::StructuredQuery_Direction StructuredQuery_Order::_internal_direction() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return static_cast<::google::firestore::v1::StructuredQuery_Direction>(_impl_.direction_);
- }
- inline void StructuredQuery_Order::_internal_set_direction(::google::firestore::v1::StructuredQuery_Direction value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.direction_ = value;
- }
- // -------------------------------------------------------------------
- // StructuredQuery_FieldReference
- // string field_path = 2;
- inline void StructuredQuery_FieldReference::clear_field_path() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.field_path_.ClearToEmpty();
- }
- inline const std::string& StructuredQuery_FieldReference::field_path() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.FieldReference.field_path)
- return _internal_field_path();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void StructuredQuery_FieldReference::set_field_path(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.field_path_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.FieldReference.field_path)
- }
- inline std::string* StructuredQuery_FieldReference::mutable_field_path() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_field_path();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.FieldReference.field_path)
- return _s;
- }
- inline const std::string& StructuredQuery_FieldReference::_internal_field_path() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.field_path_.Get();
- }
- inline void StructuredQuery_FieldReference::_internal_set_field_path(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.field_path_.Set(value, GetArena());
- }
- inline std::string* StructuredQuery_FieldReference::_internal_mutable_field_path() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- return _impl_.field_path_.Mutable( GetArena());
- }
- inline std::string* StructuredQuery_FieldReference::release_field_path() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.FieldReference.field_path)
- return _impl_.field_path_.Release();
- }
- inline void StructuredQuery_FieldReference::set_allocated_field_path(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.field_path_.SetAllocated(value, GetArena());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.field_path_.IsDefault()) {
- _impl_.field_path_.Set("", GetArena());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.FieldReference.field_path)
- }
- // -------------------------------------------------------------------
- // StructuredQuery_Projection
- // repeated .google.firestore.v1.StructuredQuery.FieldReference fields = 2;
- inline int StructuredQuery_Projection::_internal_fields_size() const {
- return _internal_fields().size();
- }
- inline int StructuredQuery_Projection::fields_size() const {
- return _internal_fields_size();
- }
- inline void StructuredQuery_Projection::clear_fields() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.fields_.Clear();
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_Projection::mutable_fields(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.Projection.fields)
- return _internal_mutable_fields()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_FieldReference>* StructuredQuery_Projection::mutable_fields()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.StructuredQuery.Projection.fields)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_fields();
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredQuery_Projection::fields(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.Projection.fields)
- return _internal_fields().Get(index);
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredQuery_Projection::add_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::StructuredQuery_FieldReference* _add = _internal_mutable_fields()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.StructuredQuery.Projection.fields)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_FieldReference>& StructuredQuery_Projection::fields() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.StructuredQuery.Projection.fields)
- return _internal_fields();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_FieldReference>&
- StructuredQuery_Projection::_internal_fields() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.fields_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_FieldReference>*
- StructuredQuery_Projection::_internal_mutable_fields() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.fields_;
- }
- // -------------------------------------------------------------------
- // StructuredQuery
- // .google.firestore.v1.StructuredQuery.Projection select = 1;
- inline bool StructuredQuery::has_select() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.select_ != nullptr);
- return value;
- }
- inline void StructuredQuery::clear_select() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.select_ != nullptr) _impl_.select_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::google::firestore::v1::StructuredQuery_Projection& StructuredQuery::_internal_select() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::StructuredQuery_Projection* p = _impl_.select_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::StructuredQuery_Projection&>(::google::firestore::v1::_StructuredQuery_Projection_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_Projection& StructuredQuery::select() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.select)
- return _internal_select();
- }
- inline void StructuredQuery::unsafe_arena_set_allocated_select(::google::firestore::v1::StructuredQuery_Projection* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.select_);
- }
- _impl_.select_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_Projection*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.select)
- }
- inline ::google::firestore::v1::StructuredQuery_Projection* StructuredQuery::release_select() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_Projection* released = _impl_.select_;
- _impl_.select_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::StructuredQuery_Projection* StructuredQuery::unsafe_arena_release_select() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.select)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_Projection* temp = _impl_.select_;
- _impl_.select_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::StructuredQuery_Projection* StructuredQuery::_internal_mutable_select() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.select_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_Projection>(GetArena());
- _impl_.select_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_Projection*>(p);
- }
- return _impl_.select_;
- }
- inline ::google::firestore::v1::StructuredQuery_Projection* StructuredQuery::mutable_select() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_Projection* _msg = _internal_mutable_select();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.select)
- return _msg;
- }
- inline void StructuredQuery::set_allocated_select(::google::firestore::v1::StructuredQuery_Projection* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::StructuredQuery_Projection*>(_impl_.select_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::StructuredQuery_Projection*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.select_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_Projection*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.select)
- }
- // repeated .google.firestore.v1.StructuredQuery.CollectionSelector from = 2;
- inline int StructuredQuery::_internal_from_size() const {
- return _internal_from().size();
- }
- inline int StructuredQuery::from_size() const {
- return _internal_from_size();
- }
- inline void StructuredQuery::clear_from() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.from_.Clear();
- }
- inline ::google::firestore::v1::StructuredQuery_CollectionSelector* StructuredQuery::mutable_from(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.from)
- return _internal_mutable_from()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_CollectionSelector>* StructuredQuery::mutable_from()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.StructuredQuery.from)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_from();
- }
- inline const ::google::firestore::v1::StructuredQuery_CollectionSelector& StructuredQuery::from(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.from)
- return _internal_from().Get(index);
- }
- inline ::google::firestore::v1::StructuredQuery_CollectionSelector* StructuredQuery::add_from() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::StructuredQuery_CollectionSelector* _add = _internal_mutable_from()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.StructuredQuery.from)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_CollectionSelector>& StructuredQuery::from() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.StructuredQuery.from)
- return _internal_from();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_CollectionSelector>&
- StructuredQuery::_internal_from() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.from_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_CollectionSelector>*
- StructuredQuery::_internal_mutable_from() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.from_;
- }
- // .google.firestore.v1.StructuredQuery.Filter where = 3;
- inline bool StructuredQuery::has_where() const {
- bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.where_ != nullptr);
- return value;
- }
- inline void StructuredQuery::clear_where() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.where_ != nullptr) _impl_.where_->Clear();
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- inline const ::google::firestore::v1::StructuredQuery_Filter& StructuredQuery::_internal_where() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::StructuredQuery_Filter* p = _impl_.where_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::StructuredQuery_Filter&>(::google::firestore::v1::_StructuredQuery_Filter_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_Filter& StructuredQuery::where() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.where)
- return _internal_where();
- }
- inline void StructuredQuery::unsafe_arena_set_allocated_where(::google::firestore::v1::StructuredQuery_Filter* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.where_);
- }
- _impl_.where_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_Filter*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.where)
- }
- inline ::google::firestore::v1::StructuredQuery_Filter* StructuredQuery::release_where() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::google::firestore::v1::StructuredQuery_Filter* released = _impl_.where_;
- _impl_.where_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::StructuredQuery_Filter* StructuredQuery::unsafe_arena_release_where() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.where)
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::google::firestore::v1::StructuredQuery_Filter* temp = _impl_.where_;
- _impl_.where_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::StructuredQuery_Filter* StructuredQuery::_internal_mutable_where() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000002u;
- if (_impl_.where_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_Filter>(GetArena());
- _impl_.where_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_Filter*>(p);
- }
- return _impl_.where_;
- }
- inline ::google::firestore::v1::StructuredQuery_Filter* StructuredQuery::mutable_where() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_Filter* _msg = _internal_mutable_where();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.where)
- return _msg;
- }
- inline void StructuredQuery::set_allocated_where(::google::firestore::v1::StructuredQuery_Filter* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::StructuredQuery_Filter*>(_impl_.where_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::StructuredQuery_Filter*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000002u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000002u;
- }
- _impl_.where_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_Filter*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.where)
- }
- // repeated .google.firestore.v1.StructuredQuery.Order order_by = 4;
- inline int StructuredQuery::_internal_order_by_size() const {
- return _internal_order_by().size();
- }
- inline int StructuredQuery::order_by_size() const {
- return _internal_order_by_size();
- }
- inline void StructuredQuery::clear_order_by() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.order_by_.Clear();
- }
- inline ::google::firestore::v1::StructuredQuery_Order* StructuredQuery::mutable_order_by(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.order_by)
- return _internal_mutable_order_by()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Order>* StructuredQuery::mutable_order_by()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.StructuredQuery.order_by)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_order_by();
- }
- inline const ::google::firestore::v1::StructuredQuery_Order& StructuredQuery::order_by(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.order_by)
- return _internal_order_by().Get(index);
- }
- inline ::google::firestore::v1::StructuredQuery_Order* StructuredQuery::add_order_by() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::StructuredQuery_Order* _add = _internal_mutable_order_by()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.StructuredQuery.order_by)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Order>& StructuredQuery::order_by() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.StructuredQuery.order_by)
- return _internal_order_by();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Order>&
- StructuredQuery::_internal_order_by() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.order_by_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredQuery_Order>*
- StructuredQuery::_internal_mutable_order_by() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.order_by_;
- }
- // .google.firestore.v1.Cursor start_at = 7;
- inline bool StructuredQuery::has_start_at() const {
- bool value = (_impl_._has_bits_[0] & 0x00000008u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.start_at_ != nullptr);
- return value;
- }
- inline void StructuredQuery::clear_start_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.start_at_ != nullptr) _impl_.start_at_->Clear();
- _impl_._has_bits_[0] &= ~0x00000008u;
- }
- inline const ::google::firestore::v1::Cursor& StructuredQuery::_internal_start_at() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::Cursor* p = _impl_.start_at_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::Cursor&>(::google::firestore::v1::_Cursor_default_instance_);
- }
- inline const ::google::firestore::v1::Cursor& StructuredQuery::start_at() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.start_at)
- return _internal_start_at();
- }
- inline void StructuredQuery::unsafe_arena_set_allocated_start_at(::google::firestore::v1::Cursor* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.start_at_);
- }
- _impl_.start_at_ = reinterpret_cast<::google::firestore::v1::Cursor*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000008u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000008u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.start_at)
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::release_start_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000008u;
- ::google::firestore::v1::Cursor* released = _impl_.start_at_;
- _impl_.start_at_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::unsafe_arena_release_start_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.start_at)
- _impl_._has_bits_[0] &= ~0x00000008u;
- ::google::firestore::v1::Cursor* temp = _impl_.start_at_;
- _impl_.start_at_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::_internal_mutable_start_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000008u;
- if (_impl_.start_at_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::Cursor>(GetArena());
- _impl_.start_at_ = reinterpret_cast<::google::firestore::v1::Cursor*>(p);
- }
- return _impl_.start_at_;
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::mutable_start_at() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::Cursor* _msg = _internal_mutable_start_at();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.start_at)
- return _msg;
- }
- inline void StructuredQuery::set_allocated_start_at(::google::firestore::v1::Cursor* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::Cursor*>(_impl_.start_at_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::Cursor*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000008u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000008u;
- }
- _impl_.start_at_ = reinterpret_cast<::google::firestore::v1::Cursor*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.start_at)
- }
- // .google.firestore.v1.Cursor end_at = 8;
- inline bool StructuredQuery::has_end_at() const {
- bool value = (_impl_._has_bits_[0] & 0x00000010u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.end_at_ != nullptr);
- return value;
- }
- inline void StructuredQuery::clear_end_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.end_at_ != nullptr) _impl_.end_at_->Clear();
- _impl_._has_bits_[0] &= ~0x00000010u;
- }
- inline const ::google::firestore::v1::Cursor& StructuredQuery::_internal_end_at() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::Cursor* p = _impl_.end_at_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::Cursor&>(::google::firestore::v1::_Cursor_default_instance_);
- }
- inline const ::google::firestore::v1::Cursor& StructuredQuery::end_at() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.end_at)
- return _internal_end_at();
- }
- inline void StructuredQuery::unsafe_arena_set_allocated_end_at(::google::firestore::v1::Cursor* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.end_at_);
- }
- _impl_.end_at_ = reinterpret_cast<::google::firestore::v1::Cursor*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000010u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000010u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.end_at)
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::release_end_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000010u;
- ::google::firestore::v1::Cursor* released = _impl_.end_at_;
- _impl_.end_at_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::unsafe_arena_release_end_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.end_at)
- _impl_._has_bits_[0] &= ~0x00000010u;
- ::google::firestore::v1::Cursor* temp = _impl_.end_at_;
- _impl_.end_at_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::_internal_mutable_end_at() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000010u;
- if (_impl_.end_at_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::Cursor>(GetArena());
- _impl_.end_at_ = reinterpret_cast<::google::firestore::v1::Cursor*>(p);
- }
- return _impl_.end_at_;
- }
- inline ::google::firestore::v1::Cursor* StructuredQuery::mutable_end_at() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::Cursor* _msg = _internal_mutable_end_at();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.end_at)
- return _msg;
- }
- inline void StructuredQuery::set_allocated_end_at(::google::firestore::v1::Cursor* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::Cursor*>(_impl_.end_at_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::Cursor*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000010u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000010u;
- }
- _impl_.end_at_ = reinterpret_cast<::google::firestore::v1::Cursor*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.end_at)
- }
- // int32 offset = 6;
- inline void StructuredQuery::clear_offset() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.offset_ = 0;
- }
- inline ::int32_t StructuredQuery::offset() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.offset)
- return _internal_offset();
- }
- inline void StructuredQuery::set_offset(::int32_t value) {
- _internal_set_offset(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredQuery.offset)
- }
- inline ::int32_t StructuredQuery::_internal_offset() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.offset_;
- }
- inline void StructuredQuery::_internal_set_offset(::int32_t value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.offset_ = value;
- }
- // .google.protobuf.Int32Value limit = 5;
- inline bool StructuredQuery::has_limit() const {
- bool value = (_impl_._has_bits_[0] & 0x00000004u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.limit_ != nullptr);
- return value;
- }
- inline const ::google::protobuf::Int32Value& StructuredQuery::_internal_limit() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::protobuf::Int32Value* p = _impl_.limit_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Int32Value&>(::google::protobuf::_Int32Value_default_instance_);
- }
- inline const ::google::protobuf::Int32Value& StructuredQuery::limit() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredQuery.limit)
- return _internal_limit();
- }
- inline void StructuredQuery::unsafe_arena_set_allocated_limit(::google::protobuf::Int32Value* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.limit_);
- }
- _impl_.limit_ = reinterpret_cast<::google::protobuf::Int32Value*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000004u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredQuery.limit)
- }
- inline ::google::protobuf::Int32Value* StructuredQuery::release_limit() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000004u;
- ::google::protobuf::Int32Value* released = _impl_.limit_;
- _impl_.limit_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::protobuf::Int32Value* StructuredQuery::unsafe_arena_release_limit() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredQuery.limit)
- _impl_._has_bits_[0] &= ~0x00000004u;
- ::google::protobuf::Int32Value* temp = _impl_.limit_;
- _impl_.limit_ = nullptr;
- return temp;
- }
- inline ::google::protobuf::Int32Value* StructuredQuery::_internal_mutable_limit() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000004u;
- if (_impl_.limit_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::protobuf::Int32Value>(GetArena());
- _impl_.limit_ = reinterpret_cast<::google::protobuf::Int32Value*>(p);
- }
- return _impl_.limit_;
- }
- inline ::google::protobuf::Int32Value* StructuredQuery::mutable_limit() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::protobuf::Int32Value* _msg = _internal_mutable_limit();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredQuery.limit)
- return _msg;
- }
- inline void StructuredQuery::set_allocated_limit(::google::protobuf::Int32Value* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.limit_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000004u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000004u;
- }
- _impl_.limit_ = reinterpret_cast<::google::protobuf::Int32Value*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredQuery.limit)
- }
- // -------------------------------------------------------------------
- // StructuredAggregationQuery_Aggregation_Count
- // .google.protobuf.Int64Value up_to = 1;
- inline bool StructuredAggregationQuery_Aggregation_Count::has_up_to() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.up_to_ != nullptr);
- return value;
- }
- inline const ::google::protobuf::Int64Value& StructuredAggregationQuery_Aggregation_Count::_internal_up_to() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::protobuf::Int64Value* p = _impl_.up_to_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Int64Value&>(::google::protobuf::_Int64Value_default_instance_);
- }
- inline const ::google::protobuf::Int64Value& StructuredAggregationQuery_Aggregation_Count::up_to() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.up_to)
- return _internal_up_to();
- }
- inline void StructuredAggregationQuery_Aggregation_Count::unsafe_arena_set_allocated_up_to(::google::protobuf::Int64Value* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.up_to_);
- }
- _impl_.up_to_ = reinterpret_cast<::google::protobuf::Int64Value*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.up_to)
- }
- inline ::google::protobuf::Int64Value* StructuredAggregationQuery_Aggregation_Count::release_up_to() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::protobuf::Int64Value* released = _impl_.up_to_;
- _impl_.up_to_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::protobuf::Int64Value* StructuredAggregationQuery_Aggregation_Count::unsafe_arena_release_up_to() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.up_to)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::protobuf::Int64Value* temp = _impl_.up_to_;
- _impl_.up_to_ = nullptr;
- return temp;
- }
- inline ::google::protobuf::Int64Value* StructuredAggregationQuery_Aggregation_Count::_internal_mutable_up_to() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.up_to_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::protobuf::Int64Value>(GetArena());
- _impl_.up_to_ = reinterpret_cast<::google::protobuf::Int64Value*>(p);
- }
- return _impl_.up_to_;
- }
- inline ::google::protobuf::Int64Value* StructuredAggregationQuery_Aggregation_Count::mutable_up_to() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::protobuf::Int64Value* _msg = _internal_mutable_up_to();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.up_to)
- return _msg;
- }
- inline void StructuredAggregationQuery_Aggregation_Count::set_allocated_up_to(::google::protobuf::Int64Value* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.up_to_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.up_to_ = reinterpret_cast<::google::protobuf::Int64Value*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.Count.up_to)
- }
- // -------------------------------------------------------------------
- // StructuredAggregationQuery_Aggregation_Sum
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- inline bool StructuredAggregationQuery_Aggregation_Sum::has_field() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.field_ != nullptr);
- return value;
- }
- inline void StructuredAggregationQuery_Aggregation_Sum::clear_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.field_ != nullptr) _impl_.field_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredAggregationQuery_Aggregation_Sum::_internal_field() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::StructuredQuery_FieldReference* p = _impl_.field_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::StructuredQuery_FieldReference&>(::google::firestore::v1::_StructuredQuery_FieldReference_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredAggregationQuery_Aggregation_Sum::field() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum.field)
- return _internal_field();
- }
- inline void StructuredAggregationQuery_Aggregation_Sum::unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_);
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum.field)
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Sum::release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* released = _impl_.field_;
- _impl_.field_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Sum::unsafe_arena_release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum.field)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* temp = _impl_.field_;
- _impl_.field_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Sum::_internal_mutable_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.field_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_FieldReference>(GetArena());
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(p);
- }
- return _impl_.field_;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Sum::mutable_field() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_FieldReference* _msg = _internal_mutable_field();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum.field)
- return _msg;
- }
- inline void StructuredAggregationQuery_Aggregation_Sum::set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(_impl_.field_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum.field)
- }
- // -------------------------------------------------------------------
- // StructuredAggregationQuery_Aggregation_Avg
- // .google.firestore.v1.StructuredQuery.FieldReference field = 1;
- inline bool StructuredAggregationQuery_Aggregation_Avg::has_field() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.field_ != nullptr);
- return value;
- }
- inline void StructuredAggregationQuery_Aggregation_Avg::clear_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (_impl_.field_ != nullptr) _impl_.field_->Clear();
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredAggregationQuery_Aggregation_Avg::_internal_field() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::firestore::v1::StructuredQuery_FieldReference* p = _impl_.field_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::firestore::v1::StructuredQuery_FieldReference&>(::google::firestore::v1::_StructuredQuery_FieldReference_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery_FieldReference& StructuredAggregationQuery_Aggregation_Avg::field() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg.field)
- return _internal_field();
- }
- inline void StructuredAggregationQuery_Aggregation_Avg::unsafe_arena_set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.field_);
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- if (value != nullptr) {
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg.field)
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Avg::release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* released = _impl_.field_;
- _impl_.field_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::google::protobuf::MessageLite*>(released);
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- if (GetArena() == nullptr) {
- delete old;
- }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArena() != nullptr) {
- released = ::google::protobuf::internal::DuplicateIfNonNull(released);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return released;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Avg::unsafe_arena_release_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg.field)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::firestore::v1::StructuredQuery_FieldReference* temp = _impl_.field_;
- _impl_.field_ = nullptr;
- return temp;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Avg::_internal_mutable_field() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.field_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::firestore::v1::StructuredQuery_FieldReference>(GetArena());
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(p);
- }
- return _impl_.field_;
- }
- inline ::google::firestore::v1::StructuredQuery_FieldReference* StructuredAggregationQuery_Aggregation_Avg::mutable_field() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery_FieldReference* _msg = _internal_mutable_field();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg.field)
- return _msg;
- }
- inline void StructuredAggregationQuery_Aggregation_Avg::set_allocated_field(::google::firestore::v1::StructuredQuery_FieldReference* value) {
- ::google::protobuf::Arena* message_arena = GetArena();
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (message_arena == nullptr) {
- delete reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(_impl_.field_);
- }
- if (value != nullptr) {
- ::google::protobuf::Arena* submessage_arena = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(message_arena, value, submessage_arena);
- }
- _impl_._has_bits_[0] |= 0x00000001u;
- } else {
- _impl_._has_bits_[0] &= ~0x00000001u;
- }
- _impl_.field_ = reinterpret_cast<::google::firestore::v1::StructuredQuery_FieldReference*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg.field)
- }
- // -------------------------------------------------------------------
- // StructuredAggregationQuery_Aggregation
- // .google.firestore.v1.StructuredAggregationQuery.Aggregation.Count count = 1;
- inline bool StructuredAggregationQuery_Aggregation::has_count() const {
- return operator_case() == kCount;
- }
- inline bool StructuredAggregationQuery_Aggregation::_internal_has_count() const {
- return operator_case() == kCount;
- }
- inline void StructuredAggregationQuery_Aggregation::set_has_count() {
- _impl_._oneof_case_[0] = kCount;
- }
- inline void StructuredAggregationQuery_Aggregation::clear_count() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (operator_case() == kCount) {
- if (GetArena() == nullptr) {
- delete _impl_.operator_.count_;
- }
- clear_has_operator();
- }
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* StructuredAggregationQuery_Aggregation::release_count() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.count)
- if (operator_case() == kCount) {
- clear_has_operator();
- auto* temp = _impl_.operator_.count_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.operator_.count_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count& StructuredAggregationQuery_Aggregation::_internal_count() const {
- return operator_case() == kCount ? *_impl_.operator_.count_ : reinterpret_cast<::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count&>(::google::firestore::v1::_StructuredAggregationQuery_Aggregation_Count_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count& StructuredAggregationQuery_Aggregation::count() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.Aggregation.count)
- return _internal_count();
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* StructuredAggregationQuery_Aggregation::unsafe_arena_release_count() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.count)
- if (operator_case() == kCount) {
- clear_has_operator();
- auto* temp = _impl_.operator_.count_;
- _impl_.operator_.count_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredAggregationQuery_Aggregation::unsafe_arena_set_allocated_count(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_operator();
- if (value) {
- set_has_count();
- _impl_.operator_.count_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.count)
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* StructuredAggregationQuery_Aggregation::_internal_mutable_count() {
- if (operator_case() != kCount) {
- clear_operator();
- set_has_count();
- _impl_.operator_.count_ = CreateMaybeMessage<::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count>(GetArena());
- }
- return _impl_.operator_.count_;
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* StructuredAggregationQuery_Aggregation::mutable_count() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Count* _msg = _internal_mutable_count();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.Aggregation.count)
- return _msg;
- }
- // .google.firestore.v1.StructuredAggregationQuery.Aggregation.Sum sum = 2;
- inline bool StructuredAggregationQuery_Aggregation::has_sum() const {
- return operator_case() == kSum;
- }
- inline bool StructuredAggregationQuery_Aggregation::_internal_has_sum() const {
- return operator_case() == kSum;
- }
- inline void StructuredAggregationQuery_Aggregation::set_has_sum() {
- _impl_._oneof_case_[0] = kSum;
- }
- inline void StructuredAggregationQuery_Aggregation::clear_sum() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (operator_case() == kSum) {
- if (GetArena() == nullptr) {
- delete _impl_.operator_.sum_;
- }
- clear_has_operator();
- }
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* StructuredAggregationQuery_Aggregation::release_sum() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.sum)
- if (operator_case() == kSum) {
- clear_has_operator();
- auto* temp = _impl_.operator_.sum_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.operator_.sum_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum& StructuredAggregationQuery_Aggregation::_internal_sum() const {
- return operator_case() == kSum ? *_impl_.operator_.sum_ : reinterpret_cast<::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum&>(::google::firestore::v1::_StructuredAggregationQuery_Aggregation_Sum_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum& StructuredAggregationQuery_Aggregation::sum() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.Aggregation.sum)
- return _internal_sum();
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* StructuredAggregationQuery_Aggregation::unsafe_arena_release_sum() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.sum)
- if (operator_case() == kSum) {
- clear_has_operator();
- auto* temp = _impl_.operator_.sum_;
- _impl_.operator_.sum_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredAggregationQuery_Aggregation::unsafe_arena_set_allocated_sum(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_operator();
- if (value) {
- set_has_sum();
- _impl_.operator_.sum_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.sum)
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* StructuredAggregationQuery_Aggregation::_internal_mutable_sum() {
- if (operator_case() != kSum) {
- clear_operator();
- set_has_sum();
- _impl_.operator_.sum_ = CreateMaybeMessage<::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum>(GetArena());
- }
- return _impl_.operator_.sum_;
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* StructuredAggregationQuery_Aggregation::mutable_sum() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Sum* _msg = _internal_mutable_sum();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.Aggregation.sum)
- return _msg;
- }
- // .google.firestore.v1.StructuredAggregationQuery.Aggregation.Avg avg = 3;
- inline bool StructuredAggregationQuery_Aggregation::has_avg() const {
- return operator_case() == kAvg;
- }
- inline bool StructuredAggregationQuery_Aggregation::_internal_has_avg() const {
- return operator_case() == kAvg;
- }
- inline void StructuredAggregationQuery_Aggregation::set_has_avg() {
- _impl_._oneof_case_[0] = kAvg;
- }
- inline void StructuredAggregationQuery_Aggregation::clear_avg() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (operator_case() == kAvg) {
- if (GetArena() == nullptr) {
- delete _impl_.operator_.avg_;
- }
- clear_has_operator();
- }
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* StructuredAggregationQuery_Aggregation::release_avg() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.avg)
- if (operator_case() == kAvg) {
- clear_has_operator();
- auto* temp = _impl_.operator_.avg_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.operator_.avg_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg& StructuredAggregationQuery_Aggregation::_internal_avg() const {
- return operator_case() == kAvg ? *_impl_.operator_.avg_ : reinterpret_cast<::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg&>(::google::firestore::v1::_StructuredAggregationQuery_Aggregation_Avg_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg& StructuredAggregationQuery_Aggregation::avg() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.Aggregation.avg)
- return _internal_avg();
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* StructuredAggregationQuery_Aggregation::unsafe_arena_release_avg() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.avg)
- if (operator_case() == kAvg) {
- clear_has_operator();
- auto* temp = _impl_.operator_.avg_;
- _impl_.operator_.avg_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredAggregationQuery_Aggregation::unsafe_arena_set_allocated_avg(::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_operator();
- if (value) {
- set_has_avg();
- _impl_.operator_.avg_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.avg)
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* StructuredAggregationQuery_Aggregation::_internal_mutable_avg() {
- if (operator_case() != kAvg) {
- clear_operator();
- set_has_avg();
- _impl_.operator_.avg_ = CreateMaybeMessage<::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg>(GetArena());
- }
- return _impl_.operator_.avg_;
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* StructuredAggregationQuery_Aggregation::mutable_avg() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation_Avg* _msg = _internal_mutable_avg();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.Aggregation.avg)
- return _msg;
- }
- // string alias = 7;
- inline void StructuredAggregationQuery_Aggregation::clear_alias() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.alias_.ClearToEmpty();
- }
- inline const std::string& StructuredAggregationQuery_Aggregation::alias() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.Aggregation.alias)
- return _internal_alias();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void StructuredAggregationQuery_Aggregation::set_alias(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.alias_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.StructuredAggregationQuery.Aggregation.alias)
- }
- inline std::string* StructuredAggregationQuery_Aggregation::mutable_alias() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_alias();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.Aggregation.alias)
- return _s;
- }
- inline const std::string& StructuredAggregationQuery_Aggregation::_internal_alias() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.alias_.Get();
- }
- inline void StructuredAggregationQuery_Aggregation::_internal_set_alias(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.alias_.Set(value, GetArena());
- }
- inline std::string* StructuredAggregationQuery_Aggregation::_internal_mutable_alias() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- return _impl_.alias_.Mutable( GetArena());
- }
- inline std::string* StructuredAggregationQuery_Aggregation::release_alias() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.Aggregation.alias)
- return _impl_.alias_.Release();
- }
- inline void StructuredAggregationQuery_Aggregation::set_allocated_alias(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.alias_.SetAllocated(value, GetArena());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.alias_.IsDefault()) {
- _impl_.alias_.Set("", GetArena());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.StructuredAggregationQuery.Aggregation.alias)
- }
- inline bool StructuredAggregationQuery_Aggregation::has_operator() const {
- return operator_case() != OPERATOR_NOT_SET;
- }
- inline void StructuredAggregationQuery_Aggregation::clear_has_operator() {
- _impl_._oneof_case_[0] = OPERATOR_NOT_SET;
- }
- inline StructuredAggregationQuery_Aggregation::OperatorCase StructuredAggregationQuery_Aggregation::operator_case() const {
- return StructuredAggregationQuery_Aggregation::OperatorCase(_impl_._oneof_case_[0]);
- }
- // -------------------------------------------------------------------
- // StructuredAggregationQuery
- // .google.firestore.v1.StructuredQuery structured_query = 1;
- inline bool StructuredAggregationQuery::has_structured_query() const {
- return query_type_case() == kStructuredQuery;
- }
- inline bool StructuredAggregationQuery::_internal_has_structured_query() const {
- return query_type_case() == kStructuredQuery;
- }
- inline void StructuredAggregationQuery::set_has_structured_query() {
- _impl_._oneof_case_[0] = kStructuredQuery;
- }
- inline void StructuredAggregationQuery::clear_structured_query() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (query_type_case() == kStructuredQuery) {
- if (GetArena() == nullptr) {
- delete _impl_.query_type_.structured_query_;
- }
- clear_has_query_type();
- }
- }
- inline ::google::firestore::v1::StructuredQuery* StructuredAggregationQuery::release_structured_query() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.StructuredAggregationQuery.structured_query)
- if (query_type_case() == kStructuredQuery) {
- clear_has_query_type();
- auto* temp = _impl_.query_type_.structured_query_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.query_type_.structured_query_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::StructuredQuery& StructuredAggregationQuery::_internal_structured_query() const {
- return query_type_case() == kStructuredQuery ? *_impl_.query_type_.structured_query_ : reinterpret_cast<::google::firestore::v1::StructuredQuery&>(::google::firestore::v1::_StructuredQuery_default_instance_);
- }
- inline const ::google::firestore::v1::StructuredQuery& StructuredAggregationQuery::structured_query() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.structured_query)
- return _internal_structured_query();
- }
- inline ::google::firestore::v1::StructuredQuery* StructuredAggregationQuery::unsafe_arena_release_structured_query() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.StructuredAggregationQuery.structured_query)
- if (query_type_case() == kStructuredQuery) {
- clear_has_query_type();
- auto* temp = _impl_.query_type_.structured_query_;
- _impl_.query_type_.structured_query_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void StructuredAggregationQuery::unsafe_arena_set_allocated_structured_query(::google::firestore::v1::StructuredQuery* value) {
- // We rely on the oneof clear method to free the earlier contents
- // of this oneof. We can directly use the pointer we're given to
- // set the new value.
- clear_query_type();
- if (value) {
- set_has_structured_query();
- _impl_.query_type_.structured_query_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.StructuredAggregationQuery.structured_query)
- }
- inline ::google::firestore::v1::StructuredQuery* StructuredAggregationQuery::_internal_mutable_structured_query() {
- if (query_type_case() != kStructuredQuery) {
- clear_query_type();
- set_has_structured_query();
- _impl_.query_type_.structured_query_ = CreateMaybeMessage<::google::firestore::v1::StructuredQuery>(GetArena());
- }
- return _impl_.query_type_.structured_query_;
- }
- inline ::google::firestore::v1::StructuredQuery* StructuredAggregationQuery::mutable_structured_query() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::StructuredQuery* _msg = _internal_mutable_structured_query();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.structured_query)
- return _msg;
- }
- // repeated .google.firestore.v1.StructuredAggregationQuery.Aggregation aggregations = 3;
- inline int StructuredAggregationQuery::_internal_aggregations_size() const {
- return _internal_aggregations().size();
- }
- inline int StructuredAggregationQuery::aggregations_size() const {
- return _internal_aggregations_size();
- }
- inline void StructuredAggregationQuery::clear_aggregations() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.aggregations_.Clear();
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation* StructuredAggregationQuery::mutable_aggregations(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.StructuredAggregationQuery.aggregations)
- return _internal_mutable_aggregations()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredAggregationQuery_Aggregation>* StructuredAggregationQuery::mutable_aggregations()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.StructuredAggregationQuery.aggregations)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_aggregations();
- }
- inline const ::google::firestore::v1::StructuredAggregationQuery_Aggregation& StructuredAggregationQuery::aggregations(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.StructuredAggregationQuery.aggregations)
- return _internal_aggregations().Get(index);
- }
- inline ::google::firestore::v1::StructuredAggregationQuery_Aggregation* StructuredAggregationQuery::add_aggregations() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::StructuredAggregationQuery_Aggregation* _add = _internal_mutable_aggregations()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.StructuredAggregationQuery.aggregations)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredAggregationQuery_Aggregation>& StructuredAggregationQuery::aggregations() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.StructuredAggregationQuery.aggregations)
- return _internal_aggregations();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredAggregationQuery_Aggregation>&
- StructuredAggregationQuery::_internal_aggregations() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.aggregations_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::StructuredAggregationQuery_Aggregation>*
- StructuredAggregationQuery::_internal_mutable_aggregations() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.aggregations_;
- }
- inline bool StructuredAggregationQuery::has_query_type() const {
- return query_type_case() != QUERY_TYPE_NOT_SET;
- }
- inline void StructuredAggregationQuery::clear_has_query_type() {
- _impl_._oneof_case_[0] = QUERY_TYPE_NOT_SET;
- }
- inline StructuredAggregationQuery::QueryTypeCase StructuredAggregationQuery::query_type_case() const {
- return StructuredAggregationQuery::QueryTypeCase(_impl_._oneof_case_[0]);
- }
- // -------------------------------------------------------------------
- // Cursor
- // repeated .google.firestore.v1.Value values = 1;
- inline int Cursor::_internal_values_size() const {
- return _internal_values().size();
- }
- inline int Cursor::values_size() const {
- return _internal_values_size();
- }
- inline ::google::firestore::v1::Value* Cursor::mutable_values(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Cursor.values)
- return _internal_mutable_values()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>* Cursor::mutable_values()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.Cursor.values)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_values();
- }
- inline const ::google::firestore::v1::Value& Cursor::values(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Cursor.values)
- return _internal_values().Get(index);
- }
- inline ::google::firestore::v1::Value* Cursor::add_values() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::Value* _add = _internal_mutable_values()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.Cursor.values)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>& Cursor::values() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.Cursor.values)
- return _internal_values();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>&
- Cursor::_internal_values() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.values_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>*
- Cursor::_internal_mutable_values() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.values_;
- }
- // bool before = 2;
- inline void Cursor::clear_before() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.before_ = false;
- }
- inline bool Cursor::before() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Cursor.before)
- return _internal_before();
- }
- inline void Cursor::set_before(bool value) {
- _internal_set_before(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.Cursor.before)
- }
- inline bool Cursor::_internal_before() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.before_;
- }
- inline void Cursor::_internal_set_before(bool value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.before_ = value;
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // @@protoc_insertion_point(namespace_scope)
- } // namespace v1
- } // namespace firestore
- } // namespace google
- namespace google {
- namespace protobuf {
- template <>
- struct is_proto_enum<::google::firestore::v1::StructuredQuery_CompositeFilter_Operator> : std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor<::google::firestore::v1::StructuredQuery_CompositeFilter_Operator>() {
- return ::google::firestore::v1::StructuredQuery_CompositeFilter_Operator_descriptor();
- }
- template <>
- struct is_proto_enum<::google::firestore::v1::StructuredQuery_FieldFilter_Operator> : std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor<::google::firestore::v1::StructuredQuery_FieldFilter_Operator>() {
- return ::google::firestore::v1::StructuredQuery_FieldFilter_Operator_descriptor();
- }
- template <>
- struct is_proto_enum<::google::firestore::v1::StructuredQuery_UnaryFilter_Operator> : std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor<::google::firestore::v1::StructuredQuery_UnaryFilter_Operator>() {
- return ::google::firestore::v1::StructuredQuery_UnaryFilter_Operator_descriptor();
- }
- template <>
- struct is_proto_enum<::google::firestore::v1::StructuredQuery_Direction> : std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor<::google::firestore::v1::StructuredQuery_Direction>() {
- return ::google::firestore::v1::StructuredQuery_Direction_descriptor();
- }
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #include "google/protobuf/port_undef.inc"
- #endif // GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fquery_2eproto_2epb_2eh
|