remote.pb.h 134 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290
  1. // Generated by the protocol buffer compiler. DO NOT EDIT!
  2. // source: remote.proto
  3. #ifndef GOOGLE_PROTOBUF_INCLUDED_remote_2eproto
  4. #define GOOGLE_PROTOBUF_INCLUDED_remote_2eproto
  5. #include <limits>
  6. #include <string>
  7. #include <google/protobuf/port_def.inc>
  8. #if PROTOBUF_VERSION < 3019000
  9. #error This file was generated by a newer version of protoc which is
  10. #error incompatible with your Protocol Buffer headers. Please update
  11. #error your headers.
  12. #endif
  13. #if 3019004 < PROTOBUF_MIN_PROTOC_VERSION
  14. #error This file was generated by an older version of protoc which is
  15. #error incompatible with your Protocol Buffer headers. Please
  16. #error regenerate this file with a newer version of protoc.
  17. #endif
  18. #include <google/protobuf/port_undef.inc>
  19. #include <google/protobuf/io/coded_stream.h>
  20. #include <google/protobuf/arena.h>
  21. #include <google/protobuf/arenastring.h>
  22. #include <google/protobuf/generated_message_bases.h>
  23. #include <google/protobuf/generated_message_table_driven.h>
  24. #include <google/protobuf/generated_message_util.h>
  25. #include <google/protobuf/metadata_lite.h>
  26. #include <google/protobuf/generated_message_reflection.h>
  27. #include <google/protobuf/message.h>
  28. #include <google/protobuf/repeated_field.h> // IWYU pragma: export
  29. #include <google/protobuf/extension_set.h> // IWYU pragma: export
  30. #include <google/protobuf/generated_enum_reflection.h>
  31. #include <google/protobuf/unknown_field_set.h>
  32. // @@protoc_insertion_point(includes)
  33. #include <google/protobuf/port_def.inc>
  34. #define PROTOBUF_INTERNAL_EXPORT_remote_2eproto
  35. PROTOBUF_NAMESPACE_OPEN
  36. namespace internal {
  37. class AnyMetadata;
  38. } // namespace internal
  39. PROTOBUF_NAMESPACE_CLOSE
  40. // Internal implementation detail -- do not use these members.
  41. struct TableStruct_remote_2eproto {
  42. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
  43. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  44. static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
  45. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  46. static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[15]
  47. PROTOBUF_SECTION_VARIABLE(protodesc_cold);
  48. static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
  49. static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
  50. static const uint32_t offsets[];
  51. };
  52. extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_remote_2eproto;
  53. namespace remote {
  54. class Answer;
  55. struct AnswerDefaultTypeInternal;
  56. extern AnswerDefaultTypeInternal _Answer_default_instance_;
  57. class CSAdd;
  58. struct CSAddDefaultTypeInternal;
  59. extern CSAddDefaultTypeInternal _CSAdd_default_instance_;
  60. class CSRep;
  61. struct CSRepDefaultTypeInternal;
  62. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  63. class CSReq;
  64. struct CSReqDefaultTypeInternal;
  65. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  66. class CSRobot;
  67. struct CSRobotDefaultTypeInternal;
  68. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  69. class Candidate;
  70. struct CandidateDefaultTypeInternal;
  71. extern CandidateDefaultTypeInternal _Candidate_default_instance_;
  72. class Leave;
  73. struct LeaveDefaultTypeInternal;
  74. extern LeaveDefaultTypeInternal _Leave_default_instance_;
  75. class Offer;
  76. struct OfferDefaultTypeInternal;
  77. extern OfferDefaultTypeInternal _Offer_default_instance_;
  78. class Robot;
  79. struct RobotDefaultTypeInternal;
  80. extern RobotDefaultTypeInternal _Robot_default_instance_;
  81. class SCAdd;
  82. struct SCAddDefaultTypeInternal;
  83. extern SCAddDefaultTypeInternal _SCAdd_default_instance_;
  84. class SCAddRobot;
  85. struct SCAddRobotDefaultTypeInternal;
  86. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  87. class SCDelRobot;
  88. struct SCDelRobotDefaultTypeInternal;
  89. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  90. class SCRep;
  91. struct SCRepDefaultTypeInternal;
  92. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  93. class SCReq;
  94. struct SCReqDefaultTypeInternal;
  95. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  96. class SCRobot;
  97. struct SCRobotDefaultTypeInternal;
  98. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  99. } // namespace remote
  100. PROTOBUF_NAMESPACE_OPEN
  101. template<> ::remote::Answer* Arena::CreateMaybeMessage<::remote::Answer>(Arena*);
  102. template<> ::remote::CSAdd* Arena::CreateMaybeMessage<::remote::CSAdd>(Arena*);
  103. template<> ::remote::CSRep* Arena::CreateMaybeMessage<::remote::CSRep>(Arena*);
  104. template<> ::remote::CSReq* Arena::CreateMaybeMessage<::remote::CSReq>(Arena*);
  105. template<> ::remote::CSRobot* Arena::CreateMaybeMessage<::remote::CSRobot>(Arena*);
  106. template<> ::remote::Candidate* Arena::CreateMaybeMessage<::remote::Candidate>(Arena*);
  107. template<> ::remote::Leave* Arena::CreateMaybeMessage<::remote::Leave>(Arena*);
  108. template<> ::remote::Offer* Arena::CreateMaybeMessage<::remote::Offer>(Arena*);
  109. template<> ::remote::Robot* Arena::CreateMaybeMessage<::remote::Robot>(Arena*);
  110. template<> ::remote::SCAdd* Arena::CreateMaybeMessage<::remote::SCAdd>(Arena*);
  111. template<> ::remote::SCAddRobot* Arena::CreateMaybeMessage<::remote::SCAddRobot>(Arena*);
  112. template<> ::remote::SCDelRobot* Arena::CreateMaybeMessage<::remote::SCDelRobot>(Arena*);
  113. template<> ::remote::SCRep* Arena::CreateMaybeMessage<::remote::SCRep>(Arena*);
  114. template<> ::remote::SCReq* Arena::CreateMaybeMessage<::remote::SCReq>(Arena*);
  115. template<> ::remote::SCRobot* Arena::CreateMaybeMessage<::remote::SCRobot>(Arena*);
  116. PROTOBUF_NAMESPACE_CLOSE
  117. namespace remote {
  118. enum cs_message : int {
  119. cs_none = 0,
  120. cs_req = 2001,
  121. cs_rep = 2002,
  122. cs_offer = 2004,
  123. cs_answer = 2005,
  124. cs_candidate = 2006,
  125. cs_leave = 2007,
  126. cs_keepAlive = 2008,
  127. cs_add = 2009,
  128. cs_robot = 2010,
  129. cs_closeVideo = 2011,
  130. cs_state = 2014,
  131. cs_message_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  132. cs_message_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  133. };
  134. bool cs_message_IsValid(int value);
  135. constexpr cs_message cs_message_MIN = cs_none;
  136. constexpr cs_message cs_message_MAX = cs_state;
  137. constexpr int cs_message_ARRAYSIZE = cs_message_MAX + 1;
  138. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* cs_message_descriptor();
  139. template<typename T>
  140. inline const std::string& cs_message_Name(T enum_t_value) {
  141. static_assert(::std::is_same<T, cs_message>::value ||
  142. ::std::is_integral<T>::value,
  143. "Incorrect type passed to function cs_message_Name.");
  144. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  145. cs_message_descriptor(), enum_t_value);
  146. }
  147. inline bool cs_message_Parse(
  148. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, cs_message* value) {
  149. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<cs_message>(
  150. cs_message_descriptor(), name, value);
  151. }
  152. enum sc_message : int {
  153. sc_none = 0,
  154. sc_req = 4001,
  155. sc_rep = 4002,
  156. sc_offer = 4004,
  157. sc_answer = 4005,
  158. sc_candidate = 4006,
  159. sc_add = 4007,
  160. sc_robot = 4008,
  161. sc_NotifyReq = 4009,
  162. sc_NotifyRep = 4010,
  163. sc_NotifyAnswer = 4011,
  164. sc_NotifyOffer = 4012,
  165. sc_NotifyCandidate = 4013,
  166. sc_NotifyLeave = 4014,
  167. sc_NotifyAdd = 4016,
  168. sc_NotifyDel = 4017,
  169. sc_NotifyCloseVideo = 4018,
  170. sc_NotifyState = 4025,
  171. sc_message_INT_MIN_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::min(),
  172. sc_message_INT_MAX_SENTINEL_DO_NOT_USE_ = std::numeric_limits<int32_t>::max()
  173. };
  174. bool sc_message_IsValid(int value);
  175. constexpr sc_message sc_message_MIN = sc_none;
  176. constexpr sc_message sc_message_MAX = sc_NotifyState;
  177. constexpr int sc_message_ARRAYSIZE = sc_message_MAX + 1;
  178. const ::PROTOBUF_NAMESPACE_ID::EnumDescriptor* sc_message_descriptor();
  179. template<typename T>
  180. inline const std::string& sc_message_Name(T enum_t_value) {
  181. static_assert(::std::is_same<T, sc_message>::value ||
  182. ::std::is_integral<T>::value,
  183. "Incorrect type passed to function sc_message_Name.");
  184. return ::PROTOBUF_NAMESPACE_ID::internal::NameOfEnum(
  185. sc_message_descriptor(), enum_t_value);
  186. }
  187. inline bool sc_message_Parse(
  188. ::PROTOBUF_NAMESPACE_ID::ConstStringParam name, sc_message* value) {
  189. return ::PROTOBUF_NAMESPACE_ID::internal::ParseNamedEnum<sc_message>(
  190. sc_message_descriptor(), name, value);
  191. }
  192. // ===================================================================
  193. class Offer final :
  194. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Offer) */ {
  195. public:
  196. inline Offer() : Offer(nullptr) {}
  197. ~Offer() override;
  198. explicit constexpr Offer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  199. Offer(const Offer& from);
  200. Offer(Offer&& from) noexcept
  201. : Offer() {
  202. *this = ::std::move(from);
  203. }
  204. inline Offer& operator=(const Offer& from) {
  205. CopyFrom(from);
  206. return *this;
  207. }
  208. inline Offer& operator=(Offer&& from) noexcept {
  209. if (this == &from) return *this;
  210. if (GetOwningArena() == from.GetOwningArena()
  211. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  212. && GetOwningArena() != nullptr
  213. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  214. ) {
  215. InternalSwap(&from);
  216. } else {
  217. CopyFrom(from);
  218. }
  219. return *this;
  220. }
  221. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  222. return GetDescriptor();
  223. }
  224. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  225. return default_instance().GetMetadata().descriptor;
  226. }
  227. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  228. return default_instance().GetMetadata().reflection;
  229. }
  230. static const Offer& default_instance() {
  231. return *internal_default_instance();
  232. }
  233. static inline const Offer* internal_default_instance() {
  234. return reinterpret_cast<const Offer*>(
  235. &_Offer_default_instance_);
  236. }
  237. static constexpr int kIndexInFileMessages =
  238. 0;
  239. friend void swap(Offer& a, Offer& b) {
  240. a.Swap(&b);
  241. }
  242. inline void Swap(Offer* other) {
  243. if (other == this) return;
  244. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  245. if (GetOwningArena() != nullptr &&
  246. GetOwningArena() == other->GetOwningArena()) {
  247. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  248. if (GetOwningArena() == other->GetOwningArena()) {
  249. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  250. InternalSwap(other);
  251. } else {
  252. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  253. }
  254. }
  255. void UnsafeArenaSwap(Offer* other) {
  256. if (other == this) return;
  257. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  258. InternalSwap(other);
  259. }
  260. // implements Message ----------------------------------------------
  261. Offer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  262. return CreateMaybeMessage<Offer>(arena);
  263. }
  264. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  265. void CopyFrom(const Offer& from);
  266. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  267. void MergeFrom(const Offer& from);
  268. private:
  269. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  270. public:
  271. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  272. bool IsInitialized() const final;
  273. size_t ByteSizeLong() const final;
  274. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  275. uint8_t* _InternalSerialize(
  276. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  277. int GetCachedSize() const final { return _cached_size_.Get(); }
  278. private:
  279. void SharedCtor();
  280. void SharedDtor();
  281. void SetCachedSize(int size) const final;
  282. void InternalSwap(Offer* other);
  283. private:
  284. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  285. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  286. return "remote.Offer";
  287. }
  288. protected:
  289. explicit Offer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  290. bool is_message_owned = false);
  291. private:
  292. static void ArenaDtor(void* object);
  293. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  294. public:
  295. static const ClassData _class_data_;
  296. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  297. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  298. // nested types ----------------------------------------------------
  299. // accessors -------------------------------------------------------
  300. enum : int {
  301. kTypeFieldNumber = 3,
  302. kSdpFieldNumber = 4,
  303. kIndexFieldNumber = 1,
  304. kPeerFieldNumber = 2,
  305. };
  306. // string type = 3;
  307. void clear_type();
  308. const std::string& type() const;
  309. template <typename ArgT0 = const std::string&, typename... ArgT>
  310. void set_type(ArgT0&& arg0, ArgT... args);
  311. std::string* mutable_type();
  312. PROTOBUF_NODISCARD std::string* release_type();
  313. void set_allocated_type(std::string* type);
  314. private:
  315. const std::string& _internal_type() const;
  316. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  317. std::string* _internal_mutable_type();
  318. public:
  319. // string sdp = 4;
  320. void clear_sdp();
  321. const std::string& sdp() const;
  322. template <typename ArgT0 = const std::string&, typename... ArgT>
  323. void set_sdp(ArgT0&& arg0, ArgT... args);
  324. std::string* mutable_sdp();
  325. PROTOBUF_NODISCARD std::string* release_sdp();
  326. void set_allocated_sdp(std::string* sdp);
  327. private:
  328. const std::string& _internal_sdp() const;
  329. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  330. std::string* _internal_mutable_sdp();
  331. public:
  332. // int32 index = 1;
  333. void clear_index();
  334. int32_t index() const;
  335. void set_index(int32_t value);
  336. private:
  337. int32_t _internal_index() const;
  338. void _internal_set_index(int32_t value);
  339. public:
  340. // int32 peer = 2;
  341. void clear_peer();
  342. int32_t peer() const;
  343. void set_peer(int32_t value);
  344. private:
  345. int32_t _internal_peer() const;
  346. void _internal_set_peer(int32_t value);
  347. public:
  348. // @@protoc_insertion_point(class_scope:remote.Offer)
  349. private:
  350. class _Internal;
  351. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  352. typedef void InternalArenaConstructable_;
  353. typedef void DestructorSkippable_;
  354. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  355. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  356. int32_t index_;
  357. int32_t peer_;
  358. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  359. friend struct ::TableStruct_remote_2eproto;
  360. };
  361. // -------------------------------------------------------------------
  362. class Answer final :
  363. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Answer) */ {
  364. public:
  365. inline Answer() : Answer(nullptr) {}
  366. ~Answer() override;
  367. explicit constexpr Answer(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  368. Answer(const Answer& from);
  369. Answer(Answer&& from) noexcept
  370. : Answer() {
  371. *this = ::std::move(from);
  372. }
  373. inline Answer& operator=(const Answer& from) {
  374. CopyFrom(from);
  375. return *this;
  376. }
  377. inline Answer& operator=(Answer&& from) noexcept {
  378. if (this == &from) return *this;
  379. if (GetOwningArena() == from.GetOwningArena()
  380. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  381. && GetOwningArena() != nullptr
  382. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  383. ) {
  384. InternalSwap(&from);
  385. } else {
  386. CopyFrom(from);
  387. }
  388. return *this;
  389. }
  390. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  391. return GetDescriptor();
  392. }
  393. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  394. return default_instance().GetMetadata().descriptor;
  395. }
  396. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  397. return default_instance().GetMetadata().reflection;
  398. }
  399. static const Answer& default_instance() {
  400. return *internal_default_instance();
  401. }
  402. static inline const Answer* internal_default_instance() {
  403. return reinterpret_cast<const Answer*>(
  404. &_Answer_default_instance_);
  405. }
  406. static constexpr int kIndexInFileMessages =
  407. 1;
  408. friend void swap(Answer& a, Answer& b) {
  409. a.Swap(&b);
  410. }
  411. inline void Swap(Answer* other) {
  412. if (other == this) return;
  413. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  414. if (GetOwningArena() != nullptr &&
  415. GetOwningArena() == other->GetOwningArena()) {
  416. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  417. if (GetOwningArena() == other->GetOwningArena()) {
  418. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  419. InternalSwap(other);
  420. } else {
  421. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  422. }
  423. }
  424. void UnsafeArenaSwap(Answer* other) {
  425. if (other == this) return;
  426. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  427. InternalSwap(other);
  428. }
  429. // implements Message ----------------------------------------------
  430. Answer* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  431. return CreateMaybeMessage<Answer>(arena);
  432. }
  433. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  434. void CopyFrom(const Answer& from);
  435. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  436. void MergeFrom(const Answer& from);
  437. private:
  438. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  439. public:
  440. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  441. bool IsInitialized() const final;
  442. size_t ByteSizeLong() const final;
  443. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  444. uint8_t* _InternalSerialize(
  445. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  446. int GetCachedSize() const final { return _cached_size_.Get(); }
  447. private:
  448. void SharedCtor();
  449. void SharedDtor();
  450. void SetCachedSize(int size) const final;
  451. void InternalSwap(Answer* other);
  452. private:
  453. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  454. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  455. return "remote.Answer";
  456. }
  457. protected:
  458. explicit Answer(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  459. bool is_message_owned = false);
  460. private:
  461. static void ArenaDtor(void* object);
  462. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  463. public:
  464. static const ClassData _class_data_;
  465. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  466. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  467. // nested types ----------------------------------------------------
  468. // accessors -------------------------------------------------------
  469. enum : int {
  470. kTypeFieldNumber = 3,
  471. kSdpFieldNumber = 4,
  472. kIndexFieldNumber = 1,
  473. kPeerFieldNumber = 2,
  474. };
  475. // string type = 3;
  476. void clear_type();
  477. const std::string& type() const;
  478. template <typename ArgT0 = const std::string&, typename... ArgT>
  479. void set_type(ArgT0&& arg0, ArgT... args);
  480. std::string* mutable_type();
  481. PROTOBUF_NODISCARD std::string* release_type();
  482. void set_allocated_type(std::string* type);
  483. private:
  484. const std::string& _internal_type() const;
  485. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  486. std::string* _internal_mutable_type();
  487. public:
  488. // string sdp = 4;
  489. void clear_sdp();
  490. const std::string& sdp() const;
  491. template <typename ArgT0 = const std::string&, typename... ArgT>
  492. void set_sdp(ArgT0&& arg0, ArgT... args);
  493. std::string* mutable_sdp();
  494. PROTOBUF_NODISCARD std::string* release_sdp();
  495. void set_allocated_sdp(std::string* sdp);
  496. private:
  497. const std::string& _internal_sdp() const;
  498. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdp(const std::string& value);
  499. std::string* _internal_mutable_sdp();
  500. public:
  501. // int32 index = 1;
  502. void clear_index();
  503. int32_t index() const;
  504. void set_index(int32_t value);
  505. private:
  506. int32_t _internal_index() const;
  507. void _internal_set_index(int32_t value);
  508. public:
  509. // int32 peer = 2;
  510. void clear_peer();
  511. int32_t peer() const;
  512. void set_peer(int32_t value);
  513. private:
  514. int32_t _internal_peer() const;
  515. void _internal_set_peer(int32_t value);
  516. public:
  517. // @@protoc_insertion_point(class_scope:remote.Answer)
  518. private:
  519. class _Internal;
  520. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  521. typedef void InternalArenaConstructable_;
  522. typedef void DestructorSkippable_;
  523. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  524. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdp_;
  525. int32_t index_;
  526. int32_t peer_;
  527. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  528. friend struct ::TableStruct_remote_2eproto;
  529. };
  530. // -------------------------------------------------------------------
  531. class Candidate final :
  532. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Candidate) */ {
  533. public:
  534. inline Candidate() : Candidate(nullptr) {}
  535. ~Candidate() override;
  536. explicit constexpr Candidate(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  537. Candidate(const Candidate& from);
  538. Candidate(Candidate&& from) noexcept
  539. : Candidate() {
  540. *this = ::std::move(from);
  541. }
  542. inline Candidate& operator=(const Candidate& from) {
  543. CopyFrom(from);
  544. return *this;
  545. }
  546. inline Candidate& operator=(Candidate&& from) noexcept {
  547. if (this == &from) return *this;
  548. if (GetOwningArena() == from.GetOwningArena()
  549. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  550. && GetOwningArena() != nullptr
  551. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  552. ) {
  553. InternalSwap(&from);
  554. } else {
  555. CopyFrom(from);
  556. }
  557. return *this;
  558. }
  559. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  560. return GetDescriptor();
  561. }
  562. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  563. return default_instance().GetMetadata().descriptor;
  564. }
  565. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  566. return default_instance().GetMetadata().reflection;
  567. }
  568. static const Candidate& default_instance() {
  569. return *internal_default_instance();
  570. }
  571. static inline const Candidate* internal_default_instance() {
  572. return reinterpret_cast<const Candidate*>(
  573. &_Candidate_default_instance_);
  574. }
  575. static constexpr int kIndexInFileMessages =
  576. 2;
  577. friend void swap(Candidate& a, Candidate& b) {
  578. a.Swap(&b);
  579. }
  580. inline void Swap(Candidate* other) {
  581. if (other == this) return;
  582. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  583. if (GetOwningArena() != nullptr &&
  584. GetOwningArena() == other->GetOwningArena()) {
  585. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  586. if (GetOwningArena() == other->GetOwningArena()) {
  587. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  588. InternalSwap(other);
  589. } else {
  590. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  591. }
  592. }
  593. void UnsafeArenaSwap(Candidate* other) {
  594. if (other == this) return;
  595. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  596. InternalSwap(other);
  597. }
  598. // implements Message ----------------------------------------------
  599. Candidate* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  600. return CreateMaybeMessage<Candidate>(arena);
  601. }
  602. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  603. void CopyFrom(const Candidate& from);
  604. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  605. void MergeFrom(const Candidate& from);
  606. private:
  607. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  608. public:
  609. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  610. bool IsInitialized() const final;
  611. size_t ByteSizeLong() const final;
  612. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  613. uint8_t* _InternalSerialize(
  614. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  615. int GetCachedSize() const final { return _cached_size_.Get(); }
  616. private:
  617. void SharedCtor();
  618. void SharedDtor();
  619. void SetCachedSize(int size) const final;
  620. void InternalSwap(Candidate* other);
  621. private:
  622. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  623. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  624. return "remote.Candidate";
  625. }
  626. protected:
  627. explicit Candidate(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  628. bool is_message_owned = false);
  629. private:
  630. static void ArenaDtor(void* object);
  631. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  632. public:
  633. static const ClassData _class_data_;
  634. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  635. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  636. // nested types ----------------------------------------------------
  637. // accessors -------------------------------------------------------
  638. enum : int {
  639. kTypeFieldNumber = 3,
  640. kCandidateFieldNumber = 4,
  641. kSdpMidFieldNumber = 6,
  642. kIndexFieldNumber = 1,
  643. kPeerFieldNumber = 2,
  644. kSdpMLineIndexFieldNumber = 5,
  645. kEgotypeFieldNumber = 7,
  646. };
  647. // string type = 3;
  648. void clear_type();
  649. const std::string& type() const;
  650. template <typename ArgT0 = const std::string&, typename... ArgT>
  651. void set_type(ArgT0&& arg0, ArgT... args);
  652. std::string* mutable_type();
  653. PROTOBUF_NODISCARD std::string* release_type();
  654. void set_allocated_type(std::string* type);
  655. private:
  656. const std::string& _internal_type() const;
  657. inline PROTOBUF_ALWAYS_INLINE void _internal_set_type(const std::string& value);
  658. std::string* _internal_mutable_type();
  659. public:
  660. // string candidate = 4;
  661. void clear_candidate();
  662. const std::string& candidate() const;
  663. template <typename ArgT0 = const std::string&, typename... ArgT>
  664. void set_candidate(ArgT0&& arg0, ArgT... args);
  665. std::string* mutable_candidate();
  666. PROTOBUF_NODISCARD std::string* release_candidate();
  667. void set_allocated_candidate(std::string* candidate);
  668. private:
  669. const std::string& _internal_candidate() const;
  670. inline PROTOBUF_ALWAYS_INLINE void _internal_set_candidate(const std::string& value);
  671. std::string* _internal_mutable_candidate();
  672. public:
  673. // string sdpMid = 6;
  674. void clear_sdpmid();
  675. const std::string& sdpmid() const;
  676. template <typename ArgT0 = const std::string&, typename... ArgT>
  677. void set_sdpmid(ArgT0&& arg0, ArgT... args);
  678. std::string* mutable_sdpmid();
  679. PROTOBUF_NODISCARD std::string* release_sdpmid();
  680. void set_allocated_sdpmid(std::string* sdpmid);
  681. private:
  682. const std::string& _internal_sdpmid() const;
  683. inline PROTOBUF_ALWAYS_INLINE void _internal_set_sdpmid(const std::string& value);
  684. std::string* _internal_mutable_sdpmid();
  685. public:
  686. // int32 index = 1;
  687. void clear_index();
  688. int32_t index() const;
  689. void set_index(int32_t value);
  690. private:
  691. int32_t _internal_index() const;
  692. void _internal_set_index(int32_t value);
  693. public:
  694. // int32 peer = 2;
  695. void clear_peer();
  696. int32_t peer() const;
  697. void set_peer(int32_t value);
  698. private:
  699. int32_t _internal_peer() const;
  700. void _internal_set_peer(int32_t value);
  701. public:
  702. // int32 sdpMLineIndex = 5;
  703. void clear_sdpmlineindex();
  704. int32_t sdpmlineindex() const;
  705. void set_sdpmlineindex(int32_t value);
  706. private:
  707. int32_t _internal_sdpmlineindex() const;
  708. void _internal_set_sdpmlineindex(int32_t value);
  709. public:
  710. // int32 egotype = 7;
  711. void clear_egotype();
  712. int32_t egotype() const;
  713. void set_egotype(int32_t value);
  714. private:
  715. int32_t _internal_egotype() const;
  716. void _internal_set_egotype(int32_t value);
  717. public:
  718. // @@protoc_insertion_point(class_scope:remote.Candidate)
  719. private:
  720. class _Internal;
  721. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  722. typedef void InternalArenaConstructable_;
  723. typedef void DestructorSkippable_;
  724. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_;
  725. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr candidate_;
  726. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr sdpmid_;
  727. int32_t index_;
  728. int32_t peer_;
  729. int32_t sdpmlineindex_;
  730. int32_t egotype_;
  731. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  732. friend struct ::TableStruct_remote_2eproto;
  733. };
  734. // -------------------------------------------------------------------
  735. class CSReq final :
  736. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.CSReq) */ {
  737. public:
  738. inline CSReq() : CSReq(nullptr) {}
  739. ~CSReq() override;
  740. explicit constexpr CSReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  741. CSReq(const CSReq& from);
  742. CSReq(CSReq&& from) noexcept
  743. : CSReq() {
  744. *this = ::std::move(from);
  745. }
  746. inline CSReq& operator=(const CSReq& from) {
  747. CopyFrom(from);
  748. return *this;
  749. }
  750. inline CSReq& operator=(CSReq&& from) noexcept {
  751. if (this == &from) return *this;
  752. if (GetOwningArena() == from.GetOwningArena()
  753. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  754. && GetOwningArena() != nullptr
  755. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  756. ) {
  757. InternalSwap(&from);
  758. } else {
  759. CopyFrom(from);
  760. }
  761. return *this;
  762. }
  763. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  764. return GetDescriptor();
  765. }
  766. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  767. return default_instance().GetMetadata().descriptor;
  768. }
  769. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  770. return default_instance().GetMetadata().reflection;
  771. }
  772. static const CSReq& default_instance() {
  773. return *internal_default_instance();
  774. }
  775. static inline const CSReq* internal_default_instance() {
  776. return reinterpret_cast<const CSReq*>(
  777. &_CSReq_default_instance_);
  778. }
  779. static constexpr int kIndexInFileMessages =
  780. 3;
  781. friend void swap(CSReq& a, CSReq& b) {
  782. a.Swap(&b);
  783. }
  784. inline void Swap(CSReq* other) {
  785. if (other == this) return;
  786. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  787. if (GetOwningArena() != nullptr &&
  788. GetOwningArena() == other->GetOwningArena()) {
  789. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  790. if (GetOwningArena() == other->GetOwningArena()) {
  791. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  792. InternalSwap(other);
  793. } else {
  794. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  795. }
  796. }
  797. void UnsafeArenaSwap(CSReq* other) {
  798. if (other == this) return;
  799. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  800. InternalSwap(other);
  801. }
  802. // implements Message ----------------------------------------------
  803. CSReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  804. return CreateMaybeMessage<CSReq>(arena);
  805. }
  806. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  807. void CopyFrom(const CSReq& from);
  808. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  809. void MergeFrom(const CSReq& from);
  810. private:
  811. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  812. public:
  813. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  814. bool IsInitialized() const final;
  815. size_t ByteSizeLong() const final;
  816. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  817. uint8_t* _InternalSerialize(
  818. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  819. int GetCachedSize() const final { return _cached_size_.Get(); }
  820. private:
  821. void SharedCtor();
  822. void SharedDtor();
  823. void SetCachedSize(int size) const final;
  824. void InternalSwap(CSReq* other);
  825. private:
  826. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  827. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  828. return "remote.CSReq";
  829. }
  830. protected:
  831. explicit CSReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  832. bool is_message_owned = false);
  833. private:
  834. static void ArenaDtor(void* object);
  835. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  836. public:
  837. static const ClassData _class_data_;
  838. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  839. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  840. // nested types ----------------------------------------------------
  841. // accessors -------------------------------------------------------
  842. enum : int {
  843. kPeerFieldNumber = 1,
  844. kIndexFieldNumber = 2,
  845. kEgotypeFieldNumber = 3,
  846. };
  847. // int32 peer = 1;
  848. void clear_peer();
  849. int32_t peer() const;
  850. void set_peer(int32_t value);
  851. private:
  852. int32_t _internal_peer() const;
  853. void _internal_set_peer(int32_t value);
  854. public:
  855. // int32 index = 2;
  856. void clear_index();
  857. int32_t index() const;
  858. void set_index(int32_t value);
  859. private:
  860. int32_t _internal_index() const;
  861. void _internal_set_index(int32_t value);
  862. public:
  863. // int32 egotype = 3;
  864. void clear_egotype();
  865. int32_t egotype() const;
  866. void set_egotype(int32_t value);
  867. private:
  868. int32_t _internal_egotype() const;
  869. void _internal_set_egotype(int32_t value);
  870. public:
  871. // @@protoc_insertion_point(class_scope:remote.CSReq)
  872. private:
  873. class _Internal;
  874. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  875. typedef void InternalArenaConstructable_;
  876. typedef void DestructorSkippable_;
  877. int32_t peer_;
  878. int32_t index_;
  879. int32_t egotype_;
  880. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  881. friend struct ::TableStruct_remote_2eproto;
  882. };
  883. // -------------------------------------------------------------------
  884. class SCReq final :
  885. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCReq) */ {
  886. public:
  887. inline SCReq() : SCReq(nullptr) {}
  888. ~SCReq() override;
  889. explicit constexpr SCReq(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  890. SCReq(const SCReq& from);
  891. SCReq(SCReq&& from) noexcept
  892. : SCReq() {
  893. *this = ::std::move(from);
  894. }
  895. inline SCReq& operator=(const SCReq& from) {
  896. CopyFrom(from);
  897. return *this;
  898. }
  899. inline SCReq& operator=(SCReq&& from) noexcept {
  900. if (this == &from) return *this;
  901. if (GetOwningArena() == from.GetOwningArena()
  902. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  903. && GetOwningArena() != nullptr
  904. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  905. ) {
  906. InternalSwap(&from);
  907. } else {
  908. CopyFrom(from);
  909. }
  910. return *this;
  911. }
  912. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  913. return GetDescriptor();
  914. }
  915. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  916. return default_instance().GetMetadata().descriptor;
  917. }
  918. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  919. return default_instance().GetMetadata().reflection;
  920. }
  921. static const SCReq& default_instance() {
  922. return *internal_default_instance();
  923. }
  924. static inline const SCReq* internal_default_instance() {
  925. return reinterpret_cast<const SCReq*>(
  926. &_SCReq_default_instance_);
  927. }
  928. static constexpr int kIndexInFileMessages =
  929. 4;
  930. friend void swap(SCReq& a, SCReq& b) {
  931. a.Swap(&b);
  932. }
  933. inline void Swap(SCReq* other) {
  934. if (other == this) return;
  935. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  936. if (GetOwningArena() != nullptr &&
  937. GetOwningArena() == other->GetOwningArena()) {
  938. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  939. if (GetOwningArena() == other->GetOwningArena()) {
  940. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  941. InternalSwap(other);
  942. } else {
  943. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  944. }
  945. }
  946. void UnsafeArenaSwap(SCReq* other) {
  947. if (other == this) return;
  948. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  949. InternalSwap(other);
  950. }
  951. // implements Message ----------------------------------------------
  952. SCReq* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  953. return CreateMaybeMessage<SCReq>(arena);
  954. }
  955. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  956. void CopyFrom(const SCReq& from);
  957. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  958. void MergeFrom(const SCReq& from);
  959. private:
  960. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  961. public:
  962. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  963. bool IsInitialized() const final;
  964. size_t ByteSizeLong() const final;
  965. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  966. uint8_t* _InternalSerialize(
  967. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  968. int GetCachedSize() const final { return _cached_size_.Get(); }
  969. private:
  970. void SharedCtor();
  971. void SharedDtor();
  972. void SetCachedSize(int size) const final;
  973. void InternalSwap(SCReq* other);
  974. private:
  975. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  976. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  977. return "remote.SCReq";
  978. }
  979. protected:
  980. explicit SCReq(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  981. bool is_message_owned = false);
  982. private:
  983. static void ArenaDtor(void* object);
  984. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  985. public:
  986. static const ClassData _class_data_;
  987. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  988. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  989. // nested types ----------------------------------------------------
  990. // accessors -------------------------------------------------------
  991. enum : int {
  992. kDescFieldNumber = 1,
  993. kPeerFieldNumber = 2,
  994. kEgotypeFieldNumber = 3,
  995. };
  996. // int32 desc = 1;
  997. void clear_desc();
  998. int32_t desc() const;
  999. void set_desc(int32_t value);
  1000. private:
  1001. int32_t _internal_desc() const;
  1002. void _internal_set_desc(int32_t value);
  1003. public:
  1004. // int32 peer = 2;
  1005. void clear_peer();
  1006. int32_t peer() const;
  1007. void set_peer(int32_t value);
  1008. private:
  1009. int32_t _internal_peer() const;
  1010. void _internal_set_peer(int32_t value);
  1011. public:
  1012. // int32 egotype = 3;
  1013. void clear_egotype();
  1014. int32_t egotype() const;
  1015. void set_egotype(int32_t value);
  1016. private:
  1017. int32_t _internal_egotype() const;
  1018. void _internal_set_egotype(int32_t value);
  1019. public:
  1020. // @@protoc_insertion_point(class_scope:remote.SCReq)
  1021. private:
  1022. class _Internal;
  1023. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1024. typedef void InternalArenaConstructable_;
  1025. typedef void DestructorSkippable_;
  1026. int32_t desc_;
  1027. int32_t peer_;
  1028. int32_t egotype_;
  1029. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1030. friend struct ::TableStruct_remote_2eproto;
  1031. };
  1032. // -------------------------------------------------------------------
  1033. class CSRep final :
  1034. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.CSRep) */ {
  1035. public:
  1036. inline CSRep() : CSRep(nullptr) {}
  1037. ~CSRep() override;
  1038. explicit constexpr CSRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1039. CSRep(const CSRep& from);
  1040. CSRep(CSRep&& from) noexcept
  1041. : CSRep() {
  1042. *this = ::std::move(from);
  1043. }
  1044. inline CSRep& operator=(const CSRep& from) {
  1045. CopyFrom(from);
  1046. return *this;
  1047. }
  1048. inline CSRep& operator=(CSRep&& from) noexcept {
  1049. if (this == &from) return *this;
  1050. if (GetOwningArena() == from.GetOwningArena()
  1051. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1052. && GetOwningArena() != nullptr
  1053. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1054. ) {
  1055. InternalSwap(&from);
  1056. } else {
  1057. CopyFrom(from);
  1058. }
  1059. return *this;
  1060. }
  1061. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1062. return GetDescriptor();
  1063. }
  1064. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1065. return default_instance().GetMetadata().descriptor;
  1066. }
  1067. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1068. return default_instance().GetMetadata().reflection;
  1069. }
  1070. static const CSRep& default_instance() {
  1071. return *internal_default_instance();
  1072. }
  1073. static inline const CSRep* internal_default_instance() {
  1074. return reinterpret_cast<const CSRep*>(
  1075. &_CSRep_default_instance_);
  1076. }
  1077. static constexpr int kIndexInFileMessages =
  1078. 5;
  1079. friend void swap(CSRep& a, CSRep& b) {
  1080. a.Swap(&b);
  1081. }
  1082. inline void Swap(CSRep* other) {
  1083. if (other == this) return;
  1084. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1085. if (GetOwningArena() != nullptr &&
  1086. GetOwningArena() == other->GetOwningArena()) {
  1087. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1088. if (GetOwningArena() == other->GetOwningArena()) {
  1089. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1090. InternalSwap(other);
  1091. } else {
  1092. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1093. }
  1094. }
  1095. void UnsafeArenaSwap(CSRep* other) {
  1096. if (other == this) return;
  1097. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1098. InternalSwap(other);
  1099. }
  1100. // implements Message ----------------------------------------------
  1101. CSRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1102. return CreateMaybeMessage<CSRep>(arena);
  1103. }
  1104. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1105. void CopyFrom(const CSRep& from);
  1106. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1107. void MergeFrom(const CSRep& from);
  1108. private:
  1109. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1110. public:
  1111. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1112. bool IsInitialized() const final;
  1113. size_t ByteSizeLong() const final;
  1114. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1115. uint8_t* _InternalSerialize(
  1116. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1117. int GetCachedSize() const final { return _cached_size_.Get(); }
  1118. private:
  1119. void SharedCtor();
  1120. void SharedDtor();
  1121. void SetCachedSize(int size) const final;
  1122. void InternalSwap(CSRep* other);
  1123. private:
  1124. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1125. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1126. return "remote.CSRep";
  1127. }
  1128. protected:
  1129. explicit CSRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1130. bool is_message_owned = false);
  1131. private:
  1132. static void ArenaDtor(void* object);
  1133. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1134. public:
  1135. static const ClassData _class_data_;
  1136. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1137. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1138. // nested types ----------------------------------------------------
  1139. // accessors -------------------------------------------------------
  1140. enum : int {
  1141. kDescFieldNumber = 1,
  1142. kPeerFieldNumber = 2,
  1143. kIndexFieldNumber = 3,
  1144. kEgotypeFieldNumber = 4,
  1145. };
  1146. // int32 desc = 1;
  1147. void clear_desc();
  1148. int32_t desc() const;
  1149. void set_desc(int32_t value);
  1150. private:
  1151. int32_t _internal_desc() const;
  1152. void _internal_set_desc(int32_t value);
  1153. public:
  1154. // int32 peer = 2;
  1155. void clear_peer();
  1156. int32_t peer() const;
  1157. void set_peer(int32_t value);
  1158. private:
  1159. int32_t _internal_peer() const;
  1160. void _internal_set_peer(int32_t value);
  1161. public:
  1162. // int32 index = 3;
  1163. void clear_index();
  1164. int32_t index() const;
  1165. void set_index(int32_t value);
  1166. private:
  1167. int32_t _internal_index() const;
  1168. void _internal_set_index(int32_t value);
  1169. public:
  1170. // int32 egotype = 4;
  1171. void clear_egotype();
  1172. int32_t egotype() const;
  1173. void set_egotype(int32_t value);
  1174. private:
  1175. int32_t _internal_egotype() const;
  1176. void _internal_set_egotype(int32_t value);
  1177. public:
  1178. // @@protoc_insertion_point(class_scope:remote.CSRep)
  1179. private:
  1180. class _Internal;
  1181. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1182. typedef void InternalArenaConstructable_;
  1183. typedef void DestructorSkippable_;
  1184. int32_t desc_;
  1185. int32_t peer_;
  1186. int32_t index_;
  1187. int32_t egotype_;
  1188. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1189. friend struct ::TableStruct_remote_2eproto;
  1190. };
  1191. // -------------------------------------------------------------------
  1192. class SCRep final :
  1193. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCRep) */ {
  1194. public:
  1195. inline SCRep() : SCRep(nullptr) {}
  1196. ~SCRep() override;
  1197. explicit constexpr SCRep(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1198. SCRep(const SCRep& from);
  1199. SCRep(SCRep&& from) noexcept
  1200. : SCRep() {
  1201. *this = ::std::move(from);
  1202. }
  1203. inline SCRep& operator=(const SCRep& from) {
  1204. CopyFrom(from);
  1205. return *this;
  1206. }
  1207. inline SCRep& operator=(SCRep&& from) noexcept {
  1208. if (this == &from) return *this;
  1209. if (GetOwningArena() == from.GetOwningArena()
  1210. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1211. && GetOwningArena() != nullptr
  1212. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1213. ) {
  1214. InternalSwap(&from);
  1215. } else {
  1216. CopyFrom(from);
  1217. }
  1218. return *this;
  1219. }
  1220. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1221. return GetDescriptor();
  1222. }
  1223. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1224. return default_instance().GetMetadata().descriptor;
  1225. }
  1226. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1227. return default_instance().GetMetadata().reflection;
  1228. }
  1229. static const SCRep& default_instance() {
  1230. return *internal_default_instance();
  1231. }
  1232. static inline const SCRep* internal_default_instance() {
  1233. return reinterpret_cast<const SCRep*>(
  1234. &_SCRep_default_instance_);
  1235. }
  1236. static constexpr int kIndexInFileMessages =
  1237. 6;
  1238. friend void swap(SCRep& a, SCRep& b) {
  1239. a.Swap(&b);
  1240. }
  1241. inline void Swap(SCRep* other) {
  1242. if (other == this) return;
  1243. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1244. if (GetOwningArena() != nullptr &&
  1245. GetOwningArena() == other->GetOwningArena()) {
  1246. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1247. if (GetOwningArena() == other->GetOwningArena()) {
  1248. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1249. InternalSwap(other);
  1250. } else {
  1251. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1252. }
  1253. }
  1254. void UnsafeArenaSwap(SCRep* other) {
  1255. if (other == this) return;
  1256. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1257. InternalSwap(other);
  1258. }
  1259. // implements Message ----------------------------------------------
  1260. SCRep* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1261. return CreateMaybeMessage<SCRep>(arena);
  1262. }
  1263. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1264. void CopyFrom(const SCRep& from);
  1265. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1266. void MergeFrom(const SCRep& from);
  1267. private:
  1268. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1269. public:
  1270. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1271. bool IsInitialized() const final;
  1272. size_t ByteSizeLong() const final;
  1273. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1274. uint8_t* _InternalSerialize(
  1275. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1276. int GetCachedSize() const final { return _cached_size_.Get(); }
  1277. private:
  1278. void SharedCtor();
  1279. void SharedDtor();
  1280. void SetCachedSize(int size) const final;
  1281. void InternalSwap(SCRep* other);
  1282. private:
  1283. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1284. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1285. return "remote.SCRep";
  1286. }
  1287. protected:
  1288. explicit SCRep(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1289. bool is_message_owned = false);
  1290. private:
  1291. static void ArenaDtor(void* object);
  1292. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1293. public:
  1294. static const ClassData _class_data_;
  1295. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1296. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1297. // nested types ----------------------------------------------------
  1298. // accessors -------------------------------------------------------
  1299. enum : int {
  1300. kDescFieldNumber = 1,
  1301. kIndexFieldNumber = 2,
  1302. kEgotypeFieldNumber = 3,
  1303. kPeerFieldNumber = 4,
  1304. };
  1305. // int32 desc = 1;
  1306. void clear_desc();
  1307. int32_t desc() const;
  1308. void set_desc(int32_t value);
  1309. private:
  1310. int32_t _internal_desc() const;
  1311. void _internal_set_desc(int32_t value);
  1312. public:
  1313. // int32 index = 2;
  1314. void clear_index();
  1315. int32_t index() const;
  1316. void set_index(int32_t value);
  1317. private:
  1318. int32_t _internal_index() const;
  1319. void _internal_set_index(int32_t value);
  1320. public:
  1321. // int32 egotype = 3;
  1322. void clear_egotype();
  1323. int32_t egotype() const;
  1324. void set_egotype(int32_t value);
  1325. private:
  1326. int32_t _internal_egotype() const;
  1327. void _internal_set_egotype(int32_t value);
  1328. public:
  1329. // int32 peer = 4;
  1330. void clear_peer();
  1331. int32_t peer() const;
  1332. void set_peer(int32_t value);
  1333. private:
  1334. int32_t _internal_peer() const;
  1335. void _internal_set_peer(int32_t value);
  1336. public:
  1337. // @@protoc_insertion_point(class_scope:remote.SCRep)
  1338. private:
  1339. class _Internal;
  1340. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1341. typedef void InternalArenaConstructable_;
  1342. typedef void DestructorSkippable_;
  1343. int32_t desc_;
  1344. int32_t index_;
  1345. int32_t egotype_;
  1346. int32_t peer_;
  1347. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1348. friend struct ::TableStruct_remote_2eproto;
  1349. };
  1350. // -------------------------------------------------------------------
  1351. class CSAdd final :
  1352. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.CSAdd) */ {
  1353. public:
  1354. inline CSAdd() : CSAdd(nullptr) {}
  1355. ~CSAdd() override;
  1356. explicit constexpr CSAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1357. CSAdd(const CSAdd& from);
  1358. CSAdd(CSAdd&& from) noexcept
  1359. : CSAdd() {
  1360. *this = ::std::move(from);
  1361. }
  1362. inline CSAdd& operator=(const CSAdd& from) {
  1363. CopyFrom(from);
  1364. return *this;
  1365. }
  1366. inline CSAdd& operator=(CSAdd&& from) noexcept {
  1367. if (this == &from) return *this;
  1368. if (GetOwningArena() == from.GetOwningArena()
  1369. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1370. && GetOwningArena() != nullptr
  1371. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1372. ) {
  1373. InternalSwap(&from);
  1374. } else {
  1375. CopyFrom(from);
  1376. }
  1377. return *this;
  1378. }
  1379. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1380. return GetDescriptor();
  1381. }
  1382. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1383. return default_instance().GetMetadata().descriptor;
  1384. }
  1385. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1386. return default_instance().GetMetadata().reflection;
  1387. }
  1388. static const CSAdd& default_instance() {
  1389. return *internal_default_instance();
  1390. }
  1391. static inline const CSAdd* internal_default_instance() {
  1392. return reinterpret_cast<const CSAdd*>(
  1393. &_CSAdd_default_instance_);
  1394. }
  1395. static constexpr int kIndexInFileMessages =
  1396. 7;
  1397. friend void swap(CSAdd& a, CSAdd& b) {
  1398. a.Swap(&b);
  1399. }
  1400. inline void Swap(CSAdd* other) {
  1401. if (other == this) return;
  1402. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1403. if (GetOwningArena() != nullptr &&
  1404. GetOwningArena() == other->GetOwningArena()) {
  1405. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1406. if (GetOwningArena() == other->GetOwningArena()) {
  1407. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1408. InternalSwap(other);
  1409. } else {
  1410. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1411. }
  1412. }
  1413. void UnsafeArenaSwap(CSAdd* other) {
  1414. if (other == this) return;
  1415. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1416. InternalSwap(other);
  1417. }
  1418. // implements Message ----------------------------------------------
  1419. CSAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1420. return CreateMaybeMessage<CSAdd>(arena);
  1421. }
  1422. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1423. void CopyFrom(const CSAdd& from);
  1424. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1425. void MergeFrom(const CSAdd& from);
  1426. private:
  1427. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1428. public:
  1429. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1430. bool IsInitialized() const final;
  1431. size_t ByteSizeLong() const final;
  1432. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1433. uint8_t* _InternalSerialize(
  1434. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1435. int GetCachedSize() const final { return _cached_size_.Get(); }
  1436. private:
  1437. void SharedCtor();
  1438. void SharedDtor();
  1439. void SetCachedSize(int size) const final;
  1440. void InternalSwap(CSAdd* other);
  1441. private:
  1442. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1443. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1444. return "remote.CSAdd";
  1445. }
  1446. protected:
  1447. explicit CSAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1448. bool is_message_owned = false);
  1449. private:
  1450. static void ArenaDtor(void* object);
  1451. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1452. public:
  1453. static const ClassData _class_data_;
  1454. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1455. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1456. // nested types ----------------------------------------------------
  1457. // accessors -------------------------------------------------------
  1458. enum : int {
  1459. kSerialFieldNumber = 1,
  1460. kNameFieldNumber = 3,
  1461. kTypeFieldNumber = 2,
  1462. kCarFieldNumber = 4,
  1463. };
  1464. // string serial = 1;
  1465. void clear_serial();
  1466. const std::string& serial() const;
  1467. template <typename ArgT0 = const std::string&, typename... ArgT>
  1468. void set_serial(ArgT0&& arg0, ArgT... args);
  1469. std::string* mutable_serial();
  1470. PROTOBUF_NODISCARD std::string* release_serial();
  1471. void set_allocated_serial(std::string* serial);
  1472. private:
  1473. const std::string& _internal_serial() const;
  1474. inline PROTOBUF_ALWAYS_INLINE void _internal_set_serial(const std::string& value);
  1475. std::string* _internal_mutable_serial();
  1476. public:
  1477. // string name = 3;
  1478. void clear_name();
  1479. const std::string& name() const;
  1480. template <typename ArgT0 = const std::string&, typename... ArgT>
  1481. void set_name(ArgT0&& arg0, ArgT... args);
  1482. std::string* mutable_name();
  1483. PROTOBUF_NODISCARD std::string* release_name();
  1484. void set_allocated_name(std::string* name);
  1485. private:
  1486. const std::string& _internal_name() const;
  1487. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1488. std::string* _internal_mutable_name();
  1489. public:
  1490. // int32 type = 2;
  1491. void clear_type();
  1492. int32_t type() const;
  1493. void set_type(int32_t value);
  1494. private:
  1495. int32_t _internal_type() const;
  1496. void _internal_set_type(int32_t value);
  1497. public:
  1498. // int32 car = 4;
  1499. void clear_car();
  1500. int32_t car() const;
  1501. void set_car(int32_t value);
  1502. private:
  1503. int32_t _internal_car() const;
  1504. void _internal_set_car(int32_t value);
  1505. public:
  1506. // @@protoc_insertion_point(class_scope:remote.CSAdd)
  1507. private:
  1508. class _Internal;
  1509. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1510. typedef void InternalArenaConstructable_;
  1511. typedef void DestructorSkippable_;
  1512. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr serial_;
  1513. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1514. int32_t type_;
  1515. int32_t car_;
  1516. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1517. friend struct ::TableStruct_remote_2eproto;
  1518. };
  1519. // -------------------------------------------------------------------
  1520. class SCAdd final :
  1521. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCAdd) */ {
  1522. public:
  1523. inline SCAdd() : SCAdd(nullptr) {}
  1524. ~SCAdd() override;
  1525. explicit constexpr SCAdd(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1526. SCAdd(const SCAdd& from);
  1527. SCAdd(SCAdd&& from) noexcept
  1528. : SCAdd() {
  1529. *this = ::std::move(from);
  1530. }
  1531. inline SCAdd& operator=(const SCAdd& from) {
  1532. CopyFrom(from);
  1533. return *this;
  1534. }
  1535. inline SCAdd& operator=(SCAdd&& from) noexcept {
  1536. if (this == &from) return *this;
  1537. if (GetOwningArena() == from.GetOwningArena()
  1538. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1539. && GetOwningArena() != nullptr
  1540. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1541. ) {
  1542. InternalSwap(&from);
  1543. } else {
  1544. CopyFrom(from);
  1545. }
  1546. return *this;
  1547. }
  1548. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1549. return GetDescriptor();
  1550. }
  1551. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1552. return default_instance().GetMetadata().descriptor;
  1553. }
  1554. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1555. return default_instance().GetMetadata().reflection;
  1556. }
  1557. static const SCAdd& default_instance() {
  1558. return *internal_default_instance();
  1559. }
  1560. static inline const SCAdd* internal_default_instance() {
  1561. return reinterpret_cast<const SCAdd*>(
  1562. &_SCAdd_default_instance_);
  1563. }
  1564. static constexpr int kIndexInFileMessages =
  1565. 8;
  1566. friend void swap(SCAdd& a, SCAdd& b) {
  1567. a.Swap(&b);
  1568. }
  1569. inline void Swap(SCAdd* other) {
  1570. if (other == this) return;
  1571. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1572. if (GetOwningArena() != nullptr &&
  1573. GetOwningArena() == other->GetOwningArena()) {
  1574. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1575. if (GetOwningArena() == other->GetOwningArena()) {
  1576. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1577. InternalSwap(other);
  1578. } else {
  1579. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1580. }
  1581. }
  1582. void UnsafeArenaSwap(SCAdd* other) {
  1583. if (other == this) return;
  1584. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1585. InternalSwap(other);
  1586. }
  1587. // implements Message ----------------------------------------------
  1588. SCAdd* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1589. return CreateMaybeMessage<SCAdd>(arena);
  1590. }
  1591. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1592. void CopyFrom(const SCAdd& from);
  1593. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1594. void MergeFrom(const SCAdd& from);
  1595. private:
  1596. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1597. public:
  1598. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1599. bool IsInitialized() const final;
  1600. size_t ByteSizeLong() const final;
  1601. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1602. uint8_t* _InternalSerialize(
  1603. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1604. int GetCachedSize() const final { return _cached_size_.Get(); }
  1605. private:
  1606. void SharedCtor();
  1607. void SharedDtor();
  1608. void SetCachedSize(int size) const final;
  1609. void InternalSwap(SCAdd* other);
  1610. private:
  1611. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1612. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1613. return "remote.SCAdd";
  1614. }
  1615. protected:
  1616. explicit SCAdd(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1617. bool is_message_owned = false);
  1618. private:
  1619. static void ArenaDtor(void* object);
  1620. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1621. public:
  1622. static const ClassData _class_data_;
  1623. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1624. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1625. // nested types ----------------------------------------------------
  1626. // accessors -------------------------------------------------------
  1627. enum : int {
  1628. kNameFieldNumber = 3,
  1629. kRetFieldNumber = 1,
  1630. kUidFieldNumber = 2,
  1631. kCarFieldNumber = 4,
  1632. };
  1633. // string name = 3;
  1634. void clear_name();
  1635. const std::string& name() const;
  1636. template <typename ArgT0 = const std::string&, typename... ArgT>
  1637. void set_name(ArgT0&& arg0, ArgT... args);
  1638. std::string* mutable_name();
  1639. PROTOBUF_NODISCARD std::string* release_name();
  1640. void set_allocated_name(std::string* name);
  1641. private:
  1642. const std::string& _internal_name() const;
  1643. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1644. std::string* _internal_mutable_name();
  1645. public:
  1646. // bool ret = 1;
  1647. void clear_ret();
  1648. bool ret() const;
  1649. void set_ret(bool value);
  1650. private:
  1651. bool _internal_ret() const;
  1652. void _internal_set_ret(bool value);
  1653. public:
  1654. // int32 uid = 2;
  1655. void clear_uid();
  1656. int32_t uid() const;
  1657. void set_uid(int32_t value);
  1658. private:
  1659. int32_t _internal_uid() const;
  1660. void _internal_set_uid(int32_t value);
  1661. public:
  1662. // int32 car = 4;
  1663. void clear_car();
  1664. int32_t car() const;
  1665. void set_car(int32_t value);
  1666. private:
  1667. int32_t _internal_car() const;
  1668. void _internal_set_car(int32_t value);
  1669. public:
  1670. // @@protoc_insertion_point(class_scope:remote.SCAdd)
  1671. private:
  1672. class _Internal;
  1673. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1674. typedef void InternalArenaConstructable_;
  1675. typedef void DestructorSkippable_;
  1676. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1677. bool ret_;
  1678. int32_t uid_;
  1679. int32_t car_;
  1680. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1681. friend struct ::TableStruct_remote_2eproto;
  1682. };
  1683. // -------------------------------------------------------------------
  1684. class Robot final :
  1685. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Robot) */ {
  1686. public:
  1687. inline Robot() : Robot(nullptr) {}
  1688. ~Robot() override;
  1689. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1690. Robot(const Robot& from);
  1691. Robot(Robot&& from) noexcept
  1692. : Robot() {
  1693. *this = ::std::move(from);
  1694. }
  1695. inline Robot& operator=(const Robot& from) {
  1696. CopyFrom(from);
  1697. return *this;
  1698. }
  1699. inline Robot& operator=(Robot&& from) noexcept {
  1700. if (this == &from) return *this;
  1701. if (GetOwningArena() == from.GetOwningArena()
  1702. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1703. && GetOwningArena() != nullptr
  1704. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1705. ) {
  1706. InternalSwap(&from);
  1707. } else {
  1708. CopyFrom(from);
  1709. }
  1710. return *this;
  1711. }
  1712. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1713. return GetDescriptor();
  1714. }
  1715. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1716. return default_instance().GetMetadata().descriptor;
  1717. }
  1718. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1719. return default_instance().GetMetadata().reflection;
  1720. }
  1721. static const Robot& default_instance() {
  1722. return *internal_default_instance();
  1723. }
  1724. static inline const Robot* internal_default_instance() {
  1725. return reinterpret_cast<const Robot*>(
  1726. &_Robot_default_instance_);
  1727. }
  1728. static constexpr int kIndexInFileMessages =
  1729. 9;
  1730. friend void swap(Robot& a, Robot& b) {
  1731. a.Swap(&b);
  1732. }
  1733. inline void Swap(Robot* other) {
  1734. if (other == this) return;
  1735. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1736. if (GetOwningArena() != nullptr &&
  1737. GetOwningArena() == other->GetOwningArena()) {
  1738. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1739. if (GetOwningArena() == other->GetOwningArena()) {
  1740. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1741. InternalSwap(other);
  1742. } else {
  1743. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1744. }
  1745. }
  1746. void UnsafeArenaSwap(Robot* other) {
  1747. if (other == this) return;
  1748. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1749. InternalSwap(other);
  1750. }
  1751. // implements Message ----------------------------------------------
  1752. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1753. return CreateMaybeMessage<Robot>(arena);
  1754. }
  1755. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1756. void CopyFrom(const Robot& from);
  1757. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1758. void MergeFrom(const Robot& from);
  1759. private:
  1760. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1761. public:
  1762. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1763. bool IsInitialized() const final;
  1764. size_t ByteSizeLong() const final;
  1765. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1766. uint8_t* _InternalSerialize(
  1767. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1768. int GetCachedSize() const final { return _cached_size_.Get(); }
  1769. private:
  1770. void SharedCtor();
  1771. void SharedDtor();
  1772. void SetCachedSize(int size) const final;
  1773. void InternalSwap(Robot* other);
  1774. private:
  1775. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1776. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1777. return "remote.Robot";
  1778. }
  1779. protected:
  1780. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1781. bool is_message_owned = false);
  1782. private:
  1783. static void ArenaDtor(void* object);
  1784. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1785. public:
  1786. static const ClassData _class_data_;
  1787. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1788. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1789. // nested types ----------------------------------------------------
  1790. // accessors -------------------------------------------------------
  1791. enum : int {
  1792. kNameFieldNumber = 2,
  1793. kRidFieldNumber = 1,
  1794. kTypeFieldNumber = 3,
  1795. kStateFieldNumber = 4,
  1796. };
  1797. // string name = 2;
  1798. void clear_name();
  1799. const std::string& name() const;
  1800. template <typename ArgT0 = const std::string&, typename... ArgT>
  1801. void set_name(ArgT0&& arg0, ArgT... args);
  1802. std::string* mutable_name();
  1803. PROTOBUF_NODISCARD std::string* release_name();
  1804. void set_allocated_name(std::string* name);
  1805. private:
  1806. const std::string& _internal_name() const;
  1807. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1808. std::string* _internal_mutable_name();
  1809. public:
  1810. // int32 rid = 1;
  1811. void clear_rid();
  1812. int32_t rid() const;
  1813. void set_rid(int32_t value);
  1814. private:
  1815. int32_t _internal_rid() const;
  1816. void _internal_set_rid(int32_t value);
  1817. public:
  1818. // int32 type = 3;
  1819. void clear_type();
  1820. int32_t type() const;
  1821. void set_type(int32_t value);
  1822. private:
  1823. int32_t _internal_type() const;
  1824. void _internal_set_type(int32_t value);
  1825. public:
  1826. // int32 state = 4;
  1827. void clear_state();
  1828. int32_t state() const;
  1829. void set_state(int32_t value);
  1830. private:
  1831. int32_t _internal_state() const;
  1832. void _internal_set_state(int32_t value);
  1833. public:
  1834. // @@protoc_insertion_point(class_scope:remote.Robot)
  1835. private:
  1836. class _Internal;
  1837. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1838. typedef void InternalArenaConstructable_;
  1839. typedef void DestructorSkippable_;
  1840. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1841. int32_t rid_;
  1842. int32_t type_;
  1843. int32_t state_;
  1844. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1845. friend struct ::TableStruct_remote_2eproto;
  1846. };
  1847. // -------------------------------------------------------------------
  1848. class SCAddRobot final :
  1849. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCAddRobot) */ {
  1850. public:
  1851. inline SCAddRobot() : SCAddRobot(nullptr) {}
  1852. ~SCAddRobot() override;
  1853. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1854. SCAddRobot(const SCAddRobot& from);
  1855. SCAddRobot(SCAddRobot&& from) noexcept
  1856. : SCAddRobot() {
  1857. *this = ::std::move(from);
  1858. }
  1859. inline SCAddRobot& operator=(const SCAddRobot& from) {
  1860. CopyFrom(from);
  1861. return *this;
  1862. }
  1863. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  1864. if (this == &from) return *this;
  1865. if (GetOwningArena() == from.GetOwningArena()
  1866. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1867. && GetOwningArena() != nullptr
  1868. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1869. ) {
  1870. InternalSwap(&from);
  1871. } else {
  1872. CopyFrom(from);
  1873. }
  1874. return *this;
  1875. }
  1876. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1877. return GetDescriptor();
  1878. }
  1879. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1880. return default_instance().GetMetadata().descriptor;
  1881. }
  1882. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1883. return default_instance().GetMetadata().reflection;
  1884. }
  1885. static const SCAddRobot& default_instance() {
  1886. return *internal_default_instance();
  1887. }
  1888. static inline const SCAddRobot* internal_default_instance() {
  1889. return reinterpret_cast<const SCAddRobot*>(
  1890. &_SCAddRobot_default_instance_);
  1891. }
  1892. static constexpr int kIndexInFileMessages =
  1893. 10;
  1894. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  1895. a.Swap(&b);
  1896. }
  1897. inline void Swap(SCAddRobot* other) {
  1898. if (other == this) return;
  1899. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1900. if (GetOwningArena() != nullptr &&
  1901. GetOwningArena() == other->GetOwningArena()) {
  1902. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1903. if (GetOwningArena() == other->GetOwningArena()) {
  1904. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1905. InternalSwap(other);
  1906. } else {
  1907. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1908. }
  1909. }
  1910. void UnsafeArenaSwap(SCAddRobot* other) {
  1911. if (other == this) return;
  1912. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1913. InternalSwap(other);
  1914. }
  1915. // implements Message ----------------------------------------------
  1916. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1917. return CreateMaybeMessage<SCAddRobot>(arena);
  1918. }
  1919. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1920. void CopyFrom(const SCAddRobot& from);
  1921. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1922. void MergeFrom(const SCAddRobot& from);
  1923. private:
  1924. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1925. public:
  1926. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1927. bool IsInitialized() const final;
  1928. size_t ByteSizeLong() const final;
  1929. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1930. uint8_t* _InternalSerialize(
  1931. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1932. int GetCachedSize() const final { return _cached_size_.Get(); }
  1933. private:
  1934. void SharedCtor();
  1935. void SharedDtor();
  1936. void SetCachedSize(int size) const final;
  1937. void InternalSwap(SCAddRobot* other);
  1938. private:
  1939. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1940. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1941. return "remote.SCAddRobot";
  1942. }
  1943. protected:
  1944. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1945. bool is_message_owned = false);
  1946. private:
  1947. static void ArenaDtor(void* object);
  1948. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1949. public:
  1950. static const ClassData _class_data_;
  1951. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1952. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1953. // nested types ----------------------------------------------------
  1954. // accessors -------------------------------------------------------
  1955. enum : int {
  1956. kRobotFieldNumber = 1,
  1957. };
  1958. // .remote.Robot robot = 1;
  1959. bool has_robot() const;
  1960. private:
  1961. bool _internal_has_robot() const;
  1962. public:
  1963. void clear_robot();
  1964. const ::remote::Robot& robot() const;
  1965. PROTOBUF_NODISCARD ::remote::Robot* release_robot();
  1966. ::remote::Robot* mutable_robot();
  1967. void set_allocated_robot(::remote::Robot* robot);
  1968. private:
  1969. const ::remote::Robot& _internal_robot() const;
  1970. ::remote::Robot* _internal_mutable_robot();
  1971. public:
  1972. void unsafe_arena_set_allocated_robot(
  1973. ::remote::Robot* robot);
  1974. ::remote::Robot* unsafe_arena_release_robot();
  1975. // @@protoc_insertion_point(class_scope:remote.SCAddRobot)
  1976. private:
  1977. class _Internal;
  1978. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1979. typedef void InternalArenaConstructable_;
  1980. typedef void DestructorSkippable_;
  1981. ::remote::Robot* robot_;
  1982. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1983. friend struct ::TableStruct_remote_2eproto;
  1984. };
  1985. // -------------------------------------------------------------------
  1986. class SCDelRobot final :
  1987. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCDelRobot) */ {
  1988. public:
  1989. inline SCDelRobot() : SCDelRobot(nullptr) {}
  1990. ~SCDelRobot() override;
  1991. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1992. SCDelRobot(const SCDelRobot& from);
  1993. SCDelRobot(SCDelRobot&& from) noexcept
  1994. : SCDelRobot() {
  1995. *this = ::std::move(from);
  1996. }
  1997. inline SCDelRobot& operator=(const SCDelRobot& from) {
  1998. CopyFrom(from);
  1999. return *this;
  2000. }
  2001. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  2002. if (this == &from) return *this;
  2003. if (GetOwningArena() == from.GetOwningArena()
  2004. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2005. && GetOwningArena() != nullptr
  2006. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2007. ) {
  2008. InternalSwap(&from);
  2009. } else {
  2010. CopyFrom(from);
  2011. }
  2012. return *this;
  2013. }
  2014. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2015. return GetDescriptor();
  2016. }
  2017. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2018. return default_instance().GetMetadata().descriptor;
  2019. }
  2020. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2021. return default_instance().GetMetadata().reflection;
  2022. }
  2023. static const SCDelRobot& default_instance() {
  2024. return *internal_default_instance();
  2025. }
  2026. static inline const SCDelRobot* internal_default_instance() {
  2027. return reinterpret_cast<const SCDelRobot*>(
  2028. &_SCDelRobot_default_instance_);
  2029. }
  2030. static constexpr int kIndexInFileMessages =
  2031. 11;
  2032. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  2033. a.Swap(&b);
  2034. }
  2035. inline void Swap(SCDelRobot* other) {
  2036. if (other == this) return;
  2037. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2038. if (GetOwningArena() != nullptr &&
  2039. GetOwningArena() == other->GetOwningArena()) {
  2040. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2041. if (GetOwningArena() == other->GetOwningArena()) {
  2042. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2043. InternalSwap(other);
  2044. } else {
  2045. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2046. }
  2047. }
  2048. void UnsafeArenaSwap(SCDelRobot* other) {
  2049. if (other == this) return;
  2050. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2051. InternalSwap(other);
  2052. }
  2053. // implements Message ----------------------------------------------
  2054. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2055. return CreateMaybeMessage<SCDelRobot>(arena);
  2056. }
  2057. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2058. void CopyFrom(const SCDelRobot& from);
  2059. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2060. void MergeFrom(const SCDelRobot& from);
  2061. private:
  2062. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2063. public:
  2064. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2065. bool IsInitialized() const final;
  2066. size_t ByteSizeLong() const final;
  2067. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2068. uint8_t* _InternalSerialize(
  2069. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2070. int GetCachedSize() const final { return _cached_size_.Get(); }
  2071. private:
  2072. void SharedCtor();
  2073. void SharedDtor();
  2074. void SetCachedSize(int size) const final;
  2075. void InternalSwap(SCDelRobot* other);
  2076. private:
  2077. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2078. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2079. return "remote.SCDelRobot";
  2080. }
  2081. protected:
  2082. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2083. bool is_message_owned = false);
  2084. private:
  2085. static void ArenaDtor(void* object);
  2086. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2087. public:
  2088. static const ClassData _class_data_;
  2089. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2090. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2091. // nested types ----------------------------------------------------
  2092. // accessors -------------------------------------------------------
  2093. enum : int {
  2094. kPeerFieldNumber = 1,
  2095. kEgotypeFieldNumber = 2,
  2096. };
  2097. // int32 peer = 1;
  2098. void clear_peer();
  2099. int32_t peer() const;
  2100. void set_peer(int32_t value);
  2101. private:
  2102. int32_t _internal_peer() const;
  2103. void _internal_set_peer(int32_t value);
  2104. public:
  2105. // int32 egotype = 2;
  2106. void clear_egotype();
  2107. int32_t egotype() const;
  2108. void set_egotype(int32_t value);
  2109. private:
  2110. int32_t _internal_egotype() const;
  2111. void _internal_set_egotype(int32_t value);
  2112. public:
  2113. // @@protoc_insertion_point(class_scope:remote.SCDelRobot)
  2114. private:
  2115. class _Internal;
  2116. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2117. typedef void InternalArenaConstructable_;
  2118. typedef void DestructorSkippable_;
  2119. int32_t peer_;
  2120. int32_t egotype_;
  2121. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2122. friend struct ::TableStruct_remote_2eproto;
  2123. };
  2124. // -------------------------------------------------------------------
  2125. class CSRobot final :
  2126. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:remote.CSRobot) */ {
  2127. public:
  2128. inline CSRobot() : CSRobot(nullptr) {}
  2129. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2130. CSRobot(const CSRobot& from);
  2131. CSRobot(CSRobot&& from) noexcept
  2132. : CSRobot() {
  2133. *this = ::std::move(from);
  2134. }
  2135. inline CSRobot& operator=(const CSRobot& from) {
  2136. CopyFrom(from);
  2137. return *this;
  2138. }
  2139. inline CSRobot& operator=(CSRobot&& from) noexcept {
  2140. if (this == &from) return *this;
  2141. if (GetOwningArena() == from.GetOwningArena()
  2142. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2143. && GetOwningArena() != nullptr
  2144. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2145. ) {
  2146. InternalSwap(&from);
  2147. } else {
  2148. CopyFrom(from);
  2149. }
  2150. return *this;
  2151. }
  2152. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2153. return GetDescriptor();
  2154. }
  2155. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2156. return default_instance().GetMetadata().descriptor;
  2157. }
  2158. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2159. return default_instance().GetMetadata().reflection;
  2160. }
  2161. static const CSRobot& default_instance() {
  2162. return *internal_default_instance();
  2163. }
  2164. static inline const CSRobot* internal_default_instance() {
  2165. return reinterpret_cast<const CSRobot*>(
  2166. &_CSRobot_default_instance_);
  2167. }
  2168. static constexpr int kIndexInFileMessages =
  2169. 12;
  2170. friend void swap(CSRobot& a, CSRobot& b) {
  2171. a.Swap(&b);
  2172. }
  2173. inline void Swap(CSRobot* other) {
  2174. if (other == this) return;
  2175. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2176. if (GetOwningArena() != nullptr &&
  2177. GetOwningArena() == other->GetOwningArena()) {
  2178. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2179. if (GetOwningArena() == other->GetOwningArena()) {
  2180. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2181. InternalSwap(other);
  2182. } else {
  2183. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2184. }
  2185. }
  2186. void UnsafeArenaSwap(CSRobot* other) {
  2187. if (other == this) return;
  2188. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2189. InternalSwap(other);
  2190. }
  2191. // implements Message ----------------------------------------------
  2192. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2193. return CreateMaybeMessage<CSRobot>(arena);
  2194. }
  2195. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  2196. inline void CopyFrom(const CSRobot& from) {
  2197. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  2198. }
  2199. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  2200. void MergeFrom(const CSRobot& from) {
  2201. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  2202. }
  2203. public:
  2204. private:
  2205. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2206. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2207. return "remote.CSRobot";
  2208. }
  2209. protected:
  2210. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2211. bool is_message_owned = false);
  2212. private:
  2213. public:
  2214. static const ClassData _class_data_;
  2215. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2216. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2217. // nested types ----------------------------------------------------
  2218. // accessors -------------------------------------------------------
  2219. // @@protoc_insertion_point(class_scope:remote.CSRobot)
  2220. private:
  2221. class _Internal;
  2222. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2223. typedef void InternalArenaConstructable_;
  2224. typedef void DestructorSkippable_;
  2225. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2226. friend struct ::TableStruct_remote_2eproto;
  2227. };
  2228. // -------------------------------------------------------------------
  2229. class SCRobot final :
  2230. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCRobot) */ {
  2231. public:
  2232. inline SCRobot() : SCRobot(nullptr) {}
  2233. ~SCRobot() override;
  2234. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2235. SCRobot(const SCRobot& from);
  2236. SCRobot(SCRobot&& from) noexcept
  2237. : SCRobot() {
  2238. *this = ::std::move(from);
  2239. }
  2240. inline SCRobot& operator=(const SCRobot& from) {
  2241. CopyFrom(from);
  2242. return *this;
  2243. }
  2244. inline SCRobot& operator=(SCRobot&& from) noexcept {
  2245. if (this == &from) return *this;
  2246. if (GetOwningArena() == from.GetOwningArena()
  2247. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2248. && GetOwningArena() != nullptr
  2249. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2250. ) {
  2251. InternalSwap(&from);
  2252. } else {
  2253. CopyFrom(from);
  2254. }
  2255. return *this;
  2256. }
  2257. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2258. return GetDescriptor();
  2259. }
  2260. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2261. return default_instance().GetMetadata().descriptor;
  2262. }
  2263. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2264. return default_instance().GetMetadata().reflection;
  2265. }
  2266. static const SCRobot& default_instance() {
  2267. return *internal_default_instance();
  2268. }
  2269. static inline const SCRobot* internal_default_instance() {
  2270. return reinterpret_cast<const SCRobot*>(
  2271. &_SCRobot_default_instance_);
  2272. }
  2273. static constexpr int kIndexInFileMessages =
  2274. 13;
  2275. friend void swap(SCRobot& a, SCRobot& b) {
  2276. a.Swap(&b);
  2277. }
  2278. inline void Swap(SCRobot* other) {
  2279. if (other == this) return;
  2280. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2281. if (GetOwningArena() != nullptr &&
  2282. GetOwningArena() == other->GetOwningArena()) {
  2283. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2284. if (GetOwningArena() == other->GetOwningArena()) {
  2285. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2286. InternalSwap(other);
  2287. } else {
  2288. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2289. }
  2290. }
  2291. void UnsafeArenaSwap(SCRobot* other) {
  2292. if (other == this) return;
  2293. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2294. InternalSwap(other);
  2295. }
  2296. // implements Message ----------------------------------------------
  2297. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2298. return CreateMaybeMessage<SCRobot>(arena);
  2299. }
  2300. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2301. void CopyFrom(const SCRobot& from);
  2302. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2303. void MergeFrom(const SCRobot& from);
  2304. private:
  2305. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2306. public:
  2307. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2308. bool IsInitialized() const final;
  2309. size_t ByteSizeLong() const final;
  2310. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2311. uint8_t* _InternalSerialize(
  2312. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2313. int GetCachedSize() const final { return _cached_size_.Get(); }
  2314. private:
  2315. void SharedCtor();
  2316. void SharedDtor();
  2317. void SetCachedSize(int size) const final;
  2318. void InternalSwap(SCRobot* other);
  2319. private:
  2320. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2321. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2322. return "remote.SCRobot";
  2323. }
  2324. protected:
  2325. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2326. bool is_message_owned = false);
  2327. private:
  2328. static void ArenaDtor(void* object);
  2329. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2330. public:
  2331. static const ClassData _class_data_;
  2332. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2333. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2334. // nested types ----------------------------------------------------
  2335. // accessors -------------------------------------------------------
  2336. enum : int {
  2337. kRobotFieldNumber = 1,
  2338. };
  2339. // repeated .remote.Robot robot = 1;
  2340. int robot_size() const;
  2341. private:
  2342. int _internal_robot_size() const;
  2343. public:
  2344. void clear_robot();
  2345. ::remote::Robot* mutable_robot(int index);
  2346. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >*
  2347. mutable_robot();
  2348. private:
  2349. const ::remote::Robot& _internal_robot(int index) const;
  2350. ::remote::Robot* _internal_add_robot();
  2351. public:
  2352. const ::remote::Robot& robot(int index) const;
  2353. ::remote::Robot* add_robot();
  2354. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >&
  2355. robot() const;
  2356. // @@protoc_insertion_point(class_scope:remote.SCRobot)
  2357. private:
  2358. class _Internal;
  2359. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2360. typedef void InternalArenaConstructable_;
  2361. typedef void DestructorSkippable_;
  2362. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot > robot_;
  2363. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2364. friend struct ::TableStruct_remote_2eproto;
  2365. };
  2366. // -------------------------------------------------------------------
  2367. class Leave final :
  2368. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Leave) */ {
  2369. public:
  2370. inline Leave() : Leave(nullptr) {}
  2371. ~Leave() override;
  2372. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2373. Leave(const Leave& from);
  2374. Leave(Leave&& from) noexcept
  2375. : Leave() {
  2376. *this = ::std::move(from);
  2377. }
  2378. inline Leave& operator=(const Leave& from) {
  2379. CopyFrom(from);
  2380. return *this;
  2381. }
  2382. inline Leave& operator=(Leave&& from) noexcept {
  2383. if (this == &from) return *this;
  2384. if (GetOwningArena() == from.GetOwningArena()
  2385. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2386. && GetOwningArena() != nullptr
  2387. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2388. ) {
  2389. InternalSwap(&from);
  2390. } else {
  2391. CopyFrom(from);
  2392. }
  2393. return *this;
  2394. }
  2395. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2396. return GetDescriptor();
  2397. }
  2398. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2399. return default_instance().GetMetadata().descriptor;
  2400. }
  2401. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2402. return default_instance().GetMetadata().reflection;
  2403. }
  2404. static const Leave& default_instance() {
  2405. return *internal_default_instance();
  2406. }
  2407. static inline const Leave* internal_default_instance() {
  2408. return reinterpret_cast<const Leave*>(
  2409. &_Leave_default_instance_);
  2410. }
  2411. static constexpr int kIndexInFileMessages =
  2412. 14;
  2413. friend void swap(Leave& a, Leave& b) {
  2414. a.Swap(&b);
  2415. }
  2416. inline void Swap(Leave* other) {
  2417. if (other == this) return;
  2418. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2419. if (GetOwningArena() != nullptr &&
  2420. GetOwningArena() == other->GetOwningArena()) {
  2421. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2422. if (GetOwningArena() == other->GetOwningArena()) {
  2423. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2424. InternalSwap(other);
  2425. } else {
  2426. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2427. }
  2428. }
  2429. void UnsafeArenaSwap(Leave* other) {
  2430. if (other == this) return;
  2431. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2432. InternalSwap(other);
  2433. }
  2434. // implements Message ----------------------------------------------
  2435. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2436. return CreateMaybeMessage<Leave>(arena);
  2437. }
  2438. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2439. void CopyFrom(const Leave& from);
  2440. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2441. void MergeFrom(const Leave& from);
  2442. private:
  2443. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2444. public:
  2445. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2446. bool IsInitialized() const final;
  2447. size_t ByteSizeLong() const final;
  2448. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2449. uint8_t* _InternalSerialize(
  2450. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2451. int GetCachedSize() const final { return _cached_size_.Get(); }
  2452. private:
  2453. void SharedCtor();
  2454. void SharedDtor();
  2455. void SetCachedSize(int size) const final;
  2456. void InternalSwap(Leave* other);
  2457. private:
  2458. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2459. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2460. return "remote.Leave";
  2461. }
  2462. protected:
  2463. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2464. bool is_message_owned = false);
  2465. private:
  2466. static void ArenaDtor(void* object);
  2467. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2468. public:
  2469. static const ClassData _class_data_;
  2470. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2471. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2472. // nested types ----------------------------------------------------
  2473. // accessors -------------------------------------------------------
  2474. enum : int {
  2475. kPeerFieldNumber = 1,
  2476. kEgotypeFieldNumber = 2,
  2477. };
  2478. // int32 peer = 1;
  2479. void clear_peer();
  2480. int32_t peer() const;
  2481. void set_peer(int32_t value);
  2482. private:
  2483. int32_t _internal_peer() const;
  2484. void _internal_set_peer(int32_t value);
  2485. public:
  2486. // int32 egotype = 2;
  2487. void clear_egotype();
  2488. int32_t egotype() const;
  2489. void set_egotype(int32_t value);
  2490. private:
  2491. int32_t _internal_egotype() const;
  2492. void _internal_set_egotype(int32_t value);
  2493. public:
  2494. // @@protoc_insertion_point(class_scope:remote.Leave)
  2495. private:
  2496. class _Internal;
  2497. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2498. typedef void InternalArenaConstructable_;
  2499. typedef void DestructorSkippable_;
  2500. int32_t peer_;
  2501. int32_t egotype_;
  2502. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2503. friend struct ::TableStruct_remote_2eproto;
  2504. };
  2505. // ===================================================================
  2506. // ===================================================================
  2507. #ifdef __GNUC__
  2508. #pragma GCC diagnostic push
  2509. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2510. #endif // __GNUC__
  2511. // Offer
  2512. // int32 index = 1;
  2513. inline void Offer::clear_index() {
  2514. index_ = 0;
  2515. }
  2516. inline int32_t Offer::_internal_index() const {
  2517. return index_;
  2518. }
  2519. inline int32_t Offer::index() const {
  2520. // @@protoc_insertion_point(field_get:remote.Offer.index)
  2521. return _internal_index();
  2522. }
  2523. inline void Offer::_internal_set_index(int32_t value) {
  2524. index_ = value;
  2525. }
  2526. inline void Offer::set_index(int32_t value) {
  2527. _internal_set_index(value);
  2528. // @@protoc_insertion_point(field_set:remote.Offer.index)
  2529. }
  2530. // int32 peer = 2;
  2531. inline void Offer::clear_peer() {
  2532. peer_ = 0;
  2533. }
  2534. inline int32_t Offer::_internal_peer() const {
  2535. return peer_;
  2536. }
  2537. inline int32_t Offer::peer() const {
  2538. // @@protoc_insertion_point(field_get:remote.Offer.peer)
  2539. return _internal_peer();
  2540. }
  2541. inline void Offer::_internal_set_peer(int32_t value) {
  2542. peer_ = value;
  2543. }
  2544. inline void Offer::set_peer(int32_t value) {
  2545. _internal_set_peer(value);
  2546. // @@protoc_insertion_point(field_set:remote.Offer.peer)
  2547. }
  2548. // string type = 3;
  2549. inline void Offer::clear_type() {
  2550. type_.ClearToEmpty();
  2551. }
  2552. inline const std::string& Offer::type() const {
  2553. // @@protoc_insertion_point(field_get:remote.Offer.type)
  2554. return _internal_type();
  2555. }
  2556. template <typename ArgT0, typename... ArgT>
  2557. inline PROTOBUF_ALWAYS_INLINE
  2558. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  2559. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2560. // @@protoc_insertion_point(field_set:remote.Offer.type)
  2561. }
  2562. inline std::string* Offer::mutable_type() {
  2563. std::string* _s = _internal_mutable_type();
  2564. // @@protoc_insertion_point(field_mutable:remote.Offer.type)
  2565. return _s;
  2566. }
  2567. inline const std::string& Offer::_internal_type() const {
  2568. return type_.Get();
  2569. }
  2570. inline void Offer::_internal_set_type(const std::string& value) {
  2571. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2572. }
  2573. inline std::string* Offer::_internal_mutable_type() {
  2574. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2575. }
  2576. inline std::string* Offer::release_type() {
  2577. // @@protoc_insertion_point(field_release:remote.Offer.type)
  2578. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2579. }
  2580. inline void Offer::set_allocated_type(std::string* type) {
  2581. if (type != nullptr) {
  2582. } else {
  2583. }
  2584. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  2585. GetArenaForAllocation());
  2586. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2587. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2588. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2589. }
  2590. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2591. // @@protoc_insertion_point(field_set_allocated:remote.Offer.type)
  2592. }
  2593. // string sdp = 4;
  2594. inline void Offer::clear_sdp() {
  2595. sdp_.ClearToEmpty();
  2596. }
  2597. inline const std::string& Offer::sdp() const {
  2598. // @@protoc_insertion_point(field_get:remote.Offer.sdp)
  2599. return _internal_sdp();
  2600. }
  2601. template <typename ArgT0, typename... ArgT>
  2602. inline PROTOBUF_ALWAYS_INLINE
  2603. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  2604. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2605. // @@protoc_insertion_point(field_set:remote.Offer.sdp)
  2606. }
  2607. inline std::string* Offer::mutable_sdp() {
  2608. std::string* _s = _internal_mutable_sdp();
  2609. // @@protoc_insertion_point(field_mutable:remote.Offer.sdp)
  2610. return _s;
  2611. }
  2612. inline const std::string& Offer::_internal_sdp() const {
  2613. return sdp_.Get();
  2614. }
  2615. inline void Offer::_internal_set_sdp(const std::string& value) {
  2616. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2617. }
  2618. inline std::string* Offer::_internal_mutable_sdp() {
  2619. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2620. }
  2621. inline std::string* Offer::release_sdp() {
  2622. // @@protoc_insertion_point(field_release:remote.Offer.sdp)
  2623. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2624. }
  2625. inline void Offer::set_allocated_sdp(std::string* sdp) {
  2626. if (sdp != nullptr) {
  2627. } else {
  2628. }
  2629. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  2630. GetArenaForAllocation());
  2631. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2632. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2633. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2634. }
  2635. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2636. // @@protoc_insertion_point(field_set_allocated:remote.Offer.sdp)
  2637. }
  2638. // -------------------------------------------------------------------
  2639. // Answer
  2640. // int32 index = 1;
  2641. inline void Answer::clear_index() {
  2642. index_ = 0;
  2643. }
  2644. inline int32_t Answer::_internal_index() const {
  2645. return index_;
  2646. }
  2647. inline int32_t Answer::index() const {
  2648. // @@protoc_insertion_point(field_get:remote.Answer.index)
  2649. return _internal_index();
  2650. }
  2651. inline void Answer::_internal_set_index(int32_t value) {
  2652. index_ = value;
  2653. }
  2654. inline void Answer::set_index(int32_t value) {
  2655. _internal_set_index(value);
  2656. // @@protoc_insertion_point(field_set:remote.Answer.index)
  2657. }
  2658. // int32 peer = 2;
  2659. inline void Answer::clear_peer() {
  2660. peer_ = 0;
  2661. }
  2662. inline int32_t Answer::_internal_peer() const {
  2663. return peer_;
  2664. }
  2665. inline int32_t Answer::peer() const {
  2666. // @@protoc_insertion_point(field_get:remote.Answer.peer)
  2667. return _internal_peer();
  2668. }
  2669. inline void Answer::_internal_set_peer(int32_t value) {
  2670. peer_ = value;
  2671. }
  2672. inline void Answer::set_peer(int32_t value) {
  2673. _internal_set_peer(value);
  2674. // @@protoc_insertion_point(field_set:remote.Answer.peer)
  2675. }
  2676. // string type = 3;
  2677. inline void Answer::clear_type() {
  2678. type_.ClearToEmpty();
  2679. }
  2680. inline const std::string& Answer::type() const {
  2681. // @@protoc_insertion_point(field_get:remote.Answer.type)
  2682. return _internal_type();
  2683. }
  2684. template <typename ArgT0, typename... ArgT>
  2685. inline PROTOBUF_ALWAYS_INLINE
  2686. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  2687. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2688. // @@protoc_insertion_point(field_set:remote.Answer.type)
  2689. }
  2690. inline std::string* Answer::mutable_type() {
  2691. std::string* _s = _internal_mutable_type();
  2692. // @@protoc_insertion_point(field_mutable:remote.Answer.type)
  2693. return _s;
  2694. }
  2695. inline const std::string& Answer::_internal_type() const {
  2696. return type_.Get();
  2697. }
  2698. inline void Answer::_internal_set_type(const std::string& value) {
  2699. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2700. }
  2701. inline std::string* Answer::_internal_mutable_type() {
  2702. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2703. }
  2704. inline std::string* Answer::release_type() {
  2705. // @@protoc_insertion_point(field_release:remote.Answer.type)
  2706. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2707. }
  2708. inline void Answer::set_allocated_type(std::string* type) {
  2709. if (type != nullptr) {
  2710. } else {
  2711. }
  2712. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  2713. GetArenaForAllocation());
  2714. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2715. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2716. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2717. }
  2718. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2719. // @@protoc_insertion_point(field_set_allocated:remote.Answer.type)
  2720. }
  2721. // string sdp = 4;
  2722. inline void Answer::clear_sdp() {
  2723. sdp_.ClearToEmpty();
  2724. }
  2725. inline const std::string& Answer::sdp() const {
  2726. // @@protoc_insertion_point(field_get:remote.Answer.sdp)
  2727. return _internal_sdp();
  2728. }
  2729. template <typename ArgT0, typename... ArgT>
  2730. inline PROTOBUF_ALWAYS_INLINE
  2731. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  2732. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2733. // @@protoc_insertion_point(field_set:remote.Answer.sdp)
  2734. }
  2735. inline std::string* Answer::mutable_sdp() {
  2736. std::string* _s = _internal_mutable_sdp();
  2737. // @@protoc_insertion_point(field_mutable:remote.Answer.sdp)
  2738. return _s;
  2739. }
  2740. inline const std::string& Answer::_internal_sdp() const {
  2741. return sdp_.Get();
  2742. }
  2743. inline void Answer::_internal_set_sdp(const std::string& value) {
  2744. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2745. }
  2746. inline std::string* Answer::_internal_mutable_sdp() {
  2747. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2748. }
  2749. inline std::string* Answer::release_sdp() {
  2750. // @@protoc_insertion_point(field_release:remote.Answer.sdp)
  2751. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2752. }
  2753. inline void Answer::set_allocated_sdp(std::string* sdp) {
  2754. if (sdp != nullptr) {
  2755. } else {
  2756. }
  2757. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  2758. GetArenaForAllocation());
  2759. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2760. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2761. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2762. }
  2763. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2764. // @@protoc_insertion_point(field_set_allocated:remote.Answer.sdp)
  2765. }
  2766. // -------------------------------------------------------------------
  2767. // Candidate
  2768. // int32 index = 1;
  2769. inline void Candidate::clear_index() {
  2770. index_ = 0;
  2771. }
  2772. inline int32_t Candidate::_internal_index() const {
  2773. return index_;
  2774. }
  2775. inline int32_t Candidate::index() const {
  2776. // @@protoc_insertion_point(field_get:remote.Candidate.index)
  2777. return _internal_index();
  2778. }
  2779. inline void Candidate::_internal_set_index(int32_t value) {
  2780. index_ = value;
  2781. }
  2782. inline void Candidate::set_index(int32_t value) {
  2783. _internal_set_index(value);
  2784. // @@protoc_insertion_point(field_set:remote.Candidate.index)
  2785. }
  2786. // int32 peer = 2;
  2787. inline void Candidate::clear_peer() {
  2788. peer_ = 0;
  2789. }
  2790. inline int32_t Candidate::_internal_peer() const {
  2791. return peer_;
  2792. }
  2793. inline int32_t Candidate::peer() const {
  2794. // @@protoc_insertion_point(field_get:remote.Candidate.peer)
  2795. return _internal_peer();
  2796. }
  2797. inline void Candidate::_internal_set_peer(int32_t value) {
  2798. peer_ = value;
  2799. }
  2800. inline void Candidate::set_peer(int32_t value) {
  2801. _internal_set_peer(value);
  2802. // @@protoc_insertion_point(field_set:remote.Candidate.peer)
  2803. }
  2804. // string type = 3;
  2805. inline void Candidate::clear_type() {
  2806. type_.ClearToEmpty();
  2807. }
  2808. inline const std::string& Candidate::type() const {
  2809. // @@protoc_insertion_point(field_get:remote.Candidate.type)
  2810. return _internal_type();
  2811. }
  2812. template <typename ArgT0, typename... ArgT>
  2813. inline PROTOBUF_ALWAYS_INLINE
  2814. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  2815. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2816. // @@protoc_insertion_point(field_set:remote.Candidate.type)
  2817. }
  2818. inline std::string* Candidate::mutable_type() {
  2819. std::string* _s = _internal_mutable_type();
  2820. // @@protoc_insertion_point(field_mutable:remote.Candidate.type)
  2821. return _s;
  2822. }
  2823. inline const std::string& Candidate::_internal_type() const {
  2824. return type_.Get();
  2825. }
  2826. inline void Candidate::_internal_set_type(const std::string& value) {
  2827. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2828. }
  2829. inline std::string* Candidate::_internal_mutable_type() {
  2830. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2831. }
  2832. inline std::string* Candidate::release_type() {
  2833. // @@protoc_insertion_point(field_release:remote.Candidate.type)
  2834. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2835. }
  2836. inline void Candidate::set_allocated_type(std::string* type) {
  2837. if (type != nullptr) {
  2838. } else {
  2839. }
  2840. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  2841. GetArenaForAllocation());
  2842. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2843. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2844. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2845. }
  2846. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2847. // @@protoc_insertion_point(field_set_allocated:remote.Candidate.type)
  2848. }
  2849. // string candidate = 4;
  2850. inline void Candidate::clear_candidate() {
  2851. candidate_.ClearToEmpty();
  2852. }
  2853. inline const std::string& Candidate::candidate() const {
  2854. // @@protoc_insertion_point(field_get:remote.Candidate.candidate)
  2855. return _internal_candidate();
  2856. }
  2857. template <typename ArgT0, typename... ArgT>
  2858. inline PROTOBUF_ALWAYS_INLINE
  2859. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  2860. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2861. // @@protoc_insertion_point(field_set:remote.Candidate.candidate)
  2862. }
  2863. inline std::string* Candidate::mutable_candidate() {
  2864. std::string* _s = _internal_mutable_candidate();
  2865. // @@protoc_insertion_point(field_mutable:remote.Candidate.candidate)
  2866. return _s;
  2867. }
  2868. inline const std::string& Candidate::_internal_candidate() const {
  2869. return candidate_.Get();
  2870. }
  2871. inline void Candidate::_internal_set_candidate(const std::string& value) {
  2872. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2873. }
  2874. inline std::string* Candidate::_internal_mutable_candidate() {
  2875. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2876. }
  2877. inline std::string* Candidate::release_candidate() {
  2878. // @@protoc_insertion_point(field_release:remote.Candidate.candidate)
  2879. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2880. }
  2881. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  2882. if (candidate != nullptr) {
  2883. } else {
  2884. }
  2885. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  2886. GetArenaForAllocation());
  2887. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2888. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2889. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2890. }
  2891. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2892. // @@protoc_insertion_point(field_set_allocated:remote.Candidate.candidate)
  2893. }
  2894. // int32 sdpMLineIndex = 5;
  2895. inline void Candidate::clear_sdpmlineindex() {
  2896. sdpmlineindex_ = 0;
  2897. }
  2898. inline int32_t Candidate::_internal_sdpmlineindex() const {
  2899. return sdpmlineindex_;
  2900. }
  2901. inline int32_t Candidate::sdpmlineindex() const {
  2902. // @@protoc_insertion_point(field_get:remote.Candidate.sdpMLineIndex)
  2903. return _internal_sdpmlineindex();
  2904. }
  2905. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  2906. sdpmlineindex_ = value;
  2907. }
  2908. inline void Candidate::set_sdpmlineindex(int32_t value) {
  2909. _internal_set_sdpmlineindex(value);
  2910. // @@protoc_insertion_point(field_set:remote.Candidate.sdpMLineIndex)
  2911. }
  2912. // string sdpMid = 6;
  2913. inline void Candidate::clear_sdpmid() {
  2914. sdpmid_.ClearToEmpty();
  2915. }
  2916. inline const std::string& Candidate::sdpmid() const {
  2917. // @@protoc_insertion_point(field_get:remote.Candidate.sdpMid)
  2918. return _internal_sdpmid();
  2919. }
  2920. template <typename ArgT0, typename... ArgT>
  2921. inline PROTOBUF_ALWAYS_INLINE
  2922. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  2923. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2924. // @@protoc_insertion_point(field_set:remote.Candidate.sdpMid)
  2925. }
  2926. inline std::string* Candidate::mutable_sdpmid() {
  2927. std::string* _s = _internal_mutable_sdpmid();
  2928. // @@protoc_insertion_point(field_mutable:remote.Candidate.sdpMid)
  2929. return _s;
  2930. }
  2931. inline const std::string& Candidate::_internal_sdpmid() const {
  2932. return sdpmid_.Get();
  2933. }
  2934. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  2935. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2936. }
  2937. inline std::string* Candidate::_internal_mutable_sdpmid() {
  2938. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2939. }
  2940. inline std::string* Candidate::release_sdpmid() {
  2941. // @@protoc_insertion_point(field_release:remote.Candidate.sdpMid)
  2942. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2943. }
  2944. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  2945. if (sdpmid != nullptr) {
  2946. } else {
  2947. }
  2948. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  2949. GetArenaForAllocation());
  2950. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2951. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2952. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2953. }
  2954. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2955. // @@protoc_insertion_point(field_set_allocated:remote.Candidate.sdpMid)
  2956. }
  2957. // int32 egotype = 7;
  2958. inline void Candidate::clear_egotype() {
  2959. egotype_ = 0;
  2960. }
  2961. inline int32_t Candidate::_internal_egotype() const {
  2962. return egotype_;
  2963. }
  2964. inline int32_t Candidate::egotype() const {
  2965. // @@protoc_insertion_point(field_get:remote.Candidate.egotype)
  2966. return _internal_egotype();
  2967. }
  2968. inline void Candidate::_internal_set_egotype(int32_t value) {
  2969. egotype_ = value;
  2970. }
  2971. inline void Candidate::set_egotype(int32_t value) {
  2972. _internal_set_egotype(value);
  2973. // @@protoc_insertion_point(field_set:remote.Candidate.egotype)
  2974. }
  2975. // -------------------------------------------------------------------
  2976. // CSReq
  2977. // int32 peer = 1;
  2978. inline void CSReq::clear_peer() {
  2979. peer_ = 0;
  2980. }
  2981. inline int32_t CSReq::_internal_peer() const {
  2982. return peer_;
  2983. }
  2984. inline int32_t CSReq::peer() const {
  2985. // @@protoc_insertion_point(field_get:remote.CSReq.peer)
  2986. return _internal_peer();
  2987. }
  2988. inline void CSReq::_internal_set_peer(int32_t value) {
  2989. peer_ = value;
  2990. }
  2991. inline void CSReq::set_peer(int32_t value) {
  2992. _internal_set_peer(value);
  2993. // @@protoc_insertion_point(field_set:remote.CSReq.peer)
  2994. }
  2995. // int32 index = 2;
  2996. inline void CSReq::clear_index() {
  2997. index_ = 0;
  2998. }
  2999. inline int32_t CSReq::_internal_index() const {
  3000. return index_;
  3001. }
  3002. inline int32_t CSReq::index() const {
  3003. // @@protoc_insertion_point(field_get:remote.CSReq.index)
  3004. return _internal_index();
  3005. }
  3006. inline void CSReq::_internal_set_index(int32_t value) {
  3007. index_ = value;
  3008. }
  3009. inline void CSReq::set_index(int32_t value) {
  3010. _internal_set_index(value);
  3011. // @@protoc_insertion_point(field_set:remote.CSReq.index)
  3012. }
  3013. // int32 egotype = 3;
  3014. inline void CSReq::clear_egotype() {
  3015. egotype_ = 0;
  3016. }
  3017. inline int32_t CSReq::_internal_egotype() const {
  3018. return egotype_;
  3019. }
  3020. inline int32_t CSReq::egotype() const {
  3021. // @@protoc_insertion_point(field_get:remote.CSReq.egotype)
  3022. return _internal_egotype();
  3023. }
  3024. inline void CSReq::_internal_set_egotype(int32_t value) {
  3025. egotype_ = value;
  3026. }
  3027. inline void CSReq::set_egotype(int32_t value) {
  3028. _internal_set_egotype(value);
  3029. // @@protoc_insertion_point(field_set:remote.CSReq.egotype)
  3030. }
  3031. // -------------------------------------------------------------------
  3032. // SCReq
  3033. // int32 desc = 1;
  3034. inline void SCReq::clear_desc() {
  3035. desc_ = 0;
  3036. }
  3037. inline int32_t SCReq::_internal_desc() const {
  3038. return desc_;
  3039. }
  3040. inline int32_t SCReq::desc() const {
  3041. // @@protoc_insertion_point(field_get:remote.SCReq.desc)
  3042. return _internal_desc();
  3043. }
  3044. inline void SCReq::_internal_set_desc(int32_t value) {
  3045. desc_ = value;
  3046. }
  3047. inline void SCReq::set_desc(int32_t value) {
  3048. _internal_set_desc(value);
  3049. // @@protoc_insertion_point(field_set:remote.SCReq.desc)
  3050. }
  3051. // int32 peer = 2;
  3052. inline void SCReq::clear_peer() {
  3053. peer_ = 0;
  3054. }
  3055. inline int32_t SCReq::_internal_peer() const {
  3056. return peer_;
  3057. }
  3058. inline int32_t SCReq::peer() const {
  3059. // @@protoc_insertion_point(field_get:remote.SCReq.peer)
  3060. return _internal_peer();
  3061. }
  3062. inline void SCReq::_internal_set_peer(int32_t value) {
  3063. peer_ = value;
  3064. }
  3065. inline void SCReq::set_peer(int32_t value) {
  3066. _internal_set_peer(value);
  3067. // @@protoc_insertion_point(field_set:remote.SCReq.peer)
  3068. }
  3069. // int32 egotype = 3;
  3070. inline void SCReq::clear_egotype() {
  3071. egotype_ = 0;
  3072. }
  3073. inline int32_t SCReq::_internal_egotype() const {
  3074. return egotype_;
  3075. }
  3076. inline int32_t SCReq::egotype() const {
  3077. // @@protoc_insertion_point(field_get:remote.SCReq.egotype)
  3078. return _internal_egotype();
  3079. }
  3080. inline void SCReq::_internal_set_egotype(int32_t value) {
  3081. egotype_ = value;
  3082. }
  3083. inline void SCReq::set_egotype(int32_t value) {
  3084. _internal_set_egotype(value);
  3085. // @@protoc_insertion_point(field_set:remote.SCReq.egotype)
  3086. }
  3087. // -------------------------------------------------------------------
  3088. // CSRep
  3089. // int32 desc = 1;
  3090. inline void CSRep::clear_desc() {
  3091. desc_ = 0;
  3092. }
  3093. inline int32_t CSRep::_internal_desc() const {
  3094. return desc_;
  3095. }
  3096. inline int32_t CSRep::desc() const {
  3097. // @@protoc_insertion_point(field_get:remote.CSRep.desc)
  3098. return _internal_desc();
  3099. }
  3100. inline void CSRep::_internal_set_desc(int32_t value) {
  3101. desc_ = value;
  3102. }
  3103. inline void CSRep::set_desc(int32_t value) {
  3104. _internal_set_desc(value);
  3105. // @@protoc_insertion_point(field_set:remote.CSRep.desc)
  3106. }
  3107. // int32 peer = 2;
  3108. inline void CSRep::clear_peer() {
  3109. peer_ = 0;
  3110. }
  3111. inline int32_t CSRep::_internal_peer() const {
  3112. return peer_;
  3113. }
  3114. inline int32_t CSRep::peer() const {
  3115. // @@protoc_insertion_point(field_get:remote.CSRep.peer)
  3116. return _internal_peer();
  3117. }
  3118. inline void CSRep::_internal_set_peer(int32_t value) {
  3119. peer_ = value;
  3120. }
  3121. inline void CSRep::set_peer(int32_t value) {
  3122. _internal_set_peer(value);
  3123. // @@protoc_insertion_point(field_set:remote.CSRep.peer)
  3124. }
  3125. // int32 index = 3;
  3126. inline void CSRep::clear_index() {
  3127. index_ = 0;
  3128. }
  3129. inline int32_t CSRep::_internal_index() const {
  3130. return index_;
  3131. }
  3132. inline int32_t CSRep::index() const {
  3133. // @@protoc_insertion_point(field_get:remote.CSRep.index)
  3134. return _internal_index();
  3135. }
  3136. inline void CSRep::_internal_set_index(int32_t value) {
  3137. index_ = value;
  3138. }
  3139. inline void CSRep::set_index(int32_t value) {
  3140. _internal_set_index(value);
  3141. // @@protoc_insertion_point(field_set:remote.CSRep.index)
  3142. }
  3143. // int32 egotype = 4;
  3144. inline void CSRep::clear_egotype() {
  3145. egotype_ = 0;
  3146. }
  3147. inline int32_t CSRep::_internal_egotype() const {
  3148. return egotype_;
  3149. }
  3150. inline int32_t CSRep::egotype() const {
  3151. // @@protoc_insertion_point(field_get:remote.CSRep.egotype)
  3152. return _internal_egotype();
  3153. }
  3154. inline void CSRep::_internal_set_egotype(int32_t value) {
  3155. egotype_ = value;
  3156. }
  3157. inline void CSRep::set_egotype(int32_t value) {
  3158. _internal_set_egotype(value);
  3159. // @@protoc_insertion_point(field_set:remote.CSRep.egotype)
  3160. }
  3161. // -------------------------------------------------------------------
  3162. // SCRep
  3163. // int32 desc = 1;
  3164. inline void SCRep::clear_desc() {
  3165. desc_ = 0;
  3166. }
  3167. inline int32_t SCRep::_internal_desc() const {
  3168. return desc_;
  3169. }
  3170. inline int32_t SCRep::desc() const {
  3171. // @@protoc_insertion_point(field_get:remote.SCRep.desc)
  3172. return _internal_desc();
  3173. }
  3174. inline void SCRep::_internal_set_desc(int32_t value) {
  3175. desc_ = value;
  3176. }
  3177. inline void SCRep::set_desc(int32_t value) {
  3178. _internal_set_desc(value);
  3179. // @@protoc_insertion_point(field_set:remote.SCRep.desc)
  3180. }
  3181. // int32 index = 2;
  3182. inline void SCRep::clear_index() {
  3183. index_ = 0;
  3184. }
  3185. inline int32_t SCRep::_internal_index() const {
  3186. return index_;
  3187. }
  3188. inline int32_t SCRep::index() const {
  3189. // @@protoc_insertion_point(field_get:remote.SCRep.index)
  3190. return _internal_index();
  3191. }
  3192. inline void SCRep::_internal_set_index(int32_t value) {
  3193. index_ = value;
  3194. }
  3195. inline void SCRep::set_index(int32_t value) {
  3196. _internal_set_index(value);
  3197. // @@protoc_insertion_point(field_set:remote.SCRep.index)
  3198. }
  3199. // int32 egotype = 3;
  3200. inline void SCRep::clear_egotype() {
  3201. egotype_ = 0;
  3202. }
  3203. inline int32_t SCRep::_internal_egotype() const {
  3204. return egotype_;
  3205. }
  3206. inline int32_t SCRep::egotype() const {
  3207. // @@protoc_insertion_point(field_get:remote.SCRep.egotype)
  3208. return _internal_egotype();
  3209. }
  3210. inline void SCRep::_internal_set_egotype(int32_t value) {
  3211. egotype_ = value;
  3212. }
  3213. inline void SCRep::set_egotype(int32_t value) {
  3214. _internal_set_egotype(value);
  3215. // @@protoc_insertion_point(field_set:remote.SCRep.egotype)
  3216. }
  3217. // int32 peer = 4;
  3218. inline void SCRep::clear_peer() {
  3219. peer_ = 0;
  3220. }
  3221. inline int32_t SCRep::_internal_peer() const {
  3222. return peer_;
  3223. }
  3224. inline int32_t SCRep::peer() const {
  3225. // @@protoc_insertion_point(field_get:remote.SCRep.peer)
  3226. return _internal_peer();
  3227. }
  3228. inline void SCRep::_internal_set_peer(int32_t value) {
  3229. peer_ = value;
  3230. }
  3231. inline void SCRep::set_peer(int32_t value) {
  3232. _internal_set_peer(value);
  3233. // @@protoc_insertion_point(field_set:remote.SCRep.peer)
  3234. }
  3235. // -------------------------------------------------------------------
  3236. // CSAdd
  3237. // string serial = 1;
  3238. inline void CSAdd::clear_serial() {
  3239. serial_.ClearToEmpty();
  3240. }
  3241. inline const std::string& CSAdd::serial() const {
  3242. // @@protoc_insertion_point(field_get:remote.CSAdd.serial)
  3243. return _internal_serial();
  3244. }
  3245. template <typename ArgT0, typename... ArgT>
  3246. inline PROTOBUF_ALWAYS_INLINE
  3247. void CSAdd::set_serial(ArgT0&& arg0, ArgT... args) {
  3248. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3249. // @@protoc_insertion_point(field_set:remote.CSAdd.serial)
  3250. }
  3251. inline std::string* CSAdd::mutable_serial() {
  3252. std::string* _s = _internal_mutable_serial();
  3253. // @@protoc_insertion_point(field_mutable:remote.CSAdd.serial)
  3254. return _s;
  3255. }
  3256. inline const std::string& CSAdd::_internal_serial() const {
  3257. return serial_.Get();
  3258. }
  3259. inline void CSAdd::_internal_set_serial(const std::string& value) {
  3260. serial_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3261. }
  3262. inline std::string* CSAdd::_internal_mutable_serial() {
  3263. return serial_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3264. }
  3265. inline std::string* CSAdd::release_serial() {
  3266. // @@protoc_insertion_point(field_release:remote.CSAdd.serial)
  3267. return serial_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3268. }
  3269. inline void CSAdd::set_allocated_serial(std::string* serial) {
  3270. if (serial != nullptr) {
  3271. } else {
  3272. }
  3273. serial_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), serial,
  3274. GetArenaForAllocation());
  3275. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3276. if (serial_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3277. serial_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3278. }
  3279. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3280. // @@protoc_insertion_point(field_set_allocated:remote.CSAdd.serial)
  3281. }
  3282. // int32 type = 2;
  3283. inline void CSAdd::clear_type() {
  3284. type_ = 0;
  3285. }
  3286. inline int32_t CSAdd::_internal_type() const {
  3287. return type_;
  3288. }
  3289. inline int32_t CSAdd::type() const {
  3290. // @@protoc_insertion_point(field_get:remote.CSAdd.type)
  3291. return _internal_type();
  3292. }
  3293. inline void CSAdd::_internal_set_type(int32_t value) {
  3294. type_ = value;
  3295. }
  3296. inline void CSAdd::set_type(int32_t value) {
  3297. _internal_set_type(value);
  3298. // @@protoc_insertion_point(field_set:remote.CSAdd.type)
  3299. }
  3300. // string name = 3;
  3301. inline void CSAdd::clear_name() {
  3302. name_.ClearToEmpty();
  3303. }
  3304. inline const std::string& CSAdd::name() const {
  3305. // @@protoc_insertion_point(field_get:remote.CSAdd.name)
  3306. return _internal_name();
  3307. }
  3308. template <typename ArgT0, typename... ArgT>
  3309. inline PROTOBUF_ALWAYS_INLINE
  3310. void CSAdd::set_name(ArgT0&& arg0, ArgT... args) {
  3311. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3312. // @@protoc_insertion_point(field_set:remote.CSAdd.name)
  3313. }
  3314. inline std::string* CSAdd::mutable_name() {
  3315. std::string* _s = _internal_mutable_name();
  3316. // @@protoc_insertion_point(field_mutable:remote.CSAdd.name)
  3317. return _s;
  3318. }
  3319. inline const std::string& CSAdd::_internal_name() const {
  3320. return name_.Get();
  3321. }
  3322. inline void CSAdd::_internal_set_name(const std::string& value) {
  3323. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3324. }
  3325. inline std::string* CSAdd::_internal_mutable_name() {
  3326. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3327. }
  3328. inline std::string* CSAdd::release_name() {
  3329. // @@protoc_insertion_point(field_release:remote.CSAdd.name)
  3330. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3331. }
  3332. inline void CSAdd::set_allocated_name(std::string* name) {
  3333. if (name != nullptr) {
  3334. } else {
  3335. }
  3336. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  3337. GetArenaForAllocation());
  3338. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3339. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3340. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3341. }
  3342. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3343. // @@protoc_insertion_point(field_set_allocated:remote.CSAdd.name)
  3344. }
  3345. // int32 car = 4;
  3346. inline void CSAdd::clear_car() {
  3347. car_ = 0;
  3348. }
  3349. inline int32_t CSAdd::_internal_car() const {
  3350. return car_;
  3351. }
  3352. inline int32_t CSAdd::car() const {
  3353. // @@protoc_insertion_point(field_get:remote.CSAdd.car)
  3354. return _internal_car();
  3355. }
  3356. inline void CSAdd::_internal_set_car(int32_t value) {
  3357. car_ = value;
  3358. }
  3359. inline void CSAdd::set_car(int32_t value) {
  3360. _internal_set_car(value);
  3361. // @@protoc_insertion_point(field_set:remote.CSAdd.car)
  3362. }
  3363. // -------------------------------------------------------------------
  3364. // SCAdd
  3365. // bool ret = 1;
  3366. inline void SCAdd::clear_ret() {
  3367. ret_ = false;
  3368. }
  3369. inline bool SCAdd::_internal_ret() const {
  3370. return ret_;
  3371. }
  3372. inline bool SCAdd::ret() const {
  3373. // @@protoc_insertion_point(field_get:remote.SCAdd.ret)
  3374. return _internal_ret();
  3375. }
  3376. inline void SCAdd::_internal_set_ret(bool value) {
  3377. ret_ = value;
  3378. }
  3379. inline void SCAdd::set_ret(bool value) {
  3380. _internal_set_ret(value);
  3381. // @@protoc_insertion_point(field_set:remote.SCAdd.ret)
  3382. }
  3383. // int32 uid = 2;
  3384. inline void SCAdd::clear_uid() {
  3385. uid_ = 0;
  3386. }
  3387. inline int32_t SCAdd::_internal_uid() const {
  3388. return uid_;
  3389. }
  3390. inline int32_t SCAdd::uid() const {
  3391. // @@protoc_insertion_point(field_get:remote.SCAdd.uid)
  3392. return _internal_uid();
  3393. }
  3394. inline void SCAdd::_internal_set_uid(int32_t value) {
  3395. uid_ = value;
  3396. }
  3397. inline void SCAdd::set_uid(int32_t value) {
  3398. _internal_set_uid(value);
  3399. // @@protoc_insertion_point(field_set:remote.SCAdd.uid)
  3400. }
  3401. // string name = 3;
  3402. inline void SCAdd::clear_name() {
  3403. name_.ClearToEmpty();
  3404. }
  3405. inline const std::string& SCAdd::name() const {
  3406. // @@protoc_insertion_point(field_get:remote.SCAdd.name)
  3407. return _internal_name();
  3408. }
  3409. template <typename ArgT0, typename... ArgT>
  3410. inline PROTOBUF_ALWAYS_INLINE
  3411. void SCAdd::set_name(ArgT0&& arg0, ArgT... args) {
  3412. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3413. // @@protoc_insertion_point(field_set:remote.SCAdd.name)
  3414. }
  3415. inline std::string* SCAdd::mutable_name() {
  3416. std::string* _s = _internal_mutable_name();
  3417. // @@protoc_insertion_point(field_mutable:remote.SCAdd.name)
  3418. return _s;
  3419. }
  3420. inline const std::string& SCAdd::_internal_name() const {
  3421. return name_.Get();
  3422. }
  3423. inline void SCAdd::_internal_set_name(const std::string& value) {
  3424. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3425. }
  3426. inline std::string* SCAdd::_internal_mutable_name() {
  3427. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3428. }
  3429. inline std::string* SCAdd::release_name() {
  3430. // @@protoc_insertion_point(field_release:remote.SCAdd.name)
  3431. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3432. }
  3433. inline void SCAdd::set_allocated_name(std::string* name) {
  3434. if (name != nullptr) {
  3435. } else {
  3436. }
  3437. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  3438. GetArenaForAllocation());
  3439. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3440. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3441. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3442. }
  3443. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3444. // @@protoc_insertion_point(field_set_allocated:remote.SCAdd.name)
  3445. }
  3446. // int32 car = 4;
  3447. inline void SCAdd::clear_car() {
  3448. car_ = 0;
  3449. }
  3450. inline int32_t SCAdd::_internal_car() const {
  3451. return car_;
  3452. }
  3453. inline int32_t SCAdd::car() const {
  3454. // @@protoc_insertion_point(field_get:remote.SCAdd.car)
  3455. return _internal_car();
  3456. }
  3457. inline void SCAdd::_internal_set_car(int32_t value) {
  3458. car_ = value;
  3459. }
  3460. inline void SCAdd::set_car(int32_t value) {
  3461. _internal_set_car(value);
  3462. // @@protoc_insertion_point(field_set:remote.SCAdd.car)
  3463. }
  3464. // -------------------------------------------------------------------
  3465. // Robot
  3466. // int32 rid = 1;
  3467. inline void Robot::clear_rid() {
  3468. rid_ = 0;
  3469. }
  3470. inline int32_t Robot::_internal_rid() const {
  3471. return rid_;
  3472. }
  3473. inline int32_t Robot::rid() const {
  3474. // @@protoc_insertion_point(field_get:remote.Robot.rid)
  3475. return _internal_rid();
  3476. }
  3477. inline void Robot::_internal_set_rid(int32_t value) {
  3478. rid_ = value;
  3479. }
  3480. inline void Robot::set_rid(int32_t value) {
  3481. _internal_set_rid(value);
  3482. // @@protoc_insertion_point(field_set:remote.Robot.rid)
  3483. }
  3484. // string name = 2;
  3485. inline void Robot::clear_name() {
  3486. name_.ClearToEmpty();
  3487. }
  3488. inline const std::string& Robot::name() const {
  3489. // @@protoc_insertion_point(field_get:remote.Robot.name)
  3490. return _internal_name();
  3491. }
  3492. template <typename ArgT0, typename... ArgT>
  3493. inline PROTOBUF_ALWAYS_INLINE
  3494. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  3495. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3496. // @@protoc_insertion_point(field_set:remote.Robot.name)
  3497. }
  3498. inline std::string* Robot::mutable_name() {
  3499. std::string* _s = _internal_mutable_name();
  3500. // @@protoc_insertion_point(field_mutable:remote.Robot.name)
  3501. return _s;
  3502. }
  3503. inline const std::string& Robot::_internal_name() const {
  3504. return name_.Get();
  3505. }
  3506. inline void Robot::_internal_set_name(const std::string& value) {
  3507. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3508. }
  3509. inline std::string* Robot::_internal_mutable_name() {
  3510. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3511. }
  3512. inline std::string* Robot::release_name() {
  3513. // @@protoc_insertion_point(field_release:remote.Robot.name)
  3514. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3515. }
  3516. inline void Robot::set_allocated_name(std::string* name) {
  3517. if (name != nullptr) {
  3518. } else {
  3519. }
  3520. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  3521. GetArenaForAllocation());
  3522. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3523. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3524. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3525. }
  3526. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3527. // @@protoc_insertion_point(field_set_allocated:remote.Robot.name)
  3528. }
  3529. // int32 type = 3;
  3530. inline void Robot::clear_type() {
  3531. type_ = 0;
  3532. }
  3533. inline int32_t Robot::_internal_type() const {
  3534. return type_;
  3535. }
  3536. inline int32_t Robot::type() const {
  3537. // @@protoc_insertion_point(field_get:remote.Robot.type)
  3538. return _internal_type();
  3539. }
  3540. inline void Robot::_internal_set_type(int32_t value) {
  3541. type_ = value;
  3542. }
  3543. inline void Robot::set_type(int32_t value) {
  3544. _internal_set_type(value);
  3545. // @@protoc_insertion_point(field_set:remote.Robot.type)
  3546. }
  3547. // int32 state = 4;
  3548. inline void Robot::clear_state() {
  3549. state_ = 0;
  3550. }
  3551. inline int32_t Robot::_internal_state() const {
  3552. return state_;
  3553. }
  3554. inline int32_t Robot::state() const {
  3555. // @@protoc_insertion_point(field_get:remote.Robot.state)
  3556. return _internal_state();
  3557. }
  3558. inline void Robot::_internal_set_state(int32_t value) {
  3559. state_ = value;
  3560. }
  3561. inline void Robot::set_state(int32_t value) {
  3562. _internal_set_state(value);
  3563. // @@protoc_insertion_point(field_set:remote.Robot.state)
  3564. }
  3565. // -------------------------------------------------------------------
  3566. // SCAddRobot
  3567. // .remote.Robot robot = 1;
  3568. inline bool SCAddRobot::_internal_has_robot() const {
  3569. return this != internal_default_instance() && robot_ != nullptr;
  3570. }
  3571. inline bool SCAddRobot::has_robot() const {
  3572. return _internal_has_robot();
  3573. }
  3574. inline void SCAddRobot::clear_robot() {
  3575. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  3576. delete robot_;
  3577. }
  3578. robot_ = nullptr;
  3579. }
  3580. inline const ::remote::Robot& SCAddRobot::_internal_robot() const {
  3581. const ::remote::Robot* p = robot_;
  3582. return p != nullptr ? *p : reinterpret_cast<const ::remote::Robot&>(
  3583. ::remote::_Robot_default_instance_);
  3584. }
  3585. inline const ::remote::Robot& SCAddRobot::robot() const {
  3586. // @@protoc_insertion_point(field_get:remote.SCAddRobot.robot)
  3587. return _internal_robot();
  3588. }
  3589. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  3590. ::remote::Robot* robot) {
  3591. if (GetArenaForAllocation() == nullptr) {
  3592. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  3593. }
  3594. robot_ = robot;
  3595. if (robot) {
  3596. } else {
  3597. }
  3598. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:remote.SCAddRobot.robot)
  3599. }
  3600. inline ::remote::Robot* SCAddRobot::release_robot() {
  3601. ::remote::Robot* temp = robot_;
  3602. robot_ = nullptr;
  3603. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3604. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3605. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3606. if (GetArenaForAllocation() == nullptr) { delete old; }
  3607. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3608. if (GetArenaForAllocation() != nullptr) {
  3609. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3610. }
  3611. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3612. return temp;
  3613. }
  3614. inline ::remote::Robot* SCAddRobot::unsafe_arena_release_robot() {
  3615. // @@protoc_insertion_point(field_release:remote.SCAddRobot.robot)
  3616. ::remote::Robot* temp = robot_;
  3617. robot_ = nullptr;
  3618. return temp;
  3619. }
  3620. inline ::remote::Robot* SCAddRobot::_internal_mutable_robot() {
  3621. if (robot_ == nullptr) {
  3622. auto* p = CreateMaybeMessage<::remote::Robot>(GetArenaForAllocation());
  3623. robot_ = p;
  3624. }
  3625. return robot_;
  3626. }
  3627. inline ::remote::Robot* SCAddRobot::mutable_robot() {
  3628. ::remote::Robot* _msg = _internal_mutable_robot();
  3629. // @@protoc_insertion_point(field_mutable:remote.SCAddRobot.robot)
  3630. return _msg;
  3631. }
  3632. inline void SCAddRobot::set_allocated_robot(::remote::Robot* robot) {
  3633. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3634. if (message_arena == nullptr) {
  3635. delete robot_;
  3636. }
  3637. if (robot) {
  3638. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3639. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::remote::Robot>::GetOwningArena(robot);
  3640. if (message_arena != submessage_arena) {
  3641. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3642. message_arena, robot, submessage_arena);
  3643. }
  3644. } else {
  3645. }
  3646. robot_ = robot;
  3647. // @@protoc_insertion_point(field_set_allocated:remote.SCAddRobot.robot)
  3648. }
  3649. // -------------------------------------------------------------------
  3650. // SCDelRobot
  3651. // int32 peer = 1;
  3652. inline void SCDelRobot::clear_peer() {
  3653. peer_ = 0;
  3654. }
  3655. inline int32_t SCDelRobot::_internal_peer() const {
  3656. return peer_;
  3657. }
  3658. inline int32_t SCDelRobot::peer() const {
  3659. // @@protoc_insertion_point(field_get:remote.SCDelRobot.peer)
  3660. return _internal_peer();
  3661. }
  3662. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  3663. peer_ = value;
  3664. }
  3665. inline void SCDelRobot::set_peer(int32_t value) {
  3666. _internal_set_peer(value);
  3667. // @@protoc_insertion_point(field_set:remote.SCDelRobot.peer)
  3668. }
  3669. // int32 egotype = 2;
  3670. inline void SCDelRobot::clear_egotype() {
  3671. egotype_ = 0;
  3672. }
  3673. inline int32_t SCDelRobot::_internal_egotype() const {
  3674. return egotype_;
  3675. }
  3676. inline int32_t SCDelRobot::egotype() const {
  3677. // @@protoc_insertion_point(field_get:remote.SCDelRobot.egotype)
  3678. return _internal_egotype();
  3679. }
  3680. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  3681. egotype_ = value;
  3682. }
  3683. inline void SCDelRobot::set_egotype(int32_t value) {
  3684. _internal_set_egotype(value);
  3685. // @@protoc_insertion_point(field_set:remote.SCDelRobot.egotype)
  3686. }
  3687. // -------------------------------------------------------------------
  3688. // CSRobot
  3689. // -------------------------------------------------------------------
  3690. // SCRobot
  3691. // repeated .remote.Robot robot = 1;
  3692. inline int SCRobot::_internal_robot_size() const {
  3693. return robot_.size();
  3694. }
  3695. inline int SCRobot::robot_size() const {
  3696. return _internal_robot_size();
  3697. }
  3698. inline void SCRobot::clear_robot() {
  3699. robot_.Clear();
  3700. }
  3701. inline ::remote::Robot* SCRobot::mutable_robot(int index) {
  3702. // @@protoc_insertion_point(field_mutable:remote.SCRobot.robot)
  3703. return robot_.Mutable(index);
  3704. }
  3705. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >*
  3706. SCRobot::mutable_robot() {
  3707. // @@protoc_insertion_point(field_mutable_list:remote.SCRobot.robot)
  3708. return &robot_;
  3709. }
  3710. inline const ::remote::Robot& SCRobot::_internal_robot(int index) const {
  3711. return robot_.Get(index);
  3712. }
  3713. inline const ::remote::Robot& SCRobot::robot(int index) const {
  3714. // @@protoc_insertion_point(field_get:remote.SCRobot.robot)
  3715. return _internal_robot(index);
  3716. }
  3717. inline ::remote::Robot* SCRobot::_internal_add_robot() {
  3718. return robot_.Add();
  3719. }
  3720. inline ::remote::Robot* SCRobot::add_robot() {
  3721. ::remote::Robot* _add = _internal_add_robot();
  3722. // @@protoc_insertion_point(field_add:remote.SCRobot.robot)
  3723. return _add;
  3724. }
  3725. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >&
  3726. SCRobot::robot() const {
  3727. // @@protoc_insertion_point(field_list:remote.SCRobot.robot)
  3728. return robot_;
  3729. }
  3730. // -------------------------------------------------------------------
  3731. // Leave
  3732. // int32 peer = 1;
  3733. inline void Leave::clear_peer() {
  3734. peer_ = 0;
  3735. }
  3736. inline int32_t Leave::_internal_peer() const {
  3737. return peer_;
  3738. }
  3739. inline int32_t Leave::peer() const {
  3740. // @@protoc_insertion_point(field_get:remote.Leave.peer)
  3741. return _internal_peer();
  3742. }
  3743. inline void Leave::_internal_set_peer(int32_t value) {
  3744. peer_ = value;
  3745. }
  3746. inline void Leave::set_peer(int32_t value) {
  3747. _internal_set_peer(value);
  3748. // @@protoc_insertion_point(field_set:remote.Leave.peer)
  3749. }
  3750. // int32 egotype = 2;
  3751. inline void Leave::clear_egotype() {
  3752. egotype_ = 0;
  3753. }
  3754. inline int32_t Leave::_internal_egotype() const {
  3755. return egotype_;
  3756. }
  3757. inline int32_t Leave::egotype() const {
  3758. // @@protoc_insertion_point(field_get:remote.Leave.egotype)
  3759. return _internal_egotype();
  3760. }
  3761. inline void Leave::_internal_set_egotype(int32_t value) {
  3762. egotype_ = value;
  3763. }
  3764. inline void Leave::set_egotype(int32_t value) {
  3765. _internal_set_egotype(value);
  3766. // @@protoc_insertion_point(field_set:remote.Leave.egotype)
  3767. }
  3768. #ifdef __GNUC__
  3769. #pragma GCC diagnostic pop
  3770. #endif // __GNUC__
  3771. // -------------------------------------------------------------------
  3772. // -------------------------------------------------------------------
  3773. // -------------------------------------------------------------------
  3774. // -------------------------------------------------------------------
  3775. // -------------------------------------------------------------------
  3776. // -------------------------------------------------------------------
  3777. // -------------------------------------------------------------------
  3778. // -------------------------------------------------------------------
  3779. // -------------------------------------------------------------------
  3780. // -------------------------------------------------------------------
  3781. // -------------------------------------------------------------------
  3782. // -------------------------------------------------------------------
  3783. // -------------------------------------------------------------------
  3784. // -------------------------------------------------------------------
  3785. // @@protoc_insertion_point(namespace_scope)
  3786. } // namespace remote
  3787. PROTOBUF_NAMESPACE_OPEN
  3788. template <> struct is_proto_enum< ::remote::cs_message> : ::std::true_type {};
  3789. template <>
  3790. inline const EnumDescriptor* GetEnumDescriptor< ::remote::cs_message>() {
  3791. return ::remote::cs_message_descriptor();
  3792. }
  3793. template <> struct is_proto_enum< ::remote::sc_message> : ::std::true_type {};
  3794. template <>
  3795. inline const EnumDescriptor* GetEnumDescriptor< ::remote::sc_message>() {
  3796. return ::remote::sc_message_descriptor();
  3797. }
  3798. PROTOBUF_NAMESPACE_CLOSE
  3799. // @@protoc_insertion_point(global_scope)
  3800. #include <google/protobuf/port_undef.inc>
  3801. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_remote_2eproto