remote.pb.h 136 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295
  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 CSRep;
  58. struct CSRepDefaultTypeInternal;
  59. extern CSRepDefaultTypeInternal _CSRep_default_instance_;
  60. class CSReq;
  61. struct CSReqDefaultTypeInternal;
  62. extern CSReqDefaultTypeInternal _CSReq_default_instance_;
  63. class CSRobot;
  64. struct CSRobotDefaultTypeInternal;
  65. extern CSRobotDefaultTypeInternal _CSRobot_default_instance_;
  66. class CSSigin;
  67. struct CSSiginDefaultTypeInternal;
  68. extern CSSiginDefaultTypeInternal _CSSigin_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 SCAddRobot;
  82. struct SCAddRobotDefaultTypeInternal;
  83. extern SCAddRobotDefaultTypeInternal _SCAddRobot_default_instance_;
  84. class SCDelRobot;
  85. struct SCDelRobotDefaultTypeInternal;
  86. extern SCDelRobotDefaultTypeInternal _SCDelRobot_default_instance_;
  87. class SCRep;
  88. struct SCRepDefaultTypeInternal;
  89. extern SCRepDefaultTypeInternal _SCRep_default_instance_;
  90. class SCReq;
  91. struct SCReqDefaultTypeInternal;
  92. extern SCReqDefaultTypeInternal _SCReq_default_instance_;
  93. class SCRobot;
  94. struct SCRobotDefaultTypeInternal;
  95. extern SCRobotDefaultTypeInternal _SCRobot_default_instance_;
  96. class SCSigin;
  97. struct SCSiginDefaultTypeInternal;
  98. extern SCSiginDefaultTypeInternal _SCSigin_default_instance_;
  99. } // namespace remote
  100. PROTOBUF_NAMESPACE_OPEN
  101. template<> ::remote::Answer* Arena::CreateMaybeMessage<::remote::Answer>(Arena*);
  102. template<> ::remote::CSRep* Arena::CreateMaybeMessage<::remote::CSRep>(Arena*);
  103. template<> ::remote::CSReq* Arena::CreateMaybeMessage<::remote::CSReq>(Arena*);
  104. template<> ::remote::CSRobot* Arena::CreateMaybeMessage<::remote::CSRobot>(Arena*);
  105. template<> ::remote::CSSigin* Arena::CreateMaybeMessage<::remote::CSSigin>(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::SCAddRobot* Arena::CreateMaybeMessage<::remote::SCAddRobot>(Arena*);
  111. template<> ::remote::SCDelRobot* Arena::CreateMaybeMessage<::remote::SCDelRobot>(Arena*);
  112. template<> ::remote::SCRep* Arena::CreateMaybeMessage<::remote::SCRep>(Arena*);
  113. template<> ::remote::SCReq* Arena::CreateMaybeMessage<::remote::SCReq>(Arena*);
  114. template<> ::remote::SCRobot* Arena::CreateMaybeMessage<::remote::SCRobot>(Arena*);
  115. template<> ::remote::SCSigin* Arena::CreateMaybeMessage<::remote::SCSigin>(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_sigin = 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_sigin = 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 CSSigin final :
  1352. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.CSSigin) */ {
  1353. public:
  1354. inline CSSigin() : CSSigin(nullptr) {}
  1355. ~CSSigin() override;
  1356. explicit constexpr CSSigin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1357. CSSigin(const CSSigin& from);
  1358. CSSigin(CSSigin&& from) noexcept
  1359. : CSSigin() {
  1360. *this = ::std::move(from);
  1361. }
  1362. inline CSSigin& operator=(const CSSigin& from) {
  1363. CopyFrom(from);
  1364. return *this;
  1365. }
  1366. inline CSSigin& operator=(CSSigin&& 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 CSSigin& default_instance() {
  1389. return *internal_default_instance();
  1390. }
  1391. static inline const CSSigin* internal_default_instance() {
  1392. return reinterpret_cast<const CSSigin*>(
  1393. &_CSSigin_default_instance_);
  1394. }
  1395. static constexpr int kIndexInFileMessages =
  1396. 7;
  1397. friend void swap(CSSigin& a, CSSigin& b) {
  1398. a.Swap(&b);
  1399. }
  1400. inline void Swap(CSSigin* 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(CSSigin* other) {
  1414. if (other == this) return;
  1415. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1416. InternalSwap(other);
  1417. }
  1418. // implements Message ----------------------------------------------
  1419. CSSigin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1420. return CreateMaybeMessage<CSSigin>(arena);
  1421. }
  1422. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1423. void CopyFrom(const CSSigin& from);
  1424. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1425. void MergeFrom(const CSSigin& 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(CSSigin* other);
  1441. private:
  1442. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1443. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1444. return "remote.CSSigin";
  1445. }
  1446. protected:
  1447. explicit CSSigin(::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. kAccountFieldNumber = 1,
  1460. kNameFieldNumber = 3,
  1461. kPassFieldNumber = 4,
  1462. kTypeFieldNumber = 2,
  1463. };
  1464. // string account = 1;
  1465. void clear_account();
  1466. const std::string& account() const;
  1467. template <typename ArgT0 = const std::string&, typename... ArgT>
  1468. void set_account(ArgT0&& arg0, ArgT... args);
  1469. std::string* mutable_account();
  1470. PROTOBUF_NODISCARD std::string* release_account();
  1471. void set_allocated_account(std::string* account);
  1472. private:
  1473. const std::string& _internal_account() const;
  1474. inline PROTOBUF_ALWAYS_INLINE void _internal_set_account(const std::string& value);
  1475. std::string* _internal_mutable_account();
  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. // string pass = 4;
  1491. void clear_pass();
  1492. const std::string& pass() const;
  1493. template <typename ArgT0 = const std::string&, typename... ArgT>
  1494. void set_pass(ArgT0&& arg0, ArgT... args);
  1495. std::string* mutable_pass();
  1496. PROTOBUF_NODISCARD std::string* release_pass();
  1497. void set_allocated_pass(std::string* pass);
  1498. private:
  1499. const std::string& _internal_pass() const;
  1500. inline PROTOBUF_ALWAYS_INLINE void _internal_set_pass(const std::string& value);
  1501. std::string* _internal_mutable_pass();
  1502. public:
  1503. // int32 type = 2;
  1504. void clear_type();
  1505. int32_t type() const;
  1506. void set_type(int32_t value);
  1507. private:
  1508. int32_t _internal_type() const;
  1509. void _internal_set_type(int32_t value);
  1510. public:
  1511. // @@protoc_insertion_point(class_scope:remote.CSSigin)
  1512. private:
  1513. class _Internal;
  1514. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1515. typedef void InternalArenaConstructable_;
  1516. typedef void DestructorSkippable_;
  1517. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr account_;
  1518. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1519. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr pass_;
  1520. int32_t type_;
  1521. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1522. friend struct ::TableStruct_remote_2eproto;
  1523. };
  1524. // -------------------------------------------------------------------
  1525. class SCSigin final :
  1526. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCSigin) */ {
  1527. public:
  1528. inline SCSigin() : SCSigin(nullptr) {}
  1529. ~SCSigin() override;
  1530. explicit constexpr SCSigin(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1531. SCSigin(const SCSigin& from);
  1532. SCSigin(SCSigin&& from) noexcept
  1533. : SCSigin() {
  1534. *this = ::std::move(from);
  1535. }
  1536. inline SCSigin& operator=(const SCSigin& from) {
  1537. CopyFrom(from);
  1538. return *this;
  1539. }
  1540. inline SCSigin& operator=(SCSigin&& from) noexcept {
  1541. if (this == &from) return *this;
  1542. if (GetOwningArena() == from.GetOwningArena()
  1543. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1544. && GetOwningArena() != nullptr
  1545. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1546. ) {
  1547. InternalSwap(&from);
  1548. } else {
  1549. CopyFrom(from);
  1550. }
  1551. return *this;
  1552. }
  1553. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1554. return GetDescriptor();
  1555. }
  1556. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1557. return default_instance().GetMetadata().descriptor;
  1558. }
  1559. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1560. return default_instance().GetMetadata().reflection;
  1561. }
  1562. static const SCSigin& default_instance() {
  1563. return *internal_default_instance();
  1564. }
  1565. static inline const SCSigin* internal_default_instance() {
  1566. return reinterpret_cast<const SCSigin*>(
  1567. &_SCSigin_default_instance_);
  1568. }
  1569. static constexpr int kIndexInFileMessages =
  1570. 8;
  1571. friend void swap(SCSigin& a, SCSigin& b) {
  1572. a.Swap(&b);
  1573. }
  1574. inline void Swap(SCSigin* other) {
  1575. if (other == this) return;
  1576. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1577. if (GetOwningArena() != nullptr &&
  1578. GetOwningArena() == other->GetOwningArena()) {
  1579. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1580. if (GetOwningArena() == other->GetOwningArena()) {
  1581. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1582. InternalSwap(other);
  1583. } else {
  1584. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1585. }
  1586. }
  1587. void UnsafeArenaSwap(SCSigin* other) {
  1588. if (other == this) return;
  1589. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1590. InternalSwap(other);
  1591. }
  1592. // implements Message ----------------------------------------------
  1593. SCSigin* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1594. return CreateMaybeMessage<SCSigin>(arena);
  1595. }
  1596. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1597. void CopyFrom(const SCSigin& from);
  1598. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1599. void MergeFrom(const SCSigin& from);
  1600. private:
  1601. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1602. public:
  1603. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1604. bool IsInitialized() const final;
  1605. size_t ByteSizeLong() const final;
  1606. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1607. uint8_t* _InternalSerialize(
  1608. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1609. int GetCachedSize() const final { return _cached_size_.Get(); }
  1610. private:
  1611. void SharedCtor();
  1612. void SharedDtor();
  1613. void SetCachedSize(int size) const final;
  1614. void InternalSwap(SCSigin* other);
  1615. private:
  1616. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1617. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1618. return "remote.SCSigin";
  1619. }
  1620. protected:
  1621. explicit SCSigin(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1622. bool is_message_owned = false);
  1623. private:
  1624. static void ArenaDtor(void* object);
  1625. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1626. public:
  1627. static const ClassData _class_data_;
  1628. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1629. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1630. // nested types ----------------------------------------------------
  1631. // accessors -------------------------------------------------------
  1632. enum : int {
  1633. kNameFieldNumber = 3,
  1634. kRetFieldNumber = 1,
  1635. kUidFieldNumber = 2,
  1636. };
  1637. // string name = 3;
  1638. void clear_name();
  1639. const std::string& name() const;
  1640. template <typename ArgT0 = const std::string&, typename... ArgT>
  1641. void set_name(ArgT0&& arg0, ArgT... args);
  1642. std::string* mutable_name();
  1643. PROTOBUF_NODISCARD std::string* release_name();
  1644. void set_allocated_name(std::string* name);
  1645. private:
  1646. const std::string& _internal_name() const;
  1647. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1648. std::string* _internal_mutable_name();
  1649. public:
  1650. // bool ret = 1;
  1651. void clear_ret();
  1652. bool ret() const;
  1653. void set_ret(bool value);
  1654. private:
  1655. bool _internal_ret() const;
  1656. void _internal_set_ret(bool value);
  1657. public:
  1658. // int32 uid = 2;
  1659. void clear_uid();
  1660. int32_t uid() const;
  1661. void set_uid(int32_t value);
  1662. private:
  1663. int32_t _internal_uid() const;
  1664. void _internal_set_uid(int32_t value);
  1665. public:
  1666. // @@protoc_insertion_point(class_scope:remote.SCSigin)
  1667. private:
  1668. class _Internal;
  1669. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1670. typedef void InternalArenaConstructable_;
  1671. typedef void DestructorSkippable_;
  1672. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1673. bool ret_;
  1674. int32_t uid_;
  1675. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1676. friend struct ::TableStruct_remote_2eproto;
  1677. };
  1678. // -------------------------------------------------------------------
  1679. class Robot final :
  1680. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Robot) */ {
  1681. public:
  1682. inline Robot() : Robot(nullptr) {}
  1683. ~Robot() override;
  1684. explicit constexpr Robot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1685. Robot(const Robot& from);
  1686. Robot(Robot&& from) noexcept
  1687. : Robot() {
  1688. *this = ::std::move(from);
  1689. }
  1690. inline Robot& operator=(const Robot& from) {
  1691. CopyFrom(from);
  1692. return *this;
  1693. }
  1694. inline Robot& operator=(Robot&& from) noexcept {
  1695. if (this == &from) return *this;
  1696. if (GetOwningArena() == from.GetOwningArena()
  1697. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1698. && GetOwningArena() != nullptr
  1699. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1700. ) {
  1701. InternalSwap(&from);
  1702. } else {
  1703. CopyFrom(from);
  1704. }
  1705. return *this;
  1706. }
  1707. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1708. return GetDescriptor();
  1709. }
  1710. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1711. return default_instance().GetMetadata().descriptor;
  1712. }
  1713. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1714. return default_instance().GetMetadata().reflection;
  1715. }
  1716. static const Robot& default_instance() {
  1717. return *internal_default_instance();
  1718. }
  1719. static inline const Robot* internal_default_instance() {
  1720. return reinterpret_cast<const Robot*>(
  1721. &_Robot_default_instance_);
  1722. }
  1723. static constexpr int kIndexInFileMessages =
  1724. 9;
  1725. friend void swap(Robot& a, Robot& b) {
  1726. a.Swap(&b);
  1727. }
  1728. inline void Swap(Robot* other) {
  1729. if (other == this) return;
  1730. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1731. if (GetOwningArena() != nullptr &&
  1732. GetOwningArena() == other->GetOwningArena()) {
  1733. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1734. if (GetOwningArena() == other->GetOwningArena()) {
  1735. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1736. InternalSwap(other);
  1737. } else {
  1738. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1739. }
  1740. }
  1741. void UnsafeArenaSwap(Robot* other) {
  1742. if (other == this) return;
  1743. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1744. InternalSwap(other);
  1745. }
  1746. // implements Message ----------------------------------------------
  1747. Robot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1748. return CreateMaybeMessage<Robot>(arena);
  1749. }
  1750. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1751. void CopyFrom(const Robot& from);
  1752. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1753. void MergeFrom(const Robot& from);
  1754. private:
  1755. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1756. public:
  1757. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1758. bool IsInitialized() const final;
  1759. size_t ByteSizeLong() const final;
  1760. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1761. uint8_t* _InternalSerialize(
  1762. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1763. int GetCachedSize() const final { return _cached_size_.Get(); }
  1764. private:
  1765. void SharedCtor();
  1766. void SharedDtor();
  1767. void SetCachedSize(int size) const final;
  1768. void InternalSwap(Robot* other);
  1769. private:
  1770. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1771. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1772. return "remote.Robot";
  1773. }
  1774. protected:
  1775. explicit Robot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1776. bool is_message_owned = false);
  1777. private:
  1778. static void ArenaDtor(void* object);
  1779. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1780. public:
  1781. static const ClassData _class_data_;
  1782. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1783. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1784. // nested types ----------------------------------------------------
  1785. // accessors -------------------------------------------------------
  1786. enum : int {
  1787. kNameFieldNumber = 2,
  1788. kRidFieldNumber = 1,
  1789. kTypeFieldNumber = 3,
  1790. kStateFieldNumber = 4,
  1791. };
  1792. // string name = 2;
  1793. void clear_name();
  1794. const std::string& name() const;
  1795. template <typename ArgT0 = const std::string&, typename... ArgT>
  1796. void set_name(ArgT0&& arg0, ArgT... args);
  1797. std::string* mutable_name();
  1798. PROTOBUF_NODISCARD std::string* release_name();
  1799. void set_allocated_name(std::string* name);
  1800. private:
  1801. const std::string& _internal_name() const;
  1802. inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
  1803. std::string* _internal_mutable_name();
  1804. public:
  1805. // int32 rid = 1;
  1806. void clear_rid();
  1807. int32_t rid() const;
  1808. void set_rid(int32_t value);
  1809. private:
  1810. int32_t _internal_rid() const;
  1811. void _internal_set_rid(int32_t value);
  1812. public:
  1813. // int32 type = 3;
  1814. void clear_type();
  1815. int32_t type() const;
  1816. void set_type(int32_t value);
  1817. private:
  1818. int32_t _internal_type() const;
  1819. void _internal_set_type(int32_t value);
  1820. public:
  1821. // int32 state = 4;
  1822. void clear_state();
  1823. int32_t state() const;
  1824. void set_state(int32_t value);
  1825. private:
  1826. int32_t _internal_state() const;
  1827. void _internal_set_state(int32_t value);
  1828. public:
  1829. // @@protoc_insertion_point(class_scope:remote.Robot)
  1830. private:
  1831. class _Internal;
  1832. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1833. typedef void InternalArenaConstructable_;
  1834. typedef void DestructorSkippable_;
  1835. ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
  1836. int32_t rid_;
  1837. int32_t type_;
  1838. int32_t state_;
  1839. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1840. friend struct ::TableStruct_remote_2eproto;
  1841. };
  1842. // -------------------------------------------------------------------
  1843. class SCAddRobot final :
  1844. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCAddRobot) */ {
  1845. public:
  1846. inline SCAddRobot() : SCAddRobot(nullptr) {}
  1847. ~SCAddRobot() override;
  1848. explicit constexpr SCAddRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1849. SCAddRobot(const SCAddRobot& from);
  1850. SCAddRobot(SCAddRobot&& from) noexcept
  1851. : SCAddRobot() {
  1852. *this = ::std::move(from);
  1853. }
  1854. inline SCAddRobot& operator=(const SCAddRobot& from) {
  1855. CopyFrom(from);
  1856. return *this;
  1857. }
  1858. inline SCAddRobot& operator=(SCAddRobot&& from) noexcept {
  1859. if (this == &from) return *this;
  1860. if (GetOwningArena() == from.GetOwningArena()
  1861. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  1862. && GetOwningArena() != nullptr
  1863. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  1864. ) {
  1865. InternalSwap(&from);
  1866. } else {
  1867. CopyFrom(from);
  1868. }
  1869. return *this;
  1870. }
  1871. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  1872. return GetDescriptor();
  1873. }
  1874. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  1875. return default_instance().GetMetadata().descriptor;
  1876. }
  1877. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  1878. return default_instance().GetMetadata().reflection;
  1879. }
  1880. static const SCAddRobot& default_instance() {
  1881. return *internal_default_instance();
  1882. }
  1883. static inline const SCAddRobot* internal_default_instance() {
  1884. return reinterpret_cast<const SCAddRobot*>(
  1885. &_SCAddRobot_default_instance_);
  1886. }
  1887. static constexpr int kIndexInFileMessages =
  1888. 10;
  1889. friend void swap(SCAddRobot& a, SCAddRobot& b) {
  1890. a.Swap(&b);
  1891. }
  1892. inline void Swap(SCAddRobot* other) {
  1893. if (other == this) return;
  1894. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  1895. if (GetOwningArena() != nullptr &&
  1896. GetOwningArena() == other->GetOwningArena()) {
  1897. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  1898. if (GetOwningArena() == other->GetOwningArena()) {
  1899. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  1900. InternalSwap(other);
  1901. } else {
  1902. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  1903. }
  1904. }
  1905. void UnsafeArenaSwap(SCAddRobot* other) {
  1906. if (other == this) return;
  1907. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  1908. InternalSwap(other);
  1909. }
  1910. // implements Message ----------------------------------------------
  1911. SCAddRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  1912. return CreateMaybeMessage<SCAddRobot>(arena);
  1913. }
  1914. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  1915. void CopyFrom(const SCAddRobot& from);
  1916. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  1917. void MergeFrom(const SCAddRobot& from);
  1918. private:
  1919. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  1920. public:
  1921. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  1922. bool IsInitialized() const final;
  1923. size_t ByteSizeLong() const final;
  1924. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  1925. uint8_t* _InternalSerialize(
  1926. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  1927. int GetCachedSize() const final { return _cached_size_.Get(); }
  1928. private:
  1929. void SharedCtor();
  1930. void SharedDtor();
  1931. void SetCachedSize(int size) const final;
  1932. void InternalSwap(SCAddRobot* other);
  1933. private:
  1934. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  1935. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  1936. return "remote.SCAddRobot";
  1937. }
  1938. protected:
  1939. explicit SCAddRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  1940. bool is_message_owned = false);
  1941. private:
  1942. static void ArenaDtor(void* object);
  1943. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  1944. public:
  1945. static const ClassData _class_data_;
  1946. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  1947. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  1948. // nested types ----------------------------------------------------
  1949. // accessors -------------------------------------------------------
  1950. enum : int {
  1951. kRobotFieldNumber = 1,
  1952. };
  1953. // .remote.Robot robot = 1;
  1954. bool has_robot() const;
  1955. private:
  1956. bool _internal_has_robot() const;
  1957. public:
  1958. void clear_robot();
  1959. const ::remote::Robot& robot() const;
  1960. PROTOBUF_NODISCARD ::remote::Robot* release_robot();
  1961. ::remote::Robot* mutable_robot();
  1962. void set_allocated_robot(::remote::Robot* robot);
  1963. private:
  1964. const ::remote::Robot& _internal_robot() const;
  1965. ::remote::Robot* _internal_mutable_robot();
  1966. public:
  1967. void unsafe_arena_set_allocated_robot(
  1968. ::remote::Robot* robot);
  1969. ::remote::Robot* unsafe_arena_release_robot();
  1970. // @@protoc_insertion_point(class_scope:remote.SCAddRobot)
  1971. private:
  1972. class _Internal;
  1973. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  1974. typedef void InternalArenaConstructable_;
  1975. typedef void DestructorSkippable_;
  1976. ::remote::Robot* robot_;
  1977. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  1978. friend struct ::TableStruct_remote_2eproto;
  1979. };
  1980. // -------------------------------------------------------------------
  1981. class SCDelRobot final :
  1982. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCDelRobot) */ {
  1983. public:
  1984. inline SCDelRobot() : SCDelRobot(nullptr) {}
  1985. ~SCDelRobot() override;
  1986. explicit constexpr SCDelRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  1987. SCDelRobot(const SCDelRobot& from);
  1988. SCDelRobot(SCDelRobot&& from) noexcept
  1989. : SCDelRobot() {
  1990. *this = ::std::move(from);
  1991. }
  1992. inline SCDelRobot& operator=(const SCDelRobot& from) {
  1993. CopyFrom(from);
  1994. return *this;
  1995. }
  1996. inline SCDelRobot& operator=(SCDelRobot&& from) noexcept {
  1997. if (this == &from) return *this;
  1998. if (GetOwningArena() == from.GetOwningArena()
  1999. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2000. && GetOwningArena() != nullptr
  2001. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2002. ) {
  2003. InternalSwap(&from);
  2004. } else {
  2005. CopyFrom(from);
  2006. }
  2007. return *this;
  2008. }
  2009. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2010. return GetDescriptor();
  2011. }
  2012. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2013. return default_instance().GetMetadata().descriptor;
  2014. }
  2015. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2016. return default_instance().GetMetadata().reflection;
  2017. }
  2018. static const SCDelRobot& default_instance() {
  2019. return *internal_default_instance();
  2020. }
  2021. static inline const SCDelRobot* internal_default_instance() {
  2022. return reinterpret_cast<const SCDelRobot*>(
  2023. &_SCDelRobot_default_instance_);
  2024. }
  2025. static constexpr int kIndexInFileMessages =
  2026. 11;
  2027. friend void swap(SCDelRobot& a, SCDelRobot& b) {
  2028. a.Swap(&b);
  2029. }
  2030. inline void Swap(SCDelRobot* other) {
  2031. if (other == this) return;
  2032. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2033. if (GetOwningArena() != nullptr &&
  2034. GetOwningArena() == other->GetOwningArena()) {
  2035. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2036. if (GetOwningArena() == other->GetOwningArena()) {
  2037. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2038. InternalSwap(other);
  2039. } else {
  2040. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2041. }
  2042. }
  2043. void UnsafeArenaSwap(SCDelRobot* other) {
  2044. if (other == this) return;
  2045. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2046. InternalSwap(other);
  2047. }
  2048. // implements Message ----------------------------------------------
  2049. SCDelRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2050. return CreateMaybeMessage<SCDelRobot>(arena);
  2051. }
  2052. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2053. void CopyFrom(const SCDelRobot& from);
  2054. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2055. void MergeFrom(const SCDelRobot& from);
  2056. private:
  2057. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2058. public:
  2059. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2060. bool IsInitialized() const final;
  2061. size_t ByteSizeLong() const final;
  2062. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2063. uint8_t* _InternalSerialize(
  2064. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2065. int GetCachedSize() const final { return _cached_size_.Get(); }
  2066. private:
  2067. void SharedCtor();
  2068. void SharedDtor();
  2069. void SetCachedSize(int size) const final;
  2070. void InternalSwap(SCDelRobot* other);
  2071. private:
  2072. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2073. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2074. return "remote.SCDelRobot";
  2075. }
  2076. protected:
  2077. explicit SCDelRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2078. bool is_message_owned = false);
  2079. private:
  2080. static void ArenaDtor(void* object);
  2081. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2082. public:
  2083. static const ClassData _class_data_;
  2084. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2085. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2086. // nested types ----------------------------------------------------
  2087. // accessors -------------------------------------------------------
  2088. enum : int {
  2089. kPeerFieldNumber = 1,
  2090. kEgotypeFieldNumber = 2,
  2091. };
  2092. // int32 peer = 1;
  2093. void clear_peer();
  2094. int32_t peer() const;
  2095. void set_peer(int32_t value);
  2096. private:
  2097. int32_t _internal_peer() const;
  2098. void _internal_set_peer(int32_t value);
  2099. public:
  2100. // int32 egotype = 2;
  2101. void clear_egotype();
  2102. int32_t egotype() const;
  2103. void set_egotype(int32_t value);
  2104. private:
  2105. int32_t _internal_egotype() const;
  2106. void _internal_set_egotype(int32_t value);
  2107. public:
  2108. // @@protoc_insertion_point(class_scope:remote.SCDelRobot)
  2109. private:
  2110. class _Internal;
  2111. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2112. typedef void InternalArenaConstructable_;
  2113. typedef void DestructorSkippable_;
  2114. int32_t peer_;
  2115. int32_t egotype_;
  2116. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2117. friend struct ::TableStruct_remote_2eproto;
  2118. };
  2119. // -------------------------------------------------------------------
  2120. class CSRobot final :
  2121. public ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase /* @@protoc_insertion_point(class_definition:remote.CSRobot) */ {
  2122. public:
  2123. inline CSRobot() : CSRobot(nullptr) {}
  2124. explicit constexpr CSRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2125. CSRobot(const CSRobot& from);
  2126. CSRobot(CSRobot&& from) noexcept
  2127. : CSRobot() {
  2128. *this = ::std::move(from);
  2129. }
  2130. inline CSRobot& operator=(const CSRobot& from) {
  2131. CopyFrom(from);
  2132. return *this;
  2133. }
  2134. inline CSRobot& operator=(CSRobot&& from) noexcept {
  2135. if (this == &from) return *this;
  2136. if (GetOwningArena() == from.GetOwningArena()
  2137. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2138. && GetOwningArena() != nullptr
  2139. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2140. ) {
  2141. InternalSwap(&from);
  2142. } else {
  2143. CopyFrom(from);
  2144. }
  2145. return *this;
  2146. }
  2147. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2148. return GetDescriptor();
  2149. }
  2150. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2151. return default_instance().GetMetadata().descriptor;
  2152. }
  2153. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2154. return default_instance().GetMetadata().reflection;
  2155. }
  2156. static const CSRobot& default_instance() {
  2157. return *internal_default_instance();
  2158. }
  2159. static inline const CSRobot* internal_default_instance() {
  2160. return reinterpret_cast<const CSRobot*>(
  2161. &_CSRobot_default_instance_);
  2162. }
  2163. static constexpr int kIndexInFileMessages =
  2164. 12;
  2165. friend void swap(CSRobot& a, CSRobot& b) {
  2166. a.Swap(&b);
  2167. }
  2168. inline void Swap(CSRobot* other) {
  2169. if (other == this) return;
  2170. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2171. if (GetOwningArena() != nullptr &&
  2172. GetOwningArena() == other->GetOwningArena()) {
  2173. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2174. if (GetOwningArena() == other->GetOwningArena()) {
  2175. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2176. InternalSwap(other);
  2177. } else {
  2178. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2179. }
  2180. }
  2181. void UnsafeArenaSwap(CSRobot* other) {
  2182. if (other == this) return;
  2183. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2184. InternalSwap(other);
  2185. }
  2186. // implements Message ----------------------------------------------
  2187. CSRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2188. return CreateMaybeMessage<CSRobot>(arena);
  2189. }
  2190. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyFrom;
  2191. inline void CopyFrom(const CSRobot& from) {
  2192. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::CopyImpl(this, from);
  2193. }
  2194. using ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeFrom;
  2195. void MergeFrom(const CSRobot& from) {
  2196. ::PROTOBUF_NAMESPACE_ID::internal::ZeroFieldsBase::MergeImpl(this, from);
  2197. }
  2198. public:
  2199. private:
  2200. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2201. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2202. return "remote.CSRobot";
  2203. }
  2204. protected:
  2205. explicit CSRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2206. bool is_message_owned = false);
  2207. private:
  2208. public:
  2209. static const ClassData _class_data_;
  2210. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2211. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2212. // nested types ----------------------------------------------------
  2213. // accessors -------------------------------------------------------
  2214. // @@protoc_insertion_point(class_scope:remote.CSRobot)
  2215. private:
  2216. class _Internal;
  2217. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2218. typedef void InternalArenaConstructable_;
  2219. typedef void DestructorSkippable_;
  2220. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2221. friend struct ::TableStruct_remote_2eproto;
  2222. };
  2223. // -------------------------------------------------------------------
  2224. class SCRobot final :
  2225. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.SCRobot) */ {
  2226. public:
  2227. inline SCRobot() : SCRobot(nullptr) {}
  2228. ~SCRobot() override;
  2229. explicit constexpr SCRobot(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2230. SCRobot(const SCRobot& from);
  2231. SCRobot(SCRobot&& from) noexcept
  2232. : SCRobot() {
  2233. *this = ::std::move(from);
  2234. }
  2235. inline SCRobot& operator=(const SCRobot& from) {
  2236. CopyFrom(from);
  2237. return *this;
  2238. }
  2239. inline SCRobot& operator=(SCRobot&& from) noexcept {
  2240. if (this == &from) return *this;
  2241. if (GetOwningArena() == from.GetOwningArena()
  2242. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2243. && GetOwningArena() != nullptr
  2244. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2245. ) {
  2246. InternalSwap(&from);
  2247. } else {
  2248. CopyFrom(from);
  2249. }
  2250. return *this;
  2251. }
  2252. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2253. return GetDescriptor();
  2254. }
  2255. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2256. return default_instance().GetMetadata().descriptor;
  2257. }
  2258. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2259. return default_instance().GetMetadata().reflection;
  2260. }
  2261. static const SCRobot& default_instance() {
  2262. return *internal_default_instance();
  2263. }
  2264. static inline const SCRobot* internal_default_instance() {
  2265. return reinterpret_cast<const SCRobot*>(
  2266. &_SCRobot_default_instance_);
  2267. }
  2268. static constexpr int kIndexInFileMessages =
  2269. 13;
  2270. friend void swap(SCRobot& a, SCRobot& b) {
  2271. a.Swap(&b);
  2272. }
  2273. inline void Swap(SCRobot* other) {
  2274. if (other == this) return;
  2275. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2276. if (GetOwningArena() != nullptr &&
  2277. GetOwningArena() == other->GetOwningArena()) {
  2278. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2279. if (GetOwningArena() == other->GetOwningArena()) {
  2280. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2281. InternalSwap(other);
  2282. } else {
  2283. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2284. }
  2285. }
  2286. void UnsafeArenaSwap(SCRobot* other) {
  2287. if (other == this) return;
  2288. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2289. InternalSwap(other);
  2290. }
  2291. // implements Message ----------------------------------------------
  2292. SCRobot* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2293. return CreateMaybeMessage<SCRobot>(arena);
  2294. }
  2295. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2296. void CopyFrom(const SCRobot& from);
  2297. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2298. void MergeFrom(const SCRobot& from);
  2299. private:
  2300. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2301. public:
  2302. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2303. bool IsInitialized() const final;
  2304. size_t ByteSizeLong() const final;
  2305. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2306. uint8_t* _InternalSerialize(
  2307. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2308. int GetCachedSize() const final { return _cached_size_.Get(); }
  2309. private:
  2310. void SharedCtor();
  2311. void SharedDtor();
  2312. void SetCachedSize(int size) const final;
  2313. void InternalSwap(SCRobot* other);
  2314. private:
  2315. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2316. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2317. return "remote.SCRobot";
  2318. }
  2319. protected:
  2320. explicit SCRobot(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2321. bool is_message_owned = false);
  2322. private:
  2323. static void ArenaDtor(void* object);
  2324. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2325. public:
  2326. static const ClassData _class_data_;
  2327. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2328. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2329. // nested types ----------------------------------------------------
  2330. // accessors -------------------------------------------------------
  2331. enum : int {
  2332. kRobotFieldNumber = 1,
  2333. };
  2334. // repeated .remote.Robot robot = 1;
  2335. int robot_size() const;
  2336. private:
  2337. int _internal_robot_size() const;
  2338. public:
  2339. void clear_robot();
  2340. ::remote::Robot* mutable_robot(int index);
  2341. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >*
  2342. mutable_robot();
  2343. private:
  2344. const ::remote::Robot& _internal_robot(int index) const;
  2345. ::remote::Robot* _internal_add_robot();
  2346. public:
  2347. const ::remote::Robot& robot(int index) const;
  2348. ::remote::Robot* add_robot();
  2349. const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >&
  2350. robot() const;
  2351. // @@protoc_insertion_point(class_scope:remote.SCRobot)
  2352. private:
  2353. class _Internal;
  2354. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2355. typedef void InternalArenaConstructable_;
  2356. typedef void DestructorSkippable_;
  2357. ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot > robot_;
  2358. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2359. friend struct ::TableStruct_remote_2eproto;
  2360. };
  2361. // -------------------------------------------------------------------
  2362. class Leave final :
  2363. public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:remote.Leave) */ {
  2364. public:
  2365. inline Leave() : Leave(nullptr) {}
  2366. ~Leave() override;
  2367. explicit constexpr Leave(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
  2368. Leave(const Leave& from);
  2369. Leave(Leave&& from) noexcept
  2370. : Leave() {
  2371. *this = ::std::move(from);
  2372. }
  2373. inline Leave& operator=(const Leave& from) {
  2374. CopyFrom(from);
  2375. return *this;
  2376. }
  2377. inline Leave& operator=(Leave&& from) noexcept {
  2378. if (this == &from) return *this;
  2379. if (GetOwningArena() == from.GetOwningArena()
  2380. #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
  2381. && GetOwningArena() != nullptr
  2382. #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
  2383. ) {
  2384. InternalSwap(&from);
  2385. } else {
  2386. CopyFrom(from);
  2387. }
  2388. return *this;
  2389. }
  2390. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
  2391. return GetDescriptor();
  2392. }
  2393. static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
  2394. return default_instance().GetMetadata().descriptor;
  2395. }
  2396. static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
  2397. return default_instance().GetMetadata().reflection;
  2398. }
  2399. static const Leave& default_instance() {
  2400. return *internal_default_instance();
  2401. }
  2402. static inline const Leave* internal_default_instance() {
  2403. return reinterpret_cast<const Leave*>(
  2404. &_Leave_default_instance_);
  2405. }
  2406. static constexpr int kIndexInFileMessages =
  2407. 14;
  2408. friend void swap(Leave& a, Leave& b) {
  2409. a.Swap(&b);
  2410. }
  2411. inline void Swap(Leave* other) {
  2412. if (other == this) return;
  2413. #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
  2414. if (GetOwningArena() != nullptr &&
  2415. GetOwningArena() == other->GetOwningArena()) {
  2416. #else // PROTOBUF_FORCE_COPY_IN_SWAP
  2417. if (GetOwningArena() == other->GetOwningArena()) {
  2418. #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
  2419. InternalSwap(other);
  2420. } else {
  2421. ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
  2422. }
  2423. }
  2424. void UnsafeArenaSwap(Leave* other) {
  2425. if (other == this) return;
  2426. GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
  2427. InternalSwap(other);
  2428. }
  2429. // implements Message ----------------------------------------------
  2430. Leave* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
  2431. return CreateMaybeMessage<Leave>(arena);
  2432. }
  2433. using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
  2434. void CopyFrom(const Leave& from);
  2435. using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
  2436. void MergeFrom(const Leave& from);
  2437. private:
  2438. static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
  2439. public:
  2440. PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
  2441. bool IsInitialized() const final;
  2442. size_t ByteSizeLong() const final;
  2443. const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
  2444. uint8_t* _InternalSerialize(
  2445. uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
  2446. int GetCachedSize() const final { return _cached_size_.Get(); }
  2447. private:
  2448. void SharedCtor();
  2449. void SharedDtor();
  2450. void SetCachedSize(int size) const final;
  2451. void InternalSwap(Leave* other);
  2452. private:
  2453. friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
  2454. static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
  2455. return "remote.Leave";
  2456. }
  2457. protected:
  2458. explicit Leave(::PROTOBUF_NAMESPACE_ID::Arena* arena,
  2459. bool is_message_owned = false);
  2460. private:
  2461. static void ArenaDtor(void* object);
  2462. inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
  2463. public:
  2464. static const ClassData _class_data_;
  2465. const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
  2466. ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
  2467. // nested types ----------------------------------------------------
  2468. // accessors -------------------------------------------------------
  2469. enum : int {
  2470. kPeerFieldNumber = 1,
  2471. kEgotypeFieldNumber = 2,
  2472. };
  2473. // int32 peer = 1;
  2474. void clear_peer();
  2475. int32_t peer() const;
  2476. void set_peer(int32_t value);
  2477. private:
  2478. int32_t _internal_peer() const;
  2479. void _internal_set_peer(int32_t value);
  2480. public:
  2481. // int32 egotype = 2;
  2482. void clear_egotype();
  2483. int32_t egotype() const;
  2484. void set_egotype(int32_t value);
  2485. private:
  2486. int32_t _internal_egotype() const;
  2487. void _internal_set_egotype(int32_t value);
  2488. public:
  2489. // @@protoc_insertion_point(class_scope:remote.Leave)
  2490. private:
  2491. class _Internal;
  2492. template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
  2493. typedef void InternalArenaConstructable_;
  2494. typedef void DestructorSkippable_;
  2495. int32_t peer_;
  2496. int32_t egotype_;
  2497. mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
  2498. friend struct ::TableStruct_remote_2eproto;
  2499. };
  2500. // ===================================================================
  2501. // ===================================================================
  2502. #ifdef __GNUC__
  2503. #pragma GCC diagnostic push
  2504. #pragma GCC diagnostic ignored "-Wstrict-aliasing"
  2505. #endif // __GNUC__
  2506. // Offer
  2507. // int32 index = 1;
  2508. inline void Offer::clear_index() {
  2509. index_ = 0;
  2510. }
  2511. inline int32_t Offer::_internal_index() const {
  2512. return index_;
  2513. }
  2514. inline int32_t Offer::index() const {
  2515. // @@protoc_insertion_point(field_get:remote.Offer.index)
  2516. return _internal_index();
  2517. }
  2518. inline void Offer::_internal_set_index(int32_t value) {
  2519. index_ = value;
  2520. }
  2521. inline void Offer::set_index(int32_t value) {
  2522. _internal_set_index(value);
  2523. // @@protoc_insertion_point(field_set:remote.Offer.index)
  2524. }
  2525. // int32 peer = 2;
  2526. inline void Offer::clear_peer() {
  2527. peer_ = 0;
  2528. }
  2529. inline int32_t Offer::_internal_peer() const {
  2530. return peer_;
  2531. }
  2532. inline int32_t Offer::peer() const {
  2533. // @@protoc_insertion_point(field_get:remote.Offer.peer)
  2534. return _internal_peer();
  2535. }
  2536. inline void Offer::_internal_set_peer(int32_t value) {
  2537. peer_ = value;
  2538. }
  2539. inline void Offer::set_peer(int32_t value) {
  2540. _internal_set_peer(value);
  2541. // @@protoc_insertion_point(field_set:remote.Offer.peer)
  2542. }
  2543. // string type = 3;
  2544. inline void Offer::clear_type() {
  2545. type_.ClearToEmpty();
  2546. }
  2547. inline const std::string& Offer::type() const {
  2548. // @@protoc_insertion_point(field_get:remote.Offer.type)
  2549. return _internal_type();
  2550. }
  2551. template <typename ArgT0, typename... ArgT>
  2552. inline PROTOBUF_ALWAYS_INLINE
  2553. void Offer::set_type(ArgT0&& arg0, ArgT... args) {
  2554. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2555. // @@protoc_insertion_point(field_set:remote.Offer.type)
  2556. }
  2557. inline std::string* Offer::mutable_type() {
  2558. std::string* _s = _internal_mutable_type();
  2559. // @@protoc_insertion_point(field_mutable:remote.Offer.type)
  2560. return _s;
  2561. }
  2562. inline const std::string& Offer::_internal_type() const {
  2563. return type_.Get();
  2564. }
  2565. inline void Offer::_internal_set_type(const std::string& value) {
  2566. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2567. }
  2568. inline std::string* Offer::_internal_mutable_type() {
  2569. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2570. }
  2571. inline std::string* Offer::release_type() {
  2572. // @@protoc_insertion_point(field_release:remote.Offer.type)
  2573. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2574. }
  2575. inline void Offer::set_allocated_type(std::string* type) {
  2576. if (type != nullptr) {
  2577. } else {
  2578. }
  2579. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  2580. GetArenaForAllocation());
  2581. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2582. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2583. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2584. }
  2585. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2586. // @@protoc_insertion_point(field_set_allocated:remote.Offer.type)
  2587. }
  2588. // string sdp = 4;
  2589. inline void Offer::clear_sdp() {
  2590. sdp_.ClearToEmpty();
  2591. }
  2592. inline const std::string& Offer::sdp() const {
  2593. // @@protoc_insertion_point(field_get:remote.Offer.sdp)
  2594. return _internal_sdp();
  2595. }
  2596. template <typename ArgT0, typename... ArgT>
  2597. inline PROTOBUF_ALWAYS_INLINE
  2598. void Offer::set_sdp(ArgT0&& arg0, ArgT... args) {
  2599. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2600. // @@protoc_insertion_point(field_set:remote.Offer.sdp)
  2601. }
  2602. inline std::string* Offer::mutable_sdp() {
  2603. std::string* _s = _internal_mutable_sdp();
  2604. // @@protoc_insertion_point(field_mutable:remote.Offer.sdp)
  2605. return _s;
  2606. }
  2607. inline const std::string& Offer::_internal_sdp() const {
  2608. return sdp_.Get();
  2609. }
  2610. inline void Offer::_internal_set_sdp(const std::string& value) {
  2611. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2612. }
  2613. inline std::string* Offer::_internal_mutable_sdp() {
  2614. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2615. }
  2616. inline std::string* Offer::release_sdp() {
  2617. // @@protoc_insertion_point(field_release:remote.Offer.sdp)
  2618. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2619. }
  2620. inline void Offer::set_allocated_sdp(std::string* sdp) {
  2621. if (sdp != nullptr) {
  2622. } else {
  2623. }
  2624. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  2625. GetArenaForAllocation());
  2626. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2627. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2628. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2629. }
  2630. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2631. // @@protoc_insertion_point(field_set_allocated:remote.Offer.sdp)
  2632. }
  2633. // -------------------------------------------------------------------
  2634. // Answer
  2635. // int32 index = 1;
  2636. inline void Answer::clear_index() {
  2637. index_ = 0;
  2638. }
  2639. inline int32_t Answer::_internal_index() const {
  2640. return index_;
  2641. }
  2642. inline int32_t Answer::index() const {
  2643. // @@protoc_insertion_point(field_get:remote.Answer.index)
  2644. return _internal_index();
  2645. }
  2646. inline void Answer::_internal_set_index(int32_t value) {
  2647. index_ = value;
  2648. }
  2649. inline void Answer::set_index(int32_t value) {
  2650. _internal_set_index(value);
  2651. // @@protoc_insertion_point(field_set:remote.Answer.index)
  2652. }
  2653. // int32 peer = 2;
  2654. inline void Answer::clear_peer() {
  2655. peer_ = 0;
  2656. }
  2657. inline int32_t Answer::_internal_peer() const {
  2658. return peer_;
  2659. }
  2660. inline int32_t Answer::peer() const {
  2661. // @@protoc_insertion_point(field_get:remote.Answer.peer)
  2662. return _internal_peer();
  2663. }
  2664. inline void Answer::_internal_set_peer(int32_t value) {
  2665. peer_ = value;
  2666. }
  2667. inline void Answer::set_peer(int32_t value) {
  2668. _internal_set_peer(value);
  2669. // @@protoc_insertion_point(field_set:remote.Answer.peer)
  2670. }
  2671. // string type = 3;
  2672. inline void Answer::clear_type() {
  2673. type_.ClearToEmpty();
  2674. }
  2675. inline const std::string& Answer::type() const {
  2676. // @@protoc_insertion_point(field_get:remote.Answer.type)
  2677. return _internal_type();
  2678. }
  2679. template <typename ArgT0, typename... ArgT>
  2680. inline PROTOBUF_ALWAYS_INLINE
  2681. void Answer::set_type(ArgT0&& arg0, ArgT... args) {
  2682. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2683. // @@protoc_insertion_point(field_set:remote.Answer.type)
  2684. }
  2685. inline std::string* Answer::mutable_type() {
  2686. std::string* _s = _internal_mutable_type();
  2687. // @@protoc_insertion_point(field_mutable:remote.Answer.type)
  2688. return _s;
  2689. }
  2690. inline const std::string& Answer::_internal_type() const {
  2691. return type_.Get();
  2692. }
  2693. inline void Answer::_internal_set_type(const std::string& value) {
  2694. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2695. }
  2696. inline std::string* Answer::_internal_mutable_type() {
  2697. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2698. }
  2699. inline std::string* Answer::release_type() {
  2700. // @@protoc_insertion_point(field_release:remote.Answer.type)
  2701. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2702. }
  2703. inline void Answer::set_allocated_type(std::string* type) {
  2704. if (type != nullptr) {
  2705. } else {
  2706. }
  2707. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  2708. GetArenaForAllocation());
  2709. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2710. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2711. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2712. }
  2713. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2714. // @@protoc_insertion_point(field_set_allocated:remote.Answer.type)
  2715. }
  2716. // string sdp = 4;
  2717. inline void Answer::clear_sdp() {
  2718. sdp_.ClearToEmpty();
  2719. }
  2720. inline const std::string& Answer::sdp() const {
  2721. // @@protoc_insertion_point(field_get:remote.Answer.sdp)
  2722. return _internal_sdp();
  2723. }
  2724. template <typename ArgT0, typename... ArgT>
  2725. inline PROTOBUF_ALWAYS_INLINE
  2726. void Answer::set_sdp(ArgT0&& arg0, ArgT... args) {
  2727. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2728. // @@protoc_insertion_point(field_set:remote.Answer.sdp)
  2729. }
  2730. inline std::string* Answer::mutable_sdp() {
  2731. std::string* _s = _internal_mutable_sdp();
  2732. // @@protoc_insertion_point(field_mutable:remote.Answer.sdp)
  2733. return _s;
  2734. }
  2735. inline const std::string& Answer::_internal_sdp() const {
  2736. return sdp_.Get();
  2737. }
  2738. inline void Answer::_internal_set_sdp(const std::string& value) {
  2739. sdp_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2740. }
  2741. inline std::string* Answer::_internal_mutable_sdp() {
  2742. return sdp_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2743. }
  2744. inline std::string* Answer::release_sdp() {
  2745. // @@protoc_insertion_point(field_release:remote.Answer.sdp)
  2746. return sdp_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2747. }
  2748. inline void Answer::set_allocated_sdp(std::string* sdp) {
  2749. if (sdp != nullptr) {
  2750. } else {
  2751. }
  2752. sdp_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdp,
  2753. GetArenaForAllocation());
  2754. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2755. if (sdp_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2756. sdp_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2757. }
  2758. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2759. // @@protoc_insertion_point(field_set_allocated:remote.Answer.sdp)
  2760. }
  2761. // -------------------------------------------------------------------
  2762. // Candidate
  2763. // int32 index = 1;
  2764. inline void Candidate::clear_index() {
  2765. index_ = 0;
  2766. }
  2767. inline int32_t Candidate::_internal_index() const {
  2768. return index_;
  2769. }
  2770. inline int32_t Candidate::index() const {
  2771. // @@protoc_insertion_point(field_get:remote.Candidate.index)
  2772. return _internal_index();
  2773. }
  2774. inline void Candidate::_internal_set_index(int32_t value) {
  2775. index_ = value;
  2776. }
  2777. inline void Candidate::set_index(int32_t value) {
  2778. _internal_set_index(value);
  2779. // @@protoc_insertion_point(field_set:remote.Candidate.index)
  2780. }
  2781. // int32 peer = 2;
  2782. inline void Candidate::clear_peer() {
  2783. peer_ = 0;
  2784. }
  2785. inline int32_t Candidate::_internal_peer() const {
  2786. return peer_;
  2787. }
  2788. inline int32_t Candidate::peer() const {
  2789. // @@protoc_insertion_point(field_get:remote.Candidate.peer)
  2790. return _internal_peer();
  2791. }
  2792. inline void Candidate::_internal_set_peer(int32_t value) {
  2793. peer_ = value;
  2794. }
  2795. inline void Candidate::set_peer(int32_t value) {
  2796. _internal_set_peer(value);
  2797. // @@protoc_insertion_point(field_set:remote.Candidate.peer)
  2798. }
  2799. // string type = 3;
  2800. inline void Candidate::clear_type() {
  2801. type_.ClearToEmpty();
  2802. }
  2803. inline const std::string& Candidate::type() const {
  2804. // @@protoc_insertion_point(field_get:remote.Candidate.type)
  2805. return _internal_type();
  2806. }
  2807. template <typename ArgT0, typename... ArgT>
  2808. inline PROTOBUF_ALWAYS_INLINE
  2809. void Candidate::set_type(ArgT0&& arg0, ArgT... args) {
  2810. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2811. // @@protoc_insertion_point(field_set:remote.Candidate.type)
  2812. }
  2813. inline std::string* Candidate::mutable_type() {
  2814. std::string* _s = _internal_mutable_type();
  2815. // @@protoc_insertion_point(field_mutable:remote.Candidate.type)
  2816. return _s;
  2817. }
  2818. inline const std::string& Candidate::_internal_type() const {
  2819. return type_.Get();
  2820. }
  2821. inline void Candidate::_internal_set_type(const std::string& value) {
  2822. type_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2823. }
  2824. inline std::string* Candidate::_internal_mutable_type() {
  2825. return type_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2826. }
  2827. inline std::string* Candidate::release_type() {
  2828. // @@protoc_insertion_point(field_release:remote.Candidate.type)
  2829. return type_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2830. }
  2831. inline void Candidate::set_allocated_type(std::string* type) {
  2832. if (type != nullptr) {
  2833. } else {
  2834. }
  2835. type_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), type,
  2836. GetArenaForAllocation());
  2837. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2838. if (type_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2839. type_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2840. }
  2841. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2842. // @@protoc_insertion_point(field_set_allocated:remote.Candidate.type)
  2843. }
  2844. // string candidate = 4;
  2845. inline void Candidate::clear_candidate() {
  2846. candidate_.ClearToEmpty();
  2847. }
  2848. inline const std::string& Candidate::candidate() const {
  2849. // @@protoc_insertion_point(field_get:remote.Candidate.candidate)
  2850. return _internal_candidate();
  2851. }
  2852. template <typename ArgT0, typename... ArgT>
  2853. inline PROTOBUF_ALWAYS_INLINE
  2854. void Candidate::set_candidate(ArgT0&& arg0, ArgT... args) {
  2855. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2856. // @@protoc_insertion_point(field_set:remote.Candidate.candidate)
  2857. }
  2858. inline std::string* Candidate::mutable_candidate() {
  2859. std::string* _s = _internal_mutable_candidate();
  2860. // @@protoc_insertion_point(field_mutable:remote.Candidate.candidate)
  2861. return _s;
  2862. }
  2863. inline const std::string& Candidate::_internal_candidate() const {
  2864. return candidate_.Get();
  2865. }
  2866. inline void Candidate::_internal_set_candidate(const std::string& value) {
  2867. candidate_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2868. }
  2869. inline std::string* Candidate::_internal_mutable_candidate() {
  2870. return candidate_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2871. }
  2872. inline std::string* Candidate::release_candidate() {
  2873. // @@protoc_insertion_point(field_release:remote.Candidate.candidate)
  2874. return candidate_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2875. }
  2876. inline void Candidate::set_allocated_candidate(std::string* candidate) {
  2877. if (candidate != nullptr) {
  2878. } else {
  2879. }
  2880. candidate_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), candidate,
  2881. GetArenaForAllocation());
  2882. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2883. if (candidate_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2884. candidate_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2885. }
  2886. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2887. // @@protoc_insertion_point(field_set_allocated:remote.Candidate.candidate)
  2888. }
  2889. // int32 sdpMLineIndex = 5;
  2890. inline void Candidate::clear_sdpmlineindex() {
  2891. sdpmlineindex_ = 0;
  2892. }
  2893. inline int32_t Candidate::_internal_sdpmlineindex() const {
  2894. return sdpmlineindex_;
  2895. }
  2896. inline int32_t Candidate::sdpmlineindex() const {
  2897. // @@protoc_insertion_point(field_get:remote.Candidate.sdpMLineIndex)
  2898. return _internal_sdpmlineindex();
  2899. }
  2900. inline void Candidate::_internal_set_sdpmlineindex(int32_t value) {
  2901. sdpmlineindex_ = value;
  2902. }
  2903. inline void Candidate::set_sdpmlineindex(int32_t value) {
  2904. _internal_set_sdpmlineindex(value);
  2905. // @@protoc_insertion_point(field_set:remote.Candidate.sdpMLineIndex)
  2906. }
  2907. // string sdpMid = 6;
  2908. inline void Candidate::clear_sdpmid() {
  2909. sdpmid_.ClearToEmpty();
  2910. }
  2911. inline const std::string& Candidate::sdpmid() const {
  2912. // @@protoc_insertion_point(field_get:remote.Candidate.sdpMid)
  2913. return _internal_sdpmid();
  2914. }
  2915. template <typename ArgT0, typename... ArgT>
  2916. inline PROTOBUF_ALWAYS_INLINE
  2917. void Candidate::set_sdpmid(ArgT0&& arg0, ArgT... args) {
  2918. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  2919. // @@protoc_insertion_point(field_set:remote.Candidate.sdpMid)
  2920. }
  2921. inline std::string* Candidate::mutable_sdpmid() {
  2922. std::string* _s = _internal_mutable_sdpmid();
  2923. // @@protoc_insertion_point(field_mutable:remote.Candidate.sdpMid)
  2924. return _s;
  2925. }
  2926. inline const std::string& Candidate::_internal_sdpmid() const {
  2927. return sdpmid_.Get();
  2928. }
  2929. inline void Candidate::_internal_set_sdpmid(const std::string& value) {
  2930. sdpmid_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  2931. }
  2932. inline std::string* Candidate::_internal_mutable_sdpmid() {
  2933. return sdpmid_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  2934. }
  2935. inline std::string* Candidate::release_sdpmid() {
  2936. // @@protoc_insertion_point(field_release:remote.Candidate.sdpMid)
  2937. return sdpmid_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  2938. }
  2939. inline void Candidate::set_allocated_sdpmid(std::string* sdpmid) {
  2940. if (sdpmid != nullptr) {
  2941. } else {
  2942. }
  2943. sdpmid_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), sdpmid,
  2944. GetArenaForAllocation());
  2945. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2946. if (sdpmid_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  2947. sdpmid_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  2948. }
  2949. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  2950. // @@protoc_insertion_point(field_set_allocated:remote.Candidate.sdpMid)
  2951. }
  2952. // int32 egotype = 7;
  2953. inline void Candidate::clear_egotype() {
  2954. egotype_ = 0;
  2955. }
  2956. inline int32_t Candidate::_internal_egotype() const {
  2957. return egotype_;
  2958. }
  2959. inline int32_t Candidate::egotype() const {
  2960. // @@protoc_insertion_point(field_get:remote.Candidate.egotype)
  2961. return _internal_egotype();
  2962. }
  2963. inline void Candidate::_internal_set_egotype(int32_t value) {
  2964. egotype_ = value;
  2965. }
  2966. inline void Candidate::set_egotype(int32_t value) {
  2967. _internal_set_egotype(value);
  2968. // @@protoc_insertion_point(field_set:remote.Candidate.egotype)
  2969. }
  2970. // -------------------------------------------------------------------
  2971. // CSReq
  2972. // int32 peer = 1;
  2973. inline void CSReq::clear_peer() {
  2974. peer_ = 0;
  2975. }
  2976. inline int32_t CSReq::_internal_peer() const {
  2977. return peer_;
  2978. }
  2979. inline int32_t CSReq::peer() const {
  2980. // @@protoc_insertion_point(field_get:remote.CSReq.peer)
  2981. return _internal_peer();
  2982. }
  2983. inline void CSReq::_internal_set_peer(int32_t value) {
  2984. peer_ = value;
  2985. }
  2986. inline void CSReq::set_peer(int32_t value) {
  2987. _internal_set_peer(value);
  2988. // @@protoc_insertion_point(field_set:remote.CSReq.peer)
  2989. }
  2990. // int32 index = 2;
  2991. inline void CSReq::clear_index() {
  2992. index_ = 0;
  2993. }
  2994. inline int32_t CSReq::_internal_index() const {
  2995. return index_;
  2996. }
  2997. inline int32_t CSReq::index() const {
  2998. // @@protoc_insertion_point(field_get:remote.CSReq.index)
  2999. return _internal_index();
  3000. }
  3001. inline void CSReq::_internal_set_index(int32_t value) {
  3002. index_ = value;
  3003. }
  3004. inline void CSReq::set_index(int32_t value) {
  3005. _internal_set_index(value);
  3006. // @@protoc_insertion_point(field_set:remote.CSReq.index)
  3007. }
  3008. // int32 egotype = 3;
  3009. inline void CSReq::clear_egotype() {
  3010. egotype_ = 0;
  3011. }
  3012. inline int32_t CSReq::_internal_egotype() const {
  3013. return egotype_;
  3014. }
  3015. inline int32_t CSReq::egotype() const {
  3016. // @@protoc_insertion_point(field_get:remote.CSReq.egotype)
  3017. return _internal_egotype();
  3018. }
  3019. inline void CSReq::_internal_set_egotype(int32_t value) {
  3020. egotype_ = value;
  3021. }
  3022. inline void CSReq::set_egotype(int32_t value) {
  3023. _internal_set_egotype(value);
  3024. // @@protoc_insertion_point(field_set:remote.CSReq.egotype)
  3025. }
  3026. // -------------------------------------------------------------------
  3027. // SCReq
  3028. // int32 desc = 1;
  3029. inline void SCReq::clear_desc() {
  3030. desc_ = 0;
  3031. }
  3032. inline int32_t SCReq::_internal_desc() const {
  3033. return desc_;
  3034. }
  3035. inline int32_t SCReq::desc() const {
  3036. // @@protoc_insertion_point(field_get:remote.SCReq.desc)
  3037. return _internal_desc();
  3038. }
  3039. inline void SCReq::_internal_set_desc(int32_t value) {
  3040. desc_ = value;
  3041. }
  3042. inline void SCReq::set_desc(int32_t value) {
  3043. _internal_set_desc(value);
  3044. // @@protoc_insertion_point(field_set:remote.SCReq.desc)
  3045. }
  3046. // int32 peer = 2;
  3047. inline void SCReq::clear_peer() {
  3048. peer_ = 0;
  3049. }
  3050. inline int32_t SCReq::_internal_peer() const {
  3051. return peer_;
  3052. }
  3053. inline int32_t SCReq::peer() const {
  3054. // @@protoc_insertion_point(field_get:remote.SCReq.peer)
  3055. return _internal_peer();
  3056. }
  3057. inline void SCReq::_internal_set_peer(int32_t value) {
  3058. peer_ = value;
  3059. }
  3060. inline void SCReq::set_peer(int32_t value) {
  3061. _internal_set_peer(value);
  3062. // @@protoc_insertion_point(field_set:remote.SCReq.peer)
  3063. }
  3064. // int32 egotype = 3;
  3065. inline void SCReq::clear_egotype() {
  3066. egotype_ = 0;
  3067. }
  3068. inline int32_t SCReq::_internal_egotype() const {
  3069. return egotype_;
  3070. }
  3071. inline int32_t SCReq::egotype() const {
  3072. // @@protoc_insertion_point(field_get:remote.SCReq.egotype)
  3073. return _internal_egotype();
  3074. }
  3075. inline void SCReq::_internal_set_egotype(int32_t value) {
  3076. egotype_ = value;
  3077. }
  3078. inline void SCReq::set_egotype(int32_t value) {
  3079. _internal_set_egotype(value);
  3080. // @@protoc_insertion_point(field_set:remote.SCReq.egotype)
  3081. }
  3082. // -------------------------------------------------------------------
  3083. // CSRep
  3084. // int32 desc = 1;
  3085. inline void CSRep::clear_desc() {
  3086. desc_ = 0;
  3087. }
  3088. inline int32_t CSRep::_internal_desc() const {
  3089. return desc_;
  3090. }
  3091. inline int32_t CSRep::desc() const {
  3092. // @@protoc_insertion_point(field_get:remote.CSRep.desc)
  3093. return _internal_desc();
  3094. }
  3095. inline void CSRep::_internal_set_desc(int32_t value) {
  3096. desc_ = value;
  3097. }
  3098. inline void CSRep::set_desc(int32_t value) {
  3099. _internal_set_desc(value);
  3100. // @@protoc_insertion_point(field_set:remote.CSRep.desc)
  3101. }
  3102. // int32 peer = 2;
  3103. inline void CSRep::clear_peer() {
  3104. peer_ = 0;
  3105. }
  3106. inline int32_t CSRep::_internal_peer() const {
  3107. return peer_;
  3108. }
  3109. inline int32_t CSRep::peer() const {
  3110. // @@protoc_insertion_point(field_get:remote.CSRep.peer)
  3111. return _internal_peer();
  3112. }
  3113. inline void CSRep::_internal_set_peer(int32_t value) {
  3114. peer_ = value;
  3115. }
  3116. inline void CSRep::set_peer(int32_t value) {
  3117. _internal_set_peer(value);
  3118. // @@protoc_insertion_point(field_set:remote.CSRep.peer)
  3119. }
  3120. // int32 index = 3;
  3121. inline void CSRep::clear_index() {
  3122. index_ = 0;
  3123. }
  3124. inline int32_t CSRep::_internal_index() const {
  3125. return index_;
  3126. }
  3127. inline int32_t CSRep::index() const {
  3128. // @@protoc_insertion_point(field_get:remote.CSRep.index)
  3129. return _internal_index();
  3130. }
  3131. inline void CSRep::_internal_set_index(int32_t value) {
  3132. index_ = value;
  3133. }
  3134. inline void CSRep::set_index(int32_t value) {
  3135. _internal_set_index(value);
  3136. // @@protoc_insertion_point(field_set:remote.CSRep.index)
  3137. }
  3138. // int32 egotype = 4;
  3139. inline void CSRep::clear_egotype() {
  3140. egotype_ = 0;
  3141. }
  3142. inline int32_t CSRep::_internal_egotype() const {
  3143. return egotype_;
  3144. }
  3145. inline int32_t CSRep::egotype() const {
  3146. // @@protoc_insertion_point(field_get:remote.CSRep.egotype)
  3147. return _internal_egotype();
  3148. }
  3149. inline void CSRep::_internal_set_egotype(int32_t value) {
  3150. egotype_ = value;
  3151. }
  3152. inline void CSRep::set_egotype(int32_t value) {
  3153. _internal_set_egotype(value);
  3154. // @@protoc_insertion_point(field_set:remote.CSRep.egotype)
  3155. }
  3156. // -------------------------------------------------------------------
  3157. // SCRep
  3158. // int32 desc = 1;
  3159. inline void SCRep::clear_desc() {
  3160. desc_ = 0;
  3161. }
  3162. inline int32_t SCRep::_internal_desc() const {
  3163. return desc_;
  3164. }
  3165. inline int32_t SCRep::desc() const {
  3166. // @@protoc_insertion_point(field_get:remote.SCRep.desc)
  3167. return _internal_desc();
  3168. }
  3169. inline void SCRep::_internal_set_desc(int32_t value) {
  3170. desc_ = value;
  3171. }
  3172. inline void SCRep::set_desc(int32_t value) {
  3173. _internal_set_desc(value);
  3174. // @@protoc_insertion_point(field_set:remote.SCRep.desc)
  3175. }
  3176. // int32 index = 2;
  3177. inline void SCRep::clear_index() {
  3178. index_ = 0;
  3179. }
  3180. inline int32_t SCRep::_internal_index() const {
  3181. return index_;
  3182. }
  3183. inline int32_t SCRep::index() const {
  3184. // @@protoc_insertion_point(field_get:remote.SCRep.index)
  3185. return _internal_index();
  3186. }
  3187. inline void SCRep::_internal_set_index(int32_t value) {
  3188. index_ = value;
  3189. }
  3190. inline void SCRep::set_index(int32_t value) {
  3191. _internal_set_index(value);
  3192. // @@protoc_insertion_point(field_set:remote.SCRep.index)
  3193. }
  3194. // int32 egotype = 3;
  3195. inline void SCRep::clear_egotype() {
  3196. egotype_ = 0;
  3197. }
  3198. inline int32_t SCRep::_internal_egotype() const {
  3199. return egotype_;
  3200. }
  3201. inline int32_t SCRep::egotype() const {
  3202. // @@protoc_insertion_point(field_get:remote.SCRep.egotype)
  3203. return _internal_egotype();
  3204. }
  3205. inline void SCRep::_internal_set_egotype(int32_t value) {
  3206. egotype_ = value;
  3207. }
  3208. inline void SCRep::set_egotype(int32_t value) {
  3209. _internal_set_egotype(value);
  3210. // @@protoc_insertion_point(field_set:remote.SCRep.egotype)
  3211. }
  3212. // int32 peer = 4;
  3213. inline void SCRep::clear_peer() {
  3214. peer_ = 0;
  3215. }
  3216. inline int32_t SCRep::_internal_peer() const {
  3217. return peer_;
  3218. }
  3219. inline int32_t SCRep::peer() const {
  3220. // @@protoc_insertion_point(field_get:remote.SCRep.peer)
  3221. return _internal_peer();
  3222. }
  3223. inline void SCRep::_internal_set_peer(int32_t value) {
  3224. peer_ = value;
  3225. }
  3226. inline void SCRep::set_peer(int32_t value) {
  3227. _internal_set_peer(value);
  3228. // @@protoc_insertion_point(field_set:remote.SCRep.peer)
  3229. }
  3230. // -------------------------------------------------------------------
  3231. // CSSigin
  3232. // string account = 1;
  3233. inline void CSSigin::clear_account() {
  3234. account_.ClearToEmpty();
  3235. }
  3236. inline const std::string& CSSigin::account() const {
  3237. // @@protoc_insertion_point(field_get:remote.CSSigin.account)
  3238. return _internal_account();
  3239. }
  3240. template <typename ArgT0, typename... ArgT>
  3241. inline PROTOBUF_ALWAYS_INLINE
  3242. void CSSigin::set_account(ArgT0&& arg0, ArgT... args) {
  3243. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3244. // @@protoc_insertion_point(field_set:remote.CSSigin.account)
  3245. }
  3246. inline std::string* CSSigin::mutable_account() {
  3247. std::string* _s = _internal_mutable_account();
  3248. // @@protoc_insertion_point(field_mutable:remote.CSSigin.account)
  3249. return _s;
  3250. }
  3251. inline const std::string& CSSigin::_internal_account() const {
  3252. return account_.Get();
  3253. }
  3254. inline void CSSigin::_internal_set_account(const std::string& value) {
  3255. account_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3256. }
  3257. inline std::string* CSSigin::_internal_mutable_account() {
  3258. return account_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3259. }
  3260. inline std::string* CSSigin::release_account() {
  3261. // @@protoc_insertion_point(field_release:remote.CSSigin.account)
  3262. return account_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3263. }
  3264. inline void CSSigin::set_allocated_account(std::string* account) {
  3265. if (account != nullptr) {
  3266. } else {
  3267. }
  3268. account_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), account,
  3269. GetArenaForAllocation());
  3270. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3271. if (account_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3272. account_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3273. }
  3274. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3275. // @@protoc_insertion_point(field_set_allocated:remote.CSSigin.account)
  3276. }
  3277. // int32 type = 2;
  3278. inline void CSSigin::clear_type() {
  3279. type_ = 0;
  3280. }
  3281. inline int32_t CSSigin::_internal_type() const {
  3282. return type_;
  3283. }
  3284. inline int32_t CSSigin::type() const {
  3285. // @@protoc_insertion_point(field_get:remote.CSSigin.type)
  3286. return _internal_type();
  3287. }
  3288. inline void CSSigin::_internal_set_type(int32_t value) {
  3289. type_ = value;
  3290. }
  3291. inline void CSSigin::set_type(int32_t value) {
  3292. _internal_set_type(value);
  3293. // @@protoc_insertion_point(field_set:remote.CSSigin.type)
  3294. }
  3295. // string name = 3;
  3296. inline void CSSigin::clear_name() {
  3297. name_.ClearToEmpty();
  3298. }
  3299. inline const std::string& CSSigin::name() const {
  3300. // @@protoc_insertion_point(field_get:remote.CSSigin.name)
  3301. return _internal_name();
  3302. }
  3303. template <typename ArgT0, typename... ArgT>
  3304. inline PROTOBUF_ALWAYS_INLINE
  3305. void CSSigin::set_name(ArgT0&& arg0, ArgT... args) {
  3306. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3307. // @@protoc_insertion_point(field_set:remote.CSSigin.name)
  3308. }
  3309. inline std::string* CSSigin::mutable_name() {
  3310. std::string* _s = _internal_mutable_name();
  3311. // @@protoc_insertion_point(field_mutable:remote.CSSigin.name)
  3312. return _s;
  3313. }
  3314. inline const std::string& CSSigin::_internal_name() const {
  3315. return name_.Get();
  3316. }
  3317. inline void CSSigin::_internal_set_name(const std::string& value) {
  3318. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3319. }
  3320. inline std::string* CSSigin::_internal_mutable_name() {
  3321. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3322. }
  3323. inline std::string* CSSigin::release_name() {
  3324. // @@protoc_insertion_point(field_release:remote.CSSigin.name)
  3325. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3326. }
  3327. inline void CSSigin::set_allocated_name(std::string* name) {
  3328. if (name != nullptr) {
  3329. } else {
  3330. }
  3331. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  3332. GetArenaForAllocation());
  3333. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3334. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3335. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3336. }
  3337. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3338. // @@protoc_insertion_point(field_set_allocated:remote.CSSigin.name)
  3339. }
  3340. // string pass = 4;
  3341. inline void CSSigin::clear_pass() {
  3342. pass_.ClearToEmpty();
  3343. }
  3344. inline const std::string& CSSigin::pass() const {
  3345. // @@protoc_insertion_point(field_get:remote.CSSigin.pass)
  3346. return _internal_pass();
  3347. }
  3348. template <typename ArgT0, typename... ArgT>
  3349. inline PROTOBUF_ALWAYS_INLINE
  3350. void CSSigin::set_pass(ArgT0&& arg0, ArgT... args) {
  3351. pass_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3352. // @@protoc_insertion_point(field_set:remote.CSSigin.pass)
  3353. }
  3354. inline std::string* CSSigin::mutable_pass() {
  3355. std::string* _s = _internal_mutable_pass();
  3356. // @@protoc_insertion_point(field_mutable:remote.CSSigin.pass)
  3357. return _s;
  3358. }
  3359. inline const std::string& CSSigin::_internal_pass() const {
  3360. return pass_.Get();
  3361. }
  3362. inline void CSSigin::_internal_set_pass(const std::string& value) {
  3363. pass_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3364. }
  3365. inline std::string* CSSigin::_internal_mutable_pass() {
  3366. return pass_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3367. }
  3368. inline std::string* CSSigin::release_pass() {
  3369. // @@protoc_insertion_point(field_release:remote.CSSigin.pass)
  3370. return pass_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3371. }
  3372. inline void CSSigin::set_allocated_pass(std::string* pass) {
  3373. if (pass != nullptr) {
  3374. } else {
  3375. }
  3376. pass_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), pass,
  3377. GetArenaForAllocation());
  3378. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3379. if (pass_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3380. pass_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3381. }
  3382. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3383. // @@protoc_insertion_point(field_set_allocated:remote.CSSigin.pass)
  3384. }
  3385. // -------------------------------------------------------------------
  3386. // SCSigin
  3387. // bool ret = 1;
  3388. inline void SCSigin::clear_ret() {
  3389. ret_ = false;
  3390. }
  3391. inline bool SCSigin::_internal_ret() const {
  3392. return ret_;
  3393. }
  3394. inline bool SCSigin::ret() const {
  3395. // @@protoc_insertion_point(field_get:remote.SCSigin.ret)
  3396. return _internal_ret();
  3397. }
  3398. inline void SCSigin::_internal_set_ret(bool value) {
  3399. ret_ = value;
  3400. }
  3401. inline void SCSigin::set_ret(bool value) {
  3402. _internal_set_ret(value);
  3403. // @@protoc_insertion_point(field_set:remote.SCSigin.ret)
  3404. }
  3405. // int32 uid = 2;
  3406. inline void SCSigin::clear_uid() {
  3407. uid_ = 0;
  3408. }
  3409. inline int32_t SCSigin::_internal_uid() const {
  3410. return uid_;
  3411. }
  3412. inline int32_t SCSigin::uid() const {
  3413. // @@protoc_insertion_point(field_get:remote.SCSigin.uid)
  3414. return _internal_uid();
  3415. }
  3416. inline void SCSigin::_internal_set_uid(int32_t value) {
  3417. uid_ = value;
  3418. }
  3419. inline void SCSigin::set_uid(int32_t value) {
  3420. _internal_set_uid(value);
  3421. // @@protoc_insertion_point(field_set:remote.SCSigin.uid)
  3422. }
  3423. // string name = 3;
  3424. inline void SCSigin::clear_name() {
  3425. name_.ClearToEmpty();
  3426. }
  3427. inline const std::string& SCSigin::name() const {
  3428. // @@protoc_insertion_point(field_get:remote.SCSigin.name)
  3429. return _internal_name();
  3430. }
  3431. template <typename ArgT0, typename... ArgT>
  3432. inline PROTOBUF_ALWAYS_INLINE
  3433. void SCSigin::set_name(ArgT0&& arg0, ArgT... args) {
  3434. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3435. // @@protoc_insertion_point(field_set:remote.SCSigin.name)
  3436. }
  3437. inline std::string* SCSigin::mutable_name() {
  3438. std::string* _s = _internal_mutable_name();
  3439. // @@protoc_insertion_point(field_mutable:remote.SCSigin.name)
  3440. return _s;
  3441. }
  3442. inline const std::string& SCSigin::_internal_name() const {
  3443. return name_.Get();
  3444. }
  3445. inline void SCSigin::_internal_set_name(const std::string& value) {
  3446. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3447. }
  3448. inline std::string* SCSigin::_internal_mutable_name() {
  3449. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3450. }
  3451. inline std::string* SCSigin::release_name() {
  3452. // @@protoc_insertion_point(field_release:remote.SCSigin.name)
  3453. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3454. }
  3455. inline void SCSigin::set_allocated_name(std::string* name) {
  3456. if (name != nullptr) {
  3457. } else {
  3458. }
  3459. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  3460. GetArenaForAllocation());
  3461. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3462. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3463. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3464. }
  3465. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3466. // @@protoc_insertion_point(field_set_allocated:remote.SCSigin.name)
  3467. }
  3468. // -------------------------------------------------------------------
  3469. // Robot
  3470. // int32 rid = 1;
  3471. inline void Robot::clear_rid() {
  3472. rid_ = 0;
  3473. }
  3474. inline int32_t Robot::_internal_rid() const {
  3475. return rid_;
  3476. }
  3477. inline int32_t Robot::rid() const {
  3478. // @@protoc_insertion_point(field_get:remote.Robot.rid)
  3479. return _internal_rid();
  3480. }
  3481. inline void Robot::_internal_set_rid(int32_t value) {
  3482. rid_ = value;
  3483. }
  3484. inline void Robot::set_rid(int32_t value) {
  3485. _internal_set_rid(value);
  3486. // @@protoc_insertion_point(field_set:remote.Robot.rid)
  3487. }
  3488. // string name = 2;
  3489. inline void Robot::clear_name() {
  3490. name_.ClearToEmpty();
  3491. }
  3492. inline const std::string& Robot::name() const {
  3493. // @@protoc_insertion_point(field_get:remote.Robot.name)
  3494. return _internal_name();
  3495. }
  3496. template <typename ArgT0, typename... ArgT>
  3497. inline PROTOBUF_ALWAYS_INLINE
  3498. void Robot::set_name(ArgT0&& arg0, ArgT... args) {
  3499. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
  3500. // @@protoc_insertion_point(field_set:remote.Robot.name)
  3501. }
  3502. inline std::string* Robot::mutable_name() {
  3503. std::string* _s = _internal_mutable_name();
  3504. // @@protoc_insertion_point(field_mutable:remote.Robot.name)
  3505. return _s;
  3506. }
  3507. inline const std::string& Robot::_internal_name() const {
  3508. return name_.Get();
  3509. }
  3510. inline void Robot::_internal_set_name(const std::string& value) {
  3511. name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
  3512. }
  3513. inline std::string* Robot::_internal_mutable_name() {
  3514. return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
  3515. }
  3516. inline std::string* Robot::release_name() {
  3517. // @@protoc_insertion_point(field_release:remote.Robot.name)
  3518. return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
  3519. }
  3520. inline void Robot::set_allocated_name(std::string* name) {
  3521. if (name != nullptr) {
  3522. } else {
  3523. }
  3524. name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
  3525. GetArenaForAllocation());
  3526. #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3527. if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
  3528. name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
  3529. }
  3530. #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
  3531. // @@protoc_insertion_point(field_set_allocated:remote.Robot.name)
  3532. }
  3533. // int32 type = 3;
  3534. inline void Robot::clear_type() {
  3535. type_ = 0;
  3536. }
  3537. inline int32_t Robot::_internal_type() const {
  3538. return type_;
  3539. }
  3540. inline int32_t Robot::type() const {
  3541. // @@protoc_insertion_point(field_get:remote.Robot.type)
  3542. return _internal_type();
  3543. }
  3544. inline void Robot::_internal_set_type(int32_t value) {
  3545. type_ = value;
  3546. }
  3547. inline void Robot::set_type(int32_t value) {
  3548. _internal_set_type(value);
  3549. // @@protoc_insertion_point(field_set:remote.Robot.type)
  3550. }
  3551. // int32 state = 4;
  3552. inline void Robot::clear_state() {
  3553. state_ = 0;
  3554. }
  3555. inline int32_t Robot::_internal_state() const {
  3556. return state_;
  3557. }
  3558. inline int32_t Robot::state() const {
  3559. // @@protoc_insertion_point(field_get:remote.Robot.state)
  3560. return _internal_state();
  3561. }
  3562. inline void Robot::_internal_set_state(int32_t value) {
  3563. state_ = value;
  3564. }
  3565. inline void Robot::set_state(int32_t value) {
  3566. _internal_set_state(value);
  3567. // @@protoc_insertion_point(field_set:remote.Robot.state)
  3568. }
  3569. // -------------------------------------------------------------------
  3570. // SCAddRobot
  3571. // .remote.Robot robot = 1;
  3572. inline bool SCAddRobot::_internal_has_robot() const {
  3573. return this != internal_default_instance() && robot_ != nullptr;
  3574. }
  3575. inline bool SCAddRobot::has_robot() const {
  3576. return _internal_has_robot();
  3577. }
  3578. inline void SCAddRobot::clear_robot() {
  3579. if (GetArenaForAllocation() == nullptr && robot_ != nullptr) {
  3580. delete robot_;
  3581. }
  3582. robot_ = nullptr;
  3583. }
  3584. inline const ::remote::Robot& SCAddRobot::_internal_robot() const {
  3585. const ::remote::Robot* p = robot_;
  3586. return p != nullptr ? *p : reinterpret_cast<const ::remote::Robot&>(
  3587. ::remote::_Robot_default_instance_);
  3588. }
  3589. inline const ::remote::Robot& SCAddRobot::robot() const {
  3590. // @@protoc_insertion_point(field_get:remote.SCAddRobot.robot)
  3591. return _internal_robot();
  3592. }
  3593. inline void SCAddRobot::unsafe_arena_set_allocated_robot(
  3594. ::remote::Robot* robot) {
  3595. if (GetArenaForAllocation() == nullptr) {
  3596. delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(robot_);
  3597. }
  3598. robot_ = robot;
  3599. if (robot) {
  3600. } else {
  3601. }
  3602. // @@protoc_insertion_point(field_unsafe_arena_set_allocated:remote.SCAddRobot.robot)
  3603. }
  3604. inline ::remote::Robot* SCAddRobot::release_robot() {
  3605. ::remote::Robot* temp = robot_;
  3606. robot_ = nullptr;
  3607. #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
  3608. auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
  3609. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3610. if (GetArenaForAllocation() == nullptr) { delete old; }
  3611. #else // PROTOBUF_FORCE_COPY_IN_RELEASE
  3612. if (GetArenaForAllocation() != nullptr) {
  3613. temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
  3614. }
  3615. #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
  3616. return temp;
  3617. }
  3618. inline ::remote::Robot* SCAddRobot::unsafe_arena_release_robot() {
  3619. // @@protoc_insertion_point(field_release:remote.SCAddRobot.robot)
  3620. ::remote::Robot* temp = robot_;
  3621. robot_ = nullptr;
  3622. return temp;
  3623. }
  3624. inline ::remote::Robot* SCAddRobot::_internal_mutable_robot() {
  3625. if (robot_ == nullptr) {
  3626. auto* p = CreateMaybeMessage<::remote::Robot>(GetArenaForAllocation());
  3627. robot_ = p;
  3628. }
  3629. return robot_;
  3630. }
  3631. inline ::remote::Robot* SCAddRobot::mutable_robot() {
  3632. ::remote::Robot* _msg = _internal_mutable_robot();
  3633. // @@protoc_insertion_point(field_mutable:remote.SCAddRobot.robot)
  3634. return _msg;
  3635. }
  3636. inline void SCAddRobot::set_allocated_robot(::remote::Robot* robot) {
  3637. ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
  3638. if (message_arena == nullptr) {
  3639. delete robot_;
  3640. }
  3641. if (robot) {
  3642. ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
  3643. ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<::remote::Robot>::GetOwningArena(robot);
  3644. if (message_arena != submessage_arena) {
  3645. robot = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
  3646. message_arena, robot, submessage_arena);
  3647. }
  3648. } else {
  3649. }
  3650. robot_ = robot;
  3651. // @@protoc_insertion_point(field_set_allocated:remote.SCAddRobot.robot)
  3652. }
  3653. // -------------------------------------------------------------------
  3654. // SCDelRobot
  3655. // int32 peer = 1;
  3656. inline void SCDelRobot::clear_peer() {
  3657. peer_ = 0;
  3658. }
  3659. inline int32_t SCDelRobot::_internal_peer() const {
  3660. return peer_;
  3661. }
  3662. inline int32_t SCDelRobot::peer() const {
  3663. // @@protoc_insertion_point(field_get:remote.SCDelRobot.peer)
  3664. return _internal_peer();
  3665. }
  3666. inline void SCDelRobot::_internal_set_peer(int32_t value) {
  3667. peer_ = value;
  3668. }
  3669. inline void SCDelRobot::set_peer(int32_t value) {
  3670. _internal_set_peer(value);
  3671. // @@protoc_insertion_point(field_set:remote.SCDelRobot.peer)
  3672. }
  3673. // int32 egotype = 2;
  3674. inline void SCDelRobot::clear_egotype() {
  3675. egotype_ = 0;
  3676. }
  3677. inline int32_t SCDelRobot::_internal_egotype() const {
  3678. return egotype_;
  3679. }
  3680. inline int32_t SCDelRobot::egotype() const {
  3681. // @@protoc_insertion_point(field_get:remote.SCDelRobot.egotype)
  3682. return _internal_egotype();
  3683. }
  3684. inline void SCDelRobot::_internal_set_egotype(int32_t value) {
  3685. egotype_ = value;
  3686. }
  3687. inline void SCDelRobot::set_egotype(int32_t value) {
  3688. _internal_set_egotype(value);
  3689. // @@protoc_insertion_point(field_set:remote.SCDelRobot.egotype)
  3690. }
  3691. // -------------------------------------------------------------------
  3692. // CSRobot
  3693. // -------------------------------------------------------------------
  3694. // SCRobot
  3695. // repeated .remote.Robot robot = 1;
  3696. inline int SCRobot::_internal_robot_size() const {
  3697. return robot_.size();
  3698. }
  3699. inline int SCRobot::robot_size() const {
  3700. return _internal_robot_size();
  3701. }
  3702. inline void SCRobot::clear_robot() {
  3703. robot_.Clear();
  3704. }
  3705. inline ::remote::Robot* SCRobot::mutable_robot(int index) {
  3706. // @@protoc_insertion_point(field_mutable:remote.SCRobot.robot)
  3707. return robot_.Mutable(index);
  3708. }
  3709. inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >*
  3710. SCRobot::mutable_robot() {
  3711. // @@protoc_insertion_point(field_mutable_list:remote.SCRobot.robot)
  3712. return &robot_;
  3713. }
  3714. inline const ::remote::Robot& SCRobot::_internal_robot(int index) const {
  3715. return robot_.Get(index);
  3716. }
  3717. inline const ::remote::Robot& SCRobot::robot(int index) const {
  3718. // @@protoc_insertion_point(field_get:remote.SCRobot.robot)
  3719. return _internal_robot(index);
  3720. }
  3721. inline ::remote::Robot* SCRobot::_internal_add_robot() {
  3722. return robot_.Add();
  3723. }
  3724. inline ::remote::Robot* SCRobot::add_robot() {
  3725. ::remote::Robot* _add = _internal_add_robot();
  3726. // @@protoc_insertion_point(field_add:remote.SCRobot.robot)
  3727. return _add;
  3728. }
  3729. inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::remote::Robot >&
  3730. SCRobot::robot() const {
  3731. // @@protoc_insertion_point(field_list:remote.SCRobot.robot)
  3732. return robot_;
  3733. }
  3734. // -------------------------------------------------------------------
  3735. // Leave
  3736. // int32 peer = 1;
  3737. inline void Leave::clear_peer() {
  3738. peer_ = 0;
  3739. }
  3740. inline int32_t Leave::_internal_peer() const {
  3741. return peer_;
  3742. }
  3743. inline int32_t Leave::peer() const {
  3744. // @@protoc_insertion_point(field_get:remote.Leave.peer)
  3745. return _internal_peer();
  3746. }
  3747. inline void Leave::_internal_set_peer(int32_t value) {
  3748. peer_ = value;
  3749. }
  3750. inline void Leave::set_peer(int32_t value) {
  3751. _internal_set_peer(value);
  3752. // @@protoc_insertion_point(field_set:remote.Leave.peer)
  3753. }
  3754. // int32 egotype = 2;
  3755. inline void Leave::clear_egotype() {
  3756. egotype_ = 0;
  3757. }
  3758. inline int32_t Leave::_internal_egotype() const {
  3759. return egotype_;
  3760. }
  3761. inline int32_t Leave::egotype() const {
  3762. // @@protoc_insertion_point(field_get:remote.Leave.egotype)
  3763. return _internal_egotype();
  3764. }
  3765. inline void Leave::_internal_set_egotype(int32_t value) {
  3766. egotype_ = value;
  3767. }
  3768. inline void Leave::set_egotype(int32_t value) {
  3769. _internal_set_egotype(value);
  3770. // @@protoc_insertion_point(field_set:remote.Leave.egotype)
  3771. }
  3772. #ifdef __GNUC__
  3773. #pragma GCC diagnostic pop
  3774. #endif // __GNUC__
  3775. // -------------------------------------------------------------------
  3776. // -------------------------------------------------------------------
  3777. // -------------------------------------------------------------------
  3778. // -------------------------------------------------------------------
  3779. // -------------------------------------------------------------------
  3780. // -------------------------------------------------------------------
  3781. // -------------------------------------------------------------------
  3782. // -------------------------------------------------------------------
  3783. // -------------------------------------------------------------------
  3784. // -------------------------------------------------------------------
  3785. // -------------------------------------------------------------------
  3786. // -------------------------------------------------------------------
  3787. // -------------------------------------------------------------------
  3788. // -------------------------------------------------------------------
  3789. // @@protoc_insertion_point(namespace_scope)
  3790. } // namespace remote
  3791. PROTOBUF_NAMESPACE_OPEN
  3792. template <> struct is_proto_enum< ::remote::cs_message> : ::std::true_type {};
  3793. template <>
  3794. inline const EnumDescriptor* GetEnumDescriptor< ::remote::cs_message>() {
  3795. return ::remote::cs_message_descriptor();
  3796. }
  3797. template <> struct is_proto_enum< ::remote::sc_message> : ::std::true_type {};
  3798. template <>
  3799. inline const EnumDescriptor* GetEnumDescriptor< ::remote::sc_message>() {
  3800. return ::remote::sc_message_descriptor();
  3801. }
  3802. PROTOBUF_NAMESPACE_CLOSE
  3803. // @@protoc_insertion_point(global_scope)
  3804. #include <google/protobuf/port_undef.inc>
  3805. #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_remote_2eproto