| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: google/protobuf/util/internal/testdata/anys.proto
- #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto
- #define PROTOBUF_INCLUDED_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto
- #include <string>
- #include <google/protobuf/stubs/common.h>
- #if GOOGLE_PROTOBUF_VERSION < 3006001
- #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
- #if 3006001 < GOOGLE_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
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/inlined_string_field.h>
- #include <google/protobuf/metadata.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/protobuf/any.pb.h>
- #include <google/protobuf/struct.pb.h>
- #include <google/protobuf/timestamp.pb.h>
- #include <google/protobuf/duration.pb.h>
- #include <google/protobuf/wrappers.pb.h>
- // @@protoc_insertion_point(includes)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto
- namespace protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto {
- // Internal implementation detail -- do not use these members.
- struct TableStruct {
- static const ::google::protobuf::internal::ParseTableField entries[];
- static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
- static const ::google::protobuf::internal::ParseTable schema[8];
- static const ::google::protobuf::internal::FieldMetadata field_metadata[];
- static const ::google::protobuf::internal::SerializationTable serialization_table[];
- static const ::google::protobuf::uint32 offsets[];
- };
- void AddDescriptors();
- } // namespace protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto
- namespace google {
- namespace protobuf {
- namespace testing {
- class AnyIn;
- class AnyInDefaultTypeInternal;
- extern AnyInDefaultTypeInternal _AnyIn_default_instance_;
- class AnyM;
- class AnyMDefaultTypeInternal;
- extern AnyMDefaultTypeInternal _AnyM_default_instance_;
- class AnyOut;
- class AnyOutDefaultTypeInternal;
- extern AnyOutDefaultTypeInternal _AnyOut_default_instance_;
- class AnyTestCases;
- class AnyTestCasesDefaultTypeInternal;
- extern AnyTestCasesDefaultTypeInternal _AnyTestCases_default_instance_;
- class AnyWrapper;
- class AnyWrapperDefaultTypeInternal;
- extern AnyWrapperDefaultTypeInternal _AnyWrapper_default_instance_;
- class Data;
- class DataDefaultTypeInternal;
- extern DataDefaultTypeInternal _Data_default_instance_;
- class Data_MapDataEntry_DoNotUse;
- class Data_MapDataEntry_DoNotUseDefaultTypeInternal;
- extern Data_MapDataEntry_DoNotUseDefaultTypeInternal _Data_MapDataEntry_DoNotUse_default_instance_;
- class Imports;
- class ImportsDefaultTypeInternal;
- extern ImportsDefaultTypeInternal _Imports_default_instance_;
- } // namespace testing
- } // namespace protobuf
- } // namespace google
- namespace google {
- namespace protobuf {
- template<> ::google::protobuf::testing::AnyIn* Arena::CreateMaybeMessage<::google::protobuf::testing::AnyIn>(Arena*);
- template<> ::google::protobuf::testing::AnyM* Arena::CreateMaybeMessage<::google::protobuf::testing::AnyM>(Arena*);
- template<> ::google::protobuf::testing::AnyOut* Arena::CreateMaybeMessage<::google::protobuf::testing::AnyOut>(Arena*);
- template<> ::google::protobuf::testing::AnyTestCases* Arena::CreateMaybeMessage<::google::protobuf::testing::AnyTestCases>(Arena*);
- template<> ::google::protobuf::testing::AnyWrapper* Arena::CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(Arena*);
- template<> ::google::protobuf::testing::Data* Arena::CreateMaybeMessage<::google::protobuf::testing::Data>(Arena*);
- template<> ::google::protobuf::testing::Data_MapDataEntry_DoNotUse* Arena::CreateMaybeMessage<::google::protobuf::testing::Data_MapDataEntry_DoNotUse>(Arena*);
- template<> ::google::protobuf::testing::Imports* Arena::CreateMaybeMessage<::google::protobuf::testing::Imports>(Arena*);
- } // namespace protobuf
- } // namespace google
- namespace google {
- namespace protobuf {
- namespace testing {
- // ===================================================================
- class AnyTestCases : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.AnyTestCases) */ {
- public:
- AnyTestCases();
- virtual ~AnyTestCases();
- AnyTestCases(const AnyTestCases& from);
- inline AnyTestCases& operator=(const AnyTestCases& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- AnyTestCases(AnyTestCases&& from) noexcept
- : AnyTestCases() {
- *this = ::std::move(from);
- }
- inline AnyTestCases& operator=(AnyTestCases&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- static const ::google::protobuf::Descriptor* descriptor();
- static const AnyTestCases& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const AnyTestCases* internal_default_instance() {
- return reinterpret_cast<const AnyTestCases*>(
- &_AnyTestCases_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- void Swap(AnyTestCases* other);
- friend void swap(AnyTestCases& a, AnyTestCases& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline AnyTestCases* New() const final {
- return CreateMaybeMessage<AnyTestCases>(NULL);
- }
- AnyTestCases* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<AnyTestCases>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const AnyTestCases& from);
- void MergeFrom(const AnyTestCases& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(AnyTestCases* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // .google.protobuf.testing.AnyWrapper empty_any = 1;
- bool has_empty_any() const;
- void clear_empty_any();
- static const int kEmptyAnyFieldNumber = 1;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_empty_any() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& empty_any() const;
- ::google::protobuf::testing::AnyWrapper* release_empty_any();
- ::google::protobuf::testing::AnyWrapper* mutable_empty_any();
- void set_allocated_empty_any(::google::protobuf::testing::AnyWrapper* empty_any);
- // .google.protobuf.testing.AnyWrapper type_only_any = 2;
- bool has_type_only_any() const;
- void clear_type_only_any();
- static const int kTypeOnlyAnyFieldNumber = 2;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_type_only_any() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& type_only_any() const;
- ::google::protobuf::testing::AnyWrapper* release_type_only_any();
- ::google::protobuf::testing::AnyWrapper* mutable_type_only_any();
- void set_allocated_type_only_any(::google::protobuf::testing::AnyWrapper* type_only_any);
- // .google.protobuf.testing.AnyWrapper wrapper_any = 3;
- bool has_wrapper_any() const;
- void clear_wrapper_any();
- static const int kWrapperAnyFieldNumber = 3;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_wrapper_any() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& wrapper_any() const;
- ::google::protobuf::testing::AnyWrapper* release_wrapper_any();
- ::google::protobuf::testing::AnyWrapper* mutable_wrapper_any();
- void set_allocated_wrapper_any(::google::protobuf::testing::AnyWrapper* wrapper_any);
- // .google.protobuf.testing.AnyWrapper any_with_timestamp_value = 4;
- bool has_any_with_timestamp_value() const;
- void clear_any_with_timestamp_value();
- static const int kAnyWithTimestampValueFieldNumber = 4;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_timestamp_value() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_timestamp_value() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_timestamp_value();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_timestamp_value();
- void set_allocated_any_with_timestamp_value(::google::protobuf::testing::AnyWrapper* any_with_timestamp_value);
- // .google.protobuf.testing.AnyWrapper any_with_duration_value = 5;
- bool has_any_with_duration_value() const;
- void clear_any_with_duration_value();
- static const int kAnyWithDurationValueFieldNumber = 5;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_duration_value() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_duration_value() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_duration_value();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_duration_value();
- void set_allocated_any_with_duration_value(::google::protobuf::testing::AnyWrapper* any_with_duration_value);
- // .google.protobuf.testing.AnyWrapper any_with_struct_value = 6;
- bool has_any_with_struct_value() const;
- void clear_any_with_struct_value();
- static const int kAnyWithStructValueFieldNumber = 6;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_struct_value() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_struct_value() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_struct_value();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_struct_value();
- void set_allocated_any_with_struct_value(::google::protobuf::testing::AnyWrapper* any_with_struct_value);
- // .google.protobuf.testing.AnyWrapper recursive_any = 7;
- bool has_recursive_any() const;
- void clear_recursive_any();
- static const int kRecursiveAnyFieldNumber = 7;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_recursive_any() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& recursive_any() const;
- ::google::protobuf::testing::AnyWrapper* release_recursive_any();
- ::google::protobuf::testing::AnyWrapper* mutable_recursive_any();
- void set_allocated_recursive_any(::google::protobuf::testing::AnyWrapper* recursive_any);
- // .google.protobuf.testing.AnyWrapper any_with_message_value = 8;
- bool has_any_with_message_value() const;
- void clear_any_with_message_value();
- static const int kAnyWithMessageValueFieldNumber = 8;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_message_value() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_message_value() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_message_value();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_message_value();
- void set_allocated_any_with_message_value(::google::protobuf::testing::AnyWrapper* any_with_message_value);
- // .google.protobuf.testing.AnyWrapper any_with_nested_message = 9;
- bool has_any_with_nested_message() const;
- void clear_any_with_nested_message();
- static const int kAnyWithNestedMessageFieldNumber = 9;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_nested_message() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_nested_message() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_nested_message();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_nested_message();
- void set_allocated_any_with_nested_message(::google::protobuf::testing::AnyWrapper* any_with_nested_message);
- // .google.protobuf.testing.AnyWrapper any_with_message_with_wrapper_type = 10;
- bool has_any_with_message_with_wrapper_type() const;
- void clear_any_with_message_with_wrapper_type();
- static const int kAnyWithMessageWithWrapperTypeFieldNumber = 10;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_message_with_wrapper_type() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_message_with_wrapper_type() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_message_with_wrapper_type();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_message_with_wrapper_type();
- void set_allocated_any_with_message_with_wrapper_type(::google::protobuf::testing::AnyWrapper* any_with_message_with_wrapper_type);
- // .google.protobuf.testing.AnyWrapper any_with_message_with_timestamp = 11;
- bool has_any_with_message_with_timestamp() const;
- void clear_any_with_message_with_timestamp();
- static const int kAnyWithMessageWithTimestampFieldNumber = 11;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_message_with_timestamp() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_message_with_timestamp() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_message_with_timestamp();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_message_with_timestamp();
- void set_allocated_any_with_message_with_timestamp(::google::protobuf::testing::AnyWrapper* any_with_message_with_timestamp);
- // .google.protobuf.testing.AnyWrapper any_with_message_containing_map = 12;
- bool has_any_with_message_containing_map() const;
- void clear_any_with_message_containing_map();
- static const int kAnyWithMessageContainingMapFieldNumber = 12;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_message_containing_map() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_message_containing_map() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_message_containing_map();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_message_containing_map();
- void set_allocated_any_with_message_containing_map(::google::protobuf::testing::AnyWrapper* any_with_message_containing_map);
- // .google.protobuf.testing.AnyWrapper any_with_message_containing_struct = 13;
- bool has_any_with_message_containing_struct() const;
- void clear_any_with_message_containing_struct();
- static const int kAnyWithMessageContainingStructFieldNumber = 13;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_message_containing_struct() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_message_containing_struct() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_message_containing_struct();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_message_containing_struct();
- void set_allocated_any_with_message_containing_struct(::google::protobuf::testing::AnyWrapper* any_with_message_containing_struct);
- // .google.protobuf.testing.AnyWrapper any_with_message_containing_repeated_message = 14;
- bool has_any_with_message_containing_repeated_message() const;
- void clear_any_with_message_containing_repeated_message();
- static const int kAnyWithMessageContainingRepeatedMessageFieldNumber = 14;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_any_with_message_containing_repeated_message() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& any_with_message_containing_repeated_message() const;
- ::google::protobuf::testing::AnyWrapper* release_any_with_message_containing_repeated_message();
- ::google::protobuf::testing::AnyWrapper* mutable_any_with_message_containing_repeated_message();
- void set_allocated_any_with_message_containing_repeated_message(::google::protobuf::testing::AnyWrapper* any_with_message_containing_repeated_message);
- // .google.protobuf.testing.AnyWrapper recursive_any_with_type_field_at_end = 15;
- bool has_recursive_any_with_type_field_at_end() const;
- void clear_recursive_any_with_type_field_at_end();
- static const int kRecursiveAnyWithTypeFieldAtEndFieldNumber = 15;
- private:
- const ::google::protobuf::testing::AnyWrapper& _internal_recursive_any_with_type_field_at_end() const;
- public:
- const ::google::protobuf::testing::AnyWrapper& recursive_any_with_type_field_at_end() const;
- ::google::protobuf::testing::AnyWrapper* release_recursive_any_with_type_field_at_end();
- ::google::protobuf::testing::AnyWrapper* mutable_recursive_any_with_type_field_at_end();
- void set_allocated_recursive_any_with_type_field_at_end(::google::protobuf::testing::AnyWrapper* recursive_any_with_type_field_at_end);
- // .google.protobuf.Any top_level_any = 50;
- bool has_top_level_any() const;
- void clear_top_level_any();
- static const int kTopLevelAnyFieldNumber = 50;
- private:
- const ::google::protobuf::Any& _internal_top_level_any() const;
- public:
- const ::google::protobuf::Any& top_level_any() const;
- ::google::protobuf::Any* release_top_level_any();
- ::google::protobuf::Any* mutable_top_level_any();
- void set_allocated_top_level_any(::google::protobuf::Any* top_level_any);
- // .google.protobuf.Any top_level_any_with_type_field_at_end = 51;
- bool has_top_level_any_with_type_field_at_end() const;
- void clear_top_level_any_with_type_field_at_end();
- static const int kTopLevelAnyWithTypeFieldAtEndFieldNumber = 51;
- private:
- const ::google::protobuf::Any& _internal_top_level_any_with_type_field_at_end() const;
- public:
- const ::google::protobuf::Any& top_level_any_with_type_field_at_end() const;
- ::google::protobuf::Any* release_top_level_any_with_type_field_at_end();
- ::google::protobuf::Any* mutable_top_level_any_with_type_field_at_end();
- void set_allocated_top_level_any_with_type_field_at_end(::google::protobuf::Any* top_level_any_with_type_field_at_end);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.AnyTestCases)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::testing::AnyWrapper* empty_any_;
- ::google::protobuf::testing::AnyWrapper* type_only_any_;
- ::google::protobuf::testing::AnyWrapper* wrapper_any_;
- ::google::protobuf::testing::AnyWrapper* any_with_timestamp_value_;
- ::google::protobuf::testing::AnyWrapper* any_with_duration_value_;
- ::google::protobuf::testing::AnyWrapper* any_with_struct_value_;
- ::google::protobuf::testing::AnyWrapper* recursive_any_;
- ::google::protobuf::testing::AnyWrapper* any_with_message_value_;
- ::google::protobuf::testing::AnyWrapper* any_with_nested_message_;
- ::google::protobuf::testing::AnyWrapper* any_with_message_with_wrapper_type_;
- ::google::protobuf::testing::AnyWrapper* any_with_message_with_timestamp_;
- ::google::protobuf::testing::AnyWrapper* any_with_message_containing_map_;
- ::google::protobuf::testing::AnyWrapper* any_with_message_containing_struct_;
- ::google::protobuf::testing::AnyWrapper* any_with_message_containing_repeated_message_;
- ::google::protobuf::testing::AnyWrapper* recursive_any_with_type_field_at_end_;
- ::google::protobuf::Any* top_level_any_;
- ::google::protobuf::Any* top_level_any_with_type_field_at_end_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class AnyWrapper : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.AnyWrapper) */ {
- public:
- AnyWrapper();
- virtual ~AnyWrapper();
- AnyWrapper(const AnyWrapper& from);
- inline AnyWrapper& operator=(const AnyWrapper& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- AnyWrapper(AnyWrapper&& from) noexcept
- : AnyWrapper() {
- *this = ::std::move(from);
- }
- inline AnyWrapper& operator=(AnyWrapper&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- static const ::google::protobuf::Descriptor* descriptor();
- static const AnyWrapper& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const AnyWrapper* internal_default_instance() {
- return reinterpret_cast<const AnyWrapper*>(
- &_AnyWrapper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- void Swap(AnyWrapper* other);
- friend void swap(AnyWrapper& a, AnyWrapper& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline AnyWrapper* New() const final {
- return CreateMaybeMessage<AnyWrapper>(NULL);
- }
- AnyWrapper* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<AnyWrapper>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const AnyWrapper& from);
- void MergeFrom(const AnyWrapper& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(AnyWrapper* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // .google.protobuf.Any any = 1;
- bool has_any() const;
- void clear_any();
- static const int kAnyFieldNumber = 1;
- private:
- const ::google::protobuf::Any& _internal_any() const;
- public:
- const ::google::protobuf::Any& any() const;
- ::google::protobuf::Any* release_any();
- ::google::protobuf::Any* mutable_any();
- void set_allocated_any(::google::protobuf::Any* any);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.AnyWrapper)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::Any* any_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Imports : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.Imports) */ {
- public:
- Imports();
- virtual ~Imports();
- Imports(const Imports& from);
- inline Imports& operator=(const Imports& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Imports(Imports&& from) noexcept
- : Imports() {
- *this = ::std::move(from);
- }
- inline Imports& operator=(Imports&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- static const ::google::protobuf::Descriptor* descriptor();
- static const Imports& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Imports* internal_default_instance() {
- return reinterpret_cast<const Imports*>(
- &_Imports_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- void Swap(Imports* other);
- friend void swap(Imports& a, Imports& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Imports* New() const final {
- return CreateMaybeMessage<Imports>(NULL);
- }
- Imports* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Imports>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Imports& from);
- void MergeFrom(const Imports& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Imports* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // .google.protobuf.DoubleValue dbl = 1;
- bool has_dbl() const;
- void clear_dbl();
- static const int kDblFieldNumber = 1;
- private:
- const ::google::protobuf::DoubleValue& _internal_dbl() const;
- public:
- const ::google::protobuf::DoubleValue& dbl() const;
- ::google::protobuf::DoubleValue* release_dbl();
- ::google::protobuf::DoubleValue* mutable_dbl();
- void set_allocated_dbl(::google::protobuf::DoubleValue* dbl);
- // .google.protobuf.Struct struct = 2;
- bool has_struct_() const;
- void clear_struct_();
- static const int kStructFieldNumber = 2;
- private:
- const ::google::protobuf::Struct& _internal_struct_() const;
- public:
- const ::google::protobuf::Struct& struct_() const;
- ::google::protobuf::Struct* release_struct_();
- ::google::protobuf::Struct* mutable_struct_();
- void set_allocated_struct_(::google::protobuf::Struct* struct_);
- // .google.protobuf.Timestamp timestamp = 3;
- bool has_timestamp() const;
- void clear_timestamp();
- static const int kTimestampFieldNumber = 3;
- private:
- const ::google::protobuf::Timestamp& _internal_timestamp() const;
- public:
- const ::google::protobuf::Timestamp& timestamp() const;
- ::google::protobuf::Timestamp* release_timestamp();
- ::google::protobuf::Timestamp* mutable_timestamp();
- void set_allocated_timestamp(::google::protobuf::Timestamp* timestamp);
- // .google.protobuf.Duration duration = 4;
- bool has_duration() const;
- void clear_duration();
- static const int kDurationFieldNumber = 4;
- private:
- const ::google::protobuf::Duration& _internal_duration() const;
- public:
- const ::google::protobuf::Duration& duration() const;
- ::google::protobuf::Duration* release_duration();
- ::google::protobuf::Duration* mutable_duration();
- void set_allocated_duration(::google::protobuf::Duration* duration);
- // .google.protobuf.Int32Value i32 = 5;
- bool has_i32() const;
- void clear_i32();
- static const int kI32FieldNumber = 5;
- private:
- const ::google::protobuf::Int32Value& _internal_i32() const;
- public:
- const ::google::protobuf::Int32Value& i32() const;
- ::google::protobuf::Int32Value* release_i32();
- ::google::protobuf::Int32Value* mutable_i32();
- void set_allocated_i32(::google::protobuf::Int32Value* i32);
- // .google.protobuf.testing.Data data = 100;
- bool has_data() const;
- void clear_data();
- static const int kDataFieldNumber = 100;
- private:
- const ::google::protobuf::testing::Data& _internal_data() const;
- public:
- const ::google::protobuf::testing::Data& data() const;
- ::google::protobuf::testing::Data* release_data();
- ::google::protobuf::testing::Data* mutable_data();
- void set_allocated_data(::google::protobuf::testing::Data* data);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.Imports)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::DoubleValue* dbl_;
- ::google::protobuf::Struct* struct__;
- ::google::protobuf::Timestamp* timestamp_;
- ::google::protobuf::Duration* duration_;
- ::google::protobuf::Int32Value* i32_;
- ::google::protobuf::testing::Data* data_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Data_MapDataEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<Data_MapDataEntry_DoNotUse,
- ::std::string, ::std::string,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- 0 > {
- public:
- typedef ::google::protobuf::internal::MapEntry<Data_MapDataEntry_DoNotUse,
- ::std::string, ::std::string,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- 0 > SuperType;
- Data_MapDataEntry_DoNotUse();
- Data_MapDataEntry_DoNotUse(::google::protobuf::Arena* arena);
- void MergeFrom(const Data_MapDataEntry_DoNotUse& other);
- static const Data_MapDataEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const Data_MapDataEntry_DoNotUse*>(&_Data_MapDataEntry_DoNotUse_default_instance_); }
- void MergeFrom(const ::google::protobuf::Message& other) final;
- ::google::protobuf::Metadata GetMetadata() const;
- };
- // -------------------------------------------------------------------
- class Data : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.Data) */ {
- public:
- Data();
- virtual ~Data();
- Data(const Data& from);
- inline Data& operator=(const Data& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Data(Data&& from) noexcept
- : Data() {
- *this = ::std::move(from);
- }
- inline Data& operator=(Data&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- static const ::google::protobuf::Descriptor* descriptor();
- static const Data& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Data* internal_default_instance() {
- return reinterpret_cast<const Data*>(
- &_Data_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- void Swap(Data* other);
- friend void swap(Data& a, Data& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Data* New() const final {
- return CreateMaybeMessage<Data>(NULL);
- }
- Data* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Data>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Data& from);
- void MergeFrom(const Data& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Data* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // repeated string msgs = 3;
- int msgs_size() const;
- void clear_msgs();
- static const int kMsgsFieldNumber = 3;
- const ::std::string& msgs(int index) const;
- ::std::string* mutable_msgs(int index);
- void set_msgs(int index, const ::std::string& value);
- #if LANG_CXX11
- void set_msgs(int index, ::std::string&& value);
- #endif
- void set_msgs(int index, const char* value);
- void set_msgs(int index, const char* value, size_t size);
- ::std::string* add_msgs();
- void add_msgs(const ::std::string& value);
- #if LANG_CXX11
- void add_msgs(::std::string&& value);
- #endif
- void add_msgs(const char* value);
- void add_msgs(const char* value, size_t size);
- const ::google::protobuf::RepeatedPtrField< ::std::string>& msgs() const;
- ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_msgs();
- // map<string, string> map_data = 7;
- int map_data_size() const;
- void clear_map_data();
- static const int kMapDataFieldNumber = 7;
- const ::google::protobuf::Map< ::std::string, ::std::string >&
- map_data() const;
- ::google::protobuf::Map< ::std::string, ::std::string >*
- mutable_map_data();
- // repeated .google.protobuf.testing.Data repeated_data = 9;
- int repeated_data_size() const;
- void clear_repeated_data();
- static const int kRepeatedDataFieldNumber = 9;
- ::google::protobuf::testing::Data* mutable_repeated_data(int index);
- ::google::protobuf::RepeatedPtrField< ::google::protobuf::testing::Data >*
- mutable_repeated_data();
- const ::google::protobuf::testing::Data& repeated_data(int index) const;
- ::google::protobuf::testing::Data* add_repeated_data();
- const ::google::protobuf::RepeatedPtrField< ::google::protobuf::testing::Data >&
- repeated_data() const;
- // string str = 2;
- void clear_str();
- static const int kStrFieldNumber = 2;
- const ::std::string& str() const;
- void set_str(const ::std::string& value);
- #if LANG_CXX11
- void set_str(::std::string&& value);
- #endif
- void set_str(const char* value);
- void set_str(const char* value, size_t size);
- ::std::string* mutable_str();
- ::std::string* release_str();
- void set_allocated_str(::std::string* str);
- // .google.protobuf.testing.Data nested_data = 4;
- bool has_nested_data() const;
- void clear_nested_data();
- static const int kNestedDataFieldNumber = 4;
- private:
- const ::google::protobuf::testing::Data& _internal_nested_data() const;
- public:
- const ::google::protobuf::testing::Data& nested_data() const;
- ::google::protobuf::testing::Data* release_nested_data();
- ::google::protobuf::testing::Data* mutable_nested_data();
- void set_allocated_nested_data(::google::protobuf::testing::Data* nested_data);
- // .google.protobuf.Int32Value int_wrapper = 5;
- bool has_int_wrapper() const;
- void clear_int_wrapper();
- static const int kIntWrapperFieldNumber = 5;
- private:
- const ::google::protobuf::Int32Value& _internal_int_wrapper() const;
- public:
- const ::google::protobuf::Int32Value& int_wrapper() const;
- ::google::protobuf::Int32Value* release_int_wrapper();
- ::google::protobuf::Int32Value* mutable_int_wrapper();
- void set_allocated_int_wrapper(::google::protobuf::Int32Value* int_wrapper);
- // .google.protobuf.Timestamp time = 6;
- bool has_time() const;
- void clear_time();
- static const int kTimeFieldNumber = 6;
- private:
- const ::google::protobuf::Timestamp& _internal_time() const;
- public:
- const ::google::protobuf::Timestamp& time() const;
- ::google::protobuf::Timestamp* release_time();
- ::google::protobuf::Timestamp* mutable_time();
- void set_allocated_time(::google::protobuf::Timestamp* time);
- // .google.protobuf.Struct struct_data = 8;
- bool has_struct_data() const;
- void clear_struct_data();
- static const int kStructDataFieldNumber = 8;
- private:
- const ::google::protobuf::Struct& _internal_struct_data() const;
- public:
- const ::google::protobuf::Struct& struct_data() const;
- ::google::protobuf::Struct* release_struct_data();
- ::google::protobuf::Struct* mutable_struct_data();
- void set_allocated_struct_data(::google::protobuf::Struct* struct_data);
- // int32 attr = 1;
- void clear_attr();
- static const int kAttrFieldNumber = 1;
- ::google::protobuf::int32 attr() const;
- void set_attr(::google::protobuf::int32 value);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.Data)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::RepeatedPtrField< ::std::string> msgs_;
- ::google::protobuf::internal::MapField<
- Data_MapDataEntry_DoNotUse,
- ::std::string, ::std::string,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- 0 > map_data_;
- ::google::protobuf::RepeatedPtrField< ::google::protobuf::testing::Data > repeated_data_;
- ::google::protobuf::internal::ArenaStringPtr str_;
- ::google::protobuf::testing::Data* nested_data_;
- ::google::protobuf::Int32Value* int_wrapper_;
- ::google::protobuf::Timestamp* time_;
- ::google::protobuf::Struct* struct_data_;
- ::google::protobuf::int32 attr_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class AnyIn : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.AnyIn) */ {
- public:
- AnyIn();
- virtual ~AnyIn();
- AnyIn(const AnyIn& from);
- inline AnyIn& operator=(const AnyIn& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- AnyIn(AnyIn&& from) noexcept
- : AnyIn() {
- *this = ::std::move(from);
- }
- inline AnyIn& operator=(AnyIn&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- static const ::google::protobuf::Descriptor* descriptor();
- static const AnyIn& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const AnyIn* internal_default_instance() {
- return reinterpret_cast<const AnyIn*>(
- &_AnyIn_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- void Swap(AnyIn* other);
- friend void swap(AnyIn& a, AnyIn& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline AnyIn* New() const final {
- return CreateMaybeMessage<AnyIn>(NULL);
- }
- AnyIn* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<AnyIn>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const AnyIn& from);
- void MergeFrom(const AnyIn& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(AnyIn* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // string something = 1;
- void clear_something();
- static const int kSomethingFieldNumber = 1;
- const ::std::string& something() const;
- void set_something(const ::std::string& value);
- #if LANG_CXX11
- void set_something(::std::string&& value);
- #endif
- void set_something(const char* value);
- void set_something(const char* value, size_t size);
- ::std::string* mutable_something();
- ::std::string* release_something();
- void set_allocated_something(::std::string* something);
- // .google.protobuf.Any any = 2;
- bool has_any() const;
- void clear_any();
- static const int kAnyFieldNumber = 2;
- private:
- const ::google::protobuf::Any& _internal_any() const;
- public:
- const ::google::protobuf::Any& any() const;
- ::google::protobuf::Any* release_any();
- ::google::protobuf::Any* mutable_any();
- void set_allocated_any(::google::protobuf::Any* any);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.AnyIn)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::ArenaStringPtr something_;
- ::google::protobuf::Any* any_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class AnyOut : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.AnyOut) */ {
- public:
- AnyOut();
- virtual ~AnyOut();
- AnyOut(const AnyOut& from);
- inline AnyOut& operator=(const AnyOut& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- AnyOut(AnyOut&& from) noexcept
- : AnyOut() {
- *this = ::std::move(from);
- }
- inline AnyOut& operator=(AnyOut&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- static const ::google::protobuf::Descriptor* descriptor();
- static const AnyOut& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const AnyOut* internal_default_instance() {
- return reinterpret_cast<const AnyOut*>(
- &_AnyOut_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- void Swap(AnyOut* other);
- friend void swap(AnyOut& a, AnyOut& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline AnyOut* New() const final {
- return CreateMaybeMessage<AnyOut>(NULL);
- }
- AnyOut* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<AnyOut>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const AnyOut& from);
- void MergeFrom(const AnyOut& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(AnyOut* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // .google.protobuf.Any any = 1;
- bool has_any() const;
- void clear_any();
- static const int kAnyFieldNumber = 1;
- private:
- const ::google::protobuf::Any& _internal_any() const;
- public:
- const ::google::protobuf::Any& any() const;
- ::google::protobuf::Any* release_any();
- ::google::protobuf::Any* mutable_any();
- void set_allocated_any(::google::protobuf::Any* any);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.AnyOut)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::Any* any_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class AnyM : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.AnyM) */ {
- public:
- AnyM();
- virtual ~AnyM();
- AnyM(const AnyM& from);
- inline AnyM& operator=(const AnyM& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- AnyM(AnyM&& from) noexcept
- : AnyM() {
- *this = ::std::move(from);
- }
- inline AnyM& operator=(AnyM&& from) noexcept {
- if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
- if (this != &from) InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- #endif
- static const ::google::protobuf::Descriptor* descriptor();
- static const AnyM& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const AnyM* internal_default_instance() {
- return reinterpret_cast<const AnyM*>(
- &_AnyM_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- void Swap(AnyM* other);
- friend void swap(AnyM& a, AnyM& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline AnyM* New() const final {
- return CreateMaybeMessage<AnyM>(NULL);
- }
- AnyM* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<AnyM>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const AnyM& from);
- void MergeFrom(const AnyM& from);
- void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- bool MergePartialFromCodedStream(
- ::google::protobuf::io::CodedInputStream* input) final;
- void SerializeWithCachedSizes(
- ::google::protobuf::io::CodedOutputStream* output) const final;
- ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
- bool deterministic, ::google::protobuf::uint8* target) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(AnyM* other);
- private:
- inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
- return NULL;
- }
- inline void* MaybeArenaPtr() const {
- return NULL;
- }
- public:
- ::google::protobuf::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // string foo = 1;
- void clear_foo();
- static const int kFooFieldNumber = 1;
- const ::std::string& foo() const;
- void set_foo(const ::std::string& value);
- #if LANG_CXX11
- void set_foo(::std::string&& value);
- #endif
- void set_foo(const char* value);
- void set_foo(const char* value, size_t size);
- ::std::string* mutable_foo();
- ::std::string* release_foo();
- void set_allocated_foo(::std::string* foo);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.AnyM)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::ArenaStringPtr foo_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // AnyTestCases
- // .google.protobuf.testing.AnyWrapper empty_any = 1;
- inline bool AnyTestCases::has_empty_any() const {
- return this != internal_default_instance() && empty_any_ != NULL;
- }
- inline void AnyTestCases::clear_empty_any() {
- if (GetArenaNoVirtual() == NULL && empty_any_ != NULL) {
- delete empty_any_;
- }
- empty_any_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_empty_any() const {
- return *empty_any_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::empty_any() const {
- const ::google::protobuf::testing::AnyWrapper* p = empty_any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.empty_any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_empty_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.empty_any)
-
- ::google::protobuf::testing::AnyWrapper* temp = empty_any_;
- empty_any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_empty_any() {
-
- if (empty_any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- empty_any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.empty_any)
- return empty_any_;
- }
- inline void AnyTestCases::set_allocated_empty_any(::google::protobuf::testing::AnyWrapper* empty_any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete empty_any_;
- }
- if (empty_any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- empty_any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, empty_any, submessage_arena);
- }
-
- } else {
-
- }
- empty_any_ = empty_any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.empty_any)
- }
- // .google.protobuf.testing.AnyWrapper type_only_any = 2;
- inline bool AnyTestCases::has_type_only_any() const {
- return this != internal_default_instance() && type_only_any_ != NULL;
- }
- inline void AnyTestCases::clear_type_only_any() {
- if (GetArenaNoVirtual() == NULL && type_only_any_ != NULL) {
- delete type_only_any_;
- }
- type_only_any_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_type_only_any() const {
- return *type_only_any_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::type_only_any() const {
- const ::google::protobuf::testing::AnyWrapper* p = type_only_any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.type_only_any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_type_only_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.type_only_any)
-
- ::google::protobuf::testing::AnyWrapper* temp = type_only_any_;
- type_only_any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_type_only_any() {
-
- if (type_only_any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- type_only_any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.type_only_any)
- return type_only_any_;
- }
- inline void AnyTestCases::set_allocated_type_only_any(::google::protobuf::testing::AnyWrapper* type_only_any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete type_only_any_;
- }
- if (type_only_any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- type_only_any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, type_only_any, submessage_arena);
- }
-
- } else {
-
- }
- type_only_any_ = type_only_any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.type_only_any)
- }
- // .google.protobuf.testing.AnyWrapper wrapper_any = 3;
- inline bool AnyTestCases::has_wrapper_any() const {
- return this != internal_default_instance() && wrapper_any_ != NULL;
- }
- inline void AnyTestCases::clear_wrapper_any() {
- if (GetArenaNoVirtual() == NULL && wrapper_any_ != NULL) {
- delete wrapper_any_;
- }
- wrapper_any_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_wrapper_any() const {
- return *wrapper_any_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::wrapper_any() const {
- const ::google::protobuf::testing::AnyWrapper* p = wrapper_any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.wrapper_any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_wrapper_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.wrapper_any)
-
- ::google::protobuf::testing::AnyWrapper* temp = wrapper_any_;
- wrapper_any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_wrapper_any() {
-
- if (wrapper_any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- wrapper_any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.wrapper_any)
- return wrapper_any_;
- }
- inline void AnyTestCases::set_allocated_wrapper_any(::google::protobuf::testing::AnyWrapper* wrapper_any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete wrapper_any_;
- }
- if (wrapper_any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- wrapper_any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, wrapper_any, submessage_arena);
- }
-
- } else {
-
- }
- wrapper_any_ = wrapper_any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.wrapper_any)
- }
- // .google.protobuf.testing.AnyWrapper any_with_timestamp_value = 4;
- inline bool AnyTestCases::has_any_with_timestamp_value() const {
- return this != internal_default_instance() && any_with_timestamp_value_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_timestamp_value() {
- if (GetArenaNoVirtual() == NULL && any_with_timestamp_value_ != NULL) {
- delete any_with_timestamp_value_;
- }
- any_with_timestamp_value_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_timestamp_value() const {
- return *any_with_timestamp_value_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_timestamp_value() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_timestamp_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_timestamp_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_timestamp_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_timestamp_value)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_timestamp_value_;
- any_with_timestamp_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_timestamp_value() {
-
- if (any_with_timestamp_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_timestamp_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_timestamp_value)
- return any_with_timestamp_value_;
- }
- inline void AnyTestCases::set_allocated_any_with_timestamp_value(::google::protobuf::testing::AnyWrapper* any_with_timestamp_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_timestamp_value_;
- }
- if (any_with_timestamp_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_timestamp_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_timestamp_value, submessage_arena);
- }
-
- } else {
-
- }
- any_with_timestamp_value_ = any_with_timestamp_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_timestamp_value)
- }
- // .google.protobuf.testing.AnyWrapper any_with_duration_value = 5;
- inline bool AnyTestCases::has_any_with_duration_value() const {
- return this != internal_default_instance() && any_with_duration_value_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_duration_value() {
- if (GetArenaNoVirtual() == NULL && any_with_duration_value_ != NULL) {
- delete any_with_duration_value_;
- }
- any_with_duration_value_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_duration_value() const {
- return *any_with_duration_value_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_duration_value() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_duration_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_duration_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_duration_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_duration_value)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_duration_value_;
- any_with_duration_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_duration_value() {
-
- if (any_with_duration_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_duration_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_duration_value)
- return any_with_duration_value_;
- }
- inline void AnyTestCases::set_allocated_any_with_duration_value(::google::protobuf::testing::AnyWrapper* any_with_duration_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_duration_value_;
- }
- if (any_with_duration_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_duration_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_duration_value, submessage_arena);
- }
-
- } else {
-
- }
- any_with_duration_value_ = any_with_duration_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_duration_value)
- }
- // .google.protobuf.testing.AnyWrapper any_with_struct_value = 6;
- inline bool AnyTestCases::has_any_with_struct_value() const {
- return this != internal_default_instance() && any_with_struct_value_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_struct_value() {
- if (GetArenaNoVirtual() == NULL && any_with_struct_value_ != NULL) {
- delete any_with_struct_value_;
- }
- any_with_struct_value_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_struct_value() const {
- return *any_with_struct_value_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_struct_value() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_struct_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_struct_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_struct_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_struct_value)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_struct_value_;
- any_with_struct_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_struct_value() {
-
- if (any_with_struct_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_struct_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_struct_value)
- return any_with_struct_value_;
- }
- inline void AnyTestCases::set_allocated_any_with_struct_value(::google::protobuf::testing::AnyWrapper* any_with_struct_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_struct_value_;
- }
- if (any_with_struct_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_struct_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_struct_value, submessage_arena);
- }
-
- } else {
-
- }
- any_with_struct_value_ = any_with_struct_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_struct_value)
- }
- // .google.protobuf.testing.AnyWrapper recursive_any = 7;
- inline bool AnyTestCases::has_recursive_any() const {
- return this != internal_default_instance() && recursive_any_ != NULL;
- }
- inline void AnyTestCases::clear_recursive_any() {
- if (GetArenaNoVirtual() == NULL && recursive_any_ != NULL) {
- delete recursive_any_;
- }
- recursive_any_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_recursive_any() const {
- return *recursive_any_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::recursive_any() const {
- const ::google::protobuf::testing::AnyWrapper* p = recursive_any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.recursive_any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_recursive_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.recursive_any)
-
- ::google::protobuf::testing::AnyWrapper* temp = recursive_any_;
- recursive_any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_recursive_any() {
-
- if (recursive_any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- recursive_any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.recursive_any)
- return recursive_any_;
- }
- inline void AnyTestCases::set_allocated_recursive_any(::google::protobuf::testing::AnyWrapper* recursive_any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete recursive_any_;
- }
- if (recursive_any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- recursive_any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, recursive_any, submessage_arena);
- }
-
- } else {
-
- }
- recursive_any_ = recursive_any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.recursive_any)
- }
- // .google.protobuf.testing.AnyWrapper any_with_message_value = 8;
- inline bool AnyTestCases::has_any_with_message_value() const {
- return this != internal_default_instance() && any_with_message_value_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_message_value() {
- if (GetArenaNoVirtual() == NULL && any_with_message_value_ != NULL) {
- delete any_with_message_value_;
- }
- any_with_message_value_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_message_value() const {
- return *any_with_message_value_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_message_value() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_message_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_message_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_message_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_message_value)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_message_value_;
- any_with_message_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_message_value() {
-
- if (any_with_message_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_message_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_message_value)
- return any_with_message_value_;
- }
- inline void AnyTestCases::set_allocated_any_with_message_value(::google::protobuf::testing::AnyWrapper* any_with_message_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_message_value_;
- }
- if (any_with_message_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_message_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_message_value, submessage_arena);
- }
-
- } else {
-
- }
- any_with_message_value_ = any_with_message_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_message_value)
- }
- // .google.protobuf.testing.AnyWrapper any_with_nested_message = 9;
- inline bool AnyTestCases::has_any_with_nested_message() const {
- return this != internal_default_instance() && any_with_nested_message_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_nested_message() {
- if (GetArenaNoVirtual() == NULL && any_with_nested_message_ != NULL) {
- delete any_with_nested_message_;
- }
- any_with_nested_message_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_nested_message() const {
- return *any_with_nested_message_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_nested_message() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_nested_message_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_nested_message)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_nested_message() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_nested_message)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_nested_message_;
- any_with_nested_message_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_nested_message() {
-
- if (any_with_nested_message_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_nested_message_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_nested_message)
- return any_with_nested_message_;
- }
- inline void AnyTestCases::set_allocated_any_with_nested_message(::google::protobuf::testing::AnyWrapper* any_with_nested_message) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_nested_message_;
- }
- if (any_with_nested_message) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_nested_message = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_nested_message, submessage_arena);
- }
-
- } else {
-
- }
- any_with_nested_message_ = any_with_nested_message;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_nested_message)
- }
- // .google.protobuf.testing.AnyWrapper any_with_message_with_wrapper_type = 10;
- inline bool AnyTestCases::has_any_with_message_with_wrapper_type() const {
- return this != internal_default_instance() && any_with_message_with_wrapper_type_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_message_with_wrapper_type() {
- if (GetArenaNoVirtual() == NULL && any_with_message_with_wrapper_type_ != NULL) {
- delete any_with_message_with_wrapper_type_;
- }
- any_with_message_with_wrapper_type_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_message_with_wrapper_type() const {
- return *any_with_message_with_wrapper_type_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_message_with_wrapper_type() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_message_with_wrapper_type_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_message_with_wrapper_type)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_message_with_wrapper_type() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_message_with_wrapper_type)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_message_with_wrapper_type_;
- any_with_message_with_wrapper_type_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_message_with_wrapper_type() {
-
- if (any_with_message_with_wrapper_type_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_message_with_wrapper_type_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_message_with_wrapper_type)
- return any_with_message_with_wrapper_type_;
- }
- inline void AnyTestCases::set_allocated_any_with_message_with_wrapper_type(::google::protobuf::testing::AnyWrapper* any_with_message_with_wrapper_type) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_message_with_wrapper_type_;
- }
- if (any_with_message_with_wrapper_type) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_message_with_wrapper_type = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_message_with_wrapper_type, submessage_arena);
- }
-
- } else {
-
- }
- any_with_message_with_wrapper_type_ = any_with_message_with_wrapper_type;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_message_with_wrapper_type)
- }
- // .google.protobuf.testing.AnyWrapper any_with_message_with_timestamp = 11;
- inline bool AnyTestCases::has_any_with_message_with_timestamp() const {
- return this != internal_default_instance() && any_with_message_with_timestamp_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_message_with_timestamp() {
- if (GetArenaNoVirtual() == NULL && any_with_message_with_timestamp_ != NULL) {
- delete any_with_message_with_timestamp_;
- }
- any_with_message_with_timestamp_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_message_with_timestamp() const {
- return *any_with_message_with_timestamp_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_message_with_timestamp() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_message_with_timestamp_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_message_with_timestamp)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_message_with_timestamp() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_message_with_timestamp)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_message_with_timestamp_;
- any_with_message_with_timestamp_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_message_with_timestamp() {
-
- if (any_with_message_with_timestamp_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_message_with_timestamp_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_message_with_timestamp)
- return any_with_message_with_timestamp_;
- }
- inline void AnyTestCases::set_allocated_any_with_message_with_timestamp(::google::protobuf::testing::AnyWrapper* any_with_message_with_timestamp) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_message_with_timestamp_;
- }
- if (any_with_message_with_timestamp) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_message_with_timestamp = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_message_with_timestamp, submessage_arena);
- }
-
- } else {
-
- }
- any_with_message_with_timestamp_ = any_with_message_with_timestamp;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_message_with_timestamp)
- }
- // .google.protobuf.testing.AnyWrapper any_with_message_containing_map = 12;
- inline bool AnyTestCases::has_any_with_message_containing_map() const {
- return this != internal_default_instance() && any_with_message_containing_map_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_message_containing_map() {
- if (GetArenaNoVirtual() == NULL && any_with_message_containing_map_ != NULL) {
- delete any_with_message_containing_map_;
- }
- any_with_message_containing_map_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_message_containing_map() const {
- return *any_with_message_containing_map_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_message_containing_map() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_message_containing_map_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_message_containing_map)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_message_containing_map() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_message_containing_map)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_message_containing_map_;
- any_with_message_containing_map_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_message_containing_map() {
-
- if (any_with_message_containing_map_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_message_containing_map_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_message_containing_map)
- return any_with_message_containing_map_;
- }
- inline void AnyTestCases::set_allocated_any_with_message_containing_map(::google::protobuf::testing::AnyWrapper* any_with_message_containing_map) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_message_containing_map_;
- }
- if (any_with_message_containing_map) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_message_containing_map = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_message_containing_map, submessage_arena);
- }
-
- } else {
-
- }
- any_with_message_containing_map_ = any_with_message_containing_map;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_message_containing_map)
- }
- // .google.protobuf.testing.AnyWrapper any_with_message_containing_struct = 13;
- inline bool AnyTestCases::has_any_with_message_containing_struct() const {
- return this != internal_default_instance() && any_with_message_containing_struct_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_message_containing_struct() {
- if (GetArenaNoVirtual() == NULL && any_with_message_containing_struct_ != NULL) {
- delete any_with_message_containing_struct_;
- }
- any_with_message_containing_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_message_containing_struct() const {
- return *any_with_message_containing_struct_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_message_containing_struct() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_message_containing_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_message_containing_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_message_containing_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_message_containing_struct)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_message_containing_struct_;
- any_with_message_containing_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_message_containing_struct() {
-
- if (any_with_message_containing_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_message_containing_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_message_containing_struct)
- return any_with_message_containing_struct_;
- }
- inline void AnyTestCases::set_allocated_any_with_message_containing_struct(::google::protobuf::testing::AnyWrapper* any_with_message_containing_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_message_containing_struct_;
- }
- if (any_with_message_containing_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_message_containing_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_message_containing_struct, submessage_arena);
- }
-
- } else {
-
- }
- any_with_message_containing_struct_ = any_with_message_containing_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_message_containing_struct)
- }
- // .google.protobuf.testing.AnyWrapper any_with_message_containing_repeated_message = 14;
- inline bool AnyTestCases::has_any_with_message_containing_repeated_message() const {
- return this != internal_default_instance() && any_with_message_containing_repeated_message_ != NULL;
- }
- inline void AnyTestCases::clear_any_with_message_containing_repeated_message() {
- if (GetArenaNoVirtual() == NULL && any_with_message_containing_repeated_message_ != NULL) {
- delete any_with_message_containing_repeated_message_;
- }
- any_with_message_containing_repeated_message_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_any_with_message_containing_repeated_message() const {
- return *any_with_message_containing_repeated_message_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::any_with_message_containing_repeated_message() const {
- const ::google::protobuf::testing::AnyWrapper* p = any_with_message_containing_repeated_message_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.any_with_message_containing_repeated_message)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_any_with_message_containing_repeated_message() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.any_with_message_containing_repeated_message)
-
- ::google::protobuf::testing::AnyWrapper* temp = any_with_message_containing_repeated_message_;
- any_with_message_containing_repeated_message_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_any_with_message_containing_repeated_message() {
-
- if (any_with_message_containing_repeated_message_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- any_with_message_containing_repeated_message_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.any_with_message_containing_repeated_message)
- return any_with_message_containing_repeated_message_;
- }
- inline void AnyTestCases::set_allocated_any_with_message_containing_repeated_message(::google::protobuf::testing::AnyWrapper* any_with_message_containing_repeated_message) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete any_with_message_containing_repeated_message_;
- }
- if (any_with_message_containing_repeated_message) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any_with_message_containing_repeated_message = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any_with_message_containing_repeated_message, submessage_arena);
- }
-
- } else {
-
- }
- any_with_message_containing_repeated_message_ = any_with_message_containing_repeated_message;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.any_with_message_containing_repeated_message)
- }
- // .google.protobuf.testing.AnyWrapper recursive_any_with_type_field_at_end = 15;
- inline bool AnyTestCases::has_recursive_any_with_type_field_at_end() const {
- return this != internal_default_instance() && recursive_any_with_type_field_at_end_ != NULL;
- }
- inline void AnyTestCases::clear_recursive_any_with_type_field_at_end() {
- if (GetArenaNoVirtual() == NULL && recursive_any_with_type_field_at_end_ != NULL) {
- delete recursive_any_with_type_field_at_end_;
- }
- recursive_any_with_type_field_at_end_ = NULL;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::_internal_recursive_any_with_type_field_at_end() const {
- return *recursive_any_with_type_field_at_end_;
- }
- inline const ::google::protobuf::testing::AnyWrapper& AnyTestCases::recursive_any_with_type_field_at_end() const {
- const ::google::protobuf::testing::AnyWrapper* p = recursive_any_with_type_field_at_end_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.recursive_any_with_type_field_at_end)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::AnyWrapper*>(
- &::google::protobuf::testing::_AnyWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::release_recursive_any_with_type_field_at_end() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.recursive_any_with_type_field_at_end)
-
- ::google::protobuf::testing::AnyWrapper* temp = recursive_any_with_type_field_at_end_;
- recursive_any_with_type_field_at_end_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::AnyWrapper* AnyTestCases::mutable_recursive_any_with_type_field_at_end() {
-
- if (recursive_any_with_type_field_at_end_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::AnyWrapper>(GetArenaNoVirtual());
- recursive_any_with_type_field_at_end_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.recursive_any_with_type_field_at_end)
- return recursive_any_with_type_field_at_end_;
- }
- inline void AnyTestCases::set_allocated_recursive_any_with_type_field_at_end(::google::protobuf::testing::AnyWrapper* recursive_any_with_type_field_at_end) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete recursive_any_with_type_field_at_end_;
- }
- if (recursive_any_with_type_field_at_end) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- recursive_any_with_type_field_at_end = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, recursive_any_with_type_field_at_end, submessage_arena);
- }
-
- } else {
-
- }
- recursive_any_with_type_field_at_end_ = recursive_any_with_type_field_at_end;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.recursive_any_with_type_field_at_end)
- }
- // .google.protobuf.Any top_level_any = 50;
- inline bool AnyTestCases::has_top_level_any() const {
- return this != internal_default_instance() && top_level_any_ != NULL;
- }
- inline const ::google::protobuf::Any& AnyTestCases::_internal_top_level_any() const {
- return *top_level_any_;
- }
- inline const ::google::protobuf::Any& AnyTestCases::top_level_any() const {
- const ::google::protobuf::Any* p = top_level_any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.top_level_any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>(
- &::google::protobuf::_Any_default_instance_);
- }
- inline ::google::protobuf::Any* AnyTestCases::release_top_level_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.top_level_any)
-
- ::google::protobuf::Any* temp = top_level_any_;
- top_level_any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Any* AnyTestCases::mutable_top_level_any() {
-
- if (top_level_any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
- top_level_any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.top_level_any)
- return top_level_any_;
- }
- inline void AnyTestCases::set_allocated_top_level_any(::google::protobuf::Any* top_level_any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_any_);
- }
- if (top_level_any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- top_level_any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_any, submessage_arena);
- }
-
- } else {
-
- }
- top_level_any_ = top_level_any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.top_level_any)
- }
- // .google.protobuf.Any top_level_any_with_type_field_at_end = 51;
- inline bool AnyTestCases::has_top_level_any_with_type_field_at_end() const {
- return this != internal_default_instance() && top_level_any_with_type_field_at_end_ != NULL;
- }
- inline const ::google::protobuf::Any& AnyTestCases::_internal_top_level_any_with_type_field_at_end() const {
- return *top_level_any_with_type_field_at_end_;
- }
- inline const ::google::protobuf::Any& AnyTestCases::top_level_any_with_type_field_at_end() const {
- const ::google::protobuf::Any* p = top_level_any_with_type_field_at_end_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyTestCases.top_level_any_with_type_field_at_end)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>(
- &::google::protobuf::_Any_default_instance_);
- }
- inline ::google::protobuf::Any* AnyTestCases::release_top_level_any_with_type_field_at_end() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyTestCases.top_level_any_with_type_field_at_end)
-
- ::google::protobuf::Any* temp = top_level_any_with_type_field_at_end_;
- top_level_any_with_type_field_at_end_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Any* AnyTestCases::mutable_top_level_any_with_type_field_at_end() {
-
- if (top_level_any_with_type_field_at_end_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
- top_level_any_with_type_field_at_end_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyTestCases.top_level_any_with_type_field_at_end)
- return top_level_any_with_type_field_at_end_;
- }
- inline void AnyTestCases::set_allocated_top_level_any_with_type_field_at_end(::google::protobuf::Any* top_level_any_with_type_field_at_end) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_any_with_type_field_at_end_);
- }
- if (top_level_any_with_type_field_at_end) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- top_level_any_with_type_field_at_end = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_any_with_type_field_at_end, submessage_arena);
- }
-
- } else {
-
- }
- top_level_any_with_type_field_at_end_ = top_level_any_with_type_field_at_end;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyTestCases.top_level_any_with_type_field_at_end)
- }
- // -------------------------------------------------------------------
- // AnyWrapper
- // .google.protobuf.Any any = 1;
- inline bool AnyWrapper::has_any() const {
- return this != internal_default_instance() && any_ != NULL;
- }
- inline const ::google::protobuf::Any& AnyWrapper::_internal_any() const {
- return *any_;
- }
- inline const ::google::protobuf::Any& AnyWrapper::any() const {
- const ::google::protobuf::Any* p = any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyWrapper.any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>(
- &::google::protobuf::_Any_default_instance_);
- }
- inline ::google::protobuf::Any* AnyWrapper::release_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyWrapper.any)
-
- ::google::protobuf::Any* temp = any_;
- any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Any* AnyWrapper::mutable_any() {
-
- if (any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
- any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyWrapper.any)
- return any_;
- }
- inline void AnyWrapper::set_allocated_any(::google::protobuf::Any* any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(any_);
- }
- if (any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any, submessage_arena);
- }
-
- } else {
-
- }
- any_ = any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyWrapper.any)
- }
- // -------------------------------------------------------------------
- // Imports
- // .google.protobuf.DoubleValue dbl = 1;
- inline bool Imports::has_dbl() const {
- return this != internal_default_instance() && dbl_ != NULL;
- }
- inline const ::google::protobuf::DoubleValue& Imports::_internal_dbl() const {
- return *dbl_;
- }
- inline const ::google::protobuf::DoubleValue& Imports::dbl() const {
- const ::google::protobuf::DoubleValue* p = dbl_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Imports.dbl)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::DoubleValue*>(
- &::google::protobuf::_DoubleValue_default_instance_);
- }
- inline ::google::protobuf::DoubleValue* Imports::release_dbl() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Imports.dbl)
-
- ::google::protobuf::DoubleValue* temp = dbl_;
- dbl_ = NULL;
- return temp;
- }
- inline ::google::protobuf::DoubleValue* Imports::mutable_dbl() {
-
- if (dbl_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::DoubleValue>(GetArenaNoVirtual());
- dbl_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Imports.dbl)
- return dbl_;
- }
- inline void Imports::set_allocated_dbl(::google::protobuf::DoubleValue* dbl) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(dbl_);
- }
- if (dbl) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(dbl)->GetArena();
- if (message_arena != submessage_arena) {
- dbl = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, dbl, submessage_arena);
- }
-
- } else {
-
- }
- dbl_ = dbl;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Imports.dbl)
- }
- // .google.protobuf.Struct struct = 2;
- inline bool Imports::has_struct_() const {
- return this != internal_default_instance() && struct__ != NULL;
- }
- inline const ::google::protobuf::Struct& Imports::_internal_struct_() const {
- return *struct__;
- }
- inline const ::google::protobuf::Struct& Imports::struct_() const {
- const ::google::protobuf::Struct* p = struct__;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Imports.struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Struct*>(
- &::google::protobuf::_Struct_default_instance_);
- }
- inline ::google::protobuf::Struct* Imports::release_struct_() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Imports.struct)
-
- ::google::protobuf::Struct* temp = struct__;
- struct__ = NULL;
- return temp;
- }
- inline ::google::protobuf::Struct* Imports::mutable_struct_() {
-
- if (struct__ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual());
- struct__ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Imports.struct)
- return struct__;
- }
- inline void Imports::set_allocated_struct_(::google::protobuf::Struct* struct_) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(struct__);
- }
- if (struct_) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(struct_)->GetArena();
- if (message_arena != submessage_arena) {
- struct_ = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_, submessage_arena);
- }
-
- } else {
-
- }
- struct__ = struct_;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Imports.struct)
- }
- // .google.protobuf.Timestamp timestamp = 3;
- inline bool Imports::has_timestamp() const {
- return this != internal_default_instance() && timestamp_ != NULL;
- }
- inline const ::google::protobuf::Timestamp& Imports::_internal_timestamp() const {
- return *timestamp_;
- }
- inline const ::google::protobuf::Timestamp& Imports::timestamp() const {
- const ::google::protobuf::Timestamp* p = timestamp_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Imports.timestamp)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Timestamp*>(
- &::google::protobuf::_Timestamp_default_instance_);
- }
- inline ::google::protobuf::Timestamp* Imports::release_timestamp() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Imports.timestamp)
-
- ::google::protobuf::Timestamp* temp = timestamp_;
- timestamp_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Timestamp* Imports::mutable_timestamp() {
-
- if (timestamp_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual());
- timestamp_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Imports.timestamp)
- return timestamp_;
- }
- inline void Imports::set_allocated_timestamp(::google::protobuf::Timestamp* timestamp) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(timestamp_);
- }
- if (timestamp) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(timestamp)->GetArena();
- if (message_arena != submessage_arena) {
- timestamp = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, timestamp, submessage_arena);
- }
-
- } else {
-
- }
- timestamp_ = timestamp;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Imports.timestamp)
- }
- // .google.protobuf.Duration duration = 4;
- inline bool Imports::has_duration() const {
- return this != internal_default_instance() && duration_ != NULL;
- }
- inline const ::google::protobuf::Duration& Imports::_internal_duration() const {
- return *duration_;
- }
- inline const ::google::protobuf::Duration& Imports::duration() const {
- const ::google::protobuf::Duration* p = duration_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Imports.duration)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Duration*>(
- &::google::protobuf::_Duration_default_instance_);
- }
- inline ::google::protobuf::Duration* Imports::release_duration() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Imports.duration)
-
- ::google::protobuf::Duration* temp = duration_;
- duration_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Duration* Imports::mutable_duration() {
-
- if (duration_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Duration>(GetArenaNoVirtual());
- duration_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Imports.duration)
- return duration_;
- }
- inline void Imports::set_allocated_duration(::google::protobuf::Duration* duration) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(duration_);
- }
- if (duration) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(duration)->GetArena();
- if (message_arena != submessage_arena) {
- duration = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, duration, submessage_arena);
- }
-
- } else {
-
- }
- duration_ = duration;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Imports.duration)
- }
- // .google.protobuf.Int32Value i32 = 5;
- inline bool Imports::has_i32() const {
- return this != internal_default_instance() && i32_ != NULL;
- }
- inline const ::google::protobuf::Int32Value& Imports::_internal_i32() const {
- return *i32_;
- }
- inline const ::google::protobuf::Int32Value& Imports::i32() const {
- const ::google::protobuf::Int32Value* p = i32_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Imports.i32)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Int32Value*>(
- &::google::protobuf::_Int32Value_default_instance_);
- }
- inline ::google::protobuf::Int32Value* Imports::release_i32() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Imports.i32)
-
- ::google::protobuf::Int32Value* temp = i32_;
- i32_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Int32Value* Imports::mutable_i32() {
-
- if (i32_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Int32Value>(GetArenaNoVirtual());
- i32_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Imports.i32)
- return i32_;
- }
- inline void Imports::set_allocated_i32(::google::protobuf::Int32Value* i32) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(i32_);
- }
- if (i32) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(i32)->GetArena();
- if (message_arena != submessage_arena) {
- i32 = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, i32, submessage_arena);
- }
-
- } else {
-
- }
- i32_ = i32;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Imports.i32)
- }
- // .google.protobuf.testing.Data data = 100;
- inline bool Imports::has_data() const {
- return this != internal_default_instance() && data_ != NULL;
- }
- inline void Imports::clear_data() {
- if (GetArenaNoVirtual() == NULL && data_ != NULL) {
- delete data_;
- }
- data_ = NULL;
- }
- inline const ::google::protobuf::testing::Data& Imports::_internal_data() const {
- return *data_;
- }
- inline const ::google::protobuf::testing::Data& Imports::data() const {
- const ::google::protobuf::testing::Data* p = data_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Imports.data)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::Data*>(
- &::google::protobuf::testing::_Data_default_instance_);
- }
- inline ::google::protobuf::testing::Data* Imports::release_data() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Imports.data)
-
- ::google::protobuf::testing::Data* temp = data_;
- data_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::Data* Imports::mutable_data() {
-
- if (data_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::Data>(GetArenaNoVirtual());
- data_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Imports.data)
- return data_;
- }
- inline void Imports::set_allocated_data(::google::protobuf::testing::Data* data) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete data_;
- }
- if (data) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- data = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, data, submessage_arena);
- }
-
- } else {
-
- }
- data_ = data;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Imports.data)
- }
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // Data
- // int32 attr = 1;
- inline void Data::clear_attr() {
- attr_ = 0;
- }
- inline ::google::protobuf::int32 Data::attr() const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.attr)
- return attr_;
- }
- inline void Data::set_attr(::google::protobuf::int32 value) {
-
- attr_ = value;
- // @@protoc_insertion_point(field_set:google.protobuf.testing.Data.attr)
- }
- // string str = 2;
- inline void Data::clear_str() {
- str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& Data::str() const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.str)
- return str_.GetNoArena();
- }
- inline void Data::set_str(const ::std::string& value) {
-
- str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:google.protobuf.testing.Data.str)
- }
- #if LANG_CXX11
- inline void Data::set_str(::std::string&& value) {
-
- str_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:google.protobuf.testing.Data.str)
- }
- #endif
- inline void Data::set_str(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:google.protobuf.testing.Data.str)
- }
- inline void Data::set_str(const char* value, size_t size) {
-
- str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.testing.Data.str)
- }
- inline ::std::string* Data::mutable_str() {
-
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Data.str)
- return str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Data::release_str() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Data.str)
-
- return str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Data::set_allocated_str(::std::string* str) {
- if (str != NULL) {
-
- } else {
-
- }
- str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), str);
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Data.str)
- }
- // repeated string msgs = 3;
- inline int Data::msgs_size() const {
- return msgs_.size();
- }
- inline void Data::clear_msgs() {
- msgs_.Clear();
- }
- inline const ::std::string& Data::msgs(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.msgs)
- return msgs_.Get(index);
- }
- inline ::std::string* Data::mutable_msgs(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Data.msgs)
- return msgs_.Mutable(index);
- }
- inline void Data::set_msgs(int index, const ::std::string& value) {
- // @@protoc_insertion_point(field_set:google.protobuf.testing.Data.msgs)
- msgs_.Mutable(index)->assign(value);
- }
- #if LANG_CXX11
- inline void Data::set_msgs(int index, ::std::string&& value) {
- // @@protoc_insertion_point(field_set:google.protobuf.testing.Data.msgs)
- msgs_.Mutable(index)->assign(std::move(value));
- }
- #endif
- inline void Data::set_msgs(int index, const char* value) {
- GOOGLE_DCHECK(value != NULL);
- msgs_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:google.protobuf.testing.Data.msgs)
- }
- inline void Data::set_msgs(int index, const char* value, size_t size) {
- msgs_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.testing.Data.msgs)
- }
- inline ::std::string* Data::add_msgs() {
- // @@protoc_insertion_point(field_add_mutable:google.protobuf.testing.Data.msgs)
- return msgs_.Add();
- }
- inline void Data::add_msgs(const ::std::string& value) {
- msgs_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:google.protobuf.testing.Data.msgs)
- }
- #if LANG_CXX11
- inline void Data::add_msgs(::std::string&& value) {
- msgs_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:google.protobuf.testing.Data.msgs)
- }
- #endif
- inline void Data::add_msgs(const char* value) {
- GOOGLE_DCHECK(value != NULL);
- msgs_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:google.protobuf.testing.Data.msgs)
- }
- inline void Data::add_msgs(const char* value, size_t size) {
- msgs_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:google.protobuf.testing.Data.msgs)
- }
- inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
- Data::msgs() const {
- // @@protoc_insertion_point(field_list:google.protobuf.testing.Data.msgs)
- return msgs_;
- }
- inline ::google::protobuf::RepeatedPtrField< ::std::string>*
- Data::mutable_msgs() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.testing.Data.msgs)
- return &msgs_;
- }
- // .google.protobuf.testing.Data nested_data = 4;
- inline bool Data::has_nested_data() const {
- return this != internal_default_instance() && nested_data_ != NULL;
- }
- inline void Data::clear_nested_data() {
- if (GetArenaNoVirtual() == NULL && nested_data_ != NULL) {
- delete nested_data_;
- }
- nested_data_ = NULL;
- }
- inline const ::google::protobuf::testing::Data& Data::_internal_nested_data() const {
- return *nested_data_;
- }
- inline const ::google::protobuf::testing::Data& Data::nested_data() const {
- const ::google::protobuf::testing::Data* p = nested_data_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.nested_data)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::Data*>(
- &::google::protobuf::testing::_Data_default_instance_);
- }
- inline ::google::protobuf::testing::Data* Data::release_nested_data() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Data.nested_data)
-
- ::google::protobuf::testing::Data* temp = nested_data_;
- nested_data_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::Data* Data::mutable_nested_data() {
-
- if (nested_data_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::Data>(GetArenaNoVirtual());
- nested_data_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Data.nested_data)
- return nested_data_;
- }
- inline void Data::set_allocated_nested_data(::google::protobuf::testing::Data* nested_data) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete nested_data_;
- }
- if (nested_data) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- nested_data = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, nested_data, submessage_arena);
- }
-
- } else {
-
- }
- nested_data_ = nested_data;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Data.nested_data)
- }
- // .google.protobuf.Int32Value int_wrapper = 5;
- inline bool Data::has_int_wrapper() const {
- return this != internal_default_instance() && int_wrapper_ != NULL;
- }
- inline const ::google::protobuf::Int32Value& Data::_internal_int_wrapper() const {
- return *int_wrapper_;
- }
- inline const ::google::protobuf::Int32Value& Data::int_wrapper() const {
- const ::google::protobuf::Int32Value* p = int_wrapper_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.int_wrapper)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Int32Value*>(
- &::google::protobuf::_Int32Value_default_instance_);
- }
- inline ::google::protobuf::Int32Value* Data::release_int_wrapper() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Data.int_wrapper)
-
- ::google::protobuf::Int32Value* temp = int_wrapper_;
- int_wrapper_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Int32Value* Data::mutable_int_wrapper() {
-
- if (int_wrapper_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Int32Value>(GetArenaNoVirtual());
- int_wrapper_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Data.int_wrapper)
- return int_wrapper_;
- }
- inline void Data::set_allocated_int_wrapper(::google::protobuf::Int32Value* int_wrapper) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(int_wrapper_);
- }
- if (int_wrapper) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(int_wrapper)->GetArena();
- if (message_arena != submessage_arena) {
- int_wrapper = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, int_wrapper, submessage_arena);
- }
-
- } else {
-
- }
- int_wrapper_ = int_wrapper;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Data.int_wrapper)
- }
- // .google.protobuf.Timestamp time = 6;
- inline bool Data::has_time() const {
- return this != internal_default_instance() && time_ != NULL;
- }
- inline const ::google::protobuf::Timestamp& Data::_internal_time() const {
- return *time_;
- }
- inline const ::google::protobuf::Timestamp& Data::time() const {
- const ::google::protobuf::Timestamp* p = time_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.time)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Timestamp*>(
- &::google::protobuf::_Timestamp_default_instance_);
- }
- inline ::google::protobuf::Timestamp* Data::release_time() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Data.time)
-
- ::google::protobuf::Timestamp* temp = time_;
- time_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Timestamp* Data::mutable_time() {
-
- if (time_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Timestamp>(GetArenaNoVirtual());
- time_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Data.time)
- return time_;
- }
- inline void Data::set_allocated_time(::google::protobuf::Timestamp* time) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(time_);
- }
- if (time) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(time)->GetArena();
- if (message_arena != submessage_arena) {
- time = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, time, submessage_arena);
- }
-
- } else {
-
- }
- time_ = time;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Data.time)
- }
- // map<string, string> map_data = 7;
- inline int Data::map_data_size() const {
- return map_data_.size();
- }
- inline void Data::clear_map_data() {
- map_data_.Clear();
- }
- inline const ::google::protobuf::Map< ::std::string, ::std::string >&
- Data::map_data() const {
- // @@protoc_insertion_point(field_map:google.protobuf.testing.Data.map_data)
- return map_data_.GetMap();
- }
- inline ::google::protobuf::Map< ::std::string, ::std::string >*
- Data::mutable_map_data() {
- // @@protoc_insertion_point(field_mutable_map:google.protobuf.testing.Data.map_data)
- return map_data_.MutableMap();
- }
- // .google.protobuf.Struct struct_data = 8;
- inline bool Data::has_struct_data() const {
- return this != internal_default_instance() && struct_data_ != NULL;
- }
- inline const ::google::protobuf::Struct& Data::_internal_struct_data() const {
- return *struct_data_;
- }
- inline const ::google::protobuf::Struct& Data::struct_data() const {
- const ::google::protobuf::Struct* p = struct_data_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.struct_data)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Struct*>(
- &::google::protobuf::_Struct_default_instance_);
- }
- inline ::google::protobuf::Struct* Data::release_struct_data() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Data.struct_data)
-
- ::google::protobuf::Struct* temp = struct_data_;
- struct_data_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Struct* Data::mutable_struct_data() {
-
- if (struct_data_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual());
- struct_data_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Data.struct_data)
- return struct_data_;
- }
- inline void Data::set_allocated_struct_data(::google::protobuf::Struct* struct_data) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(struct_data_);
- }
- if (struct_data) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(struct_data)->GetArena();
- if (message_arena != submessage_arena) {
- struct_data = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_data, submessage_arena);
- }
-
- } else {
-
- }
- struct_data_ = struct_data;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Data.struct_data)
- }
- // repeated .google.protobuf.testing.Data repeated_data = 9;
- inline int Data::repeated_data_size() const {
- return repeated_data_.size();
- }
- inline void Data::clear_repeated_data() {
- repeated_data_.Clear();
- }
- inline ::google::protobuf::testing::Data* Data::mutable_repeated_data(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Data.repeated_data)
- return repeated_data_.Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::testing::Data >*
- Data::mutable_repeated_data() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.testing.Data.repeated_data)
- return &repeated_data_;
- }
- inline const ::google::protobuf::testing::Data& Data::repeated_data(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Data.repeated_data)
- return repeated_data_.Get(index);
- }
- inline ::google::protobuf::testing::Data* Data::add_repeated_data() {
- // @@protoc_insertion_point(field_add:google.protobuf.testing.Data.repeated_data)
- return repeated_data_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::testing::Data >&
- Data::repeated_data() const {
- // @@protoc_insertion_point(field_list:google.protobuf.testing.Data.repeated_data)
- return repeated_data_;
- }
- // -------------------------------------------------------------------
- // AnyIn
- // string something = 1;
- inline void AnyIn::clear_something() {
- something_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& AnyIn::something() const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyIn.something)
- return something_.GetNoArena();
- }
- inline void AnyIn::set_something(const ::std::string& value) {
-
- something_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:google.protobuf.testing.AnyIn.something)
- }
- #if LANG_CXX11
- inline void AnyIn::set_something(::std::string&& value) {
-
- something_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:google.protobuf.testing.AnyIn.something)
- }
- #endif
- inline void AnyIn::set_something(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- something_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:google.protobuf.testing.AnyIn.something)
- }
- inline void AnyIn::set_something(const char* value, size_t size) {
-
- something_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.testing.AnyIn.something)
- }
- inline ::std::string* AnyIn::mutable_something() {
-
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyIn.something)
- return something_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* AnyIn::release_something() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyIn.something)
-
- return something_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void AnyIn::set_allocated_something(::std::string* something) {
- if (something != NULL) {
-
- } else {
-
- }
- something_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), something);
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyIn.something)
- }
- // .google.protobuf.Any any = 2;
- inline bool AnyIn::has_any() const {
- return this != internal_default_instance() && any_ != NULL;
- }
- inline const ::google::protobuf::Any& AnyIn::_internal_any() const {
- return *any_;
- }
- inline const ::google::protobuf::Any& AnyIn::any() const {
- const ::google::protobuf::Any* p = any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyIn.any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>(
- &::google::protobuf::_Any_default_instance_);
- }
- inline ::google::protobuf::Any* AnyIn::release_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyIn.any)
-
- ::google::protobuf::Any* temp = any_;
- any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Any* AnyIn::mutable_any() {
-
- if (any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
- any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyIn.any)
- return any_;
- }
- inline void AnyIn::set_allocated_any(::google::protobuf::Any* any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(any_);
- }
- if (any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any, submessage_arena);
- }
-
- } else {
-
- }
- any_ = any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyIn.any)
- }
- // -------------------------------------------------------------------
- // AnyOut
- // .google.protobuf.Any any = 1;
- inline bool AnyOut::has_any() const {
- return this != internal_default_instance() && any_ != NULL;
- }
- inline const ::google::protobuf::Any& AnyOut::_internal_any() const {
- return *any_;
- }
- inline const ::google::protobuf::Any& AnyOut::any() const {
- const ::google::protobuf::Any* p = any_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyOut.any)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Any*>(
- &::google::protobuf::_Any_default_instance_);
- }
- inline ::google::protobuf::Any* AnyOut::release_any() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyOut.any)
-
- ::google::protobuf::Any* temp = any_;
- any_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Any* AnyOut::mutable_any() {
-
- if (any_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Any>(GetArenaNoVirtual());
- any_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyOut.any)
- return any_;
- }
- inline void AnyOut::set_allocated_any(::google::protobuf::Any* any) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(any_);
- }
- if (any) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- any = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, any, submessage_arena);
- }
-
- } else {
-
- }
- any_ = any;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyOut.any)
- }
- // -------------------------------------------------------------------
- // AnyM
- // string foo = 1;
- inline void AnyM::clear_foo() {
- foo_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& AnyM::foo() const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.AnyM.foo)
- return foo_.GetNoArena();
- }
- inline void AnyM::set_foo(const ::std::string& value) {
-
- foo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:google.protobuf.testing.AnyM.foo)
- }
- #if LANG_CXX11
- inline void AnyM::set_foo(::std::string&& value) {
-
- foo_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:google.protobuf.testing.AnyM.foo)
- }
- #endif
- inline void AnyM::set_foo(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- foo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:google.protobuf.testing.AnyM.foo)
- }
- inline void AnyM::set_foo(const char* value, size_t size) {
-
- foo_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.testing.AnyM.foo)
- }
- inline ::std::string* AnyM::mutable_foo() {
-
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.AnyM.foo)
- return foo_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* AnyM::release_foo() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.AnyM.foo)
-
- return foo_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void AnyM::set_allocated_foo(::std::string* foo) {
- if (foo != NULL) {
-
- } else {
-
- }
- foo_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), foo);
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.AnyM.foo)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace testing
- } // namespace protobuf
- } // namespace google
- // @@protoc_insertion_point(global_scope)
- #endif // PROTOBUF_INCLUDED_google_2fprotobuf_2futil_2finternal_2ftestdata_2fanys_2eproto
|