123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: remote.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_remote_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_remote_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3019000
- #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 3019004 < 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/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_bases.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/generated_enum_reflection.h>
- #include <google/protobuf/unknown_field_set.h>
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_remote_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_remote_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[15]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const uint32_t offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_remote_2eproto;
- namespace remote {
- class Answer;
- struct AnswerDefaultTypeInternal;
- extern AnswerDefaultTypeInternal _Answer_default_instance_;
- class CSAdd;
- struct CSAddDefaultTypeInternal;
- extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
- class CSRep;
- struct CSRepDefaultTypeInternal;
- extern CSRepDefaultTypeInternal _CSRep_default_instance_;
- class CSReq;
- struct CSReqDefaultTypeInternal;
- extern CSReqDefaultTypeInternal _CSReq_default_instance_;
- class CSRobot;
- struct CSRobotDefaultTypeInternal;
- extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
- class Candidate;
- struct CandidateDefaultTypeInternal;
- extern CandidateDefaultTypeInternal _Candidate_default_instance_;
- class Leave;
- struct LeaveDefaultTypeInternal;
- extern LeaveDefaultTypeInternal _Leave_default_instance_;
- class Offer;
- struct OfferDefaultTypeInternal;
- extern OfferDefaultTypeInternal _Offer_default_instance_;
- class Robot;
- struct RobotDefaultTypeInternal;
- extern RobotDefaultTypeInternal _Robot_default_instance_;
- class SCAdd;
- struct SCAddDefaultTypeInternal;
- extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
- class SCAddRobot;
- struct SCAddRobotDefaultTypeInternal;
- extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
- class SCDelRobot;
- struct SCDelRobotDefaultTypeInternal;
- extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
- class SCRep;
- struct SCRepDefaultTypeInternal;
- extern SCRepDefaultTypeInternal _SCRep_default_instance_;
- class SCReq;
- struct SCReqDefaultTypeInternal;
- extern SCReqDefaultTypeInternal _SCReq_default_instance_;
- class SCRobot;
- struct SCRobotDefaultTypeInternal;
- extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
- } // namespace remote
- PROTOBUF_NAMESPACE_OPEN
- template<> ::remote::Answer* Arena::CreateMaybeMessage<::remote::Answer>(Arena*);
- template<> ::remote::CSAdd* Arena::CreateMaybeMessage<::remote::CSAdd>(Arena*);
- template<> ::remote::CSRep* Arena::CreateMaybeMessage<::remote::CSRep>(Arena*);
- template<> ::remote::CSReq* Arena::CreateMaybeMessage<::remote::CSReq>(Arena*);
- template<> ::remote::CSRobot* Arena::CreateMaybeMessage<::remote::CSRobot>(Arena*);
- template<> ::remote::Candidate* Arena::CreateMaybeMessage<::remote::Candidate>(Arena*);
- template<> ::remote::Leave* Arena::CreateMaybeMessage<::remote::Leave>(Arena*);
- template<> ::remote::Offer* Arena::CreateMaybeMessage<::remote::Offer>(Arena*);
- template<> ::remote::Robot* Arena::CreateMaybeMessage<::remote::Robot>(Arena*);
- template<> ::remote::SCAdd* Arena::CreateMaybeMessage<::remote::SCAdd>(Arena*);
- template<> ::remote::SCAddRobot* Arena::CreateMaybeMessage<::remote::SCAddRobot>(Arena*);
- template<> ::remote::SCDelRobot* Arena::CreateMaybeMessage<::remote::SCDelRobot>(Arena*);
- template<> ::remote::SCRep* Arena::CreateMaybeMessage<::remote::SCRep>(Arena*);
- template<> ::remote::SCReq* Arena::CreateMaybeMessage<::remote::SCReq>(Arena*);
- template<> ::remote::SCRobot* Arena::CreateMaybeMessage<::remote::SCRobot>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace remote {
- enum cs_message : int {
- cs_none = 0,
- cs_req = 2001,
- cs_rep = 2002,
- cs_offer = 2004,
- cs_answer = 2005,
- cs_candidate = 2006,
- cs_leave = 2007,
- cs_keepAlive = 2008,
- cs_add = 2009,
- cs_robot = 2010,
- cs_closeVideo = 2011,
- cs_state = 2014,
- cs_message_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- cs_message_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool cs_message_IsValid(int value);
- constexpr cs_message cs_message_MIN = cs_none;
- constexpr cs_message cs_message_MAX = cs_state;
- constexpr int cs_message_ARRAYSIZE = cs_message_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* cs_message_descriptor();
- template<typename T>
- inline const std::string& cs_message_Name(T enum_t_value) {
- static_assert(::std::is_same<T, cs_message>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function cs_message_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- cs_message_descriptor(), enum_t_value);
- }
- inline bool cs_message_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, cs_message* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<cs_message>(
- cs_message_descriptor(), name, value);
- }
- enum sc_message : int {
- sc_none = 0,
- sc_req = 4001,
- sc_rep = 4002,
- sc_offer = 4004,
- sc_answer = 4005,
- sc_candidate = 4006,
- sc_add = 4007,
- sc_robot = 4008,
- sc_NotifyReq = 4009,
- sc_NotifyRep = 4010,
- sc_NotifyAnswer = 4011,
- sc_NotifyOffer = 4012,
- sc_NotifyCandidate = 4013,
- sc_NotifyLeave = 4014,
- sc_NotifyAdd = 4016,
- sc_NotifyDel = 4017,
- sc_NotifyCloseVideo = 4018,
- sc_NotifyState = 4025,
- sc_message_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
- sc_message_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
- };
- bool sc_message_IsValid(int value);
- constexpr sc_message sc_message_MIN = sc_none;
- constexpr sc_message sc_message_MAX = sc_NotifyState;
- constexpr int sc_message_ARRAYSIZE = sc_message_MAX + 1;
- const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sc_message_descriptor();
- template<typename T>
- inline const std::string& sc_message_Name(T enum_t_value) {
- static_assert(::std::is_same<T, sc_message>::value ||
- ::std::is_integral<T>::value,
- "Incorrect type passed to function sc_message_Name.");
- return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
- sc_message_descriptor(), enum_t_value);
- }
- inline bool sc_message_Parse(
- ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sc_message* value) {
- return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sc_message>(
- sc_message_descriptor(), name, value);
- }
- // ===================================================================
- class Offer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Offer) */ {
- public:
- inline Offer() : Offer(nullptr) {}
- ~Offer() override;
- explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Offer(const Offer& from);
- Offer(Offer&& from) noexcept
- : Offer() {
- *this = ::std::move(from);
- }
- inline Offer& operator=(const Offer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Offer& operator=(Offer&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Offer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Offer* internal_default_instance() {
- return reinterpret_cast<const Offer*>(
- &_Offer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(Offer& a, Offer& b) {
- a.Swap(&b);
- }
- inline void Swap(Offer* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Offer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Offer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Offer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Offer& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Offer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.Offer";
- }
- protected:
- explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.Offer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class Answer final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Answer) */ {
- public:
- inline Answer() : Answer(nullptr) {}
- ~Answer() override;
- explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Answer(const Answer& from);
- Answer(Answer&& from) noexcept
- : Answer() {
- *this = ::std::move(from);
- }
- inline Answer& operator=(const Answer& from) {
- CopyFrom(from);
- return *this;
- }
- inline Answer& operator=(Answer&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Answer& default_instance() {
- return *internal_default_instance();
- }
- static inline const Answer* internal_default_instance() {
- return reinterpret_cast<const Answer*>(
- &_Answer_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 1;
- friend void swap(Answer& a, Answer& b) {
- a.Swap(&b);
- }
- inline void Swap(Answer* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Answer* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Answer>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Answer& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Answer& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Answer* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.Answer";
- }
- protected:
- explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kSdpFieldNumber = 4,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string sdp = 4;
- void clear_sdp();
- const std::string& sdp() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdp(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdp();
- PROTOBUF_NODISCARD std::string* release_sdp();
- void set_allocated_sdp(std::string* sdp);
- private:
- const std::string& _internal_sdp() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
- std::string* _internal_mutable_sdp();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.Answer)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
- int32_t index_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class Candidate final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Candidate) */ {
- public:
- inline Candidate() : Candidate(nullptr) {}
- ~Candidate() override;
- explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Candidate(const Candidate& from);
- Candidate(Candidate&& from) noexcept
- : Candidate() {
- *this = ::std::move(from);
- }
- inline Candidate& operator=(const Candidate& from) {
- CopyFrom(from);
- return *this;
- }
- inline Candidate& operator=(Candidate&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Candidate& default_instance() {
- return *internal_default_instance();
- }
- static inline const Candidate* internal_default_instance() {
- return reinterpret_cast<const Candidate*>(
- &_Candidate_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(Candidate& a, Candidate& b) {
- a.Swap(&b);
- }
- inline void Swap(Candidate* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Candidate* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Candidate>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Candidate& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Candidate& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Candidate* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.Candidate";
- }
- protected:
- explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kTypeFieldNumber = 3,
- kCandidateFieldNumber = 4,
- kSdpMidFieldNumber = 6,
- kIndexFieldNumber = 1,
- kPeerFieldNumber = 2,
- kSdpMLineIndexFieldNumber = 5,
- kEgotypeFieldNumber = 7,
- };
- // string type = 3;
- void clear_type();
- const std::string& type() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_type(ArgT0&& arg0, ArgT... args);
- std::string* mutable_type();
- PROTOBUF_NODISCARD std::string* release_type();
- void set_allocated_type(std::string* type);
- private:
- const std::string& _internal_type() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
- std::string* _internal_mutable_type();
- public:
- // string candidate = 4;
- void clear_candidate();
- const std::string& candidate() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_candidate(ArgT0&& arg0, ArgT... args);
- std::string* mutable_candidate();
- PROTOBUF_NODISCARD std::string* release_candidate();
- void set_allocated_candidate(std::string* candidate);
- private:
- const std::string& _internal_candidate() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
- std::string* _internal_mutable_candidate();
- public:
- // string sdpMid = 6;
- void clear_sdpmid();
- const std::string& sdpmid() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_sdpmid(ArgT0&& arg0, ArgT... args);
- std::string* mutable_sdpmid();
- PROTOBUF_NODISCARD std::string* release_sdpmid();
- void set_allocated_sdpmid(std::string* sdpmid);
- private:
- const std::string& _internal_sdpmid() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
- std::string* _internal_mutable_sdpmid();
- public:
- // int32 index = 1;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 sdpMLineIndex = 5;
- void clear_sdpmlineindex();
- int32_t sdpmlineindex() const;
- void set_sdpmlineindex(int32_t value);
- private:
- int32_t _internal_sdpmlineindex() const;
- void _internal_set_sdpmlineindex(int32_t value);
- public:
- // int32 egotype = 7;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.Candidate)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
- int32_t index_;
- int32_t peer_;
- int32_t sdpmlineindex_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class CSReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.CSReq) */ {
- public:
- inline CSReq() : CSReq(nullptr) {}
- ~CSReq() override;
- explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSReq(const CSReq& from);
- CSReq(CSReq&& from) noexcept
- : CSReq() {
- *this = ::std::move(from);
- }
- inline CSReq& operator=(const CSReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSReq& operator=(CSReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSReq* internal_default_instance() {
- return reinterpret_cast<const CSReq*>(
- &_CSReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 3;
- friend void swap(CSReq& a, CSReq& b) {
- a.Swap(&b);
- }
- inline void Swap(CSReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.CSReq";
- }
- protected:
- explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.CSReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class SCReq final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCReq) */ {
- public:
- inline SCReq() : SCReq(nullptr) {}
- ~SCReq() override;
- explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCReq(const SCReq& from);
- SCReq(SCReq&& from) noexcept
- : SCReq() {
- *this = ::std::move(from);
- }
- inline SCReq& operator=(const SCReq& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCReq& operator=(SCReq&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCReq& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCReq* internal_default_instance() {
- return reinterpret_cast<const SCReq*>(
- &_SCReq_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 4;
- friend void swap(SCReq& a, SCReq& b) {
- a.Swap(&b);
- }
- inline void Swap(SCReq* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCReq* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCReq>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCReq& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCReq& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCReq* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.SCReq";
- }
- protected:
- explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- };
- // int32 desc = 1;
- void clear_desc();
- int32_t desc() const;
- void set_desc(int32_t value);
- private:
- int32_t _internal_desc() const;
- void _internal_set_desc(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.SCReq)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t desc_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.CSRep) */ {
- public:
- inline CSRep() : CSRep(nullptr) {}
- ~CSRep() override;
- explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRep(const CSRep& from);
- CSRep(CSRep&& from) noexcept
- : CSRep() {
- *this = ::std::move(from);
- }
- inline CSRep& operator=(const CSRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRep& operator=(CSRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRep* internal_default_instance() {
- return reinterpret_cast<const CSRep*>(
- &_CSRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 5;
- friend void swap(CSRep& a, CSRep& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.CSRep";
- }
- protected:
- explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kPeerFieldNumber = 2,
- kIndexFieldNumber = 3,
- kEgotypeFieldNumber = 4,
- };
- // int32 desc = 1;
- void clear_desc();
- int32_t desc() const;
- void set_desc(int32_t value);
- private:
- int32_t _internal_desc() const;
- void _internal_set_desc(int32_t value);
- public:
- // int32 peer = 2;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 index = 3;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 4;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.CSRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t desc_;
- int32_t peer_;
- int32_t index_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRep final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCRep) */ {
- public:
- inline SCRep() : SCRep(nullptr) {}
- ~SCRep() override;
- explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRep(const SCRep& from);
- SCRep(SCRep&& from) noexcept
- : SCRep() {
- *this = ::std::move(from);
- }
- inline SCRep& operator=(const SCRep& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRep& operator=(SCRep&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCRep& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRep* internal_default_instance() {
- return reinterpret_cast<const SCRep*>(
- &_SCRep_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 6;
- friend void swap(SCRep& a, SCRep& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRep* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCRep* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRep>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRep& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRep& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCRep* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.SCRep";
- }
- protected:
- explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kDescFieldNumber = 1,
- kIndexFieldNumber = 2,
- kEgotypeFieldNumber = 3,
- kPeerFieldNumber = 4,
- };
- // int32 desc = 1;
- void clear_desc();
- int32_t desc() const;
- void set_desc(int32_t value);
- private:
- int32_t _internal_desc() const;
- void _internal_set_desc(int32_t value);
- public:
- // int32 index = 2;
- void clear_index();
- int32_t index() const;
- void set_index(int32_t value);
- private:
- int32_t _internal_index() const;
- void _internal_set_index(int32_t value);
- public:
- // int32 egotype = 3;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // int32 peer = 4;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.SCRep)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t desc_;
- int32_t index_;
- int32_t egotype_;
- int32_t peer_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class CSAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.CSAdd) */ {
- public:
- inline CSAdd() : CSAdd(nullptr) {}
- ~CSAdd() override;
- explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSAdd(const CSAdd& from);
- CSAdd(CSAdd&& from) noexcept
- : CSAdd() {
- *this = ::std::move(from);
- }
- inline CSAdd& operator=(const CSAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSAdd& operator=(CSAdd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSAdd* internal_default_instance() {
- return reinterpret_cast<const CSAdd*>(
- &_CSAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 7;
- friend void swap(CSAdd& a, CSAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(CSAdd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const CSAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const CSAdd& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(CSAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.CSAdd";
- }
- protected:
- explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kSerialFieldNumber = 1,
- kNameFieldNumber = 3,
- kTypeFieldNumber = 2,
- kCarFieldNumber = 4,
- };
- // string serial = 1;
- void clear_serial();
- const std::string& serial() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_serial(ArgT0&& arg0, ArgT... args);
- std::string* mutable_serial();
- PROTOBUF_NODISCARD std::string* release_serial();
- void set_allocated_serial(std::string* serial);
- private:
- const std::string& _internal_serial() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
- std::string* _internal_mutable_serial();
- public:
- // string name = 3;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // int32 type = 2;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // int32 car = 4;
- void clear_car();
- int32_t car() const;
- void set_car(int32_t value);
- private:
- int32_t _internal_car() const;
- void _internal_set_car(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.CSAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t type_;
- int32_t car_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAdd final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCAdd) */ {
- public:
- inline SCAdd() : SCAdd(nullptr) {}
- ~SCAdd() override;
- explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAdd(const SCAdd& from);
- SCAdd(SCAdd&& from) noexcept
- : SCAdd() {
- *this = ::std::move(from);
- }
- inline SCAdd& operator=(const SCAdd& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAdd& operator=(SCAdd&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCAdd& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAdd* internal_default_instance() {
- return reinterpret_cast<const SCAdd*>(
- &_SCAdd_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 8;
- friend void swap(SCAdd& a, SCAdd& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAdd* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCAdd* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAdd>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAdd& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAdd& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCAdd* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.SCAdd";
- }
- protected:
- explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 3,
- kRetFieldNumber = 1,
- kUidFieldNumber = 2,
- kCarFieldNumber = 4,
- };
- // string name = 3;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // bool ret = 1;
- void clear_ret();
- bool ret() const;
- void set_ret(bool value);
- private:
- bool _internal_ret() const;
- void _internal_set_ret(bool value);
- public:
- // int32 uid = 2;
- void clear_uid();
- int32_t uid() const;
- void set_uid(int32_t value);
- private:
- int32_t _internal_uid() const;
- void _internal_set_uid(int32_t value);
- public:
- // int32 car = 4;
- void clear_car();
- int32_t car() const;
- void set_car(int32_t value);
- private:
- int32_t _internal_car() const;
- void _internal_set_car(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.SCAdd)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- bool ret_;
- int32_t uid_;
- int32_t car_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class Robot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Robot) */ {
- public:
- inline Robot() : Robot(nullptr) {}
- ~Robot() override;
- explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Robot(const Robot& from);
- Robot(Robot&& from) noexcept
- : Robot() {
- *this = ::std::move(from);
- }
- inline Robot& operator=(const Robot& from) {
- CopyFrom(from);
- return *this;
- }
- inline Robot& operator=(Robot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Robot& default_instance() {
- return *internal_default_instance();
- }
- static inline const Robot* internal_default_instance() {
- return reinterpret_cast<const Robot*>(
- &_Robot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 9;
- friend void swap(Robot& a, Robot& b) {
- a.Swap(&b);
- }
- inline void Swap(Robot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Robot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Robot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Robot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Robot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Robot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.Robot";
- }
- protected:
- explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kNameFieldNumber = 2,
- kRidFieldNumber = 1,
- kTypeFieldNumber = 3,
- kStateFieldNumber = 4,
- };
- // string name = 2;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // int32 rid = 1;
- void clear_rid();
- int32_t rid() const;
- void set_rid(int32_t value);
- private:
- int32_t _internal_rid() const;
- void _internal_set_rid(int32_t value);
- public:
- // int32 type = 3;
- void clear_type();
- int32_t type() const;
- void set_type(int32_t value);
- private:
- int32_t _internal_type() const;
- void _internal_set_type(int32_t value);
- public:
- // int32 state = 4;
- void clear_state();
- int32_t state() const;
- void set_state(int32_t value);
- private:
- int32_t _internal_state() const;
- void _internal_set_state(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.Robot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- int32_t rid_;
- int32_t type_;
- int32_t state_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class SCAddRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCAddRobot) */ {
- public:
- inline SCAddRobot() : SCAddRobot(nullptr) {}
- ~SCAddRobot() override;
- explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCAddRobot(const SCAddRobot& from);
- SCAddRobot(SCAddRobot&& from) noexcept
- : SCAddRobot() {
- *this = ::std::move(from);
- }
- inline SCAddRobot& operator=(const SCAddRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCAddRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCAddRobot* internal_default_instance() {
- return reinterpret_cast<const SCAddRobot*>(
- &_SCAddRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 10;
- friend void swap(SCAddRobot& a, SCAddRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCAddRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCAddRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCAddRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCAddRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCAddRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCAddRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.SCAddRobot";
- }
- protected:
- explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRobotFieldNumber = 1,
- };
- // .remote.Robot robot = 1;
- bool has_robot() const;
- private:
- bool _internal_has_robot() const;
- public:
- void clear_robot();
- const ::remote::Robot& robot() const;
- PROTOBUF_NODISCARD ::remote::Robot* release_robot();
- ::remote::Robot* mutable_robot();
- void set_allocated_robot(::remote::Robot* robot);
- private:
- const ::remote::Robot& _internal_robot() const;
- ::remote::Robot* _internal_mutable_robot();
- public:
- void unsafe_arena_set_allocated_robot(
- ::remote::Robot* robot);
- ::remote::Robot* unsafe_arena_release_robot();
- // @@protoc_insertion_point(class_scope:remote.SCAddRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::remote::Robot* robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class SCDelRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCDelRobot) */ {
- public:
- inline SCDelRobot() : SCDelRobot(nullptr) {}
- ~SCDelRobot() override;
- explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCDelRobot(const SCDelRobot& from);
- SCDelRobot(SCDelRobot&& from) noexcept
- : SCDelRobot() {
- *this = ::std::move(from);
- }
- inline SCDelRobot& operator=(const SCDelRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCDelRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCDelRobot* internal_default_instance() {
- return reinterpret_cast<const SCDelRobot*>(
- &_SCDelRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 11;
- friend void swap(SCDelRobot& a, SCDelRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCDelRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCDelRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCDelRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCDelRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCDelRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCDelRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.SCDelRobot";
- }
- protected:
- explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.SCDelRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class CSRobot final :
- public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:remote.CSRobot) */ {
- public:
- inline CSRobot() : CSRobot(nullptr) {}
- explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- CSRobot(const CSRobot& from);
- CSRobot(CSRobot&& from) noexcept
- : CSRobot() {
- *this = ::std::move(from);
- }
- inline CSRobot& operator=(const CSRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline CSRobot& operator=(CSRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const CSRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const CSRobot* internal_default_instance() {
- return reinterpret_cast<const CSRobot*>(
- &_CSRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 12;
- friend void swap(CSRobot& a, CSRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(CSRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(CSRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<CSRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
- inline void CopyFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
- }
- using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
- void MergeFrom(const CSRobot& from) {
- ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
- }
- public:
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.CSRobot";
- }
- protected:
- explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- // @@protoc_insertion_point(class_scope:remote.CSRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class SCRobot final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCRobot) */ {
- public:
- inline SCRobot() : SCRobot(nullptr) {}
- ~SCRobot() override;
- explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- SCRobot(const SCRobot& from);
- SCRobot(SCRobot&& from) noexcept
- : SCRobot() {
- *this = ::std::move(from);
- }
- inline SCRobot& operator=(const SCRobot& from) {
- CopyFrom(from);
- return *this;
- }
- inline SCRobot& operator=(SCRobot&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const SCRobot& default_instance() {
- return *internal_default_instance();
- }
- static inline const SCRobot* internal_default_instance() {
- return reinterpret_cast<const SCRobot*>(
- &_SCRobot_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 13;
- friend void swap(SCRobot& a, SCRobot& b) {
- a.Swap(&b);
- }
- inline void Swap(SCRobot* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(SCRobot* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<SCRobot>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const SCRobot& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const SCRobot& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(SCRobot* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.SCRobot";
- }
- protected:
- explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kRobotFieldNumber = 1,
- };
- // repeated .remote.Robot robot = 1;
- int robot_size() const;
- private:
- int _internal_robot_size() const;
- public:
- void clear_robot();
- ::remote::Robot* mutable_robot(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >*
- mutable_robot();
- private:
- const ::remote::Robot& _internal_robot(int index) const;
- ::remote::Robot* _internal_add_robot();
- public:
- const ::remote::Robot& robot(int index) const;
- ::remote::Robot* add_robot();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >&
- robot() const;
- // @@protoc_insertion_point(class_scope:remote.SCRobot)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot > robot_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // -------------------------------------------------------------------
- class Leave final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Leave) */ {
- public:
- inline Leave() : Leave(nullptr) {}
- ~Leave() override;
- explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- Leave(const Leave& from);
- Leave(Leave&& from) noexcept
- : Leave() {
- *this = ::std::move(from);
- }
- inline Leave& operator=(const Leave& from) {
- CopyFrom(from);
- return *this;
- }
- inline Leave& operator=(Leave&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const Leave& default_instance() {
- return *internal_default_instance();
- }
- static inline const Leave* internal_default_instance() {
- return reinterpret_cast<const Leave*>(
- &_Leave_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 14;
- friend void swap(Leave& a, Leave& b) {
- a.Swap(&b);
- }
- inline void Swap(Leave* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(Leave* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<Leave>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const Leave& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const Leave& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(Leave* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "remote.Leave";
- }
- protected:
- explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kPeerFieldNumber = 1,
- kEgotypeFieldNumber = 2,
- };
- // int32 peer = 1;
- void clear_peer();
- int32_t peer() const;
- void set_peer(int32_t value);
- private:
- int32_t _internal_peer() const;
- void _internal_set_peer(int32_t value);
- public:
- // int32 egotype = 2;
- void clear_egotype();
- int32_t egotype() const;
- void set_egotype(int32_t value);
- private:
- int32_t _internal_egotype() const;
- void _internal_set_egotype(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:remote.Leave)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- int32_t peer_;
- int32_t egotype_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_remote_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // Offer
- // int32 index = 1;
- inline void Offer::clear_index() {
- index_ = 0;
- }
- inline int32_t Offer::_internal_index() const {
- return index_;
- }
- inline int32_t Offer::index() const {
- // @@protoc_insertion_point(field_get:remote.Offer.index)
- return _internal_index();
- }
- inline void Offer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Offer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:remote.Offer.index)
- }
- // int32 peer = 2;
- inline void Offer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Offer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Offer::peer() const {
- // @@protoc_insertion_point(field_get:remote.Offer.peer)
- return _internal_peer();
- }
- inline void Offer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Offer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.Offer.peer)
- }
- // string type = 3;
- inline void Offer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Offer::type() const {
- // @@protoc_insertion_point(field_get:remote.Offer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Offer.type)
- }
- inline std::string* Offer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:remote.Offer.type)
- return _s;
- }
- inline const std::string& Offer::_internal_type() const {
- return type_.Get();
- }
- inline void Offer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_type() {
- // @@protoc_insertion_point(field_release:remote.Offer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Offer.type)
- }
- // string sdp = 4;
- inline void Offer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Offer::sdp() const {
- // @@protoc_insertion_point(field_get:remote.Offer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Offer.sdp)
- }
- inline std::string* Offer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:remote.Offer.sdp)
- return _s;
- }
- inline const std::string& Offer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Offer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Offer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Offer::release_sdp() {
- // @@protoc_insertion_point(field_release:remote.Offer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Offer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Offer.sdp)
- }
- // -------------------------------------------------------------------
- // Answer
- // int32 index = 1;
- inline void Answer::clear_index() {
- index_ = 0;
- }
- inline int32_t Answer::_internal_index() const {
- return index_;
- }
- inline int32_t Answer::index() const {
- // @@protoc_insertion_point(field_get:remote.Answer.index)
- return _internal_index();
- }
- inline void Answer::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Answer::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:remote.Answer.index)
- }
- // int32 peer = 2;
- inline void Answer::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Answer::_internal_peer() const {
- return peer_;
- }
- inline int32_t Answer::peer() const {
- // @@protoc_insertion_point(field_get:remote.Answer.peer)
- return _internal_peer();
- }
- inline void Answer::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Answer::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.Answer.peer)
- }
- // string type = 3;
- inline void Answer::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Answer::type() const {
- // @@protoc_insertion_point(field_get:remote.Answer.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Answer.type)
- }
- inline std::string* Answer::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:remote.Answer.type)
- return _s;
- }
- inline const std::string& Answer::_internal_type() const {
- return type_.Get();
- }
- inline void Answer::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_type() {
- // @@protoc_insertion_point(field_release:remote.Answer.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Answer.type)
- }
- // string sdp = 4;
- inline void Answer::clear_sdp() {
- sdp_.ClearToEmpty();
- }
- inline const std::string& Answer::sdp() const {
- // @@protoc_insertion_point(field_get:remote.Answer.sdp)
- return _internal_sdp();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Answer.sdp)
- }
- inline std::string* Answer::mutable_sdp() {
- std::string* _s = _internal_mutable_sdp();
- // @@protoc_insertion_point(field_mutable:remote.Answer.sdp)
- return _s;
- }
- inline const std::string& Answer::_internal_sdp() const {
- return sdp_.Get();
- }
- inline void Answer::_internal_set_sdp(const std::string& value) {
-
- sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Answer::_internal_mutable_sdp() {
-
- return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Answer::release_sdp() {
- // @@protoc_insertion_point(field_release:remote.Answer.sdp)
- return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Answer::set_allocated_sdp(std::string* sdp) {
- if (sdp != nullptr) {
-
- } else {
-
- }
- sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Answer.sdp)
- }
- // -------------------------------------------------------------------
- // Candidate
- // int32 index = 1;
- inline void Candidate::clear_index() {
- index_ = 0;
- }
- inline int32_t Candidate::_internal_index() const {
- return index_;
- }
- inline int32_t Candidate::index() const {
- // @@protoc_insertion_point(field_get:remote.Candidate.index)
- return _internal_index();
- }
- inline void Candidate::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void Candidate::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:remote.Candidate.index)
- }
- // int32 peer = 2;
- inline void Candidate::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Candidate::_internal_peer() const {
- return peer_;
- }
- inline int32_t Candidate::peer() const {
- // @@protoc_insertion_point(field_get:remote.Candidate.peer)
- return _internal_peer();
- }
- inline void Candidate::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Candidate::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.Candidate.peer)
- }
- // string type = 3;
- inline void Candidate::clear_type() {
- type_.ClearToEmpty();
- }
- inline const std::string& Candidate::type() const {
- // @@protoc_insertion_point(field_get:remote.Candidate.type)
- return _internal_type();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Candidate.type)
- }
- inline std::string* Candidate::mutable_type() {
- std::string* _s = _internal_mutable_type();
- // @@protoc_insertion_point(field_mutable:remote.Candidate.type)
- return _s;
- }
- inline const std::string& Candidate::_internal_type() const {
- return type_.Get();
- }
- inline void Candidate::_internal_set_type(const std::string& value) {
-
- type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_type() {
-
- return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_type() {
- // @@protoc_insertion_point(field_release:remote.Candidate.type)
- return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_type(std::string* type) {
- if (type != nullptr) {
-
- } else {
-
- }
- type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Candidate.type)
- }
- // string candidate = 4;
- inline void Candidate::clear_candidate() {
- candidate_.ClearToEmpty();
- }
- inline const std::string& Candidate::candidate() const {
- // @@protoc_insertion_point(field_get:remote.Candidate.candidate)
- return _internal_candidate();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Candidate.candidate)
- }
- inline std::string* Candidate::mutable_candidate() {
- std::string* _s = _internal_mutable_candidate();
- // @@protoc_insertion_point(field_mutable:remote.Candidate.candidate)
- return _s;
- }
- inline const std::string& Candidate::_internal_candidate() const {
- return candidate_.Get();
- }
- inline void Candidate::_internal_set_candidate(const std::string& value) {
-
- candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_candidate() {
-
- return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_candidate() {
- // @@protoc_insertion_point(field_release:remote.Candidate.candidate)
- return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_candidate(std::string* candidate) {
- if (candidate != nullptr) {
-
- } else {
-
- }
- candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Candidate.candidate)
- }
- // int32 sdpMLineIndex = 5;
- inline void Candidate::clear_sdpmlineindex() {
- sdpmlineindex_ = 0;
- }
- inline int32_t Candidate::_internal_sdpmlineindex() const {
- return sdpmlineindex_;
- }
- inline int32_t Candidate::sdpmlineindex() const {
- // @@protoc_insertion_point(field_get:remote.Candidate.sdpMLineIndex)
- return _internal_sdpmlineindex();
- }
- inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
-
- sdpmlineindex_ = value;
- }
- inline void Candidate::set_sdpmlineindex(int32_t value) {
- _internal_set_sdpmlineindex(value);
- // @@protoc_insertion_point(field_set:remote.Candidate.sdpMLineIndex)
- }
- // string sdpMid = 6;
- inline void Candidate::clear_sdpmid() {
- sdpmid_.ClearToEmpty();
- }
- inline const std::string& Candidate::sdpmid() const {
- // @@protoc_insertion_point(field_get:remote.Candidate.sdpMid)
- return _internal_sdpmid();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Candidate.sdpMid)
- }
- inline std::string* Candidate::mutable_sdpmid() {
- std::string* _s = _internal_mutable_sdpmid();
- // @@protoc_insertion_point(field_mutable:remote.Candidate.sdpMid)
- return _s;
- }
- inline const std::string& Candidate::_internal_sdpmid() const {
- return sdpmid_.Get();
- }
- inline void Candidate::_internal_set_sdpmid(const std::string& value) {
-
- sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Candidate::_internal_mutable_sdpmid() {
-
- return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Candidate::release_sdpmid() {
- // @@protoc_insertion_point(field_release:remote.Candidate.sdpMid)
- return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
- if (sdpmid != nullptr) {
-
- } else {
-
- }
- sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Candidate.sdpMid)
- }
- // int32 egotype = 7;
- inline void Candidate::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Candidate::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Candidate::egotype() const {
- // @@protoc_insertion_point(field_get:remote.Candidate.egotype)
- return _internal_egotype();
- }
- inline void Candidate::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Candidate::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:remote.Candidate.egotype)
- }
- // -------------------------------------------------------------------
- // CSReq
- // int32 peer = 1;
- inline void CSReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSReq::peer() const {
- // @@protoc_insertion_point(field_get:remote.CSReq.peer)
- return _internal_peer();
- }
- inline void CSReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.CSReq.peer)
- }
- // int32 index = 2;
- inline void CSReq::clear_index() {
- index_ = 0;
- }
- inline int32_t CSReq::_internal_index() const {
- return index_;
- }
- inline int32_t CSReq::index() const {
- // @@protoc_insertion_point(field_get:remote.CSReq.index)
- return _internal_index();
- }
- inline void CSReq::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSReq::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:remote.CSReq.index)
- }
- // int32 egotype = 3;
- inline void CSReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSReq::egotype() const {
- // @@protoc_insertion_point(field_get:remote.CSReq.egotype)
- return _internal_egotype();
- }
- inline void CSReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:remote.CSReq.egotype)
- }
- // -------------------------------------------------------------------
- // SCReq
- // int32 desc = 1;
- inline void SCReq::clear_desc() {
- desc_ = 0;
- }
- inline int32_t SCReq::_internal_desc() const {
- return desc_;
- }
- inline int32_t SCReq::desc() const {
- // @@protoc_insertion_point(field_get:remote.SCReq.desc)
- return _internal_desc();
- }
- inline void SCReq::_internal_set_desc(int32_t value) {
-
- desc_ = value;
- }
- inline void SCReq::set_desc(int32_t value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:remote.SCReq.desc)
- }
- // int32 peer = 2;
- inline void SCReq::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCReq::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCReq::peer() const {
- // @@protoc_insertion_point(field_get:remote.SCReq.peer)
- return _internal_peer();
- }
- inline void SCReq::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCReq::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.SCReq.peer)
- }
- // int32 egotype = 3;
- inline void SCReq::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCReq::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCReq::egotype() const {
- // @@protoc_insertion_point(field_get:remote.SCReq.egotype)
- return _internal_egotype();
- }
- inline void SCReq::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCReq::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:remote.SCReq.egotype)
- }
- // -------------------------------------------------------------------
- // CSRep
- // int32 desc = 1;
- inline void CSRep::clear_desc() {
- desc_ = 0;
- }
- inline int32_t CSRep::_internal_desc() const {
- return desc_;
- }
- inline int32_t CSRep::desc() const {
- // @@protoc_insertion_point(field_get:remote.CSRep.desc)
- return _internal_desc();
- }
- inline void CSRep::_internal_set_desc(int32_t value) {
-
- desc_ = value;
- }
- inline void CSRep::set_desc(int32_t value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:remote.CSRep.desc)
- }
- // int32 peer = 2;
- inline void CSRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t CSRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t CSRep::peer() const {
- // @@protoc_insertion_point(field_get:remote.CSRep.peer)
- return _internal_peer();
- }
- inline void CSRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void CSRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.CSRep.peer)
- }
- // int32 index = 3;
- inline void CSRep::clear_index() {
- index_ = 0;
- }
- inline int32_t CSRep::_internal_index() const {
- return index_;
- }
- inline int32_t CSRep::index() const {
- // @@protoc_insertion_point(field_get:remote.CSRep.index)
- return _internal_index();
- }
- inline void CSRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void CSRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:remote.CSRep.index)
- }
- // int32 egotype = 4;
- inline void CSRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t CSRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t CSRep::egotype() const {
- // @@protoc_insertion_point(field_get:remote.CSRep.egotype)
- return _internal_egotype();
- }
- inline void CSRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void CSRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:remote.CSRep.egotype)
- }
- // -------------------------------------------------------------------
- // SCRep
- // int32 desc = 1;
- inline void SCRep::clear_desc() {
- desc_ = 0;
- }
- inline int32_t SCRep::_internal_desc() const {
- return desc_;
- }
- inline int32_t SCRep::desc() const {
- // @@protoc_insertion_point(field_get:remote.SCRep.desc)
- return _internal_desc();
- }
- inline void SCRep::_internal_set_desc(int32_t value) {
-
- desc_ = value;
- }
- inline void SCRep::set_desc(int32_t value) {
- _internal_set_desc(value);
- // @@protoc_insertion_point(field_set:remote.SCRep.desc)
- }
- // int32 index = 2;
- inline void SCRep::clear_index() {
- index_ = 0;
- }
- inline int32_t SCRep::_internal_index() const {
- return index_;
- }
- inline int32_t SCRep::index() const {
- // @@protoc_insertion_point(field_get:remote.SCRep.index)
- return _internal_index();
- }
- inline void SCRep::_internal_set_index(int32_t value) {
-
- index_ = value;
- }
- inline void SCRep::set_index(int32_t value) {
- _internal_set_index(value);
- // @@protoc_insertion_point(field_set:remote.SCRep.index)
- }
- // int32 egotype = 3;
- inline void SCRep::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCRep::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCRep::egotype() const {
- // @@protoc_insertion_point(field_get:remote.SCRep.egotype)
- return _internal_egotype();
- }
- inline void SCRep::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCRep::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:remote.SCRep.egotype)
- }
- // int32 peer = 4;
- inline void SCRep::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCRep::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCRep::peer() const {
- // @@protoc_insertion_point(field_get:remote.SCRep.peer)
- return _internal_peer();
- }
- inline void SCRep::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCRep::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.SCRep.peer)
- }
- // -------------------------------------------------------------------
- // CSAdd
- // string serial = 1;
- inline void CSAdd::clear_serial() {
- serial_.ClearToEmpty();
- }
- inline const std::string& CSAdd::serial() const {
- // @@protoc_insertion_point(field_get:remote.CSAdd.serial)
- return _internal_serial();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.CSAdd.serial)
- }
- inline std::string* CSAdd::mutable_serial() {
- std::string* _s = _internal_mutable_serial();
- // @@protoc_insertion_point(field_mutable:remote.CSAdd.serial)
- return _s;
- }
- inline const std::string& CSAdd::_internal_serial() const {
- return serial_.Get();
- }
- inline void CSAdd::_internal_set_serial(const std::string& value) {
-
- serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_serial() {
-
- return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_serial() {
- // @@protoc_insertion_point(field_release:remote.CSAdd.serial)
- return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_serial(std::string* serial) {
- if (serial != nullptr) {
-
- } else {
-
- }
- serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.CSAdd.serial)
- }
- // int32 type = 2;
- inline void CSAdd::clear_type() {
- type_ = 0;
- }
- inline int32_t CSAdd::_internal_type() const {
- return type_;
- }
- inline int32_t CSAdd::type() const {
- // @@protoc_insertion_point(field_get:remote.CSAdd.type)
- return _internal_type();
- }
- inline void CSAdd::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void CSAdd::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:remote.CSAdd.type)
- }
- // string name = 3;
- inline void CSAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& CSAdd::name() const {
- // @@protoc_insertion_point(field_get:remote.CSAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.CSAdd.name)
- }
- inline std::string* CSAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:remote.CSAdd.name)
- return _s;
- }
- inline const std::string& CSAdd::_internal_name() const {
- return name_.Get();
- }
- inline void CSAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* CSAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* CSAdd::release_name() {
- // @@protoc_insertion_point(field_release:remote.CSAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void CSAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.CSAdd.name)
- }
- // int32 car = 4;
- inline void CSAdd::clear_car() {
- car_ = 0;
- }
- inline int32_t CSAdd::_internal_car() const {
- return car_;
- }
- inline int32_t CSAdd::car() const {
- // @@protoc_insertion_point(field_get:remote.CSAdd.car)
- return _internal_car();
- }
- inline void CSAdd::_internal_set_car(int32_t value) {
-
- car_ = value;
- }
- inline void CSAdd::set_car(int32_t value) {
- _internal_set_car(value);
- // @@protoc_insertion_point(field_set:remote.CSAdd.car)
- }
- // -------------------------------------------------------------------
- // SCAdd
- // bool ret = 1;
- inline void SCAdd::clear_ret() {
- ret_ = false;
- }
- inline bool SCAdd::_internal_ret() const {
- return ret_;
- }
- inline bool SCAdd::ret() const {
- // @@protoc_insertion_point(field_get:remote.SCAdd.ret)
- return _internal_ret();
- }
- inline void SCAdd::_internal_set_ret(bool value) {
-
- ret_ = value;
- }
- inline void SCAdd::set_ret(bool value) {
- _internal_set_ret(value);
- // @@protoc_insertion_point(field_set:remote.SCAdd.ret)
- }
- // int32 uid = 2;
- inline void SCAdd::clear_uid() {
- uid_ = 0;
- }
- inline int32_t SCAdd::_internal_uid() const {
- return uid_;
- }
- inline int32_t SCAdd::uid() const {
- // @@protoc_insertion_point(field_get:remote.SCAdd.uid)
- return _internal_uid();
- }
- inline void SCAdd::_internal_set_uid(int32_t value) {
-
- uid_ = value;
- }
- inline void SCAdd::set_uid(int32_t value) {
- _internal_set_uid(value);
- // @@protoc_insertion_point(field_set:remote.SCAdd.uid)
- }
- // string name = 3;
- inline void SCAdd::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& SCAdd::name() const {
- // @@protoc_insertion_point(field_get:remote.SCAdd.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.SCAdd.name)
- }
- inline std::string* SCAdd::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:remote.SCAdd.name)
- return _s;
- }
- inline const std::string& SCAdd::_internal_name() const {
- return name_.Get();
- }
- inline void SCAdd::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* SCAdd::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* SCAdd::release_name() {
- // @@protoc_insertion_point(field_release:remote.SCAdd.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void SCAdd::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.SCAdd.name)
- }
- // int32 car = 4;
- inline void SCAdd::clear_car() {
- car_ = 0;
- }
- inline int32_t SCAdd::_internal_car() const {
- return car_;
- }
- inline int32_t SCAdd::car() const {
- // @@protoc_insertion_point(field_get:remote.SCAdd.car)
- return _internal_car();
- }
- inline void SCAdd::_internal_set_car(int32_t value) {
-
- car_ = value;
- }
- inline void SCAdd::set_car(int32_t value) {
- _internal_set_car(value);
- // @@protoc_insertion_point(field_set:remote.SCAdd.car)
- }
- // -------------------------------------------------------------------
- // Robot
- // int32 rid = 1;
- inline void Robot::clear_rid() {
- rid_ = 0;
- }
- inline int32_t Robot::_internal_rid() const {
- return rid_;
- }
- inline int32_t Robot::rid() const {
- // @@protoc_insertion_point(field_get:remote.Robot.rid)
- return _internal_rid();
- }
- inline void Robot::_internal_set_rid(int32_t value) {
-
- rid_ = value;
- }
- inline void Robot::set_rid(int32_t value) {
- _internal_set_rid(value);
- // @@protoc_insertion_point(field_set:remote.Robot.rid)
- }
- // string name = 2;
- inline void Robot::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& Robot::name() const {
- // @@protoc_insertion_point(field_get:remote.Robot.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void Robot::set_name(ArgT0&& arg0, ArgT... args) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:remote.Robot.name)
- }
- inline std::string* Robot::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:remote.Robot.name)
- return _s;
- }
- inline const std::string& Robot::_internal_name() const {
- return name_.Get();
- }
- inline void Robot::_internal_set_name(const std::string& value) {
-
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* Robot::_internal_mutable_name() {
-
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* Robot::release_name() {
- // @@protoc_insertion_point(field_release:remote.Robot.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void Robot::set_allocated_name(std::string* name) {
- if (name != nullptr) {
-
- } else {
-
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:remote.Robot.name)
- }
- // int32 type = 3;
- inline void Robot::clear_type() {
- type_ = 0;
- }
- inline int32_t Robot::_internal_type() const {
- return type_;
- }
- inline int32_t Robot::type() const {
- // @@protoc_insertion_point(field_get:remote.Robot.type)
- return _internal_type();
- }
- inline void Robot::_internal_set_type(int32_t value) {
-
- type_ = value;
- }
- inline void Robot::set_type(int32_t value) {
- _internal_set_type(value);
- // @@protoc_insertion_point(field_set:remote.Robot.type)
- }
- // int32 state = 4;
- inline void Robot::clear_state() {
- state_ = 0;
- }
- inline int32_t Robot::_internal_state() const {
- return state_;
- }
- inline int32_t Robot::state() const {
- // @@protoc_insertion_point(field_get:remote.Robot.state)
- return _internal_state();
- }
- inline void Robot::_internal_set_state(int32_t value) {
-
- state_ = value;
- }
- inline void Robot::set_state(int32_t value) {
- _internal_set_state(value);
- // @@protoc_insertion_point(field_set:remote.Robot.state)
- }
- // -------------------------------------------------------------------
- // SCAddRobot
- // .remote.Robot robot = 1;
- inline bool SCAddRobot::_internal_has_robot() const {
- return this != internal_default_instance() && robot_ != nullptr;
- }
- inline bool SCAddRobot::has_robot() const {
- return _internal_has_robot();
- }
- inline void SCAddRobot::clear_robot() {
- if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
- delete robot_;
- }
- robot_ = nullptr;
- }
- inline const ::remote::Robot& SCAddRobot::_internal_robot() const {
- const ::remote::Robot* p = robot_;
- return p != nullptr ? *p : reinterpret_cast<const ::remote::Robot&>(
- ::remote::_Robot_default_instance_);
- }
- inline const ::remote::Robot& SCAddRobot::robot() const {
- // @@protoc_insertion_point(field_get:remote.SCAddRobot.robot)
- return _internal_robot();
- }
- inline void SCAddRobot::unsafe_arena_set_allocated_robot(
- ::remote::Robot* robot) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
- }
- robot_ = robot;
- if (robot) {
-
- } else {
-
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:remote.SCAddRobot.robot)
- }
- inline ::remote::Robot* SCAddRobot::release_robot() {
-
- ::remote::Robot* temp = robot_;
- robot_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::remote::Robot* SCAddRobot::unsafe_arena_release_robot() {
- // @@protoc_insertion_point(field_release:remote.SCAddRobot.robot)
-
- ::remote::Robot* temp = robot_;
- robot_ = nullptr;
- return temp;
- }
- inline ::remote::Robot* SCAddRobot::_internal_mutable_robot() {
-
- if (robot_ == nullptr) {
- auto* p = CreateMaybeMessage<::remote::Robot>(GetArenaForAllocation());
- robot_ = p;
- }
- return robot_;
- }
- inline ::remote::Robot* SCAddRobot::mutable_robot() {
- ::remote::Robot* _msg = _internal_mutable_robot();
- // @@protoc_insertion_point(field_mutable:remote.SCAddRobot.robot)
- return _msg;
- }
- inline void SCAddRobot::set_allocated_robot(::remote::Robot* robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete robot_;
- }
- if (robot) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::remote::Robot>::GetOwningArena(robot);
- if (message_arena != submessage_arena) {
- robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, robot, submessage_arena);
- }
-
- } else {
-
- }
- robot_ = robot;
- // @@protoc_insertion_point(field_set_allocated:remote.SCAddRobot.robot)
- }
- // -------------------------------------------------------------------
- // SCDelRobot
- // int32 peer = 1;
- inline void SCDelRobot::clear_peer() {
- peer_ = 0;
- }
- inline int32_t SCDelRobot::_internal_peer() const {
- return peer_;
- }
- inline int32_t SCDelRobot::peer() const {
- // @@protoc_insertion_point(field_get:remote.SCDelRobot.peer)
- return _internal_peer();
- }
- inline void SCDelRobot::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void SCDelRobot::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.SCDelRobot.peer)
- }
- // int32 egotype = 2;
- inline void SCDelRobot::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t SCDelRobot::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t SCDelRobot::egotype() const {
- // @@protoc_insertion_point(field_get:remote.SCDelRobot.egotype)
- return _internal_egotype();
- }
- inline void SCDelRobot::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void SCDelRobot::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:remote.SCDelRobot.egotype)
- }
- // -------------------------------------------------------------------
- // CSRobot
- // -------------------------------------------------------------------
- // SCRobot
- // repeated .remote.Robot robot = 1;
- inline int SCRobot::_internal_robot_size() const {
- return robot_.size();
- }
- inline int SCRobot::robot_size() const {
- return _internal_robot_size();
- }
- inline void SCRobot::clear_robot() {
- robot_.Clear();
- }
- inline ::remote::Robot* SCRobot::mutable_robot(int index) {
- // @@protoc_insertion_point(field_mutable:remote.SCRobot.robot)
- return robot_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >*
- SCRobot::mutable_robot() {
- // @@protoc_insertion_point(field_mutable_list:remote.SCRobot.robot)
- return &robot_;
- }
- inline const ::remote::Robot& SCRobot::_internal_robot(int index) const {
- return robot_.Get(index);
- }
- inline const ::remote::Robot& SCRobot::robot(int index) const {
- // @@protoc_insertion_point(field_get:remote.SCRobot.robot)
- return _internal_robot(index);
- }
- inline ::remote::Robot* SCRobot::_internal_add_robot() {
- return robot_.Add();
- }
- inline ::remote::Robot* SCRobot::add_robot() {
- ::remote::Robot* _add = _internal_add_robot();
- // @@protoc_insertion_point(field_add:remote.SCRobot.robot)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >&
- SCRobot::robot() const {
- // @@protoc_insertion_point(field_list:remote.SCRobot.robot)
- return robot_;
- }
- // -------------------------------------------------------------------
- // Leave
- // int32 peer = 1;
- inline void Leave::clear_peer() {
- peer_ = 0;
- }
- inline int32_t Leave::_internal_peer() const {
- return peer_;
- }
- inline int32_t Leave::peer() const {
- // @@protoc_insertion_point(field_get:remote.Leave.peer)
- return _internal_peer();
- }
- inline void Leave::_internal_set_peer(int32_t value) {
-
- peer_ = value;
- }
- inline void Leave::set_peer(int32_t value) {
- _internal_set_peer(value);
- // @@protoc_insertion_point(field_set:remote.Leave.peer)
- }
- // int32 egotype = 2;
- inline void Leave::clear_egotype() {
- egotype_ = 0;
- }
- inline int32_t Leave::_internal_egotype() const {
- return egotype_;
- }
- inline int32_t Leave::egotype() const {
- // @@protoc_insertion_point(field_get:remote.Leave.egotype)
- return _internal_egotype();
- }
- inline void Leave::_internal_set_egotype(int32_t value) {
-
- egotype_ = value;
- }
- inline void Leave::set_egotype(int32_t value) {
- _internal_set_egotype(value);
- // @@protoc_insertion_point(field_set:remote.Leave.egotype)
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // @@protoc_insertion_point(namespace_scope)
- } // namespace remote
- PROTOBUF_NAMESPACE_OPEN
- template <> struct is_proto_enum< ::remote::cs_message> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::remote::cs_message>() {
- return ::remote::cs_message_descriptor();
- }
- template <> struct is_proto_enum< ::remote::sc_message> : ::std::true_type {};
- template <>
- inline const EnumDescriptor* GetEnumDescriptor< ::remote::sc_message>() {
- return ::remote::sc_message_descriptor();
- }
- PROTOBUF_NAMESPACE_CLOSE
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_remote_2eproto
|