| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: google/protobuf/util/internal/testdata/struct.proto
- #ifndef PROTOBUF_INCLUDED_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto
- #define PROTOBUF_INCLUDED_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_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/struct.pb.h>
- // @@protoc_insertion_point(includes)
- #define PROTOBUF_INTERNAL_EXPORT_protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto
- namespace protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_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[12];
- 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_2fstruct_2eproto
- namespace google {
- namespace protobuf {
- namespace testing {
- class Dummy;
- class DummyDefaultTypeInternal;
- extern DummyDefaultTypeInternal _Dummy_default_instance_;
- class ListValueWrapper;
- class ListValueWrapperDefaultTypeInternal;
- extern ListValueWrapperDefaultTypeInternal _ListValueWrapper_default_instance_;
- class MapOfStruct;
- class MapOfStructDefaultTypeInternal;
- extern MapOfStructDefaultTypeInternal _MapOfStruct_default_instance_;
- class MapOfStruct_ListvalueMapEntry_DoNotUse;
- class MapOfStruct_ListvalueMapEntry_DoNotUseDefaultTypeInternal;
- extern MapOfStruct_ListvalueMapEntry_DoNotUseDefaultTypeInternal _MapOfStruct_ListvalueMapEntry_DoNotUse_default_instance_;
- class MapOfStruct_StructMapEntry_DoNotUse;
- class MapOfStruct_StructMapEntry_DoNotUseDefaultTypeInternal;
- extern MapOfStruct_StructMapEntry_DoNotUseDefaultTypeInternal _MapOfStruct_StructMapEntry_DoNotUse_default_instance_;
- class MapOfStruct_ValueMapEntry_DoNotUse;
- class MapOfStruct_ValueMapEntry_DoNotUseDefaultTypeInternal;
- extern MapOfStruct_ValueMapEntry_DoNotUseDefaultTypeInternal _MapOfStruct_ValueMapEntry_DoNotUse_default_instance_;
- class RepeatedListValueWrapper;
- class RepeatedListValueWrapperDefaultTypeInternal;
- extern RepeatedListValueWrapperDefaultTypeInternal _RepeatedListValueWrapper_default_instance_;
- class RepeatedValueWrapper;
- class RepeatedValueWrapperDefaultTypeInternal;
- extern RepeatedValueWrapperDefaultTypeInternal _RepeatedValueWrapper_default_instance_;
- class StructTestCases;
- class StructTestCasesDefaultTypeInternal;
- extern StructTestCasesDefaultTypeInternal _StructTestCases_default_instance_;
- class StructType;
- class StructTypeDefaultTypeInternal;
- extern StructTypeDefaultTypeInternal _StructType_default_instance_;
- class StructWrapper;
- class StructWrapperDefaultTypeInternal;
- extern StructWrapperDefaultTypeInternal _StructWrapper_default_instance_;
- class ValueWrapper;
- class ValueWrapperDefaultTypeInternal;
- extern ValueWrapperDefaultTypeInternal _ValueWrapper_default_instance_;
- } // namespace testing
- } // namespace protobuf
- } // namespace google
- namespace google {
- namespace protobuf {
- template<> ::google::protobuf::testing::Dummy* Arena::CreateMaybeMessage<::google::protobuf::testing::Dummy>(Arena*);
- template<> ::google::protobuf::testing::ListValueWrapper* Arena::CreateMaybeMessage<::google::protobuf::testing::ListValueWrapper>(Arena*);
- template<> ::google::protobuf::testing::MapOfStruct* Arena::CreateMaybeMessage<::google::protobuf::testing::MapOfStruct>(Arena*);
- template<> ::google::protobuf::testing::MapOfStruct_ListvalueMapEntry_DoNotUse* Arena::CreateMaybeMessage<::google::protobuf::testing::MapOfStruct_ListvalueMapEntry_DoNotUse>(Arena*);
- template<> ::google::protobuf::testing::MapOfStruct_StructMapEntry_DoNotUse* Arena::CreateMaybeMessage<::google::protobuf::testing::MapOfStruct_StructMapEntry_DoNotUse>(Arena*);
- template<> ::google::protobuf::testing::MapOfStruct_ValueMapEntry_DoNotUse* Arena::CreateMaybeMessage<::google::protobuf::testing::MapOfStruct_ValueMapEntry_DoNotUse>(Arena*);
- template<> ::google::protobuf::testing::RepeatedListValueWrapper* Arena::CreateMaybeMessage<::google::protobuf::testing::RepeatedListValueWrapper>(Arena*);
- template<> ::google::protobuf::testing::RepeatedValueWrapper* Arena::CreateMaybeMessage<::google::protobuf::testing::RepeatedValueWrapper>(Arena*);
- template<> ::google::protobuf::testing::StructTestCases* Arena::CreateMaybeMessage<::google::protobuf::testing::StructTestCases>(Arena*);
- template<> ::google::protobuf::testing::StructType* Arena::CreateMaybeMessage<::google::protobuf::testing::StructType>(Arena*);
- template<> ::google::protobuf::testing::StructWrapper* Arena::CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(Arena*);
- template<> ::google::protobuf::testing::ValueWrapper* Arena::CreateMaybeMessage<::google::protobuf::testing::ValueWrapper>(Arena*);
- } // namespace protobuf
- } // namespace google
- namespace google {
- namespace protobuf {
- namespace testing {
- // ===================================================================
- class StructTestCases : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.StructTestCases) */ {
- public:
- StructTestCases();
- virtual ~StructTestCases();
- StructTestCases(const StructTestCases& from);
- inline StructTestCases& operator=(const StructTestCases& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- StructTestCases(StructTestCases&& from) noexcept
- : StructTestCases() {
- *this = ::std::move(from);
- }
- inline StructTestCases& operator=(StructTestCases&& 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 StructTestCases& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const StructTestCases* internal_default_instance() {
- return reinterpret_cast<const StructTestCases*>(
- &_StructTestCases_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- void Swap(StructTestCases* other);
- friend void swap(StructTestCases& a, StructTestCases& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline StructTestCases* New() const final {
- return CreateMaybeMessage<StructTestCases>(NULL);
- }
- StructTestCases* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<StructTestCases>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const StructTestCases& from);
- void MergeFrom(const StructTestCases& 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(StructTestCases* 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.StructWrapper empty_value = 1;
- bool has_empty_value() const;
- void clear_empty_value();
- static const int kEmptyValueFieldNumber = 1;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_empty_value() const;
- public:
- const ::google::protobuf::testing::StructWrapper& empty_value() const;
- ::google::protobuf::testing::StructWrapper* release_empty_value();
- ::google::protobuf::testing::StructWrapper* mutable_empty_value();
- void set_allocated_empty_value(::google::protobuf::testing::StructWrapper* empty_value);
- // .google.protobuf.testing.StructWrapper empty_value2 = 2;
- bool has_empty_value2() const;
- void clear_empty_value2();
- static const int kEmptyValue2FieldNumber = 2;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_empty_value2() const;
- public:
- const ::google::protobuf::testing::StructWrapper& empty_value2() const;
- ::google::protobuf::testing::StructWrapper* release_empty_value2();
- ::google::protobuf::testing::StructWrapper* mutable_empty_value2();
- void set_allocated_empty_value2(::google::protobuf::testing::StructWrapper* empty_value2);
- // .google.protobuf.testing.StructWrapper null_value = 3;
- bool has_null_value() const;
- void clear_null_value();
- static const int kNullValueFieldNumber = 3;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_null_value() const;
- public:
- const ::google::protobuf::testing::StructWrapper& null_value() const;
- ::google::protobuf::testing::StructWrapper* release_null_value();
- ::google::protobuf::testing::StructWrapper* mutable_null_value();
- void set_allocated_null_value(::google::protobuf::testing::StructWrapper* null_value);
- // .google.protobuf.testing.StructWrapper simple_struct = 4;
- bool has_simple_struct() const;
- void clear_simple_struct();
- static const int kSimpleStructFieldNumber = 4;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_simple_struct() const;
- public:
- const ::google::protobuf::testing::StructWrapper& simple_struct() const;
- ::google::protobuf::testing::StructWrapper* release_simple_struct();
- ::google::protobuf::testing::StructWrapper* mutable_simple_struct();
- void set_allocated_simple_struct(::google::protobuf::testing::StructWrapper* simple_struct);
- // .google.protobuf.testing.StructWrapper longer_struct = 5;
- bool has_longer_struct() const;
- void clear_longer_struct();
- static const int kLongerStructFieldNumber = 5;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_longer_struct() const;
- public:
- const ::google::protobuf::testing::StructWrapper& longer_struct() const;
- ::google::protobuf::testing::StructWrapper* release_longer_struct();
- ::google::protobuf::testing::StructWrapper* mutable_longer_struct();
- void set_allocated_longer_struct(::google::protobuf::testing::StructWrapper* longer_struct);
- // .google.protobuf.testing.StructWrapper struct_with_nested_struct = 6;
- bool has_struct_with_nested_struct() const;
- void clear_struct_with_nested_struct();
- static const int kStructWithNestedStructFieldNumber = 6;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_struct_with_nested_struct() const;
- public:
- const ::google::protobuf::testing::StructWrapper& struct_with_nested_struct() const;
- ::google::protobuf::testing::StructWrapper* release_struct_with_nested_struct();
- ::google::protobuf::testing::StructWrapper* mutable_struct_with_nested_struct();
- void set_allocated_struct_with_nested_struct(::google::protobuf::testing::StructWrapper* struct_with_nested_struct);
- // .google.protobuf.testing.StructWrapper struct_with_nested_list = 7;
- bool has_struct_with_nested_list() const;
- void clear_struct_with_nested_list();
- static const int kStructWithNestedListFieldNumber = 7;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_struct_with_nested_list() const;
- public:
- const ::google::protobuf::testing::StructWrapper& struct_with_nested_list() const;
- ::google::protobuf::testing::StructWrapper* release_struct_with_nested_list();
- ::google::protobuf::testing::StructWrapper* mutable_struct_with_nested_list();
- void set_allocated_struct_with_nested_list(::google::protobuf::testing::StructWrapper* struct_with_nested_list);
- // .google.protobuf.testing.StructWrapper struct_with_list_of_nulls = 8;
- bool has_struct_with_list_of_nulls() const;
- void clear_struct_with_list_of_nulls();
- static const int kStructWithListOfNullsFieldNumber = 8;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_struct_with_list_of_nulls() const;
- public:
- const ::google::protobuf::testing::StructWrapper& struct_with_list_of_nulls() const;
- ::google::protobuf::testing::StructWrapper* release_struct_with_list_of_nulls();
- ::google::protobuf::testing::StructWrapper* mutable_struct_with_list_of_nulls();
- void set_allocated_struct_with_list_of_nulls(::google::protobuf::testing::StructWrapper* struct_with_list_of_nulls);
- // .google.protobuf.testing.StructWrapper struct_with_list_of_lists = 9;
- bool has_struct_with_list_of_lists() const;
- void clear_struct_with_list_of_lists();
- static const int kStructWithListOfListsFieldNumber = 9;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_struct_with_list_of_lists() const;
- public:
- const ::google::protobuf::testing::StructWrapper& struct_with_list_of_lists() const;
- ::google::protobuf::testing::StructWrapper* release_struct_with_list_of_lists();
- ::google::protobuf::testing::StructWrapper* mutable_struct_with_list_of_lists();
- void set_allocated_struct_with_list_of_lists(::google::protobuf::testing::StructWrapper* struct_with_list_of_lists);
- // .google.protobuf.testing.StructWrapper struct_with_list_of_structs = 10;
- bool has_struct_with_list_of_structs() const;
- void clear_struct_with_list_of_structs();
- static const int kStructWithListOfStructsFieldNumber = 10;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_struct_with_list_of_structs() const;
- public:
- const ::google::protobuf::testing::StructWrapper& struct_with_list_of_structs() const;
- ::google::protobuf::testing::StructWrapper* release_struct_with_list_of_structs();
- ::google::protobuf::testing::StructWrapper* mutable_struct_with_list_of_structs();
- void set_allocated_struct_with_list_of_structs(::google::protobuf::testing::StructWrapper* struct_with_list_of_structs);
- // .google.protobuf.testing.StructWrapper struct_with_empty_list = 11;
- bool has_struct_with_empty_list() const;
- void clear_struct_with_empty_list();
- static const int kStructWithEmptyListFieldNumber = 11;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_struct_with_empty_list() const;
- public:
- const ::google::protobuf::testing::StructWrapper& struct_with_empty_list() const;
- ::google::protobuf::testing::StructWrapper* release_struct_with_empty_list();
- ::google::protobuf::testing::StructWrapper* mutable_struct_with_empty_list();
- void set_allocated_struct_with_empty_list(::google::protobuf::testing::StructWrapper* struct_with_empty_list);
- // .google.protobuf.testing.StructWrapper struct_with_list_with_empty_struct = 12;
- bool has_struct_with_list_with_empty_struct() const;
- void clear_struct_with_list_with_empty_struct();
- static const int kStructWithListWithEmptyStructFieldNumber = 12;
- private:
- const ::google::protobuf::testing::StructWrapper& _internal_struct_with_list_with_empty_struct() const;
- public:
- const ::google::protobuf::testing::StructWrapper& struct_with_list_with_empty_struct() const;
- ::google::protobuf::testing::StructWrapper* release_struct_with_list_with_empty_struct();
- ::google::protobuf::testing::StructWrapper* mutable_struct_with_list_with_empty_struct();
- void set_allocated_struct_with_list_with_empty_struct(::google::protobuf::testing::StructWrapper* struct_with_list_with_empty_struct);
- // .google.protobuf.Struct top_level_struct = 13;
- bool has_top_level_struct() const;
- void clear_top_level_struct();
- static const int kTopLevelStructFieldNumber = 13;
- private:
- const ::google::protobuf::Struct& _internal_top_level_struct() const;
- public:
- const ::google::protobuf::Struct& top_level_struct() const;
- ::google::protobuf::Struct* release_top_level_struct();
- ::google::protobuf::Struct* mutable_top_level_struct();
- void set_allocated_top_level_struct(::google::protobuf::Struct* top_level_struct);
- // .google.protobuf.Struct top_level_struct_with_empty_list = 14;
- bool has_top_level_struct_with_empty_list() const;
- void clear_top_level_struct_with_empty_list();
- static const int kTopLevelStructWithEmptyListFieldNumber = 14;
- private:
- const ::google::protobuf::Struct& _internal_top_level_struct_with_empty_list() const;
- public:
- const ::google::protobuf::Struct& top_level_struct_with_empty_list() const;
- ::google::protobuf::Struct* release_top_level_struct_with_empty_list();
- ::google::protobuf::Struct* mutable_top_level_struct_with_empty_list();
- void set_allocated_top_level_struct_with_empty_list(::google::protobuf::Struct* top_level_struct_with_empty_list);
- // .google.protobuf.Struct top_level_struct_with_list_with_empty_struct = 15;
- bool has_top_level_struct_with_list_with_empty_struct() const;
- void clear_top_level_struct_with_list_with_empty_struct();
- static const int kTopLevelStructWithListWithEmptyStructFieldNumber = 15;
- private:
- const ::google::protobuf::Struct& _internal_top_level_struct_with_list_with_empty_struct() const;
- public:
- const ::google::protobuf::Struct& top_level_struct_with_list_with_empty_struct() const;
- ::google::protobuf::Struct* release_top_level_struct_with_list_with_empty_struct();
- ::google::protobuf::Struct* mutable_top_level_struct_with_list_with_empty_struct();
- void set_allocated_top_level_struct_with_list_with_empty_struct(::google::protobuf::Struct* top_level_struct_with_list_with_empty_struct);
- // .google.protobuf.testing.ValueWrapper value_wrapper_simple = 16;
- bool has_value_wrapper_simple() const;
- void clear_value_wrapper_simple();
- static const int kValueWrapperSimpleFieldNumber = 16;
- private:
- const ::google::protobuf::testing::ValueWrapper& _internal_value_wrapper_simple() const;
- public:
- const ::google::protobuf::testing::ValueWrapper& value_wrapper_simple() const;
- ::google::protobuf::testing::ValueWrapper* release_value_wrapper_simple();
- ::google::protobuf::testing::ValueWrapper* mutable_value_wrapper_simple();
- void set_allocated_value_wrapper_simple(::google::protobuf::testing::ValueWrapper* value_wrapper_simple);
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_struct = 17;
- bool has_value_wrapper_with_struct() const;
- void clear_value_wrapper_with_struct();
- static const int kValueWrapperWithStructFieldNumber = 17;
- private:
- const ::google::protobuf::testing::ValueWrapper& _internal_value_wrapper_with_struct() const;
- public:
- const ::google::protobuf::testing::ValueWrapper& value_wrapper_with_struct() const;
- ::google::protobuf::testing::ValueWrapper* release_value_wrapper_with_struct();
- ::google::protobuf::testing::ValueWrapper* mutable_value_wrapper_with_struct();
- void set_allocated_value_wrapper_with_struct(::google::protobuf::testing::ValueWrapper* value_wrapper_with_struct);
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_list = 18;
- bool has_value_wrapper_with_list() const;
- void clear_value_wrapper_with_list();
- static const int kValueWrapperWithListFieldNumber = 18;
- private:
- const ::google::protobuf::testing::ValueWrapper& _internal_value_wrapper_with_list() const;
- public:
- const ::google::protobuf::testing::ValueWrapper& value_wrapper_with_list() const;
- ::google::protobuf::testing::ValueWrapper* release_value_wrapper_with_list();
- ::google::protobuf::testing::ValueWrapper* mutable_value_wrapper_with_list();
- void set_allocated_value_wrapper_with_list(::google::protobuf::testing::ValueWrapper* value_wrapper_with_list);
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_empty_list = 19;
- bool has_value_wrapper_with_empty_list() const;
- void clear_value_wrapper_with_empty_list();
- static const int kValueWrapperWithEmptyListFieldNumber = 19;
- private:
- const ::google::protobuf::testing::ValueWrapper& _internal_value_wrapper_with_empty_list() const;
- public:
- const ::google::protobuf::testing::ValueWrapper& value_wrapper_with_empty_list() const;
- ::google::protobuf::testing::ValueWrapper* release_value_wrapper_with_empty_list();
- ::google::protobuf::testing::ValueWrapper* mutable_value_wrapper_with_empty_list();
- void set_allocated_value_wrapper_with_empty_list(::google::protobuf::testing::ValueWrapper* value_wrapper_with_empty_list);
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_list_with_empty_struct = 20;
- bool has_value_wrapper_with_list_with_empty_struct() const;
- void clear_value_wrapper_with_list_with_empty_struct();
- static const int kValueWrapperWithListWithEmptyStructFieldNumber = 20;
- private:
- const ::google::protobuf::testing::ValueWrapper& _internal_value_wrapper_with_list_with_empty_struct() const;
- public:
- const ::google::protobuf::testing::ValueWrapper& value_wrapper_with_list_with_empty_struct() const;
- ::google::protobuf::testing::ValueWrapper* release_value_wrapper_with_list_with_empty_struct();
- ::google::protobuf::testing::ValueWrapper* mutable_value_wrapper_with_list_with_empty_struct();
- void set_allocated_value_wrapper_with_list_with_empty_struct(::google::protobuf::testing::ValueWrapper* value_wrapper_with_list_with_empty_struct);
- // .google.protobuf.testing.ListValueWrapper list_value_wrapper = 21;
- bool has_list_value_wrapper() const;
- void clear_list_value_wrapper();
- static const int kListValueWrapperFieldNumber = 21;
- private:
- const ::google::protobuf::testing::ListValueWrapper& _internal_list_value_wrapper() const;
- public:
- const ::google::protobuf::testing::ListValueWrapper& list_value_wrapper() const;
- ::google::protobuf::testing::ListValueWrapper* release_list_value_wrapper();
- ::google::protobuf::testing::ListValueWrapper* mutable_list_value_wrapper();
- void set_allocated_list_value_wrapper(::google::protobuf::testing::ListValueWrapper* list_value_wrapper);
- // .google.protobuf.testing.ListValueWrapper list_value_wrapper_with_empty_list = 22;
- bool has_list_value_wrapper_with_empty_list() const;
- void clear_list_value_wrapper_with_empty_list();
- static const int kListValueWrapperWithEmptyListFieldNumber = 22;
- private:
- const ::google::protobuf::testing::ListValueWrapper& _internal_list_value_wrapper_with_empty_list() const;
- public:
- const ::google::protobuf::testing::ListValueWrapper& list_value_wrapper_with_empty_list() const;
- ::google::protobuf::testing::ListValueWrapper* release_list_value_wrapper_with_empty_list();
- ::google::protobuf::testing::ListValueWrapper* mutable_list_value_wrapper_with_empty_list();
- void set_allocated_list_value_wrapper_with_empty_list(::google::protobuf::testing::ListValueWrapper* list_value_wrapper_with_empty_list);
- // .google.protobuf.testing.ListValueWrapper list_value_wrapper_with_list_with_empty_struct = 23;
- bool has_list_value_wrapper_with_list_with_empty_struct() const;
- void clear_list_value_wrapper_with_list_with_empty_struct();
- static const int kListValueWrapperWithListWithEmptyStructFieldNumber = 23;
- private:
- const ::google::protobuf::testing::ListValueWrapper& _internal_list_value_wrapper_with_list_with_empty_struct() const;
- public:
- const ::google::protobuf::testing::ListValueWrapper& list_value_wrapper_with_list_with_empty_struct() const;
- ::google::protobuf::testing::ListValueWrapper* release_list_value_wrapper_with_list_with_empty_struct();
- ::google::protobuf::testing::ListValueWrapper* mutable_list_value_wrapper_with_list_with_empty_struct();
- void set_allocated_list_value_wrapper_with_list_with_empty_struct(::google::protobuf::testing::ListValueWrapper* list_value_wrapper_with_list_with_empty_struct);
- // .google.protobuf.Value top_level_value_simple = 24;
- bool has_top_level_value_simple() const;
- void clear_top_level_value_simple();
- static const int kTopLevelValueSimpleFieldNumber = 24;
- private:
- const ::google::protobuf::Value& _internal_top_level_value_simple() const;
- public:
- const ::google::protobuf::Value& top_level_value_simple() const;
- ::google::protobuf::Value* release_top_level_value_simple();
- ::google::protobuf::Value* mutable_top_level_value_simple();
- void set_allocated_top_level_value_simple(::google::protobuf::Value* top_level_value_simple);
- // .google.protobuf.Value top_level_value_with_struct = 25;
- bool has_top_level_value_with_struct() const;
- void clear_top_level_value_with_struct();
- static const int kTopLevelValueWithStructFieldNumber = 25;
- private:
- const ::google::protobuf::Value& _internal_top_level_value_with_struct() const;
- public:
- const ::google::protobuf::Value& top_level_value_with_struct() const;
- ::google::protobuf::Value* release_top_level_value_with_struct();
- ::google::protobuf::Value* mutable_top_level_value_with_struct();
- void set_allocated_top_level_value_with_struct(::google::protobuf::Value* top_level_value_with_struct);
- // .google.protobuf.Value top_level_value_with_list = 26;
- bool has_top_level_value_with_list() const;
- void clear_top_level_value_with_list();
- static const int kTopLevelValueWithListFieldNumber = 26;
- private:
- const ::google::protobuf::Value& _internal_top_level_value_with_list() const;
- public:
- const ::google::protobuf::Value& top_level_value_with_list() const;
- ::google::protobuf::Value* release_top_level_value_with_list();
- ::google::protobuf::Value* mutable_top_level_value_with_list();
- void set_allocated_top_level_value_with_list(::google::protobuf::Value* top_level_value_with_list);
- // .google.protobuf.Value top_level_value_with_empty_list = 27;
- bool has_top_level_value_with_empty_list() const;
- void clear_top_level_value_with_empty_list();
- static const int kTopLevelValueWithEmptyListFieldNumber = 27;
- private:
- const ::google::protobuf::Value& _internal_top_level_value_with_empty_list() const;
- public:
- const ::google::protobuf::Value& top_level_value_with_empty_list() const;
- ::google::protobuf::Value* release_top_level_value_with_empty_list();
- ::google::protobuf::Value* mutable_top_level_value_with_empty_list();
- void set_allocated_top_level_value_with_empty_list(::google::protobuf::Value* top_level_value_with_empty_list);
- // .google.protobuf.Value top_level_value_with_list_with_empty_struct = 28;
- bool has_top_level_value_with_list_with_empty_struct() const;
- void clear_top_level_value_with_list_with_empty_struct();
- static const int kTopLevelValueWithListWithEmptyStructFieldNumber = 28;
- private:
- const ::google::protobuf::Value& _internal_top_level_value_with_list_with_empty_struct() const;
- public:
- const ::google::protobuf::Value& top_level_value_with_list_with_empty_struct() const;
- ::google::protobuf::Value* release_top_level_value_with_list_with_empty_struct();
- ::google::protobuf::Value* mutable_top_level_value_with_list_with_empty_struct();
- void set_allocated_top_level_value_with_list_with_empty_struct(::google::protobuf::Value* top_level_value_with_list_with_empty_struct);
- // .google.protobuf.ListValue top_level_listvalue = 29;
- bool has_top_level_listvalue() const;
- void clear_top_level_listvalue();
- static const int kTopLevelListvalueFieldNumber = 29;
- private:
- const ::google::protobuf::ListValue& _internal_top_level_listvalue() const;
- public:
- const ::google::protobuf::ListValue& top_level_listvalue() const;
- ::google::protobuf::ListValue* release_top_level_listvalue();
- ::google::protobuf::ListValue* mutable_top_level_listvalue();
- void set_allocated_top_level_listvalue(::google::protobuf::ListValue* top_level_listvalue);
- // .google.protobuf.ListValue top_level_empty_listvalue = 30;
- bool has_top_level_empty_listvalue() const;
- void clear_top_level_empty_listvalue();
- static const int kTopLevelEmptyListvalueFieldNumber = 30;
- private:
- const ::google::protobuf::ListValue& _internal_top_level_empty_listvalue() const;
- public:
- const ::google::protobuf::ListValue& top_level_empty_listvalue() const;
- ::google::protobuf::ListValue* release_top_level_empty_listvalue();
- ::google::protobuf::ListValue* mutable_top_level_empty_listvalue();
- void set_allocated_top_level_empty_listvalue(::google::protobuf::ListValue* top_level_empty_listvalue);
- // .google.protobuf.ListValue top_level_listvalue_with_empty_struct = 31;
- bool has_top_level_listvalue_with_empty_struct() const;
- void clear_top_level_listvalue_with_empty_struct();
- static const int kTopLevelListvalueWithEmptyStructFieldNumber = 31;
- private:
- const ::google::protobuf::ListValue& _internal_top_level_listvalue_with_empty_struct() const;
- public:
- const ::google::protobuf::ListValue& top_level_listvalue_with_empty_struct() const;
- ::google::protobuf::ListValue* release_top_level_listvalue_with_empty_struct();
- ::google::protobuf::ListValue* mutable_top_level_listvalue_with_empty_struct();
- void set_allocated_top_level_listvalue_with_empty_struct(::google::protobuf::ListValue* top_level_listvalue_with_empty_struct);
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value = 32;
- bool has_repeated_value() const;
- void clear_repeated_value();
- static const int kRepeatedValueFieldNumber = 32;
- private:
- const ::google::protobuf::testing::RepeatedValueWrapper& _internal_repeated_value() const;
- public:
- const ::google::protobuf::testing::RepeatedValueWrapper& repeated_value() const;
- ::google::protobuf::testing::RepeatedValueWrapper* release_repeated_value();
- ::google::protobuf::testing::RepeatedValueWrapper* mutable_repeated_value();
- void set_allocated_repeated_value(::google::protobuf::testing::RepeatedValueWrapper* repeated_value);
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value_nested_list = 33;
- bool has_repeated_value_nested_list() const;
- void clear_repeated_value_nested_list();
- static const int kRepeatedValueNestedListFieldNumber = 33;
- private:
- const ::google::protobuf::testing::RepeatedValueWrapper& _internal_repeated_value_nested_list() const;
- public:
- const ::google::protobuf::testing::RepeatedValueWrapper& repeated_value_nested_list() const;
- ::google::protobuf::testing::RepeatedValueWrapper* release_repeated_value_nested_list();
- ::google::protobuf::testing::RepeatedValueWrapper* mutable_repeated_value_nested_list();
- void set_allocated_repeated_value_nested_list(::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list);
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value_nested_list2 = 34;
- bool has_repeated_value_nested_list2() const;
- void clear_repeated_value_nested_list2();
- static const int kRepeatedValueNestedList2FieldNumber = 34;
- private:
- const ::google::protobuf::testing::RepeatedValueWrapper& _internal_repeated_value_nested_list2() const;
- public:
- const ::google::protobuf::testing::RepeatedValueWrapper& repeated_value_nested_list2() const;
- ::google::protobuf::testing::RepeatedValueWrapper* release_repeated_value_nested_list2();
- ::google::protobuf::testing::RepeatedValueWrapper* mutable_repeated_value_nested_list2();
- void set_allocated_repeated_value_nested_list2(::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list2);
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value_nested_list3 = 35;
- bool has_repeated_value_nested_list3() const;
- void clear_repeated_value_nested_list3();
- static const int kRepeatedValueNestedList3FieldNumber = 35;
- private:
- const ::google::protobuf::testing::RepeatedValueWrapper& _internal_repeated_value_nested_list3() const;
- public:
- const ::google::protobuf::testing::RepeatedValueWrapper& repeated_value_nested_list3() const;
- ::google::protobuf::testing::RepeatedValueWrapper* release_repeated_value_nested_list3();
- ::google::protobuf::testing::RepeatedValueWrapper* mutable_repeated_value_nested_list3();
- void set_allocated_repeated_value_nested_list3(::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list3);
- // .google.protobuf.testing.RepeatedListValueWrapper repeated_listvalue = 36;
- bool has_repeated_listvalue() const;
- void clear_repeated_listvalue();
- static const int kRepeatedListvalueFieldNumber = 36;
- private:
- const ::google::protobuf::testing::RepeatedListValueWrapper& _internal_repeated_listvalue() const;
- public:
- const ::google::protobuf::testing::RepeatedListValueWrapper& repeated_listvalue() const;
- ::google::protobuf::testing::RepeatedListValueWrapper* release_repeated_listvalue();
- ::google::protobuf::testing::RepeatedListValueWrapper* mutable_repeated_listvalue();
- void set_allocated_repeated_listvalue(::google::protobuf::testing::RepeatedListValueWrapper* repeated_listvalue);
- // .google.protobuf.testing.MapOfStruct map_of_struct = 37;
- bool has_map_of_struct() const;
- void clear_map_of_struct();
- static const int kMapOfStructFieldNumber = 37;
- private:
- const ::google::protobuf::testing::MapOfStruct& _internal_map_of_struct() const;
- public:
- const ::google::protobuf::testing::MapOfStruct& map_of_struct() const;
- ::google::protobuf::testing::MapOfStruct* release_map_of_struct();
- ::google::protobuf::testing::MapOfStruct* mutable_map_of_struct();
- void set_allocated_map_of_struct(::google::protobuf::testing::MapOfStruct* map_of_struct);
- // .google.protobuf.testing.MapOfStruct map_of_struct_value = 38;
- bool has_map_of_struct_value() const;
- void clear_map_of_struct_value();
- static const int kMapOfStructValueFieldNumber = 38;
- private:
- const ::google::protobuf::testing::MapOfStruct& _internal_map_of_struct_value() const;
- public:
- const ::google::protobuf::testing::MapOfStruct& map_of_struct_value() const;
- ::google::protobuf::testing::MapOfStruct* release_map_of_struct_value();
- ::google::protobuf::testing::MapOfStruct* mutable_map_of_struct_value();
- void set_allocated_map_of_struct_value(::google::protobuf::testing::MapOfStruct* map_of_struct_value);
- // .google.protobuf.testing.MapOfStruct map_of_listvalue = 39;
- bool has_map_of_listvalue() const;
- void clear_map_of_listvalue();
- static const int kMapOfListvalueFieldNumber = 39;
- private:
- const ::google::protobuf::testing::MapOfStruct& _internal_map_of_listvalue() const;
- public:
- const ::google::protobuf::testing::MapOfStruct& map_of_listvalue() const;
- ::google::protobuf::testing::MapOfStruct* release_map_of_listvalue();
- ::google::protobuf::testing::MapOfStruct* mutable_map_of_listvalue();
- void set_allocated_map_of_listvalue(::google::protobuf::testing::MapOfStruct* map_of_listvalue);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.StructTestCases)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::testing::StructWrapper* empty_value_;
- ::google::protobuf::testing::StructWrapper* empty_value2_;
- ::google::protobuf::testing::StructWrapper* null_value_;
- ::google::protobuf::testing::StructWrapper* simple_struct_;
- ::google::protobuf::testing::StructWrapper* longer_struct_;
- ::google::protobuf::testing::StructWrapper* struct_with_nested_struct_;
- ::google::protobuf::testing::StructWrapper* struct_with_nested_list_;
- ::google::protobuf::testing::StructWrapper* struct_with_list_of_nulls_;
- ::google::protobuf::testing::StructWrapper* struct_with_list_of_lists_;
- ::google::protobuf::testing::StructWrapper* struct_with_list_of_structs_;
- ::google::protobuf::testing::StructWrapper* struct_with_empty_list_;
- ::google::protobuf::testing::StructWrapper* struct_with_list_with_empty_struct_;
- ::google::protobuf::Struct* top_level_struct_;
- ::google::protobuf::Struct* top_level_struct_with_empty_list_;
- ::google::protobuf::Struct* top_level_struct_with_list_with_empty_struct_;
- ::google::protobuf::testing::ValueWrapper* value_wrapper_simple_;
- ::google::protobuf::testing::ValueWrapper* value_wrapper_with_struct_;
- ::google::protobuf::testing::ValueWrapper* value_wrapper_with_list_;
- ::google::protobuf::testing::ValueWrapper* value_wrapper_with_empty_list_;
- ::google::protobuf::testing::ValueWrapper* value_wrapper_with_list_with_empty_struct_;
- ::google::protobuf::testing::ListValueWrapper* list_value_wrapper_;
- ::google::protobuf::testing::ListValueWrapper* list_value_wrapper_with_empty_list_;
- ::google::protobuf::testing::ListValueWrapper* list_value_wrapper_with_list_with_empty_struct_;
- ::google::protobuf::Value* top_level_value_simple_;
- ::google::protobuf::Value* top_level_value_with_struct_;
- ::google::protobuf::Value* top_level_value_with_list_;
- ::google::protobuf::Value* top_level_value_with_empty_list_;
- ::google::protobuf::Value* top_level_value_with_list_with_empty_struct_;
- ::google::protobuf::ListValue* top_level_listvalue_;
- ::google::protobuf::ListValue* top_level_empty_listvalue_;
- ::google::protobuf::ListValue* top_level_listvalue_with_empty_struct_;
- ::google::protobuf::testing::RepeatedValueWrapper* repeated_value_;
- ::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list_;
- ::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list2_;
- ::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list3_;
- ::google::protobuf::testing::RepeatedListValueWrapper* repeated_listvalue_;
- ::google::protobuf::testing::MapOfStruct* map_of_struct_;
- ::google::protobuf::testing::MapOfStruct* map_of_struct_value_;
- ::google::protobuf::testing::MapOfStruct* map_of_listvalue_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class StructWrapper : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.StructWrapper) */ {
- public:
- StructWrapper();
- virtual ~StructWrapper();
- StructWrapper(const StructWrapper& from);
- inline StructWrapper& operator=(const StructWrapper& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- StructWrapper(StructWrapper&& from) noexcept
- : StructWrapper() {
- *this = ::std::move(from);
- }
- inline StructWrapper& operator=(StructWrapper&& 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 StructWrapper& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const StructWrapper* internal_default_instance() {
- return reinterpret_cast<const StructWrapper*>(
- &_StructWrapper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- void Swap(StructWrapper* other);
- friend void swap(StructWrapper& a, StructWrapper& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline StructWrapper* New() const final {
- return CreateMaybeMessage<StructWrapper>(NULL);
- }
- StructWrapper* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<StructWrapper>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const StructWrapper& from);
- void MergeFrom(const StructWrapper& 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(StructWrapper* 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.Struct struct = 1;
- bool has_struct_() const;
- void clear_struct_();
- static const int kStructFieldNumber = 1;
- 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_);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.StructWrapper)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::Struct* struct__;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class ValueWrapper : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.ValueWrapper) */ {
- public:
- ValueWrapper();
- virtual ~ValueWrapper();
- ValueWrapper(const ValueWrapper& from);
- inline ValueWrapper& operator=(const ValueWrapper& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- ValueWrapper(ValueWrapper&& from) noexcept
- : ValueWrapper() {
- *this = ::std::move(from);
- }
- inline ValueWrapper& operator=(ValueWrapper&& 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 ValueWrapper& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const ValueWrapper* internal_default_instance() {
- return reinterpret_cast<const ValueWrapper*>(
- &_ValueWrapper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- void Swap(ValueWrapper* other);
- friend void swap(ValueWrapper& a, ValueWrapper& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline ValueWrapper* New() const final {
- return CreateMaybeMessage<ValueWrapper>(NULL);
- }
- ValueWrapper* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<ValueWrapper>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const ValueWrapper& from);
- void MergeFrom(const ValueWrapper& 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(ValueWrapper* 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.Value value = 1;
- bool has_value() const;
- void clear_value();
- static const int kValueFieldNumber = 1;
- private:
- const ::google::protobuf::Value& _internal_value() const;
- public:
- const ::google::protobuf::Value& value() const;
- ::google::protobuf::Value* release_value();
- ::google::protobuf::Value* mutable_value();
- void set_allocated_value(::google::protobuf::Value* value);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.ValueWrapper)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::Value* value_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class RepeatedValueWrapper : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.RepeatedValueWrapper) */ {
- public:
- RepeatedValueWrapper();
- virtual ~RepeatedValueWrapper();
- RepeatedValueWrapper(const RepeatedValueWrapper& from);
- inline RepeatedValueWrapper& operator=(const RepeatedValueWrapper& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- RepeatedValueWrapper(RepeatedValueWrapper&& from) noexcept
- : RepeatedValueWrapper() {
- *this = ::std::move(from);
- }
- inline RepeatedValueWrapper& operator=(RepeatedValueWrapper&& 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 RepeatedValueWrapper& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const RepeatedValueWrapper* internal_default_instance() {
- return reinterpret_cast<const RepeatedValueWrapper*>(
- &_RepeatedValueWrapper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- void Swap(RepeatedValueWrapper* other);
- friend void swap(RepeatedValueWrapper& a, RepeatedValueWrapper& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline RepeatedValueWrapper* New() const final {
- return CreateMaybeMessage<RepeatedValueWrapper>(NULL);
- }
- RepeatedValueWrapper* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<RepeatedValueWrapper>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const RepeatedValueWrapper& from);
- void MergeFrom(const RepeatedValueWrapper& 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(RepeatedValueWrapper* 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 .google.protobuf.Value values = 1;
- int values_size() const;
- void clear_values();
- static const int kValuesFieldNumber = 1;
- ::google::protobuf::Value* mutable_values(int index);
- ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >*
- mutable_values();
- const ::google::protobuf::Value& values(int index) const;
- ::google::protobuf::Value* add_values();
- const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >&
- values() const;
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.RepeatedValueWrapper)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value > values_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class ListValueWrapper : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.ListValueWrapper) */ {
- public:
- ListValueWrapper();
- virtual ~ListValueWrapper();
- ListValueWrapper(const ListValueWrapper& from);
- inline ListValueWrapper& operator=(const ListValueWrapper& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- ListValueWrapper(ListValueWrapper&& from) noexcept
- : ListValueWrapper() {
- *this = ::std::move(from);
- }
- inline ListValueWrapper& operator=(ListValueWrapper&& 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 ListValueWrapper& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const ListValueWrapper* internal_default_instance() {
- return reinterpret_cast<const ListValueWrapper*>(
- &_ListValueWrapper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- void Swap(ListValueWrapper* other);
- friend void swap(ListValueWrapper& a, ListValueWrapper& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline ListValueWrapper* New() const final {
- return CreateMaybeMessage<ListValueWrapper>(NULL);
- }
- ListValueWrapper* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<ListValueWrapper>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const ListValueWrapper& from);
- void MergeFrom(const ListValueWrapper& 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(ListValueWrapper* 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.ListValue shopping_list = 1;
- bool has_shopping_list() const;
- void clear_shopping_list();
- static const int kShoppingListFieldNumber = 1;
- private:
- const ::google::protobuf::ListValue& _internal_shopping_list() const;
- public:
- const ::google::protobuf::ListValue& shopping_list() const;
- ::google::protobuf::ListValue* release_shopping_list();
- ::google::protobuf::ListValue* mutable_shopping_list();
- void set_allocated_shopping_list(::google::protobuf::ListValue* shopping_list);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.ListValueWrapper)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::ListValue* shopping_list_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class RepeatedListValueWrapper : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.RepeatedListValueWrapper) */ {
- public:
- RepeatedListValueWrapper();
- virtual ~RepeatedListValueWrapper();
- RepeatedListValueWrapper(const RepeatedListValueWrapper& from);
- inline RepeatedListValueWrapper& operator=(const RepeatedListValueWrapper& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- RepeatedListValueWrapper(RepeatedListValueWrapper&& from) noexcept
- : RepeatedListValueWrapper() {
- *this = ::std::move(from);
- }
- inline RepeatedListValueWrapper& operator=(RepeatedListValueWrapper&& 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 RepeatedListValueWrapper& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const RepeatedListValueWrapper* internal_default_instance() {
- return reinterpret_cast<const RepeatedListValueWrapper*>(
- &_RepeatedListValueWrapper_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- void Swap(RepeatedListValueWrapper* other);
- friend void swap(RepeatedListValueWrapper& a, RepeatedListValueWrapper& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline RepeatedListValueWrapper* New() const final {
- return CreateMaybeMessage<RepeatedListValueWrapper>(NULL);
- }
- RepeatedListValueWrapper* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<RepeatedListValueWrapper>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const RepeatedListValueWrapper& from);
- void MergeFrom(const RepeatedListValueWrapper& 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(RepeatedListValueWrapper* 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 .google.protobuf.ListValue dimensions = 1;
- int dimensions_size() const;
- void clear_dimensions();
- static const int kDimensionsFieldNumber = 1;
- ::google::protobuf::ListValue* mutable_dimensions(int index);
- ::google::protobuf::RepeatedPtrField< ::google::protobuf::ListValue >*
- mutable_dimensions();
- const ::google::protobuf::ListValue& dimensions(int index) const;
- ::google::protobuf::ListValue* add_dimensions();
- const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ListValue >&
- dimensions() const;
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.RepeatedListValueWrapper)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::RepeatedPtrField< ::google::protobuf::ListValue > dimensions_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class MapOfStruct_StructMapEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<MapOfStruct_StructMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::Struct,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > {
- public:
- typedef ::google::protobuf::internal::MapEntry<MapOfStruct_StructMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::Struct,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > SuperType;
- MapOfStruct_StructMapEntry_DoNotUse();
- MapOfStruct_StructMapEntry_DoNotUse(::google::protobuf::Arena* arena);
- void MergeFrom(const MapOfStruct_StructMapEntry_DoNotUse& other);
- static const MapOfStruct_StructMapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const MapOfStruct_StructMapEntry_DoNotUse*>(&_MapOfStruct_StructMapEntry_DoNotUse_default_instance_); }
- void MergeFrom(const ::google::protobuf::Message& other) final;
- ::google::protobuf::Metadata GetMetadata() const;
- };
- // -------------------------------------------------------------------
- class MapOfStruct_ValueMapEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<MapOfStruct_ValueMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > {
- public:
- typedef ::google::protobuf::internal::MapEntry<MapOfStruct_ValueMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > SuperType;
- MapOfStruct_ValueMapEntry_DoNotUse();
- MapOfStruct_ValueMapEntry_DoNotUse(::google::protobuf::Arena* arena);
- void MergeFrom(const MapOfStruct_ValueMapEntry_DoNotUse& other);
- static const MapOfStruct_ValueMapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const MapOfStruct_ValueMapEntry_DoNotUse*>(&_MapOfStruct_ValueMapEntry_DoNotUse_default_instance_); }
- void MergeFrom(const ::google::protobuf::Message& other) final;
- ::google::protobuf::Metadata GetMetadata() const;
- };
- // -------------------------------------------------------------------
- class MapOfStruct_ListvalueMapEntry_DoNotUse : public ::google::protobuf::internal::MapEntry<MapOfStruct_ListvalueMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::ListValue,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > {
- public:
- typedef ::google::protobuf::internal::MapEntry<MapOfStruct_ListvalueMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::ListValue,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > SuperType;
- MapOfStruct_ListvalueMapEntry_DoNotUse();
- MapOfStruct_ListvalueMapEntry_DoNotUse(::google::protobuf::Arena* arena);
- void MergeFrom(const MapOfStruct_ListvalueMapEntry_DoNotUse& other);
- static const MapOfStruct_ListvalueMapEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const MapOfStruct_ListvalueMapEntry_DoNotUse*>(&_MapOfStruct_ListvalueMapEntry_DoNotUse_default_instance_); }
- void MergeFrom(const ::google::protobuf::Message& other) final;
- ::google::protobuf::Metadata GetMetadata() const;
- };
- // -------------------------------------------------------------------
- class MapOfStruct : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.MapOfStruct) */ {
- public:
- MapOfStruct();
- virtual ~MapOfStruct();
- MapOfStruct(const MapOfStruct& from);
- inline MapOfStruct& operator=(const MapOfStruct& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- MapOfStruct(MapOfStruct&& from) noexcept
- : MapOfStruct() {
- *this = ::std::move(from);
- }
- inline MapOfStruct& operator=(MapOfStruct&& 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 MapOfStruct& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const MapOfStruct* internal_default_instance() {
- return reinterpret_cast<const MapOfStruct*>(
- &_MapOfStruct_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- void Swap(MapOfStruct* other);
- friend void swap(MapOfStruct& a, MapOfStruct& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline MapOfStruct* New() const final {
- return CreateMaybeMessage<MapOfStruct>(NULL);
- }
- MapOfStruct* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<MapOfStruct>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const MapOfStruct& from);
- void MergeFrom(const MapOfStruct& 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(MapOfStruct* 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 -------------------------------------------------------
- // map<string, .google.protobuf.Struct> struct_map = 1;
- int struct_map_size() const;
- void clear_struct_map();
- static const int kStructMapFieldNumber = 1;
- const ::google::protobuf::Map< ::std::string, ::google::protobuf::Struct >&
- struct_map() const;
- ::google::protobuf::Map< ::std::string, ::google::protobuf::Struct >*
- mutable_struct_map();
- // map<string, .google.protobuf.Value> value_map = 2;
- int value_map_size() const;
- void clear_value_map();
- static const int kValueMapFieldNumber = 2;
- const ::google::protobuf::Map< ::std::string, ::google::protobuf::Value >&
- value_map() const;
- ::google::protobuf::Map< ::std::string, ::google::protobuf::Value >*
- mutable_value_map();
- // map<string, .google.protobuf.ListValue> listvalue_map = 3;
- int listvalue_map_size() const;
- void clear_listvalue_map();
- static const int kListvalueMapFieldNumber = 3;
- const ::google::protobuf::Map< ::std::string, ::google::protobuf::ListValue >&
- listvalue_map() const;
- ::google::protobuf::Map< ::std::string, ::google::protobuf::ListValue >*
- mutable_listvalue_map();
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.MapOfStruct)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::MapField<
- MapOfStruct_StructMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::Struct,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > struct_map_;
- ::google::protobuf::internal::MapField<
- MapOfStruct_ValueMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::Value,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > value_map_;
- ::google::protobuf::internal::MapField<
- MapOfStruct_ListvalueMapEntry_DoNotUse,
- ::std::string, ::google::protobuf::ListValue,
- ::google::protobuf::internal::WireFormatLite::TYPE_STRING,
- ::google::protobuf::internal::WireFormatLite::TYPE_MESSAGE,
- 0 > listvalue_map_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class Dummy : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.Dummy) */ {
- public:
- Dummy();
- virtual ~Dummy();
- Dummy(const Dummy& from);
- inline Dummy& operator=(const Dummy& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- Dummy(Dummy&& from) noexcept
- : Dummy() {
- *this = ::std::move(from);
- }
- inline Dummy& operator=(Dummy&& 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 Dummy& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const Dummy* internal_default_instance() {
- return reinterpret_cast<const Dummy*>(
- &_Dummy_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- void Swap(Dummy* other);
- friend void swap(Dummy& a, Dummy& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline Dummy* New() const final {
- return CreateMaybeMessage<Dummy>(NULL);
- }
- Dummy* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<Dummy>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const Dummy& from);
- void MergeFrom(const Dummy& 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(Dummy* 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 text = 1;
- void clear_text();
- static const int kTextFieldNumber = 1;
- const ::std::string& text() const;
- void set_text(const ::std::string& value);
- #if LANG_CXX11
- void set_text(::std::string&& value);
- #endif
- void set_text(const char* value);
- void set_text(const char* value, size_t size);
- ::std::string* mutable_text();
- ::std::string* release_text();
- void set_allocated_text(::std::string* text);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.Dummy)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::internal::ArenaStringPtr text_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // -------------------------------------------------------------------
- class StructType : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:google.protobuf.testing.StructType) */ {
- public:
- StructType();
- virtual ~StructType();
- StructType(const StructType& from);
- inline StructType& operator=(const StructType& from) {
- CopyFrom(from);
- return *this;
- }
- #if LANG_CXX11
- StructType(StructType&& from) noexcept
- : StructType() {
- *this = ::std::move(from);
- }
- inline StructType& operator=(StructType&& 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 StructType& default_instance();
- static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
- static inline const StructType* internal_default_instance() {
- return reinterpret_cast<const StructType*>(
- &_StructType_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- void Swap(StructType* other);
- friend void swap(StructType& a, StructType& b) {
- a.Swap(&b);
- }
- // implements Message ----------------------------------------------
- inline StructType* New() const final {
- return CreateMaybeMessage<StructType>(NULL);
- }
- StructType* New(::google::protobuf::Arena* arena) const final {
- return CreateMaybeMessage<StructType>(arena);
- }
- void CopyFrom(const ::google::protobuf::Message& from) final;
- void MergeFrom(const ::google::protobuf::Message& from) final;
- void CopyFrom(const StructType& from);
- void MergeFrom(const StructType& 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(StructType* 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.Struct object = 1;
- bool has_object() const;
- void clear_object();
- static const int kObjectFieldNumber = 1;
- private:
- const ::google::protobuf::Struct& _internal_object() const;
- public:
- const ::google::protobuf::Struct& object() const;
- ::google::protobuf::Struct* release_object();
- ::google::protobuf::Struct* mutable_object();
- void set_allocated_object(::google::protobuf::Struct* object);
- // @@protoc_insertion_point(class_scope:google.protobuf.testing.StructType)
- private:
- ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
- ::google::protobuf::Struct* object_;
- mutable ::google::protobuf::internal::CachedSize _cached_size_;
- friend struct ::protobuf_google_2fprotobuf_2futil_2finternal_2ftestdata_2fstruct_2eproto::TableStruct;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // StructTestCases
- // .google.protobuf.testing.StructWrapper empty_value = 1;
- inline bool StructTestCases::has_empty_value() const {
- return this != internal_default_instance() && empty_value_ != NULL;
- }
- inline void StructTestCases::clear_empty_value() {
- if (GetArenaNoVirtual() == NULL && empty_value_ != NULL) {
- delete empty_value_;
- }
- empty_value_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_empty_value() const {
- return *empty_value_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::empty_value() const {
- const ::google::protobuf::testing::StructWrapper* p = empty_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.empty_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_empty_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.empty_value)
-
- ::google::protobuf::testing::StructWrapper* temp = empty_value_;
- empty_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_empty_value() {
-
- if (empty_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- empty_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.empty_value)
- return empty_value_;
- }
- inline void StructTestCases::set_allocated_empty_value(::google::protobuf::testing::StructWrapper* empty_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete empty_value_;
- }
- if (empty_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- empty_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, empty_value, submessage_arena);
- }
-
- } else {
-
- }
- empty_value_ = empty_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.empty_value)
- }
- // .google.protobuf.testing.StructWrapper empty_value2 = 2;
- inline bool StructTestCases::has_empty_value2() const {
- return this != internal_default_instance() && empty_value2_ != NULL;
- }
- inline void StructTestCases::clear_empty_value2() {
- if (GetArenaNoVirtual() == NULL && empty_value2_ != NULL) {
- delete empty_value2_;
- }
- empty_value2_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_empty_value2() const {
- return *empty_value2_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::empty_value2() const {
- const ::google::protobuf::testing::StructWrapper* p = empty_value2_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.empty_value2)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_empty_value2() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.empty_value2)
-
- ::google::protobuf::testing::StructWrapper* temp = empty_value2_;
- empty_value2_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_empty_value2() {
-
- if (empty_value2_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- empty_value2_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.empty_value2)
- return empty_value2_;
- }
- inline void StructTestCases::set_allocated_empty_value2(::google::protobuf::testing::StructWrapper* empty_value2) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete empty_value2_;
- }
- if (empty_value2) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- empty_value2 = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, empty_value2, submessage_arena);
- }
-
- } else {
-
- }
- empty_value2_ = empty_value2;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.empty_value2)
- }
- // .google.protobuf.testing.StructWrapper null_value = 3;
- inline bool StructTestCases::has_null_value() const {
- return this != internal_default_instance() && null_value_ != NULL;
- }
- inline void StructTestCases::clear_null_value() {
- if (GetArenaNoVirtual() == NULL && null_value_ != NULL) {
- delete null_value_;
- }
- null_value_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_null_value() const {
- return *null_value_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::null_value() const {
- const ::google::protobuf::testing::StructWrapper* p = null_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.null_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_null_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.null_value)
-
- ::google::protobuf::testing::StructWrapper* temp = null_value_;
- null_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_null_value() {
-
- if (null_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- null_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.null_value)
- return null_value_;
- }
- inline void StructTestCases::set_allocated_null_value(::google::protobuf::testing::StructWrapper* null_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete null_value_;
- }
- if (null_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- null_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, null_value, submessage_arena);
- }
-
- } else {
-
- }
- null_value_ = null_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.null_value)
- }
- // .google.protobuf.testing.StructWrapper simple_struct = 4;
- inline bool StructTestCases::has_simple_struct() const {
- return this != internal_default_instance() && simple_struct_ != NULL;
- }
- inline void StructTestCases::clear_simple_struct() {
- if (GetArenaNoVirtual() == NULL && simple_struct_ != NULL) {
- delete simple_struct_;
- }
- simple_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_simple_struct() const {
- return *simple_struct_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::simple_struct() const {
- const ::google::protobuf::testing::StructWrapper* p = simple_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.simple_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_simple_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.simple_struct)
-
- ::google::protobuf::testing::StructWrapper* temp = simple_struct_;
- simple_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_simple_struct() {
-
- if (simple_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- simple_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.simple_struct)
- return simple_struct_;
- }
- inline void StructTestCases::set_allocated_simple_struct(::google::protobuf::testing::StructWrapper* simple_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete simple_struct_;
- }
- if (simple_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- simple_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, simple_struct, submessage_arena);
- }
-
- } else {
-
- }
- simple_struct_ = simple_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.simple_struct)
- }
- // .google.protobuf.testing.StructWrapper longer_struct = 5;
- inline bool StructTestCases::has_longer_struct() const {
- return this != internal_default_instance() && longer_struct_ != NULL;
- }
- inline void StructTestCases::clear_longer_struct() {
- if (GetArenaNoVirtual() == NULL && longer_struct_ != NULL) {
- delete longer_struct_;
- }
- longer_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_longer_struct() const {
- return *longer_struct_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::longer_struct() const {
- const ::google::protobuf::testing::StructWrapper* p = longer_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.longer_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_longer_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.longer_struct)
-
- ::google::protobuf::testing::StructWrapper* temp = longer_struct_;
- longer_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_longer_struct() {
-
- if (longer_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- longer_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.longer_struct)
- return longer_struct_;
- }
- inline void StructTestCases::set_allocated_longer_struct(::google::protobuf::testing::StructWrapper* longer_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete longer_struct_;
- }
- if (longer_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- longer_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, longer_struct, submessage_arena);
- }
-
- } else {
-
- }
- longer_struct_ = longer_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.longer_struct)
- }
- // .google.protobuf.testing.StructWrapper struct_with_nested_struct = 6;
- inline bool StructTestCases::has_struct_with_nested_struct() const {
- return this != internal_default_instance() && struct_with_nested_struct_ != NULL;
- }
- inline void StructTestCases::clear_struct_with_nested_struct() {
- if (GetArenaNoVirtual() == NULL && struct_with_nested_struct_ != NULL) {
- delete struct_with_nested_struct_;
- }
- struct_with_nested_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_struct_with_nested_struct() const {
- return *struct_with_nested_struct_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::struct_with_nested_struct() const {
- const ::google::protobuf::testing::StructWrapper* p = struct_with_nested_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.struct_with_nested_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_struct_with_nested_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.struct_with_nested_struct)
-
- ::google::protobuf::testing::StructWrapper* temp = struct_with_nested_struct_;
- struct_with_nested_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_struct_with_nested_struct() {
-
- if (struct_with_nested_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- struct_with_nested_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.struct_with_nested_struct)
- return struct_with_nested_struct_;
- }
- inline void StructTestCases::set_allocated_struct_with_nested_struct(::google::protobuf::testing::StructWrapper* struct_with_nested_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete struct_with_nested_struct_;
- }
- if (struct_with_nested_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- struct_with_nested_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_with_nested_struct, submessage_arena);
- }
-
- } else {
-
- }
- struct_with_nested_struct_ = struct_with_nested_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.struct_with_nested_struct)
- }
- // .google.protobuf.testing.StructWrapper struct_with_nested_list = 7;
- inline bool StructTestCases::has_struct_with_nested_list() const {
- return this != internal_default_instance() && struct_with_nested_list_ != NULL;
- }
- inline void StructTestCases::clear_struct_with_nested_list() {
- if (GetArenaNoVirtual() == NULL && struct_with_nested_list_ != NULL) {
- delete struct_with_nested_list_;
- }
- struct_with_nested_list_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_struct_with_nested_list() const {
- return *struct_with_nested_list_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::struct_with_nested_list() const {
- const ::google::protobuf::testing::StructWrapper* p = struct_with_nested_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.struct_with_nested_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_struct_with_nested_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.struct_with_nested_list)
-
- ::google::protobuf::testing::StructWrapper* temp = struct_with_nested_list_;
- struct_with_nested_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_struct_with_nested_list() {
-
- if (struct_with_nested_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- struct_with_nested_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.struct_with_nested_list)
- return struct_with_nested_list_;
- }
- inline void StructTestCases::set_allocated_struct_with_nested_list(::google::protobuf::testing::StructWrapper* struct_with_nested_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete struct_with_nested_list_;
- }
- if (struct_with_nested_list) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- struct_with_nested_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_with_nested_list, submessage_arena);
- }
-
- } else {
-
- }
- struct_with_nested_list_ = struct_with_nested_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.struct_with_nested_list)
- }
- // .google.protobuf.testing.StructWrapper struct_with_list_of_nulls = 8;
- inline bool StructTestCases::has_struct_with_list_of_nulls() const {
- return this != internal_default_instance() && struct_with_list_of_nulls_ != NULL;
- }
- inline void StructTestCases::clear_struct_with_list_of_nulls() {
- if (GetArenaNoVirtual() == NULL && struct_with_list_of_nulls_ != NULL) {
- delete struct_with_list_of_nulls_;
- }
- struct_with_list_of_nulls_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_struct_with_list_of_nulls() const {
- return *struct_with_list_of_nulls_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::struct_with_list_of_nulls() const {
- const ::google::protobuf::testing::StructWrapper* p = struct_with_list_of_nulls_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.struct_with_list_of_nulls)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_struct_with_list_of_nulls() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.struct_with_list_of_nulls)
-
- ::google::protobuf::testing::StructWrapper* temp = struct_with_list_of_nulls_;
- struct_with_list_of_nulls_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_struct_with_list_of_nulls() {
-
- if (struct_with_list_of_nulls_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- struct_with_list_of_nulls_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.struct_with_list_of_nulls)
- return struct_with_list_of_nulls_;
- }
- inline void StructTestCases::set_allocated_struct_with_list_of_nulls(::google::protobuf::testing::StructWrapper* struct_with_list_of_nulls) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete struct_with_list_of_nulls_;
- }
- if (struct_with_list_of_nulls) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- struct_with_list_of_nulls = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_with_list_of_nulls, submessage_arena);
- }
-
- } else {
-
- }
- struct_with_list_of_nulls_ = struct_with_list_of_nulls;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.struct_with_list_of_nulls)
- }
- // .google.protobuf.testing.StructWrapper struct_with_list_of_lists = 9;
- inline bool StructTestCases::has_struct_with_list_of_lists() const {
- return this != internal_default_instance() && struct_with_list_of_lists_ != NULL;
- }
- inline void StructTestCases::clear_struct_with_list_of_lists() {
- if (GetArenaNoVirtual() == NULL && struct_with_list_of_lists_ != NULL) {
- delete struct_with_list_of_lists_;
- }
- struct_with_list_of_lists_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_struct_with_list_of_lists() const {
- return *struct_with_list_of_lists_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::struct_with_list_of_lists() const {
- const ::google::protobuf::testing::StructWrapper* p = struct_with_list_of_lists_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.struct_with_list_of_lists)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_struct_with_list_of_lists() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.struct_with_list_of_lists)
-
- ::google::protobuf::testing::StructWrapper* temp = struct_with_list_of_lists_;
- struct_with_list_of_lists_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_struct_with_list_of_lists() {
-
- if (struct_with_list_of_lists_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- struct_with_list_of_lists_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.struct_with_list_of_lists)
- return struct_with_list_of_lists_;
- }
- inline void StructTestCases::set_allocated_struct_with_list_of_lists(::google::protobuf::testing::StructWrapper* struct_with_list_of_lists) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete struct_with_list_of_lists_;
- }
- if (struct_with_list_of_lists) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- struct_with_list_of_lists = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_with_list_of_lists, submessage_arena);
- }
-
- } else {
-
- }
- struct_with_list_of_lists_ = struct_with_list_of_lists;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.struct_with_list_of_lists)
- }
- // .google.protobuf.testing.StructWrapper struct_with_list_of_structs = 10;
- inline bool StructTestCases::has_struct_with_list_of_structs() const {
- return this != internal_default_instance() && struct_with_list_of_structs_ != NULL;
- }
- inline void StructTestCases::clear_struct_with_list_of_structs() {
- if (GetArenaNoVirtual() == NULL && struct_with_list_of_structs_ != NULL) {
- delete struct_with_list_of_structs_;
- }
- struct_with_list_of_structs_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_struct_with_list_of_structs() const {
- return *struct_with_list_of_structs_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::struct_with_list_of_structs() const {
- const ::google::protobuf::testing::StructWrapper* p = struct_with_list_of_structs_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.struct_with_list_of_structs)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_struct_with_list_of_structs() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.struct_with_list_of_structs)
-
- ::google::protobuf::testing::StructWrapper* temp = struct_with_list_of_structs_;
- struct_with_list_of_structs_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_struct_with_list_of_structs() {
-
- if (struct_with_list_of_structs_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- struct_with_list_of_structs_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.struct_with_list_of_structs)
- return struct_with_list_of_structs_;
- }
- inline void StructTestCases::set_allocated_struct_with_list_of_structs(::google::protobuf::testing::StructWrapper* struct_with_list_of_structs) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete struct_with_list_of_structs_;
- }
- if (struct_with_list_of_structs) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- struct_with_list_of_structs = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_with_list_of_structs, submessage_arena);
- }
-
- } else {
-
- }
- struct_with_list_of_structs_ = struct_with_list_of_structs;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.struct_with_list_of_structs)
- }
- // .google.protobuf.testing.StructWrapper struct_with_empty_list = 11;
- inline bool StructTestCases::has_struct_with_empty_list() const {
- return this != internal_default_instance() && struct_with_empty_list_ != NULL;
- }
- inline void StructTestCases::clear_struct_with_empty_list() {
- if (GetArenaNoVirtual() == NULL && struct_with_empty_list_ != NULL) {
- delete struct_with_empty_list_;
- }
- struct_with_empty_list_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_struct_with_empty_list() const {
- return *struct_with_empty_list_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::struct_with_empty_list() const {
- const ::google::protobuf::testing::StructWrapper* p = struct_with_empty_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.struct_with_empty_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_struct_with_empty_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.struct_with_empty_list)
-
- ::google::protobuf::testing::StructWrapper* temp = struct_with_empty_list_;
- struct_with_empty_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_struct_with_empty_list() {
-
- if (struct_with_empty_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- struct_with_empty_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.struct_with_empty_list)
- return struct_with_empty_list_;
- }
- inline void StructTestCases::set_allocated_struct_with_empty_list(::google::protobuf::testing::StructWrapper* struct_with_empty_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete struct_with_empty_list_;
- }
- if (struct_with_empty_list) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- struct_with_empty_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_with_empty_list, submessage_arena);
- }
-
- } else {
-
- }
- struct_with_empty_list_ = struct_with_empty_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.struct_with_empty_list)
- }
- // .google.protobuf.testing.StructWrapper struct_with_list_with_empty_struct = 12;
- inline bool StructTestCases::has_struct_with_list_with_empty_struct() const {
- return this != internal_default_instance() && struct_with_list_with_empty_struct_ != NULL;
- }
- inline void StructTestCases::clear_struct_with_list_with_empty_struct() {
- if (GetArenaNoVirtual() == NULL && struct_with_list_with_empty_struct_ != NULL) {
- delete struct_with_list_with_empty_struct_;
- }
- struct_with_list_with_empty_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::_internal_struct_with_list_with_empty_struct() const {
- return *struct_with_list_with_empty_struct_;
- }
- inline const ::google::protobuf::testing::StructWrapper& StructTestCases::struct_with_list_with_empty_struct() const {
- const ::google::protobuf::testing::StructWrapper* p = struct_with_list_with_empty_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.struct_with_list_with_empty_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::StructWrapper*>(
- &::google::protobuf::testing::_StructWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::release_struct_with_list_with_empty_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.struct_with_list_with_empty_struct)
-
- ::google::protobuf::testing::StructWrapper* temp = struct_with_list_with_empty_struct_;
- struct_with_list_with_empty_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::StructWrapper* StructTestCases::mutable_struct_with_list_with_empty_struct() {
-
- if (struct_with_list_with_empty_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::StructWrapper>(GetArenaNoVirtual());
- struct_with_list_with_empty_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.struct_with_list_with_empty_struct)
- return struct_with_list_with_empty_struct_;
- }
- inline void StructTestCases::set_allocated_struct_with_list_with_empty_struct(::google::protobuf::testing::StructWrapper* struct_with_list_with_empty_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete struct_with_list_with_empty_struct_;
- }
- if (struct_with_list_with_empty_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- struct_with_list_with_empty_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, struct_with_list_with_empty_struct, submessage_arena);
- }
-
- } else {
-
- }
- struct_with_list_with_empty_struct_ = struct_with_list_with_empty_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.struct_with_list_with_empty_struct)
- }
- // .google.protobuf.Struct top_level_struct = 13;
- inline bool StructTestCases::has_top_level_struct() const {
- return this != internal_default_instance() && top_level_struct_ != NULL;
- }
- inline const ::google::protobuf::Struct& StructTestCases::_internal_top_level_struct() const {
- return *top_level_struct_;
- }
- inline const ::google::protobuf::Struct& StructTestCases::top_level_struct() const {
- const ::google::protobuf::Struct* p = top_level_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Struct*>(
- &::google::protobuf::_Struct_default_instance_);
- }
- inline ::google::protobuf::Struct* StructTestCases::release_top_level_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_struct)
-
- ::google::protobuf::Struct* temp = top_level_struct_;
- top_level_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Struct* StructTestCases::mutable_top_level_struct() {
-
- if (top_level_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual());
- top_level_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_struct)
- return top_level_struct_;
- }
- inline void StructTestCases::set_allocated_top_level_struct(::google::protobuf::Struct* top_level_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_struct_);
- }
- if (top_level_struct) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_struct)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_struct, submessage_arena);
- }
-
- } else {
-
- }
- top_level_struct_ = top_level_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_struct)
- }
- // .google.protobuf.Struct top_level_struct_with_empty_list = 14;
- inline bool StructTestCases::has_top_level_struct_with_empty_list() const {
- return this != internal_default_instance() && top_level_struct_with_empty_list_ != NULL;
- }
- inline const ::google::protobuf::Struct& StructTestCases::_internal_top_level_struct_with_empty_list() const {
- return *top_level_struct_with_empty_list_;
- }
- inline const ::google::protobuf::Struct& StructTestCases::top_level_struct_with_empty_list() const {
- const ::google::protobuf::Struct* p = top_level_struct_with_empty_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_struct_with_empty_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Struct*>(
- &::google::protobuf::_Struct_default_instance_);
- }
- inline ::google::protobuf::Struct* StructTestCases::release_top_level_struct_with_empty_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_struct_with_empty_list)
-
- ::google::protobuf::Struct* temp = top_level_struct_with_empty_list_;
- top_level_struct_with_empty_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Struct* StructTestCases::mutable_top_level_struct_with_empty_list() {
-
- if (top_level_struct_with_empty_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual());
- top_level_struct_with_empty_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_struct_with_empty_list)
- return top_level_struct_with_empty_list_;
- }
- inline void StructTestCases::set_allocated_top_level_struct_with_empty_list(::google::protobuf::Struct* top_level_struct_with_empty_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_struct_with_empty_list_);
- }
- if (top_level_struct_with_empty_list) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_struct_with_empty_list)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_struct_with_empty_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_struct_with_empty_list, submessage_arena);
- }
-
- } else {
-
- }
- top_level_struct_with_empty_list_ = top_level_struct_with_empty_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_struct_with_empty_list)
- }
- // .google.protobuf.Struct top_level_struct_with_list_with_empty_struct = 15;
- inline bool StructTestCases::has_top_level_struct_with_list_with_empty_struct() const {
- return this != internal_default_instance() && top_level_struct_with_list_with_empty_struct_ != NULL;
- }
- inline const ::google::protobuf::Struct& StructTestCases::_internal_top_level_struct_with_list_with_empty_struct() const {
- return *top_level_struct_with_list_with_empty_struct_;
- }
- inline const ::google::protobuf::Struct& StructTestCases::top_level_struct_with_list_with_empty_struct() const {
- const ::google::protobuf::Struct* p = top_level_struct_with_list_with_empty_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_struct_with_list_with_empty_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Struct*>(
- &::google::protobuf::_Struct_default_instance_);
- }
- inline ::google::protobuf::Struct* StructTestCases::release_top_level_struct_with_list_with_empty_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_struct_with_list_with_empty_struct)
-
- ::google::protobuf::Struct* temp = top_level_struct_with_list_with_empty_struct_;
- top_level_struct_with_list_with_empty_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Struct* StructTestCases::mutable_top_level_struct_with_list_with_empty_struct() {
-
- if (top_level_struct_with_list_with_empty_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual());
- top_level_struct_with_list_with_empty_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_struct_with_list_with_empty_struct)
- return top_level_struct_with_list_with_empty_struct_;
- }
- inline void StructTestCases::set_allocated_top_level_struct_with_list_with_empty_struct(::google::protobuf::Struct* top_level_struct_with_list_with_empty_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_struct_with_list_with_empty_struct_);
- }
- if (top_level_struct_with_list_with_empty_struct) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_struct_with_list_with_empty_struct)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_struct_with_list_with_empty_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_struct_with_list_with_empty_struct, submessage_arena);
- }
-
- } else {
-
- }
- top_level_struct_with_list_with_empty_struct_ = top_level_struct_with_list_with_empty_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_struct_with_list_with_empty_struct)
- }
- // .google.protobuf.testing.ValueWrapper value_wrapper_simple = 16;
- inline bool StructTestCases::has_value_wrapper_simple() const {
- return this != internal_default_instance() && value_wrapper_simple_ != NULL;
- }
- inline void StructTestCases::clear_value_wrapper_simple() {
- if (GetArenaNoVirtual() == NULL && value_wrapper_simple_ != NULL) {
- delete value_wrapper_simple_;
- }
- value_wrapper_simple_ = NULL;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::_internal_value_wrapper_simple() const {
- return *value_wrapper_simple_;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::value_wrapper_simple() const {
- const ::google::protobuf::testing::ValueWrapper* p = value_wrapper_simple_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.value_wrapper_simple)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ValueWrapper*>(
- &::google::protobuf::testing::_ValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::release_value_wrapper_simple() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.value_wrapper_simple)
-
- ::google::protobuf::testing::ValueWrapper* temp = value_wrapper_simple_;
- value_wrapper_simple_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::mutable_value_wrapper_simple() {
-
- if (value_wrapper_simple_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ValueWrapper>(GetArenaNoVirtual());
- value_wrapper_simple_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.value_wrapper_simple)
- return value_wrapper_simple_;
- }
- inline void StructTestCases::set_allocated_value_wrapper_simple(::google::protobuf::testing::ValueWrapper* value_wrapper_simple) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete value_wrapper_simple_;
- }
- if (value_wrapper_simple) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- value_wrapper_simple = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, value_wrapper_simple, submessage_arena);
- }
-
- } else {
-
- }
- value_wrapper_simple_ = value_wrapper_simple;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.value_wrapper_simple)
- }
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_struct = 17;
- inline bool StructTestCases::has_value_wrapper_with_struct() const {
- return this != internal_default_instance() && value_wrapper_with_struct_ != NULL;
- }
- inline void StructTestCases::clear_value_wrapper_with_struct() {
- if (GetArenaNoVirtual() == NULL && value_wrapper_with_struct_ != NULL) {
- delete value_wrapper_with_struct_;
- }
- value_wrapper_with_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::_internal_value_wrapper_with_struct() const {
- return *value_wrapper_with_struct_;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::value_wrapper_with_struct() const {
- const ::google::protobuf::testing::ValueWrapper* p = value_wrapper_with_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.value_wrapper_with_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ValueWrapper*>(
- &::google::protobuf::testing::_ValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::release_value_wrapper_with_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.value_wrapper_with_struct)
-
- ::google::protobuf::testing::ValueWrapper* temp = value_wrapper_with_struct_;
- value_wrapper_with_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::mutable_value_wrapper_with_struct() {
-
- if (value_wrapper_with_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ValueWrapper>(GetArenaNoVirtual());
- value_wrapper_with_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.value_wrapper_with_struct)
- return value_wrapper_with_struct_;
- }
- inline void StructTestCases::set_allocated_value_wrapper_with_struct(::google::protobuf::testing::ValueWrapper* value_wrapper_with_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete value_wrapper_with_struct_;
- }
- if (value_wrapper_with_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- value_wrapper_with_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, value_wrapper_with_struct, submessage_arena);
- }
-
- } else {
-
- }
- value_wrapper_with_struct_ = value_wrapper_with_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.value_wrapper_with_struct)
- }
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_list = 18;
- inline bool StructTestCases::has_value_wrapper_with_list() const {
- return this != internal_default_instance() && value_wrapper_with_list_ != NULL;
- }
- inline void StructTestCases::clear_value_wrapper_with_list() {
- if (GetArenaNoVirtual() == NULL && value_wrapper_with_list_ != NULL) {
- delete value_wrapper_with_list_;
- }
- value_wrapper_with_list_ = NULL;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::_internal_value_wrapper_with_list() const {
- return *value_wrapper_with_list_;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::value_wrapper_with_list() const {
- const ::google::protobuf::testing::ValueWrapper* p = value_wrapper_with_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.value_wrapper_with_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ValueWrapper*>(
- &::google::protobuf::testing::_ValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::release_value_wrapper_with_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.value_wrapper_with_list)
-
- ::google::protobuf::testing::ValueWrapper* temp = value_wrapper_with_list_;
- value_wrapper_with_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::mutable_value_wrapper_with_list() {
-
- if (value_wrapper_with_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ValueWrapper>(GetArenaNoVirtual());
- value_wrapper_with_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.value_wrapper_with_list)
- return value_wrapper_with_list_;
- }
- inline void StructTestCases::set_allocated_value_wrapper_with_list(::google::protobuf::testing::ValueWrapper* value_wrapper_with_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete value_wrapper_with_list_;
- }
- if (value_wrapper_with_list) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- value_wrapper_with_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, value_wrapper_with_list, submessage_arena);
- }
-
- } else {
-
- }
- value_wrapper_with_list_ = value_wrapper_with_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.value_wrapper_with_list)
- }
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_empty_list = 19;
- inline bool StructTestCases::has_value_wrapper_with_empty_list() const {
- return this != internal_default_instance() && value_wrapper_with_empty_list_ != NULL;
- }
- inline void StructTestCases::clear_value_wrapper_with_empty_list() {
- if (GetArenaNoVirtual() == NULL && value_wrapper_with_empty_list_ != NULL) {
- delete value_wrapper_with_empty_list_;
- }
- value_wrapper_with_empty_list_ = NULL;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::_internal_value_wrapper_with_empty_list() const {
- return *value_wrapper_with_empty_list_;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::value_wrapper_with_empty_list() const {
- const ::google::protobuf::testing::ValueWrapper* p = value_wrapper_with_empty_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.value_wrapper_with_empty_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ValueWrapper*>(
- &::google::protobuf::testing::_ValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::release_value_wrapper_with_empty_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.value_wrapper_with_empty_list)
-
- ::google::protobuf::testing::ValueWrapper* temp = value_wrapper_with_empty_list_;
- value_wrapper_with_empty_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::mutable_value_wrapper_with_empty_list() {
-
- if (value_wrapper_with_empty_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ValueWrapper>(GetArenaNoVirtual());
- value_wrapper_with_empty_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.value_wrapper_with_empty_list)
- return value_wrapper_with_empty_list_;
- }
- inline void StructTestCases::set_allocated_value_wrapper_with_empty_list(::google::protobuf::testing::ValueWrapper* value_wrapper_with_empty_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete value_wrapper_with_empty_list_;
- }
- if (value_wrapper_with_empty_list) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- value_wrapper_with_empty_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, value_wrapper_with_empty_list, submessage_arena);
- }
-
- } else {
-
- }
- value_wrapper_with_empty_list_ = value_wrapper_with_empty_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.value_wrapper_with_empty_list)
- }
- // .google.protobuf.testing.ValueWrapper value_wrapper_with_list_with_empty_struct = 20;
- inline bool StructTestCases::has_value_wrapper_with_list_with_empty_struct() const {
- return this != internal_default_instance() && value_wrapper_with_list_with_empty_struct_ != NULL;
- }
- inline void StructTestCases::clear_value_wrapper_with_list_with_empty_struct() {
- if (GetArenaNoVirtual() == NULL && value_wrapper_with_list_with_empty_struct_ != NULL) {
- delete value_wrapper_with_list_with_empty_struct_;
- }
- value_wrapper_with_list_with_empty_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::_internal_value_wrapper_with_list_with_empty_struct() const {
- return *value_wrapper_with_list_with_empty_struct_;
- }
- inline const ::google::protobuf::testing::ValueWrapper& StructTestCases::value_wrapper_with_list_with_empty_struct() const {
- const ::google::protobuf::testing::ValueWrapper* p = value_wrapper_with_list_with_empty_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.value_wrapper_with_list_with_empty_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ValueWrapper*>(
- &::google::protobuf::testing::_ValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::release_value_wrapper_with_list_with_empty_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.value_wrapper_with_list_with_empty_struct)
-
- ::google::protobuf::testing::ValueWrapper* temp = value_wrapper_with_list_with_empty_struct_;
- value_wrapper_with_list_with_empty_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ValueWrapper* StructTestCases::mutable_value_wrapper_with_list_with_empty_struct() {
-
- if (value_wrapper_with_list_with_empty_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ValueWrapper>(GetArenaNoVirtual());
- value_wrapper_with_list_with_empty_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.value_wrapper_with_list_with_empty_struct)
- return value_wrapper_with_list_with_empty_struct_;
- }
- inline void StructTestCases::set_allocated_value_wrapper_with_list_with_empty_struct(::google::protobuf::testing::ValueWrapper* value_wrapper_with_list_with_empty_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete value_wrapper_with_list_with_empty_struct_;
- }
- if (value_wrapper_with_list_with_empty_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- value_wrapper_with_list_with_empty_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, value_wrapper_with_list_with_empty_struct, submessage_arena);
- }
-
- } else {
-
- }
- value_wrapper_with_list_with_empty_struct_ = value_wrapper_with_list_with_empty_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.value_wrapper_with_list_with_empty_struct)
- }
- // .google.protobuf.testing.ListValueWrapper list_value_wrapper = 21;
- inline bool StructTestCases::has_list_value_wrapper() const {
- return this != internal_default_instance() && list_value_wrapper_ != NULL;
- }
- inline void StructTestCases::clear_list_value_wrapper() {
- if (GetArenaNoVirtual() == NULL && list_value_wrapper_ != NULL) {
- delete list_value_wrapper_;
- }
- list_value_wrapper_ = NULL;
- }
- inline const ::google::protobuf::testing::ListValueWrapper& StructTestCases::_internal_list_value_wrapper() const {
- return *list_value_wrapper_;
- }
- inline const ::google::protobuf::testing::ListValueWrapper& StructTestCases::list_value_wrapper() const {
- const ::google::protobuf::testing::ListValueWrapper* p = list_value_wrapper_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.list_value_wrapper)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ListValueWrapper*>(
- &::google::protobuf::testing::_ListValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ListValueWrapper* StructTestCases::release_list_value_wrapper() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.list_value_wrapper)
-
- ::google::protobuf::testing::ListValueWrapper* temp = list_value_wrapper_;
- list_value_wrapper_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ListValueWrapper* StructTestCases::mutable_list_value_wrapper() {
-
- if (list_value_wrapper_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ListValueWrapper>(GetArenaNoVirtual());
- list_value_wrapper_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.list_value_wrapper)
- return list_value_wrapper_;
- }
- inline void StructTestCases::set_allocated_list_value_wrapper(::google::protobuf::testing::ListValueWrapper* list_value_wrapper) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete list_value_wrapper_;
- }
- if (list_value_wrapper) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- list_value_wrapper = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, list_value_wrapper, submessage_arena);
- }
-
- } else {
-
- }
- list_value_wrapper_ = list_value_wrapper;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.list_value_wrapper)
- }
- // .google.protobuf.testing.ListValueWrapper list_value_wrapper_with_empty_list = 22;
- inline bool StructTestCases::has_list_value_wrapper_with_empty_list() const {
- return this != internal_default_instance() && list_value_wrapper_with_empty_list_ != NULL;
- }
- inline void StructTestCases::clear_list_value_wrapper_with_empty_list() {
- if (GetArenaNoVirtual() == NULL && list_value_wrapper_with_empty_list_ != NULL) {
- delete list_value_wrapper_with_empty_list_;
- }
- list_value_wrapper_with_empty_list_ = NULL;
- }
- inline const ::google::protobuf::testing::ListValueWrapper& StructTestCases::_internal_list_value_wrapper_with_empty_list() const {
- return *list_value_wrapper_with_empty_list_;
- }
- inline const ::google::protobuf::testing::ListValueWrapper& StructTestCases::list_value_wrapper_with_empty_list() const {
- const ::google::protobuf::testing::ListValueWrapper* p = list_value_wrapper_with_empty_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.list_value_wrapper_with_empty_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ListValueWrapper*>(
- &::google::protobuf::testing::_ListValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ListValueWrapper* StructTestCases::release_list_value_wrapper_with_empty_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.list_value_wrapper_with_empty_list)
-
- ::google::protobuf::testing::ListValueWrapper* temp = list_value_wrapper_with_empty_list_;
- list_value_wrapper_with_empty_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ListValueWrapper* StructTestCases::mutable_list_value_wrapper_with_empty_list() {
-
- if (list_value_wrapper_with_empty_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ListValueWrapper>(GetArenaNoVirtual());
- list_value_wrapper_with_empty_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.list_value_wrapper_with_empty_list)
- return list_value_wrapper_with_empty_list_;
- }
- inline void StructTestCases::set_allocated_list_value_wrapper_with_empty_list(::google::protobuf::testing::ListValueWrapper* list_value_wrapper_with_empty_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete list_value_wrapper_with_empty_list_;
- }
- if (list_value_wrapper_with_empty_list) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- list_value_wrapper_with_empty_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, list_value_wrapper_with_empty_list, submessage_arena);
- }
-
- } else {
-
- }
- list_value_wrapper_with_empty_list_ = list_value_wrapper_with_empty_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.list_value_wrapper_with_empty_list)
- }
- // .google.protobuf.testing.ListValueWrapper list_value_wrapper_with_list_with_empty_struct = 23;
- inline bool StructTestCases::has_list_value_wrapper_with_list_with_empty_struct() const {
- return this != internal_default_instance() && list_value_wrapper_with_list_with_empty_struct_ != NULL;
- }
- inline void StructTestCases::clear_list_value_wrapper_with_list_with_empty_struct() {
- if (GetArenaNoVirtual() == NULL && list_value_wrapper_with_list_with_empty_struct_ != NULL) {
- delete list_value_wrapper_with_list_with_empty_struct_;
- }
- list_value_wrapper_with_list_with_empty_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::ListValueWrapper& StructTestCases::_internal_list_value_wrapper_with_list_with_empty_struct() const {
- return *list_value_wrapper_with_list_with_empty_struct_;
- }
- inline const ::google::protobuf::testing::ListValueWrapper& StructTestCases::list_value_wrapper_with_list_with_empty_struct() const {
- const ::google::protobuf::testing::ListValueWrapper* p = list_value_wrapper_with_list_with_empty_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.list_value_wrapper_with_list_with_empty_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::ListValueWrapper*>(
- &::google::protobuf::testing::_ListValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::ListValueWrapper* StructTestCases::release_list_value_wrapper_with_list_with_empty_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.list_value_wrapper_with_list_with_empty_struct)
-
- ::google::protobuf::testing::ListValueWrapper* temp = list_value_wrapper_with_list_with_empty_struct_;
- list_value_wrapper_with_list_with_empty_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::ListValueWrapper* StructTestCases::mutable_list_value_wrapper_with_list_with_empty_struct() {
-
- if (list_value_wrapper_with_list_with_empty_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::ListValueWrapper>(GetArenaNoVirtual());
- list_value_wrapper_with_list_with_empty_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.list_value_wrapper_with_list_with_empty_struct)
- return list_value_wrapper_with_list_with_empty_struct_;
- }
- inline void StructTestCases::set_allocated_list_value_wrapper_with_list_with_empty_struct(::google::protobuf::testing::ListValueWrapper* list_value_wrapper_with_list_with_empty_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete list_value_wrapper_with_list_with_empty_struct_;
- }
- if (list_value_wrapper_with_list_with_empty_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- list_value_wrapper_with_list_with_empty_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, list_value_wrapper_with_list_with_empty_struct, submessage_arena);
- }
-
- } else {
-
- }
- list_value_wrapper_with_list_with_empty_struct_ = list_value_wrapper_with_list_with_empty_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.list_value_wrapper_with_list_with_empty_struct)
- }
- // .google.protobuf.Value top_level_value_simple = 24;
- inline bool StructTestCases::has_top_level_value_simple() const {
- return this != internal_default_instance() && top_level_value_simple_ != NULL;
- }
- inline const ::google::protobuf::Value& StructTestCases::_internal_top_level_value_simple() const {
- return *top_level_value_simple_;
- }
- inline const ::google::protobuf::Value& StructTestCases::top_level_value_simple() const {
- const ::google::protobuf::Value* p = top_level_value_simple_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_value_simple)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Value*>(
- &::google::protobuf::_Value_default_instance_);
- }
- inline ::google::protobuf::Value* StructTestCases::release_top_level_value_simple() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_value_simple)
-
- ::google::protobuf::Value* temp = top_level_value_simple_;
- top_level_value_simple_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Value* StructTestCases::mutable_top_level_value_simple() {
-
- if (top_level_value_simple_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Value>(GetArenaNoVirtual());
- top_level_value_simple_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_value_simple)
- return top_level_value_simple_;
- }
- inline void StructTestCases::set_allocated_top_level_value_simple(::google::protobuf::Value* top_level_value_simple) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_value_simple_);
- }
- if (top_level_value_simple) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_value_simple)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_value_simple = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_value_simple, submessage_arena);
- }
-
- } else {
-
- }
- top_level_value_simple_ = top_level_value_simple;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_value_simple)
- }
- // .google.protobuf.Value top_level_value_with_struct = 25;
- inline bool StructTestCases::has_top_level_value_with_struct() const {
- return this != internal_default_instance() && top_level_value_with_struct_ != NULL;
- }
- inline const ::google::protobuf::Value& StructTestCases::_internal_top_level_value_with_struct() const {
- return *top_level_value_with_struct_;
- }
- inline const ::google::protobuf::Value& StructTestCases::top_level_value_with_struct() const {
- const ::google::protobuf::Value* p = top_level_value_with_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_value_with_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Value*>(
- &::google::protobuf::_Value_default_instance_);
- }
- inline ::google::protobuf::Value* StructTestCases::release_top_level_value_with_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_value_with_struct)
-
- ::google::protobuf::Value* temp = top_level_value_with_struct_;
- top_level_value_with_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Value* StructTestCases::mutable_top_level_value_with_struct() {
-
- if (top_level_value_with_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Value>(GetArenaNoVirtual());
- top_level_value_with_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_value_with_struct)
- return top_level_value_with_struct_;
- }
- inline void StructTestCases::set_allocated_top_level_value_with_struct(::google::protobuf::Value* top_level_value_with_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_value_with_struct_);
- }
- if (top_level_value_with_struct) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_value_with_struct)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_value_with_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_value_with_struct, submessage_arena);
- }
-
- } else {
-
- }
- top_level_value_with_struct_ = top_level_value_with_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_value_with_struct)
- }
- // .google.protobuf.Value top_level_value_with_list = 26;
- inline bool StructTestCases::has_top_level_value_with_list() const {
- return this != internal_default_instance() && top_level_value_with_list_ != NULL;
- }
- inline const ::google::protobuf::Value& StructTestCases::_internal_top_level_value_with_list() const {
- return *top_level_value_with_list_;
- }
- inline const ::google::protobuf::Value& StructTestCases::top_level_value_with_list() const {
- const ::google::protobuf::Value* p = top_level_value_with_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_value_with_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Value*>(
- &::google::protobuf::_Value_default_instance_);
- }
- inline ::google::protobuf::Value* StructTestCases::release_top_level_value_with_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_value_with_list)
-
- ::google::protobuf::Value* temp = top_level_value_with_list_;
- top_level_value_with_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Value* StructTestCases::mutable_top_level_value_with_list() {
-
- if (top_level_value_with_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Value>(GetArenaNoVirtual());
- top_level_value_with_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_value_with_list)
- return top_level_value_with_list_;
- }
- inline void StructTestCases::set_allocated_top_level_value_with_list(::google::protobuf::Value* top_level_value_with_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_value_with_list_);
- }
- if (top_level_value_with_list) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_value_with_list)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_value_with_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_value_with_list, submessage_arena);
- }
-
- } else {
-
- }
- top_level_value_with_list_ = top_level_value_with_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_value_with_list)
- }
- // .google.protobuf.Value top_level_value_with_empty_list = 27;
- inline bool StructTestCases::has_top_level_value_with_empty_list() const {
- return this != internal_default_instance() && top_level_value_with_empty_list_ != NULL;
- }
- inline const ::google::protobuf::Value& StructTestCases::_internal_top_level_value_with_empty_list() const {
- return *top_level_value_with_empty_list_;
- }
- inline const ::google::protobuf::Value& StructTestCases::top_level_value_with_empty_list() const {
- const ::google::protobuf::Value* p = top_level_value_with_empty_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_value_with_empty_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Value*>(
- &::google::protobuf::_Value_default_instance_);
- }
- inline ::google::protobuf::Value* StructTestCases::release_top_level_value_with_empty_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_value_with_empty_list)
-
- ::google::protobuf::Value* temp = top_level_value_with_empty_list_;
- top_level_value_with_empty_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Value* StructTestCases::mutable_top_level_value_with_empty_list() {
-
- if (top_level_value_with_empty_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Value>(GetArenaNoVirtual());
- top_level_value_with_empty_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_value_with_empty_list)
- return top_level_value_with_empty_list_;
- }
- inline void StructTestCases::set_allocated_top_level_value_with_empty_list(::google::protobuf::Value* top_level_value_with_empty_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_value_with_empty_list_);
- }
- if (top_level_value_with_empty_list) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_value_with_empty_list)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_value_with_empty_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_value_with_empty_list, submessage_arena);
- }
-
- } else {
-
- }
- top_level_value_with_empty_list_ = top_level_value_with_empty_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_value_with_empty_list)
- }
- // .google.protobuf.Value top_level_value_with_list_with_empty_struct = 28;
- inline bool StructTestCases::has_top_level_value_with_list_with_empty_struct() const {
- return this != internal_default_instance() && top_level_value_with_list_with_empty_struct_ != NULL;
- }
- inline const ::google::protobuf::Value& StructTestCases::_internal_top_level_value_with_list_with_empty_struct() const {
- return *top_level_value_with_list_with_empty_struct_;
- }
- inline const ::google::protobuf::Value& StructTestCases::top_level_value_with_list_with_empty_struct() const {
- const ::google::protobuf::Value* p = top_level_value_with_list_with_empty_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_value_with_list_with_empty_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Value*>(
- &::google::protobuf::_Value_default_instance_);
- }
- inline ::google::protobuf::Value* StructTestCases::release_top_level_value_with_list_with_empty_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_value_with_list_with_empty_struct)
-
- ::google::protobuf::Value* temp = top_level_value_with_list_with_empty_struct_;
- top_level_value_with_list_with_empty_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Value* StructTestCases::mutable_top_level_value_with_list_with_empty_struct() {
-
- if (top_level_value_with_list_with_empty_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Value>(GetArenaNoVirtual());
- top_level_value_with_list_with_empty_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_value_with_list_with_empty_struct)
- return top_level_value_with_list_with_empty_struct_;
- }
- inline void StructTestCases::set_allocated_top_level_value_with_list_with_empty_struct(::google::protobuf::Value* top_level_value_with_list_with_empty_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_value_with_list_with_empty_struct_);
- }
- if (top_level_value_with_list_with_empty_struct) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_value_with_list_with_empty_struct)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_value_with_list_with_empty_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_value_with_list_with_empty_struct, submessage_arena);
- }
-
- } else {
-
- }
- top_level_value_with_list_with_empty_struct_ = top_level_value_with_list_with_empty_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_value_with_list_with_empty_struct)
- }
- // .google.protobuf.ListValue top_level_listvalue = 29;
- inline bool StructTestCases::has_top_level_listvalue() const {
- return this != internal_default_instance() && top_level_listvalue_ != NULL;
- }
- inline const ::google::protobuf::ListValue& StructTestCases::_internal_top_level_listvalue() const {
- return *top_level_listvalue_;
- }
- inline const ::google::protobuf::ListValue& StructTestCases::top_level_listvalue() const {
- const ::google::protobuf::ListValue* p = top_level_listvalue_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_listvalue)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::ListValue*>(
- &::google::protobuf::_ListValue_default_instance_);
- }
- inline ::google::protobuf::ListValue* StructTestCases::release_top_level_listvalue() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_listvalue)
-
- ::google::protobuf::ListValue* temp = top_level_listvalue_;
- top_level_listvalue_ = NULL;
- return temp;
- }
- inline ::google::protobuf::ListValue* StructTestCases::mutable_top_level_listvalue() {
-
- if (top_level_listvalue_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::ListValue>(GetArenaNoVirtual());
- top_level_listvalue_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_listvalue)
- return top_level_listvalue_;
- }
- inline void StructTestCases::set_allocated_top_level_listvalue(::google::protobuf::ListValue* top_level_listvalue) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_listvalue_);
- }
- if (top_level_listvalue) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_listvalue)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_listvalue = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_listvalue, submessage_arena);
- }
-
- } else {
-
- }
- top_level_listvalue_ = top_level_listvalue;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_listvalue)
- }
- // .google.protobuf.ListValue top_level_empty_listvalue = 30;
- inline bool StructTestCases::has_top_level_empty_listvalue() const {
- return this != internal_default_instance() && top_level_empty_listvalue_ != NULL;
- }
- inline const ::google::protobuf::ListValue& StructTestCases::_internal_top_level_empty_listvalue() const {
- return *top_level_empty_listvalue_;
- }
- inline const ::google::protobuf::ListValue& StructTestCases::top_level_empty_listvalue() const {
- const ::google::protobuf::ListValue* p = top_level_empty_listvalue_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_empty_listvalue)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::ListValue*>(
- &::google::protobuf::_ListValue_default_instance_);
- }
- inline ::google::protobuf::ListValue* StructTestCases::release_top_level_empty_listvalue() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_empty_listvalue)
-
- ::google::protobuf::ListValue* temp = top_level_empty_listvalue_;
- top_level_empty_listvalue_ = NULL;
- return temp;
- }
- inline ::google::protobuf::ListValue* StructTestCases::mutable_top_level_empty_listvalue() {
-
- if (top_level_empty_listvalue_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::ListValue>(GetArenaNoVirtual());
- top_level_empty_listvalue_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_empty_listvalue)
- return top_level_empty_listvalue_;
- }
- inline void StructTestCases::set_allocated_top_level_empty_listvalue(::google::protobuf::ListValue* top_level_empty_listvalue) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_empty_listvalue_);
- }
- if (top_level_empty_listvalue) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_empty_listvalue)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_empty_listvalue = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_empty_listvalue, submessage_arena);
- }
-
- } else {
-
- }
- top_level_empty_listvalue_ = top_level_empty_listvalue;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_empty_listvalue)
- }
- // .google.protobuf.ListValue top_level_listvalue_with_empty_struct = 31;
- inline bool StructTestCases::has_top_level_listvalue_with_empty_struct() const {
- return this != internal_default_instance() && top_level_listvalue_with_empty_struct_ != NULL;
- }
- inline const ::google::protobuf::ListValue& StructTestCases::_internal_top_level_listvalue_with_empty_struct() const {
- return *top_level_listvalue_with_empty_struct_;
- }
- inline const ::google::protobuf::ListValue& StructTestCases::top_level_listvalue_with_empty_struct() const {
- const ::google::protobuf::ListValue* p = top_level_listvalue_with_empty_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.top_level_listvalue_with_empty_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::ListValue*>(
- &::google::protobuf::_ListValue_default_instance_);
- }
- inline ::google::protobuf::ListValue* StructTestCases::release_top_level_listvalue_with_empty_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.top_level_listvalue_with_empty_struct)
-
- ::google::protobuf::ListValue* temp = top_level_listvalue_with_empty_struct_;
- top_level_listvalue_with_empty_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::ListValue* StructTestCases::mutable_top_level_listvalue_with_empty_struct() {
-
- if (top_level_listvalue_with_empty_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::ListValue>(GetArenaNoVirtual());
- top_level_listvalue_with_empty_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.top_level_listvalue_with_empty_struct)
- return top_level_listvalue_with_empty_struct_;
- }
- inline void StructTestCases::set_allocated_top_level_listvalue_with_empty_struct(::google::protobuf::ListValue* top_level_listvalue_with_empty_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(top_level_listvalue_with_empty_struct_);
- }
- if (top_level_listvalue_with_empty_struct) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(top_level_listvalue_with_empty_struct)->GetArena();
- if (message_arena != submessage_arena) {
- top_level_listvalue_with_empty_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, top_level_listvalue_with_empty_struct, submessage_arena);
- }
-
- } else {
-
- }
- top_level_listvalue_with_empty_struct_ = top_level_listvalue_with_empty_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.top_level_listvalue_with_empty_struct)
- }
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value = 32;
- inline bool StructTestCases::has_repeated_value() const {
- return this != internal_default_instance() && repeated_value_ != NULL;
- }
- inline void StructTestCases::clear_repeated_value() {
- if (GetArenaNoVirtual() == NULL && repeated_value_ != NULL) {
- delete repeated_value_;
- }
- repeated_value_ = NULL;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::_internal_repeated_value() const {
- return *repeated_value_;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::repeated_value() const {
- const ::google::protobuf::testing::RepeatedValueWrapper* p = repeated_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.repeated_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::RepeatedValueWrapper*>(
- &::google::protobuf::testing::_RepeatedValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::release_repeated_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.repeated_value)
-
- ::google::protobuf::testing::RepeatedValueWrapper* temp = repeated_value_;
- repeated_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::mutable_repeated_value() {
-
- if (repeated_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::RepeatedValueWrapper>(GetArenaNoVirtual());
- repeated_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.repeated_value)
- return repeated_value_;
- }
- inline void StructTestCases::set_allocated_repeated_value(::google::protobuf::testing::RepeatedValueWrapper* repeated_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete repeated_value_;
- }
- if (repeated_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- repeated_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, repeated_value, submessage_arena);
- }
-
- } else {
-
- }
- repeated_value_ = repeated_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.repeated_value)
- }
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value_nested_list = 33;
- inline bool StructTestCases::has_repeated_value_nested_list() const {
- return this != internal_default_instance() && repeated_value_nested_list_ != NULL;
- }
- inline void StructTestCases::clear_repeated_value_nested_list() {
- if (GetArenaNoVirtual() == NULL && repeated_value_nested_list_ != NULL) {
- delete repeated_value_nested_list_;
- }
- repeated_value_nested_list_ = NULL;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::_internal_repeated_value_nested_list() const {
- return *repeated_value_nested_list_;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::repeated_value_nested_list() const {
- const ::google::protobuf::testing::RepeatedValueWrapper* p = repeated_value_nested_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.repeated_value_nested_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::RepeatedValueWrapper*>(
- &::google::protobuf::testing::_RepeatedValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::release_repeated_value_nested_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.repeated_value_nested_list)
-
- ::google::protobuf::testing::RepeatedValueWrapper* temp = repeated_value_nested_list_;
- repeated_value_nested_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::mutable_repeated_value_nested_list() {
-
- if (repeated_value_nested_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::RepeatedValueWrapper>(GetArenaNoVirtual());
- repeated_value_nested_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.repeated_value_nested_list)
- return repeated_value_nested_list_;
- }
- inline void StructTestCases::set_allocated_repeated_value_nested_list(::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete repeated_value_nested_list_;
- }
- if (repeated_value_nested_list) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- repeated_value_nested_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, repeated_value_nested_list, submessage_arena);
- }
-
- } else {
-
- }
- repeated_value_nested_list_ = repeated_value_nested_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.repeated_value_nested_list)
- }
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value_nested_list2 = 34;
- inline bool StructTestCases::has_repeated_value_nested_list2() const {
- return this != internal_default_instance() && repeated_value_nested_list2_ != NULL;
- }
- inline void StructTestCases::clear_repeated_value_nested_list2() {
- if (GetArenaNoVirtual() == NULL && repeated_value_nested_list2_ != NULL) {
- delete repeated_value_nested_list2_;
- }
- repeated_value_nested_list2_ = NULL;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::_internal_repeated_value_nested_list2() const {
- return *repeated_value_nested_list2_;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::repeated_value_nested_list2() const {
- const ::google::protobuf::testing::RepeatedValueWrapper* p = repeated_value_nested_list2_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.repeated_value_nested_list2)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::RepeatedValueWrapper*>(
- &::google::protobuf::testing::_RepeatedValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::release_repeated_value_nested_list2() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.repeated_value_nested_list2)
-
- ::google::protobuf::testing::RepeatedValueWrapper* temp = repeated_value_nested_list2_;
- repeated_value_nested_list2_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::mutable_repeated_value_nested_list2() {
-
- if (repeated_value_nested_list2_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::RepeatedValueWrapper>(GetArenaNoVirtual());
- repeated_value_nested_list2_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.repeated_value_nested_list2)
- return repeated_value_nested_list2_;
- }
- inline void StructTestCases::set_allocated_repeated_value_nested_list2(::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list2) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete repeated_value_nested_list2_;
- }
- if (repeated_value_nested_list2) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- repeated_value_nested_list2 = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, repeated_value_nested_list2, submessage_arena);
- }
-
- } else {
-
- }
- repeated_value_nested_list2_ = repeated_value_nested_list2;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.repeated_value_nested_list2)
- }
- // .google.protobuf.testing.RepeatedValueWrapper repeated_value_nested_list3 = 35;
- inline bool StructTestCases::has_repeated_value_nested_list3() const {
- return this != internal_default_instance() && repeated_value_nested_list3_ != NULL;
- }
- inline void StructTestCases::clear_repeated_value_nested_list3() {
- if (GetArenaNoVirtual() == NULL && repeated_value_nested_list3_ != NULL) {
- delete repeated_value_nested_list3_;
- }
- repeated_value_nested_list3_ = NULL;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::_internal_repeated_value_nested_list3() const {
- return *repeated_value_nested_list3_;
- }
- inline const ::google::protobuf::testing::RepeatedValueWrapper& StructTestCases::repeated_value_nested_list3() const {
- const ::google::protobuf::testing::RepeatedValueWrapper* p = repeated_value_nested_list3_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.repeated_value_nested_list3)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::RepeatedValueWrapper*>(
- &::google::protobuf::testing::_RepeatedValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::release_repeated_value_nested_list3() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.repeated_value_nested_list3)
-
- ::google::protobuf::testing::RepeatedValueWrapper* temp = repeated_value_nested_list3_;
- repeated_value_nested_list3_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::RepeatedValueWrapper* StructTestCases::mutable_repeated_value_nested_list3() {
-
- if (repeated_value_nested_list3_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::RepeatedValueWrapper>(GetArenaNoVirtual());
- repeated_value_nested_list3_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.repeated_value_nested_list3)
- return repeated_value_nested_list3_;
- }
- inline void StructTestCases::set_allocated_repeated_value_nested_list3(::google::protobuf::testing::RepeatedValueWrapper* repeated_value_nested_list3) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete repeated_value_nested_list3_;
- }
- if (repeated_value_nested_list3) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- repeated_value_nested_list3 = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, repeated_value_nested_list3, submessage_arena);
- }
-
- } else {
-
- }
- repeated_value_nested_list3_ = repeated_value_nested_list3;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.repeated_value_nested_list3)
- }
- // .google.protobuf.testing.RepeatedListValueWrapper repeated_listvalue = 36;
- inline bool StructTestCases::has_repeated_listvalue() const {
- return this != internal_default_instance() && repeated_listvalue_ != NULL;
- }
- inline void StructTestCases::clear_repeated_listvalue() {
- if (GetArenaNoVirtual() == NULL && repeated_listvalue_ != NULL) {
- delete repeated_listvalue_;
- }
- repeated_listvalue_ = NULL;
- }
- inline const ::google::protobuf::testing::RepeatedListValueWrapper& StructTestCases::_internal_repeated_listvalue() const {
- return *repeated_listvalue_;
- }
- inline const ::google::protobuf::testing::RepeatedListValueWrapper& StructTestCases::repeated_listvalue() const {
- const ::google::protobuf::testing::RepeatedListValueWrapper* p = repeated_listvalue_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.repeated_listvalue)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::RepeatedListValueWrapper*>(
- &::google::protobuf::testing::_RepeatedListValueWrapper_default_instance_);
- }
- inline ::google::protobuf::testing::RepeatedListValueWrapper* StructTestCases::release_repeated_listvalue() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.repeated_listvalue)
-
- ::google::protobuf::testing::RepeatedListValueWrapper* temp = repeated_listvalue_;
- repeated_listvalue_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::RepeatedListValueWrapper* StructTestCases::mutable_repeated_listvalue() {
-
- if (repeated_listvalue_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::RepeatedListValueWrapper>(GetArenaNoVirtual());
- repeated_listvalue_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.repeated_listvalue)
- return repeated_listvalue_;
- }
- inline void StructTestCases::set_allocated_repeated_listvalue(::google::protobuf::testing::RepeatedListValueWrapper* repeated_listvalue) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete repeated_listvalue_;
- }
- if (repeated_listvalue) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- repeated_listvalue = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, repeated_listvalue, submessage_arena);
- }
-
- } else {
-
- }
- repeated_listvalue_ = repeated_listvalue;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.repeated_listvalue)
- }
- // .google.protobuf.testing.MapOfStruct map_of_struct = 37;
- inline bool StructTestCases::has_map_of_struct() const {
- return this != internal_default_instance() && map_of_struct_ != NULL;
- }
- inline void StructTestCases::clear_map_of_struct() {
- if (GetArenaNoVirtual() == NULL && map_of_struct_ != NULL) {
- delete map_of_struct_;
- }
- map_of_struct_ = NULL;
- }
- inline const ::google::protobuf::testing::MapOfStruct& StructTestCases::_internal_map_of_struct() const {
- return *map_of_struct_;
- }
- inline const ::google::protobuf::testing::MapOfStruct& StructTestCases::map_of_struct() const {
- const ::google::protobuf::testing::MapOfStruct* p = map_of_struct_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.map_of_struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::MapOfStruct*>(
- &::google::protobuf::testing::_MapOfStruct_default_instance_);
- }
- inline ::google::protobuf::testing::MapOfStruct* StructTestCases::release_map_of_struct() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.map_of_struct)
-
- ::google::protobuf::testing::MapOfStruct* temp = map_of_struct_;
- map_of_struct_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::MapOfStruct* StructTestCases::mutable_map_of_struct() {
-
- if (map_of_struct_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::MapOfStruct>(GetArenaNoVirtual());
- map_of_struct_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.map_of_struct)
- return map_of_struct_;
- }
- inline void StructTestCases::set_allocated_map_of_struct(::google::protobuf::testing::MapOfStruct* map_of_struct) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete map_of_struct_;
- }
- if (map_of_struct) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- map_of_struct = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, map_of_struct, submessage_arena);
- }
-
- } else {
-
- }
- map_of_struct_ = map_of_struct;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.map_of_struct)
- }
- // .google.protobuf.testing.MapOfStruct map_of_struct_value = 38;
- inline bool StructTestCases::has_map_of_struct_value() const {
- return this != internal_default_instance() && map_of_struct_value_ != NULL;
- }
- inline void StructTestCases::clear_map_of_struct_value() {
- if (GetArenaNoVirtual() == NULL && map_of_struct_value_ != NULL) {
- delete map_of_struct_value_;
- }
- map_of_struct_value_ = NULL;
- }
- inline const ::google::protobuf::testing::MapOfStruct& StructTestCases::_internal_map_of_struct_value() const {
- return *map_of_struct_value_;
- }
- inline const ::google::protobuf::testing::MapOfStruct& StructTestCases::map_of_struct_value() const {
- const ::google::protobuf::testing::MapOfStruct* p = map_of_struct_value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.map_of_struct_value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::MapOfStruct*>(
- &::google::protobuf::testing::_MapOfStruct_default_instance_);
- }
- inline ::google::protobuf::testing::MapOfStruct* StructTestCases::release_map_of_struct_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.map_of_struct_value)
-
- ::google::protobuf::testing::MapOfStruct* temp = map_of_struct_value_;
- map_of_struct_value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::MapOfStruct* StructTestCases::mutable_map_of_struct_value() {
-
- if (map_of_struct_value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::MapOfStruct>(GetArenaNoVirtual());
- map_of_struct_value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.map_of_struct_value)
- return map_of_struct_value_;
- }
- inline void StructTestCases::set_allocated_map_of_struct_value(::google::protobuf::testing::MapOfStruct* map_of_struct_value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete map_of_struct_value_;
- }
- if (map_of_struct_value) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- map_of_struct_value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, map_of_struct_value, submessage_arena);
- }
-
- } else {
-
- }
- map_of_struct_value_ = map_of_struct_value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.map_of_struct_value)
- }
- // .google.protobuf.testing.MapOfStruct map_of_listvalue = 39;
- inline bool StructTestCases::has_map_of_listvalue() const {
- return this != internal_default_instance() && map_of_listvalue_ != NULL;
- }
- inline void StructTestCases::clear_map_of_listvalue() {
- if (GetArenaNoVirtual() == NULL && map_of_listvalue_ != NULL) {
- delete map_of_listvalue_;
- }
- map_of_listvalue_ = NULL;
- }
- inline const ::google::protobuf::testing::MapOfStruct& StructTestCases::_internal_map_of_listvalue() const {
- return *map_of_listvalue_;
- }
- inline const ::google::protobuf::testing::MapOfStruct& StructTestCases::map_of_listvalue() const {
- const ::google::protobuf::testing::MapOfStruct* p = map_of_listvalue_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructTestCases.map_of_listvalue)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::testing::MapOfStruct*>(
- &::google::protobuf::testing::_MapOfStruct_default_instance_);
- }
- inline ::google::protobuf::testing::MapOfStruct* StructTestCases::release_map_of_listvalue() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructTestCases.map_of_listvalue)
-
- ::google::protobuf::testing::MapOfStruct* temp = map_of_listvalue_;
- map_of_listvalue_ = NULL;
- return temp;
- }
- inline ::google::protobuf::testing::MapOfStruct* StructTestCases::mutable_map_of_listvalue() {
-
- if (map_of_listvalue_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::testing::MapOfStruct>(GetArenaNoVirtual());
- map_of_listvalue_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructTestCases.map_of_listvalue)
- return map_of_listvalue_;
- }
- inline void StructTestCases::set_allocated_map_of_listvalue(::google::protobuf::testing::MapOfStruct* map_of_listvalue) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete map_of_listvalue_;
- }
- if (map_of_listvalue) {
- ::google::protobuf::Arena* submessage_arena = NULL;
- if (message_arena != submessage_arena) {
- map_of_listvalue = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, map_of_listvalue, submessage_arena);
- }
-
- } else {
-
- }
- map_of_listvalue_ = map_of_listvalue;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructTestCases.map_of_listvalue)
- }
- // -------------------------------------------------------------------
- // StructWrapper
- // .google.protobuf.Struct struct = 1;
- inline bool StructWrapper::has_struct_() const {
- return this != internal_default_instance() && struct__ != NULL;
- }
- inline const ::google::protobuf::Struct& StructWrapper::_internal_struct_() const {
- return *struct__;
- }
- inline const ::google::protobuf::Struct& StructWrapper::struct_() const {
- const ::google::protobuf::Struct* p = struct__;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructWrapper.struct)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Struct*>(
- &::google::protobuf::_Struct_default_instance_);
- }
- inline ::google::protobuf::Struct* StructWrapper::release_struct_() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructWrapper.struct)
-
- ::google::protobuf::Struct* temp = struct__;
- struct__ = NULL;
- return temp;
- }
- inline ::google::protobuf::Struct* StructWrapper::mutable_struct_() {
-
- if (struct__ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual());
- struct__ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructWrapper.struct)
- return struct__;
- }
- inline void StructWrapper::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.StructWrapper.struct)
- }
- // -------------------------------------------------------------------
- // ValueWrapper
- // .google.protobuf.Value value = 1;
- inline bool ValueWrapper::has_value() const {
- return this != internal_default_instance() && value_ != NULL;
- }
- inline const ::google::protobuf::Value& ValueWrapper::_internal_value() const {
- return *value_;
- }
- inline const ::google::protobuf::Value& ValueWrapper::value() const {
- const ::google::protobuf::Value* p = value_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.ValueWrapper.value)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Value*>(
- &::google::protobuf::_Value_default_instance_);
- }
- inline ::google::protobuf::Value* ValueWrapper::release_value() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.ValueWrapper.value)
-
- ::google::protobuf::Value* temp = value_;
- value_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Value* ValueWrapper::mutable_value() {
-
- if (value_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Value>(GetArenaNoVirtual());
- value_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.ValueWrapper.value)
- return value_;
- }
- inline void ValueWrapper::set_allocated_value(::google::protobuf::Value* value) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(value_);
- }
- if (value) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(value)->GetArena();
- if (message_arena != submessage_arena) {
- value = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, value, submessage_arena);
- }
-
- } else {
-
- }
- value_ = value;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.ValueWrapper.value)
- }
- // -------------------------------------------------------------------
- // RepeatedValueWrapper
- // repeated .google.protobuf.Value values = 1;
- inline int RepeatedValueWrapper::values_size() const {
- return values_.size();
- }
- inline ::google::protobuf::Value* RepeatedValueWrapper::mutable_values(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.RepeatedValueWrapper.values)
- return values_.Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >*
- RepeatedValueWrapper::mutable_values() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.testing.RepeatedValueWrapper.values)
- return &values_;
- }
- inline const ::google::protobuf::Value& RepeatedValueWrapper::values(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.RepeatedValueWrapper.values)
- return values_.Get(index);
- }
- inline ::google::protobuf::Value* RepeatedValueWrapper::add_values() {
- // @@protoc_insertion_point(field_add:google.protobuf.testing.RepeatedValueWrapper.values)
- return values_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::Value >&
- RepeatedValueWrapper::values() const {
- // @@protoc_insertion_point(field_list:google.protobuf.testing.RepeatedValueWrapper.values)
- return values_;
- }
- // -------------------------------------------------------------------
- // ListValueWrapper
- // .google.protobuf.ListValue shopping_list = 1;
- inline bool ListValueWrapper::has_shopping_list() const {
- return this != internal_default_instance() && shopping_list_ != NULL;
- }
- inline const ::google::protobuf::ListValue& ListValueWrapper::_internal_shopping_list() const {
- return *shopping_list_;
- }
- inline const ::google::protobuf::ListValue& ListValueWrapper::shopping_list() const {
- const ::google::protobuf::ListValue* p = shopping_list_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.ListValueWrapper.shopping_list)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::ListValue*>(
- &::google::protobuf::_ListValue_default_instance_);
- }
- inline ::google::protobuf::ListValue* ListValueWrapper::release_shopping_list() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.ListValueWrapper.shopping_list)
-
- ::google::protobuf::ListValue* temp = shopping_list_;
- shopping_list_ = NULL;
- return temp;
- }
- inline ::google::protobuf::ListValue* ListValueWrapper::mutable_shopping_list() {
-
- if (shopping_list_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::ListValue>(GetArenaNoVirtual());
- shopping_list_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.ListValueWrapper.shopping_list)
- return shopping_list_;
- }
- inline void ListValueWrapper::set_allocated_shopping_list(::google::protobuf::ListValue* shopping_list) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(shopping_list_);
- }
- if (shopping_list) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(shopping_list)->GetArena();
- if (message_arena != submessage_arena) {
- shopping_list = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, shopping_list, submessage_arena);
- }
-
- } else {
-
- }
- shopping_list_ = shopping_list;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.ListValueWrapper.shopping_list)
- }
- // -------------------------------------------------------------------
- // RepeatedListValueWrapper
- // repeated .google.protobuf.ListValue dimensions = 1;
- inline int RepeatedListValueWrapper::dimensions_size() const {
- return dimensions_.size();
- }
- inline ::google::protobuf::ListValue* RepeatedListValueWrapper::mutable_dimensions(int index) {
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.RepeatedListValueWrapper.dimensions)
- return dimensions_.Mutable(index);
- }
- inline ::google::protobuf::RepeatedPtrField< ::google::protobuf::ListValue >*
- RepeatedListValueWrapper::mutable_dimensions() {
- // @@protoc_insertion_point(field_mutable_list:google.protobuf.testing.RepeatedListValueWrapper.dimensions)
- return &dimensions_;
- }
- inline const ::google::protobuf::ListValue& RepeatedListValueWrapper::dimensions(int index) const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.RepeatedListValueWrapper.dimensions)
- return dimensions_.Get(index);
- }
- inline ::google::protobuf::ListValue* RepeatedListValueWrapper::add_dimensions() {
- // @@protoc_insertion_point(field_add:google.protobuf.testing.RepeatedListValueWrapper.dimensions)
- return dimensions_.Add();
- }
- inline const ::google::protobuf::RepeatedPtrField< ::google::protobuf::ListValue >&
- RepeatedListValueWrapper::dimensions() const {
- // @@protoc_insertion_point(field_list:google.protobuf.testing.RepeatedListValueWrapper.dimensions)
- return dimensions_;
- }
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // MapOfStruct
- // map<string, .google.protobuf.Struct> struct_map = 1;
- inline int MapOfStruct::struct_map_size() const {
- return struct_map_.size();
- }
- inline const ::google::protobuf::Map< ::std::string, ::google::protobuf::Struct >&
- MapOfStruct::struct_map() const {
- // @@protoc_insertion_point(field_map:google.protobuf.testing.MapOfStruct.struct_map)
- return struct_map_.GetMap();
- }
- inline ::google::protobuf::Map< ::std::string, ::google::protobuf::Struct >*
- MapOfStruct::mutable_struct_map() {
- // @@protoc_insertion_point(field_mutable_map:google.protobuf.testing.MapOfStruct.struct_map)
- return struct_map_.MutableMap();
- }
- // map<string, .google.protobuf.Value> value_map = 2;
- inline int MapOfStruct::value_map_size() const {
- return value_map_.size();
- }
- inline const ::google::protobuf::Map< ::std::string, ::google::protobuf::Value >&
- MapOfStruct::value_map() const {
- // @@protoc_insertion_point(field_map:google.protobuf.testing.MapOfStruct.value_map)
- return value_map_.GetMap();
- }
- inline ::google::protobuf::Map< ::std::string, ::google::protobuf::Value >*
- MapOfStruct::mutable_value_map() {
- // @@protoc_insertion_point(field_mutable_map:google.protobuf.testing.MapOfStruct.value_map)
- return value_map_.MutableMap();
- }
- // map<string, .google.protobuf.ListValue> listvalue_map = 3;
- inline int MapOfStruct::listvalue_map_size() const {
- return listvalue_map_.size();
- }
- inline const ::google::protobuf::Map< ::std::string, ::google::protobuf::ListValue >&
- MapOfStruct::listvalue_map() const {
- // @@protoc_insertion_point(field_map:google.protobuf.testing.MapOfStruct.listvalue_map)
- return listvalue_map_.GetMap();
- }
- inline ::google::protobuf::Map< ::std::string, ::google::protobuf::ListValue >*
- MapOfStruct::mutable_listvalue_map() {
- // @@protoc_insertion_point(field_mutable_map:google.protobuf.testing.MapOfStruct.listvalue_map)
- return listvalue_map_.MutableMap();
- }
- // -------------------------------------------------------------------
- // Dummy
- // string text = 1;
- inline void Dummy::clear_text() {
- text_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline const ::std::string& Dummy::text() const {
- // @@protoc_insertion_point(field_get:google.protobuf.testing.Dummy.text)
- return text_.GetNoArena();
- }
- inline void Dummy::set_text(const ::std::string& value) {
-
- text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
- // @@protoc_insertion_point(field_set:google.protobuf.testing.Dummy.text)
- }
- #if LANG_CXX11
- inline void Dummy::set_text(::std::string&& value) {
-
- text_.SetNoArena(
- &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
- // @@protoc_insertion_point(field_set_rvalue:google.protobuf.testing.Dummy.text)
- }
- #endif
- inline void Dummy::set_text(const char* value) {
- GOOGLE_DCHECK(value != NULL);
-
- text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
- // @@protoc_insertion_point(field_set_char:google.protobuf.testing.Dummy.text)
- }
- inline void Dummy::set_text(const char* value, size_t size) {
-
- text_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
- ::std::string(reinterpret_cast<const char*>(value), size));
- // @@protoc_insertion_point(field_set_pointer:google.protobuf.testing.Dummy.text)
- }
- inline ::std::string* Dummy::mutable_text() {
-
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.Dummy.text)
- return text_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline ::std::string* Dummy::release_text() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.Dummy.text)
-
- return text_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
- }
- inline void Dummy::set_allocated_text(::std::string* text) {
- if (text != NULL) {
-
- } else {
-
- }
- text_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), text);
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.Dummy.text)
- }
- // -------------------------------------------------------------------
- // StructType
- // .google.protobuf.Struct object = 1;
- inline bool StructType::has_object() const {
- return this != internal_default_instance() && object_ != NULL;
- }
- inline const ::google::protobuf::Struct& StructType::_internal_object() const {
- return *object_;
- }
- inline const ::google::protobuf::Struct& StructType::object() const {
- const ::google::protobuf::Struct* p = object_;
- // @@protoc_insertion_point(field_get:google.protobuf.testing.StructType.object)
- return p != NULL ? *p : *reinterpret_cast<const ::google::protobuf::Struct*>(
- &::google::protobuf::_Struct_default_instance_);
- }
- inline ::google::protobuf::Struct* StructType::release_object() {
- // @@protoc_insertion_point(field_release:google.protobuf.testing.StructType.object)
-
- ::google::protobuf::Struct* temp = object_;
- object_ = NULL;
- return temp;
- }
- inline ::google::protobuf::Struct* StructType::mutable_object() {
-
- if (object_ == NULL) {
- auto* p = CreateMaybeMessage<::google::protobuf::Struct>(GetArenaNoVirtual());
- object_ = p;
- }
- // @@protoc_insertion_point(field_mutable:google.protobuf.testing.StructType.object)
- return object_;
- }
- inline void StructType::set_allocated_object(::google::protobuf::Struct* object) {
- ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
- if (message_arena == NULL) {
- delete reinterpret_cast< ::google::protobuf::MessageLite*>(object_);
- }
- if (object) {
- ::google::protobuf::Arena* submessage_arena =
- reinterpret_cast<::google::protobuf::MessageLite*>(object)->GetArena();
- if (message_arena != submessage_arena) {
- object = ::google::protobuf::internal::GetOwnedMessage(
- message_arena, object, submessage_arena);
- }
-
- } else {
-
- }
- object_ = object;
- // @@protoc_insertion_point(field_set_allocated:google.protobuf.testing.StructType.object)
- }
- #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_2fstruct_2eproto
|