| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579 |
- /*
- * Copyright 2025 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/document.proto
- // Protobuf C++ Version: 4.25.1
- #ifndef GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fdocument_2eproto_2epb_2eh
- #define GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fdocument_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/map.h" // IWYU pragma: export
- #include "google/protobuf/map_entry.h"
- #include "google/protobuf/map_field_inl.h"
- #include "google/protobuf/unknown_field_set.h"
- #include "google/api/field_behavior.pb.h"
- #include "google/protobuf/struct.pb.h"
- #include "google/protobuf/timestamp.pb.h"
- #include "google/type/latlng.pb.h"
- // @@protoc_insertion_point(includes)
- // Must be included last.
- #include "google/protobuf/port_def.inc"
- #define PROTOBUF_INTERNAL_EXPORT_google_2ffirestore_2fv1_2fdocument_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_2fdocument_2eproto {
- static const ::uint32_t offsets[];
- };
- extern const ::google::protobuf::internal::DescriptorTable
- descriptor_table_google_2ffirestore_2fv1_2fdocument_2eproto;
- namespace google {
- namespace firestore {
- namespace v1 {
- class ArrayValue;
- struct ArrayValueDefaultTypeInternal;
- extern ArrayValueDefaultTypeInternal _ArrayValue_default_instance_;
- class Document;
- struct DocumentDefaultTypeInternal;
- extern DocumentDefaultTypeInternal _Document_default_instance_;
- class Document_FieldsEntry_DoNotUse;
- struct Document_FieldsEntry_DoNotUseDefaultTypeInternal;
- extern Document_FieldsEntry_DoNotUseDefaultTypeInternal _Document_FieldsEntry_DoNotUse_default_instance_;
- class Function;
- struct FunctionDefaultTypeInternal;
- extern FunctionDefaultTypeInternal _Function_default_instance_;
- class Function_OptionsEntry_DoNotUse;
- struct Function_OptionsEntry_DoNotUseDefaultTypeInternal;
- extern Function_OptionsEntry_DoNotUseDefaultTypeInternal _Function_OptionsEntry_DoNotUse_default_instance_;
- class MapValue;
- struct MapValueDefaultTypeInternal;
- extern MapValueDefaultTypeInternal _MapValue_default_instance_;
- class MapValue_FieldsEntry_DoNotUse;
- struct MapValue_FieldsEntry_DoNotUseDefaultTypeInternal;
- extern MapValue_FieldsEntry_DoNotUseDefaultTypeInternal _MapValue_FieldsEntry_DoNotUse_default_instance_;
- class Pipeline;
- struct PipelineDefaultTypeInternal;
- extern PipelineDefaultTypeInternal _Pipeline_default_instance_;
- class Pipeline_Stage;
- struct Pipeline_StageDefaultTypeInternal;
- extern Pipeline_StageDefaultTypeInternal _Pipeline_Stage_default_instance_;
- class Pipeline_Stage_OptionsEntry_DoNotUse;
- struct Pipeline_Stage_OptionsEntry_DoNotUseDefaultTypeInternal;
- extern Pipeline_Stage_OptionsEntry_DoNotUseDefaultTypeInternal _Pipeline_Stage_OptionsEntry_DoNotUse_default_instance_;
- class Value;
- struct ValueDefaultTypeInternal;
- extern ValueDefaultTypeInternal _Value_default_instance_;
- } // namespace v1
- } // namespace firestore
- namespace protobuf {
- } // namespace protobuf
- } // namespace google
- namespace google {
- namespace firestore {
- namespace v1 {
- // ===================================================================
- // -------------------------------------------------------------------
- class ArrayValue final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.ArrayValue) */ {
- public:
- inline ArrayValue() : ArrayValue(nullptr) {}
- ~ArrayValue() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR ArrayValue(::google::protobuf::internal::ConstantInitialized);
- inline ArrayValue(const ArrayValue& from)
- : ArrayValue(nullptr, from) {}
- ArrayValue(ArrayValue&& from) noexcept
- : ArrayValue() {
- *this = ::std::move(from);
- }
- inline ArrayValue& operator=(const ArrayValue& from) {
- CopyFrom(from);
- return *this;
- }
- inline ArrayValue& operator=(ArrayValue&& 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 ArrayValue& default_instance() {
- return *internal_default_instance();
- }
- static inline const ArrayValue* internal_default_instance() {
- return reinterpret_cast<const ArrayValue*>(
- &_ArrayValue_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(ArrayValue& a, ArrayValue& b) {
- a.Swap(&b);
- }
- inline void Swap(ArrayValue* 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(ArrayValue* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- ArrayValue* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<ArrayValue>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const ArrayValue& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const ArrayValue& from) {
- ArrayValue::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(ArrayValue* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.ArrayValue";
- }
- protected:
- explicit ArrayValue(::google::protobuf::Arena* arena);
- ArrayValue(::google::protobuf::Arena* arena, const ArrayValue& 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,
- };
- // 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;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.ArrayValue)
- 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::Value > values_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };// -------------------------------------------------------------------
- class Function final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Function) */ {
- public:
- inline Function() : Function(nullptr) {}
- ~Function() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Function(::google::protobuf::internal::ConstantInitialized);
- inline Function(const Function& from)
- : Function(nullptr, from) {}
- Function(Function&& from) noexcept
- : Function() {
- *this = ::std::move(from);
- }
- inline Function& operator=(const Function& from) {
- CopyFrom(from);
- return *this;
- }
- inline Function& operator=(Function&& 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 Function& default_instance() {
- return *internal_default_instance();
- }
- static inline const Function* internal_default_instance() {
- return reinterpret_cast<const Function*>(
- &_Function_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(Function& a, Function& b) {
- a.Swap(&b);
- }
- inline void Swap(Function* 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(Function* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Function* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Function>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const Function& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const Function& from) {
- Function::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(Function* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.Function";
- }
- protected:
- explicit Function(::google::protobuf::Arena* arena);
- Function(::google::protobuf::Arena* arena, const Function& 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 {
- kArgsFieldNumber = 2,
- kOptionsFieldNumber = 3,
- kNameFieldNumber = 1,
- };
- // repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL];
- int args_size() const;
- private:
- int _internal_args_size() const;
- public:
- void clear_args() ;
- ::google::firestore::v1::Value* mutable_args(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Value >*
- mutable_args();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>& _internal_args() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>* _internal_mutable_args();
- public:
- const ::google::firestore::v1::Value& args(int index) const;
- ::google::firestore::v1::Value* add_args();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Value >&
- args() const;
- // map<string, .google.firestore.v1.Value> options = 3 [(.google.api.field_behavior) = OPTIONAL];
- int options_size() const;
- private:
- int _internal_options_size() const;
- public:
- void clear_options() ;
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& options() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* mutable_options();
- private:
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& _internal_options() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* _internal_mutable_options();
- public:
- // string name = 1 [(.google.api.field_behavior) = REQUIRED];
- void clear_name() ;
- const std::string& name() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_name(Arg_&& arg, Args_... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* value);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
- const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.Function)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 1, 3, 3,
- 48, 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 > args_;
- ::google::protobuf::internal::MapField<Function_OptionsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
- options_;
- ::google::protobuf::internal::ArenaStringPtr name_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };// -------------------------------------------------------------------
- class Function_OptionsEntry_DoNotUse final
- : public ::google::protobuf::internal::MapEntry<
- Function_OptionsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
- public:
- using SuperType = ::google::protobuf::internal::MapEntry<
- Function_OptionsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
- Function_OptionsEntry_DoNotUse();
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR Function_OptionsEntry_DoNotUse(
- ::google::protobuf::internal::ConstantInitialized);
- explicit Function_OptionsEntry_DoNotUse(::google::protobuf::Arena* arena);
- static const Function_OptionsEntry_DoNotUse* internal_default_instance() {
- return reinterpret_cast<const Function_OptionsEntry_DoNotUse*>(
- &_Function_OptionsEntry_DoNotUse_default_instance_);
- }
- static bool ValidateKey(std::string* s) {
- return ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::google::protobuf::internal::WireFormatLite::PARSE, "google.firestore.v1.Function.OptionsEntry.key");
- }
- static bool ValidateValue(void*) { return true; }
- ::google::protobuf::Metadata GetMetadata() const final;
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };
- // -------------------------------------------------------------------
- class MapValue final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.MapValue) */ {
- public:
- inline MapValue() : MapValue(nullptr) {}
- ~MapValue() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR MapValue(::google::protobuf::internal::ConstantInitialized);
- inline MapValue(const MapValue& from)
- : MapValue(nullptr, from) {}
- MapValue(MapValue&& from) noexcept
- : MapValue() {
- *this = ::std::move(from);
- }
- inline MapValue& operator=(const MapValue& from) {
- CopyFrom(from);
- return *this;
- }
- inline MapValue& operator=(MapValue&& 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 MapValue& default_instance() {
- return *internal_default_instance();
- }
- static inline const MapValue* internal_default_instance() {
- return reinterpret_cast<const MapValue*>(
- &_MapValue_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(MapValue& a, MapValue& b) {
- a.Swap(&b);
- }
- inline void Swap(MapValue* 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(MapValue* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- MapValue* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<MapValue>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const MapValue& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const MapValue& from) {
- MapValue::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(MapValue* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.MapValue";
- }
- protected:
- explicit MapValue(::google::protobuf::Arena* arena);
- MapValue(::google::protobuf::Arena* arena, const MapValue& 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 = 1,
- };
- // map<string, .google.firestore.v1.Value> fields = 1;
- int fields_size() const;
- private:
- int _internal_fields_size() const;
- public:
- void clear_fields() ;
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& fields() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* mutable_fields();
- private:
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& _internal_fields() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* _internal_mutable_fields();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.MapValue)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 1, 2,
- 43, 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::MapField<MapValue_FieldsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
- fields_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };// -------------------------------------------------------------------
- class MapValue_FieldsEntry_DoNotUse final
- : public ::google::protobuf::internal::MapEntry<
- MapValue_FieldsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
- public:
- using SuperType = ::google::protobuf::internal::MapEntry<
- MapValue_FieldsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
- MapValue_FieldsEntry_DoNotUse();
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR MapValue_FieldsEntry_DoNotUse(
- ::google::protobuf::internal::ConstantInitialized);
- explicit MapValue_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena);
- static const MapValue_FieldsEntry_DoNotUse* internal_default_instance() {
- return reinterpret_cast<const MapValue_FieldsEntry_DoNotUse*>(
- &_MapValue_FieldsEntry_DoNotUse_default_instance_);
- }
- static bool ValidateKey(std::string* s) {
- return ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::google::protobuf::internal::WireFormatLite::PARSE, "google.firestore.v1.MapValue.FieldsEntry.key");
- }
- static bool ValidateValue(void*) { return true; }
- ::google::protobuf::Metadata GetMetadata() const final;
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };
- // -------------------------------------------------------------------
- class Pipeline final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Pipeline) */ {
- public:
- inline Pipeline() : Pipeline(nullptr) {}
- ~Pipeline() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Pipeline(::google::protobuf::internal::ConstantInitialized);
- inline Pipeline(const Pipeline& from)
- : Pipeline(nullptr, from) {}
- Pipeline(Pipeline&& from) noexcept
- : Pipeline() {
- *this = ::std::move(from);
- }
- inline Pipeline& operator=(const Pipeline& from) {
- CopyFrom(from);
- return *this;
- }
- inline Pipeline& operator=(Pipeline&& 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 Pipeline& default_instance() {
- return *internal_default_instance();
- }
- static inline const Pipeline* internal_default_instance() {
- return reinterpret_cast<const Pipeline*>(
- &_Pipeline_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(Pipeline& a, Pipeline& b) {
- a.Swap(&b);
- }
- inline void Swap(Pipeline* 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(Pipeline* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Pipeline* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Pipeline>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const Pipeline& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const Pipeline& from) {
- Pipeline::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(Pipeline* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.Pipeline";
- }
- protected:
- explicit Pipeline(::google::protobuf::Arena* arena);
- Pipeline(::google::protobuf::Arena* arena, const Pipeline& from);
- public:
- static const ClassData _class_data_;
- const ::google::protobuf::Message::ClassData*GetClassData() const final;
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- using Stage = Pipeline_Stage;
- // accessors -------------------------------------------------------
- enum : int {
- kStagesFieldNumber = 1,
- };
- // repeated .google.firestore.v1.Pipeline.Stage stages = 1 [(.google.api.field_behavior) = REQUIRED];
- int stages_size() const;
- private:
- int _internal_stages_size() const;
- public:
- void clear_stages() ;
- ::google::firestore::v1::Pipeline_Stage* mutable_stages(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Pipeline_Stage >*
- mutable_stages();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Pipeline_Stage>& _internal_stages() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Pipeline_Stage>* _internal_mutable_stages();
- public:
- const ::google::firestore::v1::Pipeline_Stage& stages(int index) const;
- ::google::firestore::v1::Pipeline_Stage* add_stages();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Pipeline_Stage >&
- stages() const;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.Pipeline)
- 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::Pipeline_Stage > stages_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };// -------------------------------------------------------------------
- class Pipeline_Stage final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Pipeline.Stage) */ {
- public:
- inline Pipeline_Stage() : Pipeline_Stage(nullptr) {}
- ~Pipeline_Stage() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Pipeline_Stage(::google::protobuf::internal::ConstantInitialized);
- inline Pipeline_Stage(const Pipeline_Stage& from)
- : Pipeline_Stage(nullptr, from) {}
- Pipeline_Stage(Pipeline_Stage&& from) noexcept
- : Pipeline_Stage() {
- *this = ::std::move(from);
- }
- inline Pipeline_Stage& operator=(const Pipeline_Stage& from) {
- CopyFrom(from);
- return *this;
- }
- inline Pipeline_Stage& operator=(Pipeline_Stage&& 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 Pipeline_Stage& default_instance() {
- return *internal_default_instance();
- }
- static inline const Pipeline_Stage* internal_default_instance() {
- return reinterpret_cast<const Pipeline_Stage*>(
- &_Pipeline_Stage_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(Pipeline_Stage& a, Pipeline_Stage& b) {
- a.Swap(&b);
- }
- inline void Swap(Pipeline_Stage* 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(Pipeline_Stage* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Pipeline_Stage* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Pipeline_Stage>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const Pipeline_Stage& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const Pipeline_Stage& from) {
- Pipeline_Stage::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(Pipeline_Stage* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.Pipeline.Stage";
- }
- protected:
- explicit Pipeline_Stage(::google::protobuf::Arena* arena);
- Pipeline_Stage(::google::protobuf::Arena* arena, const Pipeline_Stage& 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 {
- kArgsFieldNumber = 2,
- kOptionsFieldNumber = 3,
- kNameFieldNumber = 1,
- };
- // repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL];
- int args_size() const;
- private:
- int _internal_args_size() const;
- public:
- void clear_args() ;
- ::google::firestore::v1::Value* mutable_args(int index);
- ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Value >*
- mutable_args();
- private:
- const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>& _internal_args() const;
- ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>* _internal_mutable_args();
- public:
- const ::google::firestore::v1::Value& args(int index) const;
- ::google::firestore::v1::Value* add_args();
- const ::google::protobuf::RepeatedPtrField< ::google::firestore::v1::Value >&
- args() const;
- // map<string, .google.firestore.v1.Value> options = 3 [(.google.api.field_behavior) = OPTIONAL];
- int options_size() const;
- private:
- int _internal_options_size() const;
- public:
- void clear_options() ;
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& options() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* mutable_options();
- private:
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& _internal_options() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* _internal_mutable_options();
- public:
- // string name = 1 [(.google.api.field_behavior) = REQUIRED];
- void clear_name() ;
- const std::string& name() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_name(Arg_&& arg, Args_... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* value);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
- const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.Pipeline.Stage)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 1, 3, 3,
- 54, 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 > args_;
- ::google::protobuf::internal::MapField<Pipeline_Stage_OptionsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
- options_;
- ::google::protobuf::internal::ArenaStringPtr name_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };// -------------------------------------------------------------------
- class Pipeline_Stage_OptionsEntry_DoNotUse final
- : public ::google::protobuf::internal::MapEntry<
- Pipeline_Stage_OptionsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
- public:
- using SuperType = ::google::protobuf::internal::MapEntry<
- Pipeline_Stage_OptionsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
- Pipeline_Stage_OptionsEntry_DoNotUse();
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR Pipeline_Stage_OptionsEntry_DoNotUse(
- ::google::protobuf::internal::ConstantInitialized);
- explicit Pipeline_Stage_OptionsEntry_DoNotUse(::google::protobuf::Arena* arena);
- static const Pipeline_Stage_OptionsEntry_DoNotUse* internal_default_instance() {
- return reinterpret_cast<const Pipeline_Stage_OptionsEntry_DoNotUse*>(
- &_Pipeline_Stage_OptionsEntry_DoNotUse_default_instance_);
- }
- static bool ValidateKey(std::string* s) {
- return ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::google::protobuf::internal::WireFormatLite::PARSE, "google.firestore.v1.Pipeline.Stage.OptionsEntry.key");
- }
- static bool ValidateValue(void*) { return true; }
- ::google::protobuf::Metadata GetMetadata() const final;
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };
- // -------------------------------------------------------------------
- class Value final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Value) */ {
- public:
- inline Value() : Value(nullptr) {}
- ~Value() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Value(::google::protobuf::internal::ConstantInitialized);
- inline Value(const Value& from)
- : Value(nullptr, from) {}
- Value(Value&& from) noexcept
- : Value() {
- *this = ::std::move(from);
- }
- inline Value& operator=(const Value& from) {
- CopyFrom(from);
- return *this;
- }
- inline Value& operator=(Value&& 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 Value& default_instance() {
- return *internal_default_instance();
- }
- enum ValueTypeCase {
- kNullValue = 11,
- kBooleanValue = 1,
- kIntegerValue = 2,
- kDoubleValue = 3,
- kTimestampValue = 10,
- kStringValue = 17,
- kBytesValue = 18,
- kReferenceValue = 5,
- kGeoPointValue = 8,
- kArrayValue = 9,
- kMapValue = 6,
- kFieldReferenceValue = 19,
- kFunctionValue = 20,
- kPipelineValue = 21,
- VALUE_TYPE_NOT_SET = 0,
- };
- static inline const Value* internal_default_instance() {
- return reinterpret_cast<const Value*>(
- &_Value_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(Value& a, Value& b) {
- a.Swap(&b);
- }
- inline void Swap(Value* 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(Value* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Value* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Value>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const Value& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const Value& from) {
- Value::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(Value* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.Value";
- }
- protected:
- explicit Value(::google::protobuf::Arena* arena);
- Value(::google::protobuf::Arena* arena, const Value& 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 {
- kNullValueFieldNumber = 11,
- kBooleanValueFieldNumber = 1,
- kIntegerValueFieldNumber = 2,
- kDoubleValueFieldNumber = 3,
- kTimestampValueFieldNumber = 10,
- kStringValueFieldNumber = 17,
- kBytesValueFieldNumber = 18,
- kReferenceValueFieldNumber = 5,
- kGeoPointValueFieldNumber = 8,
- kArrayValueFieldNumber = 9,
- kMapValueFieldNumber = 6,
- kFieldReferenceValueFieldNumber = 19,
- kFunctionValueFieldNumber = 20,
- kPipelineValueFieldNumber = 21,
- };
- // .google.protobuf.NullValue null_value = 11;
- bool has_null_value() const;
- void clear_null_value() ;
- ::google::protobuf::NullValue null_value() const;
- void set_null_value(::google::protobuf::NullValue value);
- private:
- ::google::protobuf::NullValue _internal_null_value() const;
- void _internal_set_null_value(::google::protobuf::NullValue value);
- public:
- // bool boolean_value = 1;
- bool has_boolean_value() const;
- void clear_boolean_value() ;
- bool boolean_value() const;
- void set_boolean_value(bool value);
- private:
- bool _internal_boolean_value() const;
- void _internal_set_boolean_value(bool value);
- public:
- // int64 integer_value = 2;
- bool has_integer_value() const;
- void clear_integer_value() ;
- ::int64_t integer_value() const;
- void set_integer_value(::int64_t value);
- private:
- ::int64_t _internal_integer_value() const;
- void _internal_set_integer_value(::int64_t value);
- public:
- // double double_value = 3;
- bool has_double_value() const;
- void clear_double_value() ;
- double double_value() const;
- void set_double_value(double value);
- private:
- double _internal_double_value() const;
- void _internal_set_double_value(double value);
- public:
- // .google.protobuf.Timestamp timestamp_value = 10;
- bool has_timestamp_value() const;
- private:
- bool _internal_has_timestamp_value() const;
- public:
- void clear_timestamp_value() ;
- const ::google::protobuf::Timestamp& timestamp_value() const;
- PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_timestamp_value();
- ::google::protobuf::Timestamp* mutable_timestamp_value();
- void set_allocated_timestamp_value(::google::protobuf::Timestamp* value);
- void unsafe_arena_set_allocated_timestamp_value(::google::protobuf::Timestamp* value);
- ::google::protobuf::Timestamp* unsafe_arena_release_timestamp_value();
- private:
- const ::google::protobuf::Timestamp& _internal_timestamp_value() const;
- ::google::protobuf::Timestamp* _internal_mutable_timestamp_value();
- public:
- // string string_value = 17;
- bool has_string_value() const;
- void clear_string_value() ;
- const std::string& string_value() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_string_value(Arg_&& arg, Args_... args);
- std::string* mutable_string_value();
- PROTOBUF_NODISCARD std::string* release_string_value();
- void set_allocated_string_value(std::string* value);
- private:
- const std::string& _internal_string_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_string_value(
- const std::string& value);
- std::string* _internal_mutable_string_value();
- public:
- // bytes bytes_value = 18;
- bool has_bytes_value() const;
- void clear_bytes_value() ;
- const std::string& bytes_value() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_bytes_value(Arg_&& arg, Args_... args);
- std::string* mutable_bytes_value();
- PROTOBUF_NODISCARD std::string* release_bytes_value();
- void set_allocated_bytes_value(std::string* value);
- private:
- const std::string& _internal_bytes_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_bytes_value(
- const std::string& value);
- std::string* _internal_mutable_bytes_value();
- public:
- // string reference_value = 5;
- bool has_reference_value() const;
- void clear_reference_value() ;
- const std::string& reference_value() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_reference_value(Arg_&& arg, Args_... args);
- std::string* mutable_reference_value();
- PROTOBUF_NODISCARD std::string* release_reference_value();
- void set_allocated_reference_value(std::string* value);
- private:
- const std::string& _internal_reference_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_reference_value(
- const std::string& value);
- std::string* _internal_mutable_reference_value();
- public:
- // .google.type.LatLng geo_point_value = 8;
- bool has_geo_point_value() const;
- private:
- bool _internal_has_geo_point_value() const;
- public:
- void clear_geo_point_value() ;
- const ::google::type::LatLng& geo_point_value() const;
- PROTOBUF_NODISCARD ::google::type::LatLng* release_geo_point_value();
- ::google::type::LatLng* mutable_geo_point_value();
- void set_allocated_geo_point_value(::google::type::LatLng* value);
- void unsafe_arena_set_allocated_geo_point_value(::google::type::LatLng* value);
- ::google::type::LatLng* unsafe_arena_release_geo_point_value();
- private:
- const ::google::type::LatLng& _internal_geo_point_value() const;
- ::google::type::LatLng* _internal_mutable_geo_point_value();
- public:
- // .google.firestore.v1.ArrayValue array_value = 9;
- bool has_array_value() const;
- private:
- bool _internal_has_array_value() const;
- public:
- void clear_array_value() ;
- const ::google::firestore::v1::ArrayValue& array_value() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::ArrayValue* release_array_value();
- ::google::firestore::v1::ArrayValue* mutable_array_value();
- void set_allocated_array_value(::google::firestore::v1::ArrayValue* value);
- void unsafe_arena_set_allocated_array_value(::google::firestore::v1::ArrayValue* value);
- ::google::firestore::v1::ArrayValue* unsafe_arena_release_array_value();
- private:
- const ::google::firestore::v1::ArrayValue& _internal_array_value() const;
- ::google::firestore::v1::ArrayValue* _internal_mutable_array_value();
- public:
- // .google.firestore.v1.MapValue map_value = 6;
- bool has_map_value() const;
- private:
- bool _internal_has_map_value() const;
- public:
- void clear_map_value() ;
- const ::google::firestore::v1::MapValue& map_value() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::MapValue* release_map_value();
- ::google::firestore::v1::MapValue* mutable_map_value();
- void set_allocated_map_value(::google::firestore::v1::MapValue* value);
- void unsafe_arena_set_allocated_map_value(::google::firestore::v1::MapValue* value);
- ::google::firestore::v1::MapValue* unsafe_arena_release_map_value();
- private:
- const ::google::firestore::v1::MapValue& _internal_map_value() const;
- ::google::firestore::v1::MapValue* _internal_mutable_map_value();
- public:
- // string field_reference_value = 19;
- bool has_field_reference_value() const;
- void clear_field_reference_value() ;
- const std::string& field_reference_value() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_field_reference_value(Arg_&& arg, Args_... args);
- std::string* mutable_field_reference_value();
- PROTOBUF_NODISCARD std::string* release_field_reference_value();
- void set_allocated_field_reference_value(std::string* value);
- private:
- const std::string& _internal_field_reference_value() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_field_reference_value(
- const std::string& value);
- std::string* _internal_mutable_field_reference_value();
- public:
- // .google.firestore.v1.Function function_value = 20;
- bool has_function_value() const;
- private:
- bool _internal_has_function_value() const;
- public:
- void clear_function_value() ;
- const ::google::firestore::v1::Function& function_value() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::Function* release_function_value();
- ::google::firestore::v1::Function* mutable_function_value();
- void set_allocated_function_value(::google::firestore::v1::Function* value);
- void unsafe_arena_set_allocated_function_value(::google::firestore::v1::Function* value);
- ::google::firestore::v1::Function* unsafe_arena_release_function_value();
- private:
- const ::google::firestore::v1::Function& _internal_function_value() const;
- ::google::firestore::v1::Function* _internal_mutable_function_value();
- public:
- // .google.firestore.v1.Pipeline pipeline_value = 21;
- bool has_pipeline_value() const;
- private:
- bool _internal_has_pipeline_value() const;
- public:
- void clear_pipeline_value() ;
- const ::google::firestore::v1::Pipeline& pipeline_value() const;
- PROTOBUF_NODISCARD ::google::firestore::v1::Pipeline* release_pipeline_value();
- ::google::firestore::v1::Pipeline* mutable_pipeline_value();
- void set_allocated_pipeline_value(::google::firestore::v1::Pipeline* value);
- void unsafe_arena_set_allocated_pipeline_value(::google::firestore::v1::Pipeline* value);
- ::google::firestore::v1::Pipeline* unsafe_arena_release_pipeline_value();
- private:
- const ::google::firestore::v1::Pipeline& _internal_pipeline_value() const;
- ::google::firestore::v1::Pipeline* _internal_mutable_pipeline_value();
- public:
- void clear_value_type();
- ValueTypeCase value_type_case() const;
- // @@protoc_insertion_point(class_scope:google.firestore.v1.Value)
- private:
- class _Internal;
- void set_has_null_value();
- void set_has_boolean_value();
- void set_has_integer_value();
- void set_has_double_value();
- void set_has_timestamp_value();
- void set_has_string_value();
- void set_has_bytes_value();
- void set_has_reference_value();
- void set_has_geo_point_value();
- void set_has_array_value();
- void set_has_map_value();
- void set_has_field_reference_value();
- void set_has_function_value();
- void set_has_pipeline_value();
- inline bool has_value_type() const;
- inline void clear_has_value_type();
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 0, 14, 6,
- 90, 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 ValueTypeUnion {
- constexpr ValueTypeUnion() : _constinit_{} {}
- ::google::protobuf::internal::ConstantInitialized _constinit_;
- int null_value_;
- bool boolean_value_;
- ::int64_t integer_value_;
- double double_value_;
- ::google::protobuf::Timestamp* timestamp_value_;
- ::google::protobuf::internal::ArenaStringPtr string_value_;
- ::google::protobuf::internal::ArenaStringPtr bytes_value_;
- ::google::protobuf::internal::ArenaStringPtr reference_value_;
- ::google::type::LatLng* geo_point_value_;
- ::google::firestore::v1::ArrayValue* array_value_;
- ::google::firestore::v1::MapValue* map_value_;
- ::google::protobuf::internal::ArenaStringPtr field_reference_value_;
- ::google::firestore::v1::Function* function_value_;
- ::google::firestore::v1::Pipeline* pipeline_value_;
- } value_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_2fdocument_2eproto;
- };// -------------------------------------------------------------------
- class Document_FieldsEntry_DoNotUse final
- : public ::google::protobuf::internal::MapEntry<
- Document_FieldsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE> {
- public:
- using SuperType = ::google::protobuf::internal::MapEntry<
- Document_FieldsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>;
- Document_FieldsEntry_DoNotUse();
- template <typename = void>
- explicit PROTOBUF_CONSTEXPR Document_FieldsEntry_DoNotUse(
- ::google::protobuf::internal::ConstantInitialized);
- explicit Document_FieldsEntry_DoNotUse(::google::protobuf::Arena* arena);
- static const Document_FieldsEntry_DoNotUse* internal_default_instance() {
- return reinterpret_cast<const Document_FieldsEntry_DoNotUse*>(
- &_Document_FieldsEntry_DoNotUse_default_instance_);
- }
- static bool ValidateKey(std::string* s) {
- return ::google::protobuf::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::google::protobuf::internal::WireFormatLite::PARSE, "google.firestore.v1.Document.FieldsEntry.key");
- }
- static bool ValidateValue(void*) { return true; }
- ::google::protobuf::Metadata GetMetadata() const final;
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };
- // -------------------------------------------------------------------
- class Document final :
- public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.firestore.v1.Document) */ {
- public:
- inline Document() : Document(nullptr) {}
- ~Document() override;
- template<typename = void>
- explicit PROTOBUF_CONSTEXPR Document(::google::protobuf::internal::ConstantInitialized);
- inline Document(const Document& from)
- : Document(nullptr, from) {}
- Document(Document&& from) noexcept
- : Document() {
- *this = ::std::move(from);
- }
- inline Document& operator=(const Document& from) {
- CopyFrom(from);
- return *this;
- }
- inline Document& operator=(Document&& 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 Document& default_instance() {
- return *internal_default_instance();
- }
- static inline const Document* internal_default_instance() {
- return reinterpret_cast<const Document*>(
- &_Document_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(Document& a, Document& b) {
- a.Swap(&b);
- }
- inline void Swap(Document* 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(Document* other) {
- if (other == this) return;
- ABSL_DCHECK(GetArena() == other->GetArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Document* New(::google::protobuf::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Document>(arena);
- }
- using ::google::protobuf::Message::CopyFrom;
- void CopyFrom(const Document& from);
- using ::google::protobuf::Message::MergeFrom;
- void MergeFrom( const Document& from) {
- Document::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(Document* other);
- private:
- friend class ::google::protobuf::internal::AnyMetadata;
- static ::absl::string_view FullMessageName() {
- return "google.firestore.v1.Document";
- }
- protected:
- explicit Document(::google::protobuf::Arena* arena);
- Document(::google::protobuf::Arena* arena, const Document& 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,
- kNameFieldNumber = 1,
- kCreateTimeFieldNumber = 3,
- kUpdateTimeFieldNumber = 4,
- };
- // map<string, .google.firestore.v1.Value> fields = 2;
- int fields_size() const;
- private:
- int _internal_fields_size() const;
- public:
- void clear_fields() ;
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& fields() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* mutable_fields();
- private:
- const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& _internal_fields() const;
- ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* _internal_mutable_fields();
- public:
- // string name = 1;
- void clear_name() ;
- const std::string& name() const;
- template <typename Arg_ = const std::string&, typename... Args_>
- void set_name(Arg_&& arg, Args_... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* value);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(
- const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // .google.protobuf.Timestamp create_time = 3;
- bool has_create_time() const;
- void clear_create_time() ;
- const ::google::protobuf::Timestamp& create_time() const;
- PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_create_time();
- ::google::protobuf::Timestamp* mutable_create_time();
- void set_allocated_create_time(::google::protobuf::Timestamp* value);
- void unsafe_arena_set_allocated_create_time(::google::protobuf::Timestamp* value);
- ::google::protobuf::Timestamp* unsafe_arena_release_create_time();
- private:
- const ::google::protobuf::Timestamp& _internal_create_time() const;
- ::google::protobuf::Timestamp* _internal_mutable_create_time();
- public:
- // .google.protobuf.Timestamp update_time = 4;
- bool has_update_time() const;
- void clear_update_time() ;
- const ::google::protobuf::Timestamp& update_time() const;
- PROTOBUF_NODISCARD ::google::protobuf::Timestamp* release_update_time();
- ::google::protobuf::Timestamp* mutable_update_time();
- void set_allocated_update_time(::google::protobuf::Timestamp* value);
- void unsafe_arena_set_allocated_update_time(::google::protobuf::Timestamp* value);
- ::google::protobuf::Timestamp* unsafe_arena_release_update_time();
- private:
- const ::google::protobuf::Timestamp& _internal_update_time() const;
- ::google::protobuf::Timestamp* _internal_mutable_update_time();
- public:
- // @@protoc_insertion_point(class_scope:google.firestore.v1.Document)
- private:
- class _Internal;
- friend class ::google::protobuf::internal::TcParser;
- static const ::google::protobuf::internal::TcParseTable<
- 2, 4, 4,
- 47, 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::internal::MapField<Document_FieldsEntry_DoNotUse, std::string, ::google::firestore::v1::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE>
- fields_;
- ::google::protobuf::internal::ArenaStringPtr name_;
- ::google::protobuf::Timestamp* create_time_;
- ::google::protobuf::Timestamp* update_time_;
- PROTOBUF_TSAN_DECLARE_MEMBER
- };
- union { Impl_ _impl_; };
- friend struct ::TableStruct_google_2ffirestore_2fv1_2fdocument_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // Document
- // string name = 1;
- inline void Document::clear_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.name_.ClearToEmpty();
- }
- inline const std::string& Document::name() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Document.name)
- return _internal_name();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void Document::set_name(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.Document.name)
- }
- inline std::string* Document::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Document.name)
- return _s;
- }
- inline const std::string& Document::_internal_name() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.name_.Get();
- }
- inline void Document::_internal_set_name(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.name_.Set(value, GetArena());
- }
- inline std::string* Document::_internal_mutable_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- return _impl_.name_.Mutable( GetArena());
- }
- inline std::string* Document::release_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Document.name)
- return _impl_.name_.Release();
- }
- inline void Document::set_allocated_name(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.name_.SetAllocated(value, GetArena());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.name_.IsDefault()) {
- _impl_.name_.Set("", GetArena());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Document.name)
- }
- // map<string, .google.firestore.v1.Value> fields = 2;
- inline int Document::_internal_fields_size() const {
- return _internal_fields().size();
- }
- inline int Document::fields_size() const {
- return _internal_fields_size();
- }
- inline void Document::clear_fields() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.fields_.Clear();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& Document::_internal_fields() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.fields_.GetMap();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& Document::fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_map:google.firestore.v1.Document.fields)
- return _internal_fields();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* Document::_internal_mutable_fields() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _impl_.fields_.MutableMap();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* Document::mutable_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_map:google.firestore.v1.Document.fields)
- return _internal_mutable_fields();
- }
- // .google.protobuf.Timestamp create_time = 3;
- inline bool Document::has_create_time() const {
- bool value = (_impl_._has_bits_[0] & 0x00000001u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.create_time_ != nullptr);
- return value;
- }
- inline const ::google::protobuf::Timestamp& Document::_internal_create_time() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::protobuf::Timestamp* p = _impl_.create_time_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Timestamp&>(::google::protobuf::_Timestamp_default_instance_);
- }
- inline const ::google::protobuf::Timestamp& Document::create_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Document.create_time)
- return _internal_create_time();
- }
- inline void Document::unsafe_arena_set_allocated_create_time(::google::protobuf::Timestamp* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.create_time_);
- }
- _impl_.create_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(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.Document.create_time)
- }
- inline ::google::protobuf::Timestamp* Document::release_create_time() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::protobuf::Timestamp* released = _impl_.create_time_;
- _impl_.create_time_ = 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::Timestamp* Document::unsafe_arena_release_create_time() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Document.create_time)
- _impl_._has_bits_[0] &= ~0x00000001u;
- ::google::protobuf::Timestamp* temp = _impl_.create_time_;
- _impl_.create_time_ = nullptr;
- return temp;
- }
- inline ::google::protobuf::Timestamp* Document::_internal_mutable_create_time() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000001u;
- if (_impl_.create_time_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArena());
- _impl_.create_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p);
- }
- return _impl_.create_time_;
- }
- inline ::google::protobuf::Timestamp* Document::mutable_create_time() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::protobuf::Timestamp* _msg = _internal_mutable_create_time();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Document.create_time)
- return _msg;
- }
- inline void Document::set_allocated_create_time(::google::protobuf::Timestamp* 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_.create_time_);
- }
- 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_.create_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Document.create_time)
- }
- // .google.protobuf.Timestamp update_time = 4;
- inline bool Document::has_update_time() const {
- bool value = (_impl_._has_bits_[0] & 0x00000002u) != 0;
- PROTOBUF_ASSUME(!value || _impl_.update_time_ != nullptr);
- return value;
- }
- inline const ::google::protobuf::Timestamp& Document::_internal_update_time() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- const ::google::protobuf::Timestamp* p = _impl_.update_time_;
- return p != nullptr ? *p : reinterpret_cast<const ::google::protobuf::Timestamp&>(::google::protobuf::_Timestamp_default_instance_);
- }
- inline const ::google::protobuf::Timestamp& Document::update_time() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Document.update_time)
- return _internal_update_time();
- }
- inline void Document::unsafe_arena_set_allocated_update_time(::google::protobuf::Timestamp* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (GetArena() == nullptr) {
- delete reinterpret_cast<::google::protobuf::MessageLite*>(_impl_.update_time_);
- }
- _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(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.Document.update_time)
- }
- inline ::google::protobuf::Timestamp* Document::release_update_time() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::google::protobuf::Timestamp* released = _impl_.update_time_;
- _impl_.update_time_ = 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::Timestamp* Document::unsafe_arena_release_update_time() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Document.update_time)
- _impl_._has_bits_[0] &= ~0x00000002u;
- ::google::protobuf::Timestamp* temp = _impl_.update_time_;
- _impl_.update_time_ = nullptr;
- return temp;
- }
- inline ::google::protobuf::Timestamp* Document::_internal_mutable_update_time() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_._has_bits_[0] |= 0x00000002u;
- if (_impl_.update_time_ == nullptr) {
- auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArena());
- _impl_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(p);
- }
- return _impl_.update_time_;
- }
- inline ::google::protobuf::Timestamp* Document::mutable_update_time() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::protobuf::Timestamp* _msg = _internal_mutable_update_time();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Document.update_time)
- return _msg;
- }
- inline void Document::set_allocated_update_time(::google::protobuf::Timestamp* 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_.update_time_);
- }
- 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_.update_time_ = reinterpret_cast<::google::protobuf::Timestamp*>(value);
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Document.update_time)
- }
- // -------------------------------------------------------------------
- // Value
- // .google.protobuf.NullValue null_value = 11;
- inline bool Value::has_null_value() const {
- return value_type_case() == kNullValue;
- }
- inline void Value::set_has_null_value() {
- _impl_._oneof_case_[0] = kNullValue;
- }
- inline void Value::clear_null_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kNullValue) {
- _impl_.value_type_.null_value_ = 0;
- clear_has_value_type();
- }
- }
- inline ::google::protobuf::NullValue Value::null_value() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.null_value)
- return _internal_null_value();
- }
- inline void Value::set_null_value(::google::protobuf::NullValue value) {
- _internal_set_null_value(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.null_value)
- }
- inline ::google::protobuf::NullValue Value::_internal_null_value() const {
- if (value_type_case() == kNullValue) {
- return static_cast<::google::protobuf::NullValue>(_impl_.value_type_.null_value_);
- }
- return static_cast<::google::protobuf::NullValue>(0);
- }
- inline void Value::_internal_set_null_value(::google::protobuf::NullValue value) {
- if (value_type_case() != kNullValue) {
- clear_value_type();
- set_has_null_value();
- }
- _impl_.value_type_.null_value_ = value;
- }
- // bool boolean_value = 1;
- inline bool Value::has_boolean_value() const {
- return value_type_case() == kBooleanValue;
- }
- inline void Value::set_has_boolean_value() {
- _impl_._oneof_case_[0] = kBooleanValue;
- }
- inline void Value::clear_boolean_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kBooleanValue) {
- _impl_.value_type_.boolean_value_ = false;
- clear_has_value_type();
- }
- }
- inline bool Value::boolean_value() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.boolean_value)
- return _internal_boolean_value();
- }
- inline void Value::set_boolean_value(bool value) {
- _internal_set_boolean_value(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.boolean_value)
- }
- inline bool Value::_internal_boolean_value() const {
- if (value_type_case() == kBooleanValue) {
- return _impl_.value_type_.boolean_value_;
- }
- return false;
- }
- inline void Value::_internal_set_boolean_value(bool value) {
- if (value_type_case() != kBooleanValue) {
- clear_value_type();
- set_has_boolean_value();
- }
- _impl_.value_type_.boolean_value_ = value;
- }
- // int64 integer_value = 2;
- inline bool Value::has_integer_value() const {
- return value_type_case() == kIntegerValue;
- }
- inline void Value::set_has_integer_value() {
- _impl_._oneof_case_[0] = kIntegerValue;
- }
- inline void Value::clear_integer_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kIntegerValue) {
- _impl_.value_type_.integer_value_ = ::int64_t{0};
- clear_has_value_type();
- }
- }
- inline ::int64_t Value::integer_value() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.integer_value)
- return _internal_integer_value();
- }
- inline void Value::set_integer_value(::int64_t value) {
- _internal_set_integer_value(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.integer_value)
- }
- inline ::int64_t Value::_internal_integer_value() const {
- if (value_type_case() == kIntegerValue) {
- return _impl_.value_type_.integer_value_;
- }
- return ::int64_t{0};
- }
- inline void Value::_internal_set_integer_value(::int64_t value) {
- if (value_type_case() != kIntegerValue) {
- clear_value_type();
- set_has_integer_value();
- }
- _impl_.value_type_.integer_value_ = value;
- }
- // double double_value = 3;
- inline bool Value::has_double_value() const {
- return value_type_case() == kDoubleValue;
- }
- inline void Value::set_has_double_value() {
- _impl_._oneof_case_[0] = kDoubleValue;
- }
- inline void Value::clear_double_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kDoubleValue) {
- _impl_.value_type_.double_value_ = 0;
- clear_has_value_type();
- }
- }
- inline double Value::double_value() const {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.double_value)
- return _internal_double_value();
- }
- inline void Value::set_double_value(double value) {
- _internal_set_double_value(value);
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.double_value)
- }
- inline double Value::_internal_double_value() const {
- if (value_type_case() == kDoubleValue) {
- return _impl_.value_type_.double_value_;
- }
- return 0;
- }
- inline void Value::_internal_set_double_value(double value) {
- if (value_type_case() != kDoubleValue) {
- clear_value_type();
- set_has_double_value();
- }
- _impl_.value_type_.double_value_ = value;
- }
- // .google.protobuf.Timestamp timestamp_value = 10;
- inline bool Value::has_timestamp_value() const {
- return value_type_case() == kTimestampValue;
- }
- inline bool Value::_internal_has_timestamp_value() const {
- return value_type_case() == kTimestampValue;
- }
- inline void Value::set_has_timestamp_value() {
- _impl_._oneof_case_[0] = kTimestampValue;
- }
- inline ::google::protobuf::Timestamp* Value::release_timestamp_value() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.timestamp_value)
- if (value_type_case() == kTimestampValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.timestamp_value_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.value_type_.timestamp_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::protobuf::Timestamp& Value::_internal_timestamp_value() const {
- return value_type_case() == kTimestampValue ? *_impl_.value_type_.timestamp_value_ : reinterpret_cast<::google::protobuf::Timestamp&>(::google::protobuf::_Timestamp_default_instance_);
- }
- inline const ::google::protobuf::Timestamp& Value::timestamp_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.timestamp_value)
- return _internal_timestamp_value();
- }
- inline ::google::protobuf::Timestamp* Value::unsafe_arena_release_timestamp_value() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.Value.timestamp_value)
- if (value_type_case() == kTimestampValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.timestamp_value_;
- _impl_.value_type_.timestamp_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void Value::unsafe_arena_set_allocated_timestamp_value(::google::protobuf::Timestamp* 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_value_type();
- if (value) {
- set_has_timestamp_value();
- _impl_.value_type_.timestamp_value_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.Value.timestamp_value)
- }
- inline ::google::protobuf::Timestamp* Value::_internal_mutable_timestamp_value() {
- if (value_type_case() != kTimestampValue) {
- clear_value_type();
- set_has_timestamp_value();
- _impl_.value_type_.timestamp_value_ = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArena());
- }
- return _impl_.value_type_.timestamp_value_;
- }
- inline ::google::protobuf::Timestamp* Value::mutable_timestamp_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::protobuf::Timestamp* _msg = _internal_mutable_timestamp_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.timestamp_value)
- return _msg;
- }
- // string string_value = 17;
- inline bool Value::has_string_value() const {
- return value_type_case() == kStringValue;
- }
- inline void Value::set_has_string_value() {
- _impl_._oneof_case_[0] = kStringValue;
- }
- inline void Value::clear_string_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kStringValue) {
- _impl_.value_type_.string_value_.Destroy();
- clear_has_value_type();
- }
- }
- inline const std::string& Value::string_value() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.string_value)
- return _internal_string_value();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void Value::set_string_value(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kStringValue) {
- clear_value_type();
- set_has_string_value();
- _impl_.value_type_.string_value_.InitDefault();
- }
- _impl_.value_type_.string_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.string_value)
- }
- inline std::string* Value::mutable_string_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_string_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.string_value)
- return _s;
- }
- inline const std::string& Value::_internal_string_value() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- if (value_type_case() != kStringValue) {
- return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
- }
- return _impl_.value_type_.string_value_.Get();
- }
- inline void Value::_internal_set_string_value(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kStringValue) {
- clear_value_type();
- set_has_string_value();
- _impl_.value_type_.string_value_.InitDefault();
- }
- _impl_.value_type_.string_value_.Set(value, GetArena());
- }
- inline std::string* Value::_internal_mutable_string_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kStringValue) {
- clear_value_type();
- set_has_string_value();
- _impl_.value_type_.string_value_.InitDefault();
- }
- return _impl_.value_type_.string_value_.Mutable( GetArena());
- }
- inline std::string* Value::release_string_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.string_value)
- if (value_type_case() != kStringValue) {
- return nullptr;
- }
- clear_has_value_type();
- return _impl_.value_type_.string_value_.Release();
- }
- inline void Value::set_allocated_string_value(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (has_value_type()) {
- clear_value_type();
- }
- if (value != nullptr) {
- set_has_string_value();
- _impl_.value_type_.string_value_.InitAllocated(value, GetArena());
- }
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Value.string_value)
- }
- // bytes bytes_value = 18;
- inline bool Value::has_bytes_value() const {
- return value_type_case() == kBytesValue;
- }
- inline void Value::set_has_bytes_value() {
- _impl_._oneof_case_[0] = kBytesValue;
- }
- inline void Value::clear_bytes_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kBytesValue) {
- _impl_.value_type_.bytes_value_.Destroy();
- clear_has_value_type();
- }
- }
- inline const std::string& Value::bytes_value() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.bytes_value)
- return _internal_bytes_value();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void Value::set_bytes_value(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kBytesValue) {
- clear_value_type();
- set_has_bytes_value();
- _impl_.value_type_.bytes_value_.InitDefault();
- }
- _impl_.value_type_.bytes_value_.SetBytes(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.bytes_value)
- }
- inline std::string* Value::mutable_bytes_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_bytes_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.bytes_value)
- return _s;
- }
- inline const std::string& Value::_internal_bytes_value() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- if (value_type_case() != kBytesValue) {
- return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
- }
- return _impl_.value_type_.bytes_value_.Get();
- }
- inline void Value::_internal_set_bytes_value(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kBytesValue) {
- clear_value_type();
- set_has_bytes_value();
- _impl_.value_type_.bytes_value_.InitDefault();
- }
- _impl_.value_type_.bytes_value_.Set(value, GetArena());
- }
- inline std::string* Value::_internal_mutable_bytes_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kBytesValue) {
- clear_value_type();
- set_has_bytes_value();
- _impl_.value_type_.bytes_value_.InitDefault();
- }
- return _impl_.value_type_.bytes_value_.Mutable( GetArena());
- }
- inline std::string* Value::release_bytes_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.bytes_value)
- if (value_type_case() != kBytesValue) {
- return nullptr;
- }
- clear_has_value_type();
- return _impl_.value_type_.bytes_value_.Release();
- }
- inline void Value::set_allocated_bytes_value(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (has_value_type()) {
- clear_value_type();
- }
- if (value != nullptr) {
- set_has_bytes_value();
- _impl_.value_type_.bytes_value_.InitAllocated(value, GetArena());
- }
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Value.bytes_value)
- }
- // string reference_value = 5;
- inline bool Value::has_reference_value() const {
- return value_type_case() == kReferenceValue;
- }
- inline void Value::set_has_reference_value() {
- _impl_._oneof_case_[0] = kReferenceValue;
- }
- inline void Value::clear_reference_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kReferenceValue) {
- _impl_.value_type_.reference_value_.Destroy();
- clear_has_value_type();
- }
- }
- inline const std::string& Value::reference_value() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.reference_value)
- return _internal_reference_value();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void Value::set_reference_value(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kReferenceValue) {
- clear_value_type();
- set_has_reference_value();
- _impl_.value_type_.reference_value_.InitDefault();
- }
- _impl_.value_type_.reference_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.reference_value)
- }
- inline std::string* Value::mutable_reference_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_reference_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.reference_value)
- return _s;
- }
- inline const std::string& Value::_internal_reference_value() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- if (value_type_case() != kReferenceValue) {
- return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
- }
- return _impl_.value_type_.reference_value_.Get();
- }
- inline void Value::_internal_set_reference_value(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kReferenceValue) {
- clear_value_type();
- set_has_reference_value();
- _impl_.value_type_.reference_value_.InitDefault();
- }
- _impl_.value_type_.reference_value_.Set(value, GetArena());
- }
- inline std::string* Value::_internal_mutable_reference_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kReferenceValue) {
- clear_value_type();
- set_has_reference_value();
- _impl_.value_type_.reference_value_.InitDefault();
- }
- return _impl_.value_type_.reference_value_.Mutable( GetArena());
- }
- inline std::string* Value::release_reference_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.reference_value)
- if (value_type_case() != kReferenceValue) {
- return nullptr;
- }
- clear_has_value_type();
- return _impl_.value_type_.reference_value_.Release();
- }
- inline void Value::set_allocated_reference_value(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (has_value_type()) {
- clear_value_type();
- }
- if (value != nullptr) {
- set_has_reference_value();
- _impl_.value_type_.reference_value_.InitAllocated(value, GetArena());
- }
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Value.reference_value)
- }
- // .google.type.LatLng geo_point_value = 8;
- inline bool Value::has_geo_point_value() const {
- return value_type_case() == kGeoPointValue;
- }
- inline bool Value::_internal_has_geo_point_value() const {
- return value_type_case() == kGeoPointValue;
- }
- inline void Value::set_has_geo_point_value() {
- _impl_._oneof_case_[0] = kGeoPointValue;
- }
- inline ::google::type::LatLng* Value::release_geo_point_value() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.geo_point_value)
- if (value_type_case() == kGeoPointValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.geo_point_value_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.value_type_.geo_point_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::type::LatLng& Value::_internal_geo_point_value() const {
- return value_type_case() == kGeoPointValue ? *_impl_.value_type_.geo_point_value_ : reinterpret_cast<::google::type::LatLng&>(::google::type::_LatLng_default_instance_);
- }
- inline const ::google::type::LatLng& Value::geo_point_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.geo_point_value)
- return _internal_geo_point_value();
- }
- inline ::google::type::LatLng* Value::unsafe_arena_release_geo_point_value() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.Value.geo_point_value)
- if (value_type_case() == kGeoPointValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.geo_point_value_;
- _impl_.value_type_.geo_point_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void Value::unsafe_arena_set_allocated_geo_point_value(::google::type::LatLng* 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_value_type();
- if (value) {
- set_has_geo_point_value();
- _impl_.value_type_.geo_point_value_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.Value.geo_point_value)
- }
- inline ::google::type::LatLng* Value::_internal_mutable_geo_point_value() {
- if (value_type_case() != kGeoPointValue) {
- clear_value_type();
- set_has_geo_point_value();
- _impl_.value_type_.geo_point_value_ = CreateMaybeMessage<::google::type::LatLng>(GetArena());
- }
- return _impl_.value_type_.geo_point_value_;
- }
- inline ::google::type::LatLng* Value::mutable_geo_point_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::type::LatLng* _msg = _internal_mutable_geo_point_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.geo_point_value)
- return _msg;
- }
- // .google.firestore.v1.ArrayValue array_value = 9;
- inline bool Value::has_array_value() const {
- return value_type_case() == kArrayValue;
- }
- inline bool Value::_internal_has_array_value() const {
- return value_type_case() == kArrayValue;
- }
- inline void Value::set_has_array_value() {
- _impl_._oneof_case_[0] = kArrayValue;
- }
- inline void Value::clear_array_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kArrayValue) {
- if (GetArena() == nullptr) {
- delete _impl_.value_type_.array_value_;
- }
- clear_has_value_type();
- }
- }
- inline ::google::firestore::v1::ArrayValue* Value::release_array_value() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.array_value)
- if (value_type_case() == kArrayValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.array_value_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.value_type_.array_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::ArrayValue& Value::_internal_array_value() const {
- return value_type_case() == kArrayValue ? *_impl_.value_type_.array_value_ : reinterpret_cast<::google::firestore::v1::ArrayValue&>(::google::firestore::v1::_ArrayValue_default_instance_);
- }
- inline const ::google::firestore::v1::ArrayValue& Value::array_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.array_value)
- return _internal_array_value();
- }
- inline ::google::firestore::v1::ArrayValue* Value::unsafe_arena_release_array_value() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.Value.array_value)
- if (value_type_case() == kArrayValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.array_value_;
- _impl_.value_type_.array_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void Value::unsafe_arena_set_allocated_array_value(::google::firestore::v1::ArrayValue* 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_value_type();
- if (value) {
- set_has_array_value();
- _impl_.value_type_.array_value_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.Value.array_value)
- }
- inline ::google::firestore::v1::ArrayValue* Value::_internal_mutable_array_value() {
- if (value_type_case() != kArrayValue) {
- clear_value_type();
- set_has_array_value();
- _impl_.value_type_.array_value_ = CreateMaybeMessage<::google::firestore::v1::ArrayValue>(GetArena());
- }
- return _impl_.value_type_.array_value_;
- }
- inline ::google::firestore::v1::ArrayValue* Value::mutable_array_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::ArrayValue* _msg = _internal_mutable_array_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.array_value)
- return _msg;
- }
- // .google.firestore.v1.MapValue map_value = 6;
- inline bool Value::has_map_value() const {
- return value_type_case() == kMapValue;
- }
- inline bool Value::_internal_has_map_value() const {
- return value_type_case() == kMapValue;
- }
- inline void Value::set_has_map_value() {
- _impl_._oneof_case_[0] = kMapValue;
- }
- inline void Value::clear_map_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kMapValue) {
- if (GetArena() == nullptr) {
- delete _impl_.value_type_.map_value_;
- }
- clear_has_value_type();
- }
- }
- inline ::google::firestore::v1::MapValue* Value::release_map_value() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.map_value)
- if (value_type_case() == kMapValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.map_value_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.value_type_.map_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::MapValue& Value::_internal_map_value() const {
- return value_type_case() == kMapValue ? *_impl_.value_type_.map_value_ : reinterpret_cast<::google::firestore::v1::MapValue&>(::google::firestore::v1::_MapValue_default_instance_);
- }
- inline const ::google::firestore::v1::MapValue& Value::map_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.map_value)
- return _internal_map_value();
- }
- inline ::google::firestore::v1::MapValue* Value::unsafe_arena_release_map_value() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.Value.map_value)
- if (value_type_case() == kMapValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.map_value_;
- _impl_.value_type_.map_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void Value::unsafe_arena_set_allocated_map_value(::google::firestore::v1::MapValue* 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_value_type();
- if (value) {
- set_has_map_value();
- _impl_.value_type_.map_value_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.Value.map_value)
- }
- inline ::google::firestore::v1::MapValue* Value::_internal_mutable_map_value() {
- if (value_type_case() != kMapValue) {
- clear_value_type();
- set_has_map_value();
- _impl_.value_type_.map_value_ = CreateMaybeMessage<::google::firestore::v1::MapValue>(GetArena());
- }
- return _impl_.value_type_.map_value_;
- }
- inline ::google::firestore::v1::MapValue* Value::mutable_map_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::MapValue* _msg = _internal_mutable_map_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.map_value)
- return _msg;
- }
- // string field_reference_value = 19;
- inline bool Value::has_field_reference_value() const {
- return value_type_case() == kFieldReferenceValue;
- }
- inline void Value::set_has_field_reference_value() {
- _impl_._oneof_case_[0] = kFieldReferenceValue;
- }
- inline void Value::clear_field_reference_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kFieldReferenceValue) {
- _impl_.value_type_.field_reference_value_.Destroy();
- clear_has_value_type();
- }
- }
- inline const std::string& Value::field_reference_value() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.field_reference_value)
- return _internal_field_reference_value();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void Value::set_field_reference_value(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kFieldReferenceValue) {
- clear_value_type();
- set_has_field_reference_value();
- _impl_.value_type_.field_reference_value_.InitDefault();
- }
- _impl_.value_type_.field_reference_value_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.Value.field_reference_value)
- }
- inline std::string* Value::mutable_field_reference_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_field_reference_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.field_reference_value)
- return _s;
- }
- inline const std::string& Value::_internal_field_reference_value() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- if (value_type_case() != kFieldReferenceValue) {
- return ::google::protobuf::internal::GetEmptyStringAlreadyInited();
- }
- return _impl_.value_type_.field_reference_value_.Get();
- }
- inline void Value::_internal_set_field_reference_value(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kFieldReferenceValue) {
- clear_value_type();
- set_has_field_reference_value();
- _impl_.value_type_.field_reference_value_.InitDefault();
- }
- _impl_.value_type_.field_reference_value_.Set(value, GetArena());
- }
- inline std::string* Value::_internal_mutable_field_reference_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() != kFieldReferenceValue) {
- clear_value_type();
- set_has_field_reference_value();
- _impl_.value_type_.field_reference_value_.InitDefault();
- }
- return _impl_.value_type_.field_reference_value_.Mutable( GetArena());
- }
- inline std::string* Value::release_field_reference_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.field_reference_value)
- if (value_type_case() != kFieldReferenceValue) {
- return nullptr;
- }
- clear_has_value_type();
- return _impl_.value_type_.field_reference_value_.Release();
- }
- inline void Value::set_allocated_field_reference_value(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (has_value_type()) {
- clear_value_type();
- }
- if (value != nullptr) {
- set_has_field_reference_value();
- _impl_.value_type_.field_reference_value_.InitAllocated(value, GetArena());
- }
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Value.field_reference_value)
- }
- // .google.firestore.v1.Function function_value = 20;
- inline bool Value::has_function_value() const {
- return value_type_case() == kFunctionValue;
- }
- inline bool Value::_internal_has_function_value() const {
- return value_type_case() == kFunctionValue;
- }
- inline void Value::set_has_function_value() {
- _impl_._oneof_case_[0] = kFunctionValue;
- }
- inline void Value::clear_function_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kFunctionValue) {
- if (GetArena() == nullptr) {
- delete _impl_.value_type_.function_value_;
- }
- clear_has_value_type();
- }
- }
- inline ::google::firestore::v1::Function* Value::release_function_value() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.function_value)
- if (value_type_case() == kFunctionValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.function_value_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.value_type_.function_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::Function& Value::_internal_function_value() const {
- return value_type_case() == kFunctionValue ? *_impl_.value_type_.function_value_ : reinterpret_cast<::google::firestore::v1::Function&>(::google::firestore::v1::_Function_default_instance_);
- }
- inline const ::google::firestore::v1::Function& Value::function_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.function_value)
- return _internal_function_value();
- }
- inline ::google::firestore::v1::Function* Value::unsafe_arena_release_function_value() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.Value.function_value)
- if (value_type_case() == kFunctionValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.function_value_;
- _impl_.value_type_.function_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void Value::unsafe_arena_set_allocated_function_value(::google::firestore::v1::Function* 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_value_type();
- if (value) {
- set_has_function_value();
- _impl_.value_type_.function_value_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.Value.function_value)
- }
- inline ::google::firestore::v1::Function* Value::_internal_mutable_function_value() {
- if (value_type_case() != kFunctionValue) {
- clear_value_type();
- set_has_function_value();
- _impl_.value_type_.function_value_ = CreateMaybeMessage<::google::firestore::v1::Function>(GetArena());
- }
- return _impl_.value_type_.function_value_;
- }
- inline ::google::firestore::v1::Function* Value::mutable_function_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::Function* _msg = _internal_mutable_function_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.function_value)
- return _msg;
- }
- // .google.firestore.v1.Pipeline pipeline_value = 21;
- inline bool Value::has_pipeline_value() const {
- return value_type_case() == kPipelineValue;
- }
- inline bool Value::_internal_has_pipeline_value() const {
- return value_type_case() == kPipelineValue;
- }
- inline void Value::set_has_pipeline_value() {
- _impl_._oneof_case_[0] = kPipelineValue;
- }
- inline void Value::clear_pipeline_value() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- if (value_type_case() == kPipelineValue) {
- if (GetArena() == nullptr) {
- delete _impl_.value_type_.pipeline_value_;
- }
- clear_has_value_type();
- }
- }
- inline ::google::firestore::v1::Pipeline* Value::release_pipeline_value() {
- // @@protoc_insertion_point(field_release:google.firestore.v1.Value.pipeline_value)
- if (value_type_case() == kPipelineValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.pipeline_value_;
- if (GetArena() != nullptr) {
- temp = ::google::protobuf::internal::DuplicateIfNonNull(temp);
- }
- _impl_.value_type_.pipeline_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline const ::google::firestore::v1::Pipeline& Value::_internal_pipeline_value() const {
- return value_type_case() == kPipelineValue ? *_impl_.value_type_.pipeline_value_ : reinterpret_cast<::google::firestore::v1::Pipeline&>(::google::firestore::v1::_Pipeline_default_instance_);
- }
- inline const ::google::firestore::v1::Pipeline& Value::pipeline_value() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Value.pipeline_value)
- return _internal_pipeline_value();
- }
- inline ::google::firestore::v1::Pipeline* Value::unsafe_arena_release_pipeline_value() {
- // @@protoc_insertion_point(field_unsafe_arena_release:google.firestore.v1.Value.pipeline_value)
- if (value_type_case() == kPipelineValue) {
- clear_has_value_type();
- auto* temp = _impl_.value_type_.pipeline_value_;
- _impl_.value_type_.pipeline_value_ = nullptr;
- return temp;
- } else {
- return nullptr;
- }
- }
- inline void Value::unsafe_arena_set_allocated_pipeline_value(::google::firestore::v1::Pipeline* 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_value_type();
- if (value) {
- set_has_pipeline_value();
- _impl_.value_type_.pipeline_value_ = value;
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:google.firestore.v1.Value.pipeline_value)
- }
- inline ::google::firestore::v1::Pipeline* Value::_internal_mutable_pipeline_value() {
- if (value_type_case() != kPipelineValue) {
- clear_value_type();
- set_has_pipeline_value();
- _impl_.value_type_.pipeline_value_ = CreateMaybeMessage<::google::firestore::v1::Pipeline>(GetArena());
- }
- return _impl_.value_type_.pipeline_value_;
- }
- inline ::google::firestore::v1::Pipeline* Value::mutable_pipeline_value() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- ::google::firestore::v1::Pipeline* _msg = _internal_mutable_pipeline_value();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Value.pipeline_value)
- return _msg;
- }
- inline bool Value::has_value_type() const {
- return value_type_case() != VALUE_TYPE_NOT_SET;
- }
- inline void Value::clear_has_value_type() {
- _impl_._oneof_case_[0] = VALUE_TYPE_NOT_SET;
- }
- inline Value::ValueTypeCase Value::value_type_case() const {
- return Value::ValueTypeCase(_impl_._oneof_case_[0]);
- }
- // -------------------------------------------------------------------
- // ArrayValue
- // repeated .google.firestore.v1.Value values = 1;
- inline int ArrayValue::_internal_values_size() const {
- return _internal_values().size();
- }
- inline int ArrayValue::values_size() const {
- return _internal_values_size();
- }
- inline void ArrayValue::clear_values() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.values_.Clear();
- }
- inline ::google::firestore::v1::Value* ArrayValue::mutable_values(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.ArrayValue.values)
- return _internal_mutable_values()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>* ArrayValue::mutable_values()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.ArrayValue.values)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_values();
- }
- inline const ::google::firestore::v1::Value& ArrayValue::values(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.ArrayValue.values)
- return _internal_values().Get(index);
- }
- inline ::google::firestore::v1::Value* ArrayValue::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.ArrayValue.values)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>& ArrayValue::values() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.ArrayValue.values)
- return _internal_values();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>&
- ArrayValue::_internal_values() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.values_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>*
- ArrayValue::_internal_mutable_values() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.values_;
- }
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // MapValue
- // map<string, .google.firestore.v1.Value> fields = 1;
- inline int MapValue::_internal_fields_size() const {
- return _internal_fields().size();
- }
- inline int MapValue::fields_size() const {
- return _internal_fields_size();
- }
- inline void MapValue::clear_fields() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.fields_.Clear();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& MapValue::_internal_fields() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.fields_.GetMap();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& MapValue::fields() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_map:google.firestore.v1.MapValue.fields)
- return _internal_fields();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* MapValue::_internal_mutable_fields() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _impl_.fields_.MutableMap();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* MapValue::mutable_fields() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_map:google.firestore.v1.MapValue.fields)
- return _internal_mutable_fields();
- }
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // Function
- // string name = 1 [(.google.api.field_behavior) = REQUIRED];
- inline void Function::clear_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.name_.ClearToEmpty();
- }
- inline const std::string& Function::name() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Function.name)
- return _internal_name();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void Function::set_name(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.Function.name)
- }
- inline std::string* Function::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Function.name)
- return _s;
- }
- inline const std::string& Function::_internal_name() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.name_.Get();
- }
- inline void Function::_internal_set_name(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.name_.Set(value, GetArena());
- }
- inline std::string* Function::_internal_mutable_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- return _impl_.name_.Mutable( GetArena());
- }
- inline std::string* Function::release_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Function.name)
- return _impl_.name_.Release();
- }
- inline void Function::set_allocated_name(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.name_.SetAllocated(value, GetArena());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.name_.IsDefault()) {
- _impl_.name_.Set("", GetArena());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Function.name)
- }
- // repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL];
- inline int Function::_internal_args_size() const {
- return _internal_args().size();
- }
- inline int Function::args_size() const {
- return _internal_args_size();
- }
- inline void Function::clear_args() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.args_.Clear();
- }
- inline ::google::firestore::v1::Value* Function::mutable_args(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Function.args)
- return _internal_mutable_args()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>* Function::mutable_args()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.Function.args)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_args();
- }
- inline const ::google::firestore::v1::Value& Function::args(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Function.args)
- return _internal_args().Get(index);
- }
- inline ::google::firestore::v1::Value* Function::add_args() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::Value* _add = _internal_mutable_args()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.Function.args)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>& Function::args() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.Function.args)
- return _internal_args();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>&
- Function::_internal_args() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.args_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>*
- Function::_internal_mutable_args() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.args_;
- }
- // map<string, .google.firestore.v1.Value> options = 3 [(.google.api.field_behavior) = OPTIONAL];
- inline int Function::_internal_options_size() const {
- return _internal_options().size();
- }
- inline int Function::options_size() const {
- return _internal_options_size();
- }
- inline void Function::clear_options() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.options_.Clear();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& Function::_internal_options() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.options_.GetMap();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& Function::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_map:google.firestore.v1.Function.options)
- return _internal_options();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* Function::_internal_mutable_options() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _impl_.options_.MutableMap();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* Function::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_map:google.firestore.v1.Function.options)
- return _internal_mutable_options();
- }
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // Pipeline_Stage
- // string name = 1 [(.google.api.field_behavior) = REQUIRED];
- inline void Pipeline_Stage::clear_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.name_.ClearToEmpty();
- }
- inline const std::string& Pipeline_Stage::name() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Pipeline.Stage.name)
- return _internal_name();
- }
- template <typename Arg_, typename... Args_>
- inline PROTOBUF_ALWAYS_INLINE void Pipeline_Stage::set_name(Arg_&& arg,
- Args_... args) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.name_.Set(static_cast<Arg_&&>(arg), args..., GetArena());
- // @@protoc_insertion_point(field_set:google.firestore.v1.Pipeline.Stage.name)
- }
- inline std::string* Pipeline_Stage::mutable_name() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Pipeline.Stage.name)
- return _s;
- }
- inline const std::string& Pipeline_Stage::_internal_name() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.name_.Get();
- }
- inline void Pipeline_Stage::_internal_set_name(const std::string& value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- _impl_.name_.Set(value, GetArena());
- }
- inline std::string* Pipeline_Stage::_internal_mutable_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ;
- return _impl_.name_.Mutable( GetArena());
- }
- inline std::string* Pipeline_Stage::release_name() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- // @@protoc_insertion_point(field_release:google.firestore.v1.Pipeline.Stage.name)
- return _impl_.name_.Release();
- }
- inline void Pipeline_Stage::set_allocated_name(std::string* value) {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.name_.SetAllocated(value, GetArena());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (_impl_.name_.IsDefault()) {
- _impl_.name_.Set("", GetArena());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:google.firestore.v1.Pipeline.Stage.name)
- }
- // repeated .google.firestore.v1.Value args = 2 [(.google.api.field_behavior) = OPTIONAL];
- inline int Pipeline_Stage::_internal_args_size() const {
- return _internal_args().size();
- }
- inline int Pipeline_Stage::args_size() const {
- return _internal_args_size();
- }
- inline void Pipeline_Stage::clear_args() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.args_.Clear();
- }
- inline ::google::firestore::v1::Value* Pipeline_Stage::mutable_args(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Pipeline.Stage.args)
- return _internal_mutable_args()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>* Pipeline_Stage::mutable_args()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.Pipeline.Stage.args)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_args();
- }
- inline const ::google::firestore::v1::Value& Pipeline_Stage::args(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Pipeline.Stage.args)
- return _internal_args().Get(index);
- }
- inline ::google::firestore::v1::Value* Pipeline_Stage::add_args() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::Value* _add = _internal_mutable_args()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.Pipeline.Stage.args)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>& Pipeline_Stage::args() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.Pipeline.Stage.args)
- return _internal_args();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>&
- Pipeline_Stage::_internal_args() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.args_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Value>*
- Pipeline_Stage::_internal_mutable_args() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.args_;
- }
- // map<string, .google.firestore.v1.Value> options = 3 [(.google.api.field_behavior) = OPTIONAL];
- inline int Pipeline_Stage::_internal_options_size() const {
- return _internal_options().size();
- }
- inline int Pipeline_Stage::options_size() const {
- return _internal_options_size();
- }
- inline void Pipeline_Stage::clear_options() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.options_.Clear();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& Pipeline_Stage::_internal_options() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.options_.GetMap();
- }
- inline const ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>& Pipeline_Stage::options() const ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_map:google.firestore.v1.Pipeline.Stage.options)
- return _internal_options();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* Pipeline_Stage::_internal_mutable_options() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _impl_.options_.MutableMap();
- }
- inline ::google::protobuf::Map<std::string, ::google::firestore::v1::Value>* Pipeline_Stage::mutable_options() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_map:google.firestore.v1.Pipeline.Stage.options)
- return _internal_mutable_options();
- }
- // -------------------------------------------------------------------
- // Pipeline
- // repeated .google.firestore.v1.Pipeline.Stage stages = 1 [(.google.api.field_behavior) = REQUIRED];
- inline int Pipeline::_internal_stages_size() const {
- return _internal_stages().size();
- }
- inline int Pipeline::stages_size() const {
- return _internal_stages_size();
- }
- inline void Pipeline::clear_stages() {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- _impl_.stages_.Clear();
- }
- inline ::google::firestore::v1::Pipeline_Stage* Pipeline::mutable_stages(int index)
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable:google.firestore.v1.Pipeline.stages)
- return _internal_mutable_stages()->Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Pipeline_Stage>* Pipeline::mutable_stages()
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_mutable_list:google.firestore.v1.Pipeline.stages)
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- return _internal_mutable_stages();
- }
- inline const ::google::firestore::v1::Pipeline_Stage& Pipeline::stages(int index) const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_get:google.firestore.v1.Pipeline.stages)
- return _internal_stages().Get(index);
- }
- inline ::google::firestore::v1::Pipeline_Stage* Pipeline::add_stages() ABSL_ATTRIBUTE_LIFETIME_BOUND {
- PROTOBUF_TSAN_WRITE(&_impl_._tsan_detect_race);
- ::google::firestore::v1::Pipeline_Stage* _add = _internal_mutable_stages()->Add();
- // @@protoc_insertion_point(field_add:google.firestore.v1.Pipeline.stages)
- return _add;
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Pipeline_Stage>& Pipeline::stages() const
- ABSL_ATTRIBUTE_LIFETIME_BOUND {
- // @@protoc_insertion_point(field_list:google.firestore.v1.Pipeline.stages)
- return _internal_stages();
- }
- inline const ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Pipeline_Stage>&
- Pipeline::_internal_stages() const {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return _impl_.stages_;
- }
- inline ::google::protobuf::RepeatedPtrField<::google::firestore::v1::Pipeline_Stage>*
- Pipeline::_internal_mutable_stages() {
- PROTOBUF_TSAN_READ(&_impl_._tsan_detect_race);
- return &_impl_.stages_;
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // @@protoc_insertion_point(namespace_scope)
- } // namespace v1
- } // namespace firestore
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #include "google/protobuf/port_undef.inc"
- #endif // GOOGLE_PROTOBUF_INCLUDED_google_2ffirestore_2fv1_2fdocument_2eproto_2epb_2eh
|