master.pb.go 170 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.25.0
  4. // protoc v3.12.3
  5. // source: master.proto
  6. package master_pb
  7. import (
  8. context "context"
  9. proto "github.com/golang/protobuf/proto"
  10. grpc "google.golang.org/grpc"
  11. codes "google.golang.org/grpc/codes"
  12. status "google.golang.org/grpc/status"
  13. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  14. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  15. reflect "reflect"
  16. sync "sync"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. // This is a compile-time assertion that a sufficiently up-to-date version
  25. // of the legacy proto package is being used.
  26. const _ = proto.ProtoPackageIsVersion4
  27. type Heartbeat struct {
  28. state protoimpl.MessageState
  29. sizeCache protoimpl.SizeCache
  30. unknownFields protoimpl.UnknownFields
  31. Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
  32. Port uint32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
  33. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  34. MaxFileKey uint64 `protobuf:"varint,5,opt,name=max_file_key,json=maxFileKey,proto3" json:"max_file_key,omitempty"`
  35. DataCenter string `protobuf:"bytes,6,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
  36. Rack string `protobuf:"bytes,7,opt,name=rack,proto3" json:"rack,omitempty"`
  37. AdminPort uint32 `protobuf:"varint,8,opt,name=admin_port,json=adminPort,proto3" json:"admin_port,omitempty"`
  38. Volumes []*VolumeInformationMessage `protobuf:"bytes,9,rep,name=volumes,proto3" json:"volumes,omitempty"`
  39. // delta volumes
  40. NewVolumes []*VolumeShortInformationMessage `protobuf:"bytes,10,rep,name=new_volumes,json=newVolumes,proto3" json:"new_volumes,omitempty"`
  41. DeletedVolumes []*VolumeShortInformationMessage `protobuf:"bytes,11,rep,name=deleted_volumes,json=deletedVolumes,proto3" json:"deleted_volumes,omitempty"`
  42. HasNoVolumes bool `protobuf:"varint,12,opt,name=has_no_volumes,json=hasNoVolumes,proto3" json:"has_no_volumes,omitempty"`
  43. // erasure coding
  44. EcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,16,rep,name=ec_shards,json=ecShards,proto3" json:"ec_shards,omitempty"`
  45. // delta erasure coding shards
  46. NewEcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,17,rep,name=new_ec_shards,json=newEcShards,proto3" json:"new_ec_shards,omitempty"`
  47. DeletedEcShards []*VolumeEcShardInformationMessage `protobuf:"bytes,18,rep,name=deleted_ec_shards,json=deletedEcShards,proto3" json:"deleted_ec_shards,omitempty"`
  48. HasNoEcShards bool `protobuf:"varint,19,opt,name=has_no_ec_shards,json=hasNoEcShards,proto3" json:"has_no_ec_shards,omitempty"`
  49. MaxVolumeCounts map[string]uint32 `protobuf:"bytes,4,rep,name=max_volume_counts,json=maxVolumeCounts,proto3" json:"max_volume_counts,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  50. }
  51. func (x *Heartbeat) Reset() {
  52. *x = Heartbeat{}
  53. if protoimpl.UnsafeEnabled {
  54. mi := &file_master_proto_msgTypes[0]
  55. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  56. ms.StoreMessageInfo(mi)
  57. }
  58. }
  59. func (x *Heartbeat) String() string {
  60. return protoimpl.X.MessageStringOf(x)
  61. }
  62. func (*Heartbeat) ProtoMessage() {}
  63. func (x *Heartbeat) ProtoReflect() protoreflect.Message {
  64. mi := &file_master_proto_msgTypes[0]
  65. if protoimpl.UnsafeEnabled && x != nil {
  66. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  67. if ms.LoadMessageInfo() == nil {
  68. ms.StoreMessageInfo(mi)
  69. }
  70. return ms
  71. }
  72. return mi.MessageOf(x)
  73. }
  74. // Deprecated: Use Heartbeat.ProtoReflect.Descriptor instead.
  75. func (*Heartbeat) Descriptor() ([]byte, []int) {
  76. return file_master_proto_rawDescGZIP(), []int{0}
  77. }
  78. func (x *Heartbeat) GetIp() string {
  79. if x != nil {
  80. return x.Ip
  81. }
  82. return ""
  83. }
  84. func (x *Heartbeat) GetPort() uint32 {
  85. if x != nil {
  86. return x.Port
  87. }
  88. return 0
  89. }
  90. func (x *Heartbeat) GetPublicUrl() string {
  91. if x != nil {
  92. return x.PublicUrl
  93. }
  94. return ""
  95. }
  96. func (x *Heartbeat) GetMaxFileKey() uint64 {
  97. if x != nil {
  98. return x.MaxFileKey
  99. }
  100. return 0
  101. }
  102. func (x *Heartbeat) GetDataCenter() string {
  103. if x != nil {
  104. return x.DataCenter
  105. }
  106. return ""
  107. }
  108. func (x *Heartbeat) GetRack() string {
  109. if x != nil {
  110. return x.Rack
  111. }
  112. return ""
  113. }
  114. func (x *Heartbeat) GetAdminPort() uint32 {
  115. if x != nil {
  116. return x.AdminPort
  117. }
  118. return 0
  119. }
  120. func (x *Heartbeat) GetVolumes() []*VolumeInformationMessage {
  121. if x != nil {
  122. return x.Volumes
  123. }
  124. return nil
  125. }
  126. func (x *Heartbeat) GetNewVolumes() []*VolumeShortInformationMessage {
  127. if x != nil {
  128. return x.NewVolumes
  129. }
  130. return nil
  131. }
  132. func (x *Heartbeat) GetDeletedVolumes() []*VolumeShortInformationMessage {
  133. if x != nil {
  134. return x.DeletedVolumes
  135. }
  136. return nil
  137. }
  138. func (x *Heartbeat) GetHasNoVolumes() bool {
  139. if x != nil {
  140. return x.HasNoVolumes
  141. }
  142. return false
  143. }
  144. func (x *Heartbeat) GetEcShards() []*VolumeEcShardInformationMessage {
  145. if x != nil {
  146. return x.EcShards
  147. }
  148. return nil
  149. }
  150. func (x *Heartbeat) GetNewEcShards() []*VolumeEcShardInformationMessage {
  151. if x != nil {
  152. return x.NewEcShards
  153. }
  154. return nil
  155. }
  156. func (x *Heartbeat) GetDeletedEcShards() []*VolumeEcShardInformationMessage {
  157. if x != nil {
  158. return x.DeletedEcShards
  159. }
  160. return nil
  161. }
  162. func (x *Heartbeat) GetHasNoEcShards() bool {
  163. if x != nil {
  164. return x.HasNoEcShards
  165. }
  166. return false
  167. }
  168. func (x *Heartbeat) GetMaxVolumeCounts() map[string]uint32 {
  169. if x != nil {
  170. return x.MaxVolumeCounts
  171. }
  172. return nil
  173. }
  174. type HeartbeatResponse struct {
  175. state protoimpl.MessageState
  176. sizeCache protoimpl.SizeCache
  177. unknownFields protoimpl.UnknownFields
  178. VolumeSizeLimit uint64 `protobuf:"varint,1,opt,name=volume_size_limit,json=volumeSizeLimit,proto3" json:"volume_size_limit,omitempty"`
  179. Leader string `protobuf:"bytes,2,opt,name=leader,proto3" json:"leader,omitempty"`
  180. MetricsAddress string `protobuf:"bytes,3,opt,name=metrics_address,json=metricsAddress,proto3" json:"metrics_address,omitempty"`
  181. MetricsIntervalSeconds uint32 `protobuf:"varint,4,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds,proto3" json:"metrics_interval_seconds,omitempty"`
  182. StorageBackends []*StorageBackend `protobuf:"bytes,5,rep,name=storage_backends,json=storageBackends,proto3" json:"storage_backends,omitempty"`
  183. }
  184. func (x *HeartbeatResponse) Reset() {
  185. *x = HeartbeatResponse{}
  186. if protoimpl.UnsafeEnabled {
  187. mi := &file_master_proto_msgTypes[1]
  188. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  189. ms.StoreMessageInfo(mi)
  190. }
  191. }
  192. func (x *HeartbeatResponse) String() string {
  193. return protoimpl.X.MessageStringOf(x)
  194. }
  195. func (*HeartbeatResponse) ProtoMessage() {}
  196. func (x *HeartbeatResponse) ProtoReflect() protoreflect.Message {
  197. mi := &file_master_proto_msgTypes[1]
  198. if protoimpl.UnsafeEnabled && x != nil {
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. if ms.LoadMessageInfo() == nil {
  201. ms.StoreMessageInfo(mi)
  202. }
  203. return ms
  204. }
  205. return mi.MessageOf(x)
  206. }
  207. // Deprecated: Use HeartbeatResponse.ProtoReflect.Descriptor instead.
  208. func (*HeartbeatResponse) Descriptor() ([]byte, []int) {
  209. return file_master_proto_rawDescGZIP(), []int{1}
  210. }
  211. func (x *HeartbeatResponse) GetVolumeSizeLimit() uint64 {
  212. if x != nil {
  213. return x.VolumeSizeLimit
  214. }
  215. return 0
  216. }
  217. func (x *HeartbeatResponse) GetLeader() string {
  218. if x != nil {
  219. return x.Leader
  220. }
  221. return ""
  222. }
  223. func (x *HeartbeatResponse) GetMetricsAddress() string {
  224. if x != nil {
  225. return x.MetricsAddress
  226. }
  227. return ""
  228. }
  229. func (x *HeartbeatResponse) GetMetricsIntervalSeconds() uint32 {
  230. if x != nil {
  231. return x.MetricsIntervalSeconds
  232. }
  233. return 0
  234. }
  235. func (x *HeartbeatResponse) GetStorageBackends() []*StorageBackend {
  236. if x != nil {
  237. return x.StorageBackends
  238. }
  239. return nil
  240. }
  241. type VolumeInformationMessage struct {
  242. state protoimpl.MessageState
  243. sizeCache protoimpl.SizeCache
  244. unknownFields protoimpl.UnknownFields
  245. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  246. Size uint64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
  247. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  248. FileCount uint64 `protobuf:"varint,4,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
  249. DeleteCount uint64 `protobuf:"varint,5,opt,name=delete_count,json=deleteCount,proto3" json:"delete_count,omitempty"`
  250. DeletedByteCount uint64 `protobuf:"varint,6,opt,name=deleted_byte_count,json=deletedByteCount,proto3" json:"deleted_byte_count,omitempty"`
  251. ReadOnly bool `protobuf:"varint,7,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
  252. ReplicaPlacement uint32 `protobuf:"varint,8,opt,name=replica_placement,json=replicaPlacement,proto3" json:"replica_placement,omitempty"`
  253. Version uint32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
  254. Ttl uint32 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
  255. CompactRevision uint32 `protobuf:"varint,11,opt,name=compact_revision,json=compactRevision,proto3" json:"compact_revision,omitempty"`
  256. ModifiedAtSecond int64 `protobuf:"varint,12,opt,name=modified_at_second,json=modifiedAtSecond,proto3" json:"modified_at_second,omitempty"`
  257. RemoteStorageName string `protobuf:"bytes,13,opt,name=remote_storage_name,json=remoteStorageName,proto3" json:"remote_storage_name,omitempty"`
  258. RemoteStorageKey string `protobuf:"bytes,14,opt,name=remote_storage_key,json=remoteStorageKey,proto3" json:"remote_storage_key,omitempty"`
  259. DiskType string `protobuf:"bytes,15,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  260. }
  261. func (x *VolumeInformationMessage) Reset() {
  262. *x = VolumeInformationMessage{}
  263. if protoimpl.UnsafeEnabled {
  264. mi := &file_master_proto_msgTypes[2]
  265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  266. ms.StoreMessageInfo(mi)
  267. }
  268. }
  269. func (x *VolumeInformationMessage) String() string {
  270. return protoimpl.X.MessageStringOf(x)
  271. }
  272. func (*VolumeInformationMessage) ProtoMessage() {}
  273. func (x *VolumeInformationMessage) ProtoReflect() protoreflect.Message {
  274. mi := &file_master_proto_msgTypes[2]
  275. if protoimpl.UnsafeEnabled && x != nil {
  276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  277. if ms.LoadMessageInfo() == nil {
  278. ms.StoreMessageInfo(mi)
  279. }
  280. return ms
  281. }
  282. return mi.MessageOf(x)
  283. }
  284. // Deprecated: Use VolumeInformationMessage.ProtoReflect.Descriptor instead.
  285. func (*VolumeInformationMessage) Descriptor() ([]byte, []int) {
  286. return file_master_proto_rawDescGZIP(), []int{2}
  287. }
  288. func (x *VolumeInformationMessage) GetId() uint32 {
  289. if x != nil {
  290. return x.Id
  291. }
  292. return 0
  293. }
  294. func (x *VolumeInformationMessage) GetSize() uint64 {
  295. if x != nil {
  296. return x.Size
  297. }
  298. return 0
  299. }
  300. func (x *VolumeInformationMessage) GetCollection() string {
  301. if x != nil {
  302. return x.Collection
  303. }
  304. return ""
  305. }
  306. func (x *VolumeInformationMessage) GetFileCount() uint64 {
  307. if x != nil {
  308. return x.FileCount
  309. }
  310. return 0
  311. }
  312. func (x *VolumeInformationMessage) GetDeleteCount() uint64 {
  313. if x != nil {
  314. return x.DeleteCount
  315. }
  316. return 0
  317. }
  318. func (x *VolumeInformationMessage) GetDeletedByteCount() uint64 {
  319. if x != nil {
  320. return x.DeletedByteCount
  321. }
  322. return 0
  323. }
  324. func (x *VolumeInformationMessage) GetReadOnly() bool {
  325. if x != nil {
  326. return x.ReadOnly
  327. }
  328. return false
  329. }
  330. func (x *VolumeInformationMessage) GetReplicaPlacement() uint32 {
  331. if x != nil {
  332. return x.ReplicaPlacement
  333. }
  334. return 0
  335. }
  336. func (x *VolumeInformationMessage) GetVersion() uint32 {
  337. if x != nil {
  338. return x.Version
  339. }
  340. return 0
  341. }
  342. func (x *VolumeInformationMessage) GetTtl() uint32 {
  343. if x != nil {
  344. return x.Ttl
  345. }
  346. return 0
  347. }
  348. func (x *VolumeInformationMessage) GetCompactRevision() uint32 {
  349. if x != nil {
  350. return x.CompactRevision
  351. }
  352. return 0
  353. }
  354. func (x *VolumeInformationMessage) GetModifiedAtSecond() int64 {
  355. if x != nil {
  356. return x.ModifiedAtSecond
  357. }
  358. return 0
  359. }
  360. func (x *VolumeInformationMessage) GetRemoteStorageName() string {
  361. if x != nil {
  362. return x.RemoteStorageName
  363. }
  364. return ""
  365. }
  366. func (x *VolumeInformationMessage) GetRemoteStorageKey() string {
  367. if x != nil {
  368. return x.RemoteStorageKey
  369. }
  370. return ""
  371. }
  372. func (x *VolumeInformationMessage) GetDiskType() string {
  373. if x != nil {
  374. return x.DiskType
  375. }
  376. return ""
  377. }
  378. type VolumeShortInformationMessage struct {
  379. state protoimpl.MessageState
  380. sizeCache protoimpl.SizeCache
  381. unknownFields protoimpl.UnknownFields
  382. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  383. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  384. ReplicaPlacement uint32 `protobuf:"varint,8,opt,name=replica_placement,json=replicaPlacement,proto3" json:"replica_placement,omitempty"`
  385. Version uint32 `protobuf:"varint,9,opt,name=version,proto3" json:"version,omitempty"`
  386. Ttl uint32 `protobuf:"varint,10,opt,name=ttl,proto3" json:"ttl,omitempty"`
  387. DiskType string `protobuf:"bytes,15,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  388. }
  389. func (x *VolumeShortInformationMessage) Reset() {
  390. *x = VolumeShortInformationMessage{}
  391. if protoimpl.UnsafeEnabled {
  392. mi := &file_master_proto_msgTypes[3]
  393. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  394. ms.StoreMessageInfo(mi)
  395. }
  396. }
  397. func (x *VolumeShortInformationMessage) String() string {
  398. return protoimpl.X.MessageStringOf(x)
  399. }
  400. func (*VolumeShortInformationMessage) ProtoMessage() {}
  401. func (x *VolumeShortInformationMessage) ProtoReflect() protoreflect.Message {
  402. mi := &file_master_proto_msgTypes[3]
  403. if protoimpl.UnsafeEnabled && x != nil {
  404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  405. if ms.LoadMessageInfo() == nil {
  406. ms.StoreMessageInfo(mi)
  407. }
  408. return ms
  409. }
  410. return mi.MessageOf(x)
  411. }
  412. // Deprecated: Use VolumeShortInformationMessage.ProtoReflect.Descriptor instead.
  413. func (*VolumeShortInformationMessage) Descriptor() ([]byte, []int) {
  414. return file_master_proto_rawDescGZIP(), []int{3}
  415. }
  416. func (x *VolumeShortInformationMessage) GetId() uint32 {
  417. if x != nil {
  418. return x.Id
  419. }
  420. return 0
  421. }
  422. func (x *VolumeShortInformationMessage) GetCollection() string {
  423. if x != nil {
  424. return x.Collection
  425. }
  426. return ""
  427. }
  428. func (x *VolumeShortInformationMessage) GetReplicaPlacement() uint32 {
  429. if x != nil {
  430. return x.ReplicaPlacement
  431. }
  432. return 0
  433. }
  434. func (x *VolumeShortInformationMessage) GetVersion() uint32 {
  435. if x != nil {
  436. return x.Version
  437. }
  438. return 0
  439. }
  440. func (x *VolumeShortInformationMessage) GetTtl() uint32 {
  441. if x != nil {
  442. return x.Ttl
  443. }
  444. return 0
  445. }
  446. func (x *VolumeShortInformationMessage) GetDiskType() string {
  447. if x != nil {
  448. return x.DiskType
  449. }
  450. return ""
  451. }
  452. type VolumeEcShardInformationMessage struct {
  453. state protoimpl.MessageState
  454. sizeCache protoimpl.SizeCache
  455. unknownFields protoimpl.UnknownFields
  456. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  457. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  458. EcIndexBits uint32 `protobuf:"varint,3,opt,name=ec_index_bits,json=ecIndexBits,proto3" json:"ec_index_bits,omitempty"`
  459. DiskType string `protobuf:"bytes,4,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  460. }
  461. func (x *VolumeEcShardInformationMessage) Reset() {
  462. *x = VolumeEcShardInformationMessage{}
  463. if protoimpl.UnsafeEnabled {
  464. mi := &file_master_proto_msgTypes[4]
  465. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  466. ms.StoreMessageInfo(mi)
  467. }
  468. }
  469. func (x *VolumeEcShardInformationMessage) String() string {
  470. return protoimpl.X.MessageStringOf(x)
  471. }
  472. func (*VolumeEcShardInformationMessage) ProtoMessage() {}
  473. func (x *VolumeEcShardInformationMessage) ProtoReflect() protoreflect.Message {
  474. mi := &file_master_proto_msgTypes[4]
  475. if protoimpl.UnsafeEnabled && x != nil {
  476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  477. if ms.LoadMessageInfo() == nil {
  478. ms.StoreMessageInfo(mi)
  479. }
  480. return ms
  481. }
  482. return mi.MessageOf(x)
  483. }
  484. // Deprecated: Use VolumeEcShardInformationMessage.ProtoReflect.Descriptor instead.
  485. func (*VolumeEcShardInformationMessage) Descriptor() ([]byte, []int) {
  486. return file_master_proto_rawDescGZIP(), []int{4}
  487. }
  488. func (x *VolumeEcShardInformationMessage) GetId() uint32 {
  489. if x != nil {
  490. return x.Id
  491. }
  492. return 0
  493. }
  494. func (x *VolumeEcShardInformationMessage) GetCollection() string {
  495. if x != nil {
  496. return x.Collection
  497. }
  498. return ""
  499. }
  500. func (x *VolumeEcShardInformationMessage) GetEcIndexBits() uint32 {
  501. if x != nil {
  502. return x.EcIndexBits
  503. }
  504. return 0
  505. }
  506. func (x *VolumeEcShardInformationMessage) GetDiskType() string {
  507. if x != nil {
  508. return x.DiskType
  509. }
  510. return ""
  511. }
  512. type StorageBackend struct {
  513. state protoimpl.MessageState
  514. sizeCache protoimpl.SizeCache
  515. unknownFields protoimpl.UnknownFields
  516. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  517. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
  518. Properties map[string]string `protobuf:"bytes,3,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  519. }
  520. func (x *StorageBackend) Reset() {
  521. *x = StorageBackend{}
  522. if protoimpl.UnsafeEnabled {
  523. mi := &file_master_proto_msgTypes[5]
  524. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  525. ms.StoreMessageInfo(mi)
  526. }
  527. }
  528. func (x *StorageBackend) String() string {
  529. return protoimpl.X.MessageStringOf(x)
  530. }
  531. func (*StorageBackend) ProtoMessage() {}
  532. func (x *StorageBackend) ProtoReflect() protoreflect.Message {
  533. mi := &file_master_proto_msgTypes[5]
  534. if protoimpl.UnsafeEnabled && x != nil {
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. if ms.LoadMessageInfo() == nil {
  537. ms.StoreMessageInfo(mi)
  538. }
  539. return ms
  540. }
  541. return mi.MessageOf(x)
  542. }
  543. // Deprecated: Use StorageBackend.ProtoReflect.Descriptor instead.
  544. func (*StorageBackend) Descriptor() ([]byte, []int) {
  545. return file_master_proto_rawDescGZIP(), []int{5}
  546. }
  547. func (x *StorageBackend) GetType() string {
  548. if x != nil {
  549. return x.Type
  550. }
  551. return ""
  552. }
  553. func (x *StorageBackend) GetId() string {
  554. if x != nil {
  555. return x.Id
  556. }
  557. return ""
  558. }
  559. func (x *StorageBackend) GetProperties() map[string]string {
  560. if x != nil {
  561. return x.Properties
  562. }
  563. return nil
  564. }
  565. type Empty struct {
  566. state protoimpl.MessageState
  567. sizeCache protoimpl.SizeCache
  568. unknownFields protoimpl.UnknownFields
  569. }
  570. func (x *Empty) Reset() {
  571. *x = Empty{}
  572. if protoimpl.UnsafeEnabled {
  573. mi := &file_master_proto_msgTypes[6]
  574. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  575. ms.StoreMessageInfo(mi)
  576. }
  577. }
  578. func (x *Empty) String() string {
  579. return protoimpl.X.MessageStringOf(x)
  580. }
  581. func (*Empty) ProtoMessage() {}
  582. func (x *Empty) ProtoReflect() protoreflect.Message {
  583. mi := &file_master_proto_msgTypes[6]
  584. if protoimpl.UnsafeEnabled && x != nil {
  585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  586. if ms.LoadMessageInfo() == nil {
  587. ms.StoreMessageInfo(mi)
  588. }
  589. return ms
  590. }
  591. return mi.MessageOf(x)
  592. }
  593. // Deprecated: Use Empty.ProtoReflect.Descriptor instead.
  594. func (*Empty) Descriptor() ([]byte, []int) {
  595. return file_master_proto_rawDescGZIP(), []int{6}
  596. }
  597. type SuperBlockExtra struct {
  598. state protoimpl.MessageState
  599. sizeCache protoimpl.SizeCache
  600. unknownFields protoimpl.UnknownFields
  601. ErasureCoding *SuperBlockExtra_ErasureCoding `protobuf:"bytes,1,opt,name=erasure_coding,json=erasureCoding,proto3" json:"erasure_coding,omitempty"`
  602. }
  603. func (x *SuperBlockExtra) Reset() {
  604. *x = SuperBlockExtra{}
  605. if protoimpl.UnsafeEnabled {
  606. mi := &file_master_proto_msgTypes[7]
  607. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  608. ms.StoreMessageInfo(mi)
  609. }
  610. }
  611. func (x *SuperBlockExtra) String() string {
  612. return protoimpl.X.MessageStringOf(x)
  613. }
  614. func (*SuperBlockExtra) ProtoMessage() {}
  615. func (x *SuperBlockExtra) ProtoReflect() protoreflect.Message {
  616. mi := &file_master_proto_msgTypes[7]
  617. if protoimpl.UnsafeEnabled && x != nil {
  618. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  619. if ms.LoadMessageInfo() == nil {
  620. ms.StoreMessageInfo(mi)
  621. }
  622. return ms
  623. }
  624. return mi.MessageOf(x)
  625. }
  626. // Deprecated: Use SuperBlockExtra.ProtoReflect.Descriptor instead.
  627. func (*SuperBlockExtra) Descriptor() ([]byte, []int) {
  628. return file_master_proto_rawDescGZIP(), []int{7}
  629. }
  630. func (x *SuperBlockExtra) GetErasureCoding() *SuperBlockExtra_ErasureCoding {
  631. if x != nil {
  632. return x.ErasureCoding
  633. }
  634. return nil
  635. }
  636. type KeepConnectedRequest struct {
  637. state protoimpl.MessageState
  638. sizeCache protoimpl.SizeCache
  639. unknownFields protoimpl.UnknownFields
  640. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  641. GrpcPort uint32 `protobuf:"varint,2,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"`
  642. }
  643. func (x *KeepConnectedRequest) Reset() {
  644. *x = KeepConnectedRequest{}
  645. if protoimpl.UnsafeEnabled {
  646. mi := &file_master_proto_msgTypes[8]
  647. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  648. ms.StoreMessageInfo(mi)
  649. }
  650. }
  651. func (x *KeepConnectedRequest) String() string {
  652. return protoimpl.X.MessageStringOf(x)
  653. }
  654. func (*KeepConnectedRequest) ProtoMessage() {}
  655. func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message {
  656. mi := &file_master_proto_msgTypes[8]
  657. if protoimpl.UnsafeEnabled && x != nil {
  658. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  659. if ms.LoadMessageInfo() == nil {
  660. ms.StoreMessageInfo(mi)
  661. }
  662. return ms
  663. }
  664. return mi.MessageOf(x)
  665. }
  666. // Deprecated: Use KeepConnectedRequest.ProtoReflect.Descriptor instead.
  667. func (*KeepConnectedRequest) Descriptor() ([]byte, []int) {
  668. return file_master_proto_rawDescGZIP(), []int{8}
  669. }
  670. func (x *KeepConnectedRequest) GetName() string {
  671. if x != nil {
  672. return x.Name
  673. }
  674. return ""
  675. }
  676. func (x *KeepConnectedRequest) GetGrpcPort() uint32 {
  677. if x != nil {
  678. return x.GrpcPort
  679. }
  680. return 0
  681. }
  682. type VolumeLocation struct {
  683. state protoimpl.MessageState
  684. sizeCache protoimpl.SizeCache
  685. unknownFields protoimpl.UnknownFields
  686. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  687. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  688. NewVids []uint32 `protobuf:"varint,3,rep,packed,name=new_vids,json=newVids,proto3" json:"new_vids,omitempty"`
  689. DeletedVids []uint32 `protobuf:"varint,4,rep,packed,name=deleted_vids,json=deletedVids,proto3" json:"deleted_vids,omitempty"`
  690. Leader string `protobuf:"bytes,5,opt,name=leader,proto3" json:"leader,omitempty"` // optional when leader is not itself
  691. DataCenter string `protobuf:"bytes,6,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"` // optional when DataCenter is in use
  692. }
  693. func (x *VolumeLocation) Reset() {
  694. *x = VolumeLocation{}
  695. if protoimpl.UnsafeEnabled {
  696. mi := &file_master_proto_msgTypes[9]
  697. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  698. ms.StoreMessageInfo(mi)
  699. }
  700. }
  701. func (x *VolumeLocation) String() string {
  702. return protoimpl.X.MessageStringOf(x)
  703. }
  704. func (*VolumeLocation) ProtoMessage() {}
  705. func (x *VolumeLocation) ProtoReflect() protoreflect.Message {
  706. mi := &file_master_proto_msgTypes[9]
  707. if protoimpl.UnsafeEnabled && x != nil {
  708. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  709. if ms.LoadMessageInfo() == nil {
  710. ms.StoreMessageInfo(mi)
  711. }
  712. return ms
  713. }
  714. return mi.MessageOf(x)
  715. }
  716. // Deprecated: Use VolumeLocation.ProtoReflect.Descriptor instead.
  717. func (*VolumeLocation) Descriptor() ([]byte, []int) {
  718. return file_master_proto_rawDescGZIP(), []int{9}
  719. }
  720. func (x *VolumeLocation) GetUrl() string {
  721. if x != nil {
  722. return x.Url
  723. }
  724. return ""
  725. }
  726. func (x *VolumeLocation) GetPublicUrl() string {
  727. if x != nil {
  728. return x.PublicUrl
  729. }
  730. return ""
  731. }
  732. func (x *VolumeLocation) GetNewVids() []uint32 {
  733. if x != nil {
  734. return x.NewVids
  735. }
  736. return nil
  737. }
  738. func (x *VolumeLocation) GetDeletedVids() []uint32 {
  739. if x != nil {
  740. return x.DeletedVids
  741. }
  742. return nil
  743. }
  744. func (x *VolumeLocation) GetLeader() string {
  745. if x != nil {
  746. return x.Leader
  747. }
  748. return ""
  749. }
  750. func (x *VolumeLocation) GetDataCenter() string {
  751. if x != nil {
  752. return x.DataCenter
  753. }
  754. return ""
  755. }
  756. type LookupVolumeRequest struct {
  757. state protoimpl.MessageState
  758. sizeCache protoimpl.SizeCache
  759. unknownFields protoimpl.UnknownFields
  760. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
  761. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"` // optional, a bit faster if provided.
  762. }
  763. func (x *LookupVolumeRequest) Reset() {
  764. *x = LookupVolumeRequest{}
  765. if protoimpl.UnsafeEnabled {
  766. mi := &file_master_proto_msgTypes[10]
  767. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  768. ms.StoreMessageInfo(mi)
  769. }
  770. }
  771. func (x *LookupVolumeRequest) String() string {
  772. return protoimpl.X.MessageStringOf(x)
  773. }
  774. func (*LookupVolumeRequest) ProtoMessage() {}
  775. func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message {
  776. mi := &file_master_proto_msgTypes[10]
  777. if protoimpl.UnsafeEnabled && x != nil {
  778. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  779. if ms.LoadMessageInfo() == nil {
  780. ms.StoreMessageInfo(mi)
  781. }
  782. return ms
  783. }
  784. return mi.MessageOf(x)
  785. }
  786. // Deprecated: Use LookupVolumeRequest.ProtoReflect.Descriptor instead.
  787. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) {
  788. return file_master_proto_rawDescGZIP(), []int{10}
  789. }
  790. func (x *LookupVolumeRequest) GetVolumeIds() []string {
  791. if x != nil {
  792. return x.VolumeIds
  793. }
  794. return nil
  795. }
  796. func (x *LookupVolumeRequest) GetCollection() string {
  797. if x != nil {
  798. return x.Collection
  799. }
  800. return ""
  801. }
  802. type LookupVolumeResponse struct {
  803. state protoimpl.MessageState
  804. sizeCache protoimpl.SizeCache
  805. unknownFields protoimpl.UnknownFields
  806. VolumeIdLocations []*LookupVolumeResponse_VolumeIdLocation `protobuf:"bytes,1,rep,name=volume_id_locations,json=volumeIdLocations,proto3" json:"volume_id_locations,omitempty"`
  807. }
  808. func (x *LookupVolumeResponse) Reset() {
  809. *x = LookupVolumeResponse{}
  810. if protoimpl.UnsafeEnabled {
  811. mi := &file_master_proto_msgTypes[11]
  812. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  813. ms.StoreMessageInfo(mi)
  814. }
  815. }
  816. func (x *LookupVolumeResponse) String() string {
  817. return protoimpl.X.MessageStringOf(x)
  818. }
  819. func (*LookupVolumeResponse) ProtoMessage() {}
  820. func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message {
  821. mi := &file_master_proto_msgTypes[11]
  822. if protoimpl.UnsafeEnabled && x != nil {
  823. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  824. if ms.LoadMessageInfo() == nil {
  825. ms.StoreMessageInfo(mi)
  826. }
  827. return ms
  828. }
  829. return mi.MessageOf(x)
  830. }
  831. // Deprecated: Use LookupVolumeResponse.ProtoReflect.Descriptor instead.
  832. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) {
  833. return file_master_proto_rawDescGZIP(), []int{11}
  834. }
  835. func (x *LookupVolumeResponse) GetVolumeIdLocations() []*LookupVolumeResponse_VolumeIdLocation {
  836. if x != nil {
  837. return x.VolumeIdLocations
  838. }
  839. return nil
  840. }
  841. type Location struct {
  842. state protoimpl.MessageState
  843. sizeCache protoimpl.SizeCache
  844. unknownFields protoimpl.UnknownFields
  845. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  846. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  847. }
  848. func (x *Location) Reset() {
  849. *x = Location{}
  850. if protoimpl.UnsafeEnabled {
  851. mi := &file_master_proto_msgTypes[12]
  852. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  853. ms.StoreMessageInfo(mi)
  854. }
  855. }
  856. func (x *Location) String() string {
  857. return protoimpl.X.MessageStringOf(x)
  858. }
  859. func (*Location) ProtoMessage() {}
  860. func (x *Location) ProtoReflect() protoreflect.Message {
  861. mi := &file_master_proto_msgTypes[12]
  862. if protoimpl.UnsafeEnabled && x != nil {
  863. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  864. if ms.LoadMessageInfo() == nil {
  865. ms.StoreMessageInfo(mi)
  866. }
  867. return ms
  868. }
  869. return mi.MessageOf(x)
  870. }
  871. // Deprecated: Use Location.ProtoReflect.Descriptor instead.
  872. func (*Location) Descriptor() ([]byte, []int) {
  873. return file_master_proto_rawDescGZIP(), []int{12}
  874. }
  875. func (x *Location) GetUrl() string {
  876. if x != nil {
  877. return x.Url
  878. }
  879. return ""
  880. }
  881. func (x *Location) GetPublicUrl() string {
  882. if x != nil {
  883. return x.PublicUrl
  884. }
  885. return ""
  886. }
  887. type AssignRequest struct {
  888. state protoimpl.MessageState
  889. sizeCache protoimpl.SizeCache
  890. unknownFields protoimpl.UnknownFields
  891. Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
  892. Replication string `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
  893. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  894. Ttl string `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
  895. DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
  896. Rack string `protobuf:"bytes,6,opt,name=rack,proto3" json:"rack,omitempty"`
  897. DataNode string `protobuf:"bytes,7,opt,name=data_node,json=dataNode,proto3" json:"data_node,omitempty"`
  898. MemoryMapMaxSizeMb uint32 `protobuf:"varint,8,opt,name=memory_map_max_size_mb,json=memoryMapMaxSizeMb,proto3" json:"memory_map_max_size_mb,omitempty"`
  899. WritableVolumeCount uint32 `protobuf:"varint,9,opt,name=Writable_volume_count,json=WritableVolumeCount,proto3" json:"Writable_volume_count,omitempty"`
  900. DiskType string `protobuf:"bytes,10,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  901. }
  902. func (x *AssignRequest) Reset() {
  903. *x = AssignRequest{}
  904. if protoimpl.UnsafeEnabled {
  905. mi := &file_master_proto_msgTypes[13]
  906. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  907. ms.StoreMessageInfo(mi)
  908. }
  909. }
  910. func (x *AssignRequest) String() string {
  911. return protoimpl.X.MessageStringOf(x)
  912. }
  913. func (*AssignRequest) ProtoMessage() {}
  914. func (x *AssignRequest) ProtoReflect() protoreflect.Message {
  915. mi := &file_master_proto_msgTypes[13]
  916. if protoimpl.UnsafeEnabled && x != nil {
  917. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  918. if ms.LoadMessageInfo() == nil {
  919. ms.StoreMessageInfo(mi)
  920. }
  921. return ms
  922. }
  923. return mi.MessageOf(x)
  924. }
  925. // Deprecated: Use AssignRequest.ProtoReflect.Descriptor instead.
  926. func (*AssignRequest) Descriptor() ([]byte, []int) {
  927. return file_master_proto_rawDescGZIP(), []int{13}
  928. }
  929. func (x *AssignRequest) GetCount() uint64 {
  930. if x != nil {
  931. return x.Count
  932. }
  933. return 0
  934. }
  935. func (x *AssignRequest) GetReplication() string {
  936. if x != nil {
  937. return x.Replication
  938. }
  939. return ""
  940. }
  941. func (x *AssignRequest) GetCollection() string {
  942. if x != nil {
  943. return x.Collection
  944. }
  945. return ""
  946. }
  947. func (x *AssignRequest) GetTtl() string {
  948. if x != nil {
  949. return x.Ttl
  950. }
  951. return ""
  952. }
  953. func (x *AssignRequest) GetDataCenter() string {
  954. if x != nil {
  955. return x.DataCenter
  956. }
  957. return ""
  958. }
  959. func (x *AssignRequest) GetRack() string {
  960. if x != nil {
  961. return x.Rack
  962. }
  963. return ""
  964. }
  965. func (x *AssignRequest) GetDataNode() string {
  966. if x != nil {
  967. return x.DataNode
  968. }
  969. return ""
  970. }
  971. func (x *AssignRequest) GetMemoryMapMaxSizeMb() uint32 {
  972. if x != nil {
  973. return x.MemoryMapMaxSizeMb
  974. }
  975. return 0
  976. }
  977. func (x *AssignRequest) GetWritableVolumeCount() uint32 {
  978. if x != nil {
  979. return x.WritableVolumeCount
  980. }
  981. return 0
  982. }
  983. func (x *AssignRequest) GetDiskType() string {
  984. if x != nil {
  985. return x.DiskType
  986. }
  987. return ""
  988. }
  989. type AssignResponse struct {
  990. state protoimpl.MessageState
  991. sizeCache protoimpl.SizeCache
  992. unknownFields protoimpl.UnknownFields
  993. Fid string `protobuf:"bytes,1,opt,name=fid,proto3" json:"fid,omitempty"`
  994. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  995. PublicUrl string `protobuf:"bytes,3,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  996. Count uint64 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  997. Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
  998. Auth string `protobuf:"bytes,6,opt,name=auth,proto3" json:"auth,omitempty"`
  999. }
  1000. func (x *AssignResponse) Reset() {
  1001. *x = AssignResponse{}
  1002. if protoimpl.UnsafeEnabled {
  1003. mi := &file_master_proto_msgTypes[14]
  1004. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1005. ms.StoreMessageInfo(mi)
  1006. }
  1007. }
  1008. func (x *AssignResponse) String() string {
  1009. return protoimpl.X.MessageStringOf(x)
  1010. }
  1011. func (*AssignResponse) ProtoMessage() {}
  1012. func (x *AssignResponse) ProtoReflect() protoreflect.Message {
  1013. mi := &file_master_proto_msgTypes[14]
  1014. if protoimpl.UnsafeEnabled && x != nil {
  1015. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1016. if ms.LoadMessageInfo() == nil {
  1017. ms.StoreMessageInfo(mi)
  1018. }
  1019. return ms
  1020. }
  1021. return mi.MessageOf(x)
  1022. }
  1023. // Deprecated: Use AssignResponse.ProtoReflect.Descriptor instead.
  1024. func (*AssignResponse) Descriptor() ([]byte, []int) {
  1025. return file_master_proto_rawDescGZIP(), []int{14}
  1026. }
  1027. func (x *AssignResponse) GetFid() string {
  1028. if x != nil {
  1029. return x.Fid
  1030. }
  1031. return ""
  1032. }
  1033. func (x *AssignResponse) GetUrl() string {
  1034. if x != nil {
  1035. return x.Url
  1036. }
  1037. return ""
  1038. }
  1039. func (x *AssignResponse) GetPublicUrl() string {
  1040. if x != nil {
  1041. return x.PublicUrl
  1042. }
  1043. return ""
  1044. }
  1045. func (x *AssignResponse) GetCount() uint64 {
  1046. if x != nil {
  1047. return x.Count
  1048. }
  1049. return 0
  1050. }
  1051. func (x *AssignResponse) GetError() string {
  1052. if x != nil {
  1053. return x.Error
  1054. }
  1055. return ""
  1056. }
  1057. func (x *AssignResponse) GetAuth() string {
  1058. if x != nil {
  1059. return x.Auth
  1060. }
  1061. return ""
  1062. }
  1063. type StatisticsRequest struct {
  1064. state protoimpl.MessageState
  1065. sizeCache protoimpl.SizeCache
  1066. unknownFields protoimpl.UnknownFields
  1067. Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
  1068. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  1069. Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  1070. DiskType string `protobuf:"bytes,4,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  1071. }
  1072. func (x *StatisticsRequest) Reset() {
  1073. *x = StatisticsRequest{}
  1074. if protoimpl.UnsafeEnabled {
  1075. mi := &file_master_proto_msgTypes[15]
  1076. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1077. ms.StoreMessageInfo(mi)
  1078. }
  1079. }
  1080. func (x *StatisticsRequest) String() string {
  1081. return protoimpl.X.MessageStringOf(x)
  1082. }
  1083. func (*StatisticsRequest) ProtoMessage() {}
  1084. func (x *StatisticsRequest) ProtoReflect() protoreflect.Message {
  1085. mi := &file_master_proto_msgTypes[15]
  1086. if protoimpl.UnsafeEnabled && x != nil {
  1087. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1088. if ms.LoadMessageInfo() == nil {
  1089. ms.StoreMessageInfo(mi)
  1090. }
  1091. return ms
  1092. }
  1093. return mi.MessageOf(x)
  1094. }
  1095. // Deprecated: Use StatisticsRequest.ProtoReflect.Descriptor instead.
  1096. func (*StatisticsRequest) Descriptor() ([]byte, []int) {
  1097. return file_master_proto_rawDescGZIP(), []int{15}
  1098. }
  1099. func (x *StatisticsRequest) GetReplication() string {
  1100. if x != nil {
  1101. return x.Replication
  1102. }
  1103. return ""
  1104. }
  1105. func (x *StatisticsRequest) GetCollection() string {
  1106. if x != nil {
  1107. return x.Collection
  1108. }
  1109. return ""
  1110. }
  1111. func (x *StatisticsRequest) GetTtl() string {
  1112. if x != nil {
  1113. return x.Ttl
  1114. }
  1115. return ""
  1116. }
  1117. func (x *StatisticsRequest) GetDiskType() string {
  1118. if x != nil {
  1119. return x.DiskType
  1120. }
  1121. return ""
  1122. }
  1123. type StatisticsResponse struct {
  1124. state protoimpl.MessageState
  1125. sizeCache protoimpl.SizeCache
  1126. unknownFields protoimpl.UnknownFields
  1127. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
  1128. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"`
  1129. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
  1130. }
  1131. func (x *StatisticsResponse) Reset() {
  1132. *x = StatisticsResponse{}
  1133. if protoimpl.UnsafeEnabled {
  1134. mi := &file_master_proto_msgTypes[16]
  1135. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1136. ms.StoreMessageInfo(mi)
  1137. }
  1138. }
  1139. func (x *StatisticsResponse) String() string {
  1140. return protoimpl.X.MessageStringOf(x)
  1141. }
  1142. func (*StatisticsResponse) ProtoMessage() {}
  1143. func (x *StatisticsResponse) ProtoReflect() protoreflect.Message {
  1144. mi := &file_master_proto_msgTypes[16]
  1145. if protoimpl.UnsafeEnabled && x != nil {
  1146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1147. if ms.LoadMessageInfo() == nil {
  1148. ms.StoreMessageInfo(mi)
  1149. }
  1150. return ms
  1151. }
  1152. return mi.MessageOf(x)
  1153. }
  1154. // Deprecated: Use StatisticsResponse.ProtoReflect.Descriptor instead.
  1155. func (*StatisticsResponse) Descriptor() ([]byte, []int) {
  1156. return file_master_proto_rawDescGZIP(), []int{16}
  1157. }
  1158. func (x *StatisticsResponse) GetTotalSize() uint64 {
  1159. if x != nil {
  1160. return x.TotalSize
  1161. }
  1162. return 0
  1163. }
  1164. func (x *StatisticsResponse) GetUsedSize() uint64 {
  1165. if x != nil {
  1166. return x.UsedSize
  1167. }
  1168. return 0
  1169. }
  1170. func (x *StatisticsResponse) GetFileCount() uint64 {
  1171. if x != nil {
  1172. return x.FileCount
  1173. }
  1174. return 0
  1175. }
  1176. //
  1177. // collection related
  1178. //
  1179. type Collection struct {
  1180. state protoimpl.MessageState
  1181. sizeCache protoimpl.SizeCache
  1182. unknownFields protoimpl.UnknownFields
  1183. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1184. }
  1185. func (x *Collection) Reset() {
  1186. *x = Collection{}
  1187. if protoimpl.UnsafeEnabled {
  1188. mi := &file_master_proto_msgTypes[17]
  1189. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1190. ms.StoreMessageInfo(mi)
  1191. }
  1192. }
  1193. func (x *Collection) String() string {
  1194. return protoimpl.X.MessageStringOf(x)
  1195. }
  1196. func (*Collection) ProtoMessage() {}
  1197. func (x *Collection) ProtoReflect() protoreflect.Message {
  1198. mi := &file_master_proto_msgTypes[17]
  1199. if protoimpl.UnsafeEnabled && x != nil {
  1200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1201. if ms.LoadMessageInfo() == nil {
  1202. ms.StoreMessageInfo(mi)
  1203. }
  1204. return ms
  1205. }
  1206. return mi.MessageOf(x)
  1207. }
  1208. // Deprecated: Use Collection.ProtoReflect.Descriptor instead.
  1209. func (*Collection) Descriptor() ([]byte, []int) {
  1210. return file_master_proto_rawDescGZIP(), []int{17}
  1211. }
  1212. func (x *Collection) GetName() string {
  1213. if x != nil {
  1214. return x.Name
  1215. }
  1216. return ""
  1217. }
  1218. type CollectionListRequest struct {
  1219. state protoimpl.MessageState
  1220. sizeCache protoimpl.SizeCache
  1221. unknownFields protoimpl.UnknownFields
  1222. IncludeNormalVolumes bool `protobuf:"varint,1,opt,name=include_normal_volumes,json=includeNormalVolumes,proto3" json:"include_normal_volumes,omitempty"`
  1223. IncludeEcVolumes bool `protobuf:"varint,2,opt,name=include_ec_volumes,json=includeEcVolumes,proto3" json:"include_ec_volumes,omitempty"`
  1224. }
  1225. func (x *CollectionListRequest) Reset() {
  1226. *x = CollectionListRequest{}
  1227. if protoimpl.UnsafeEnabled {
  1228. mi := &file_master_proto_msgTypes[18]
  1229. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1230. ms.StoreMessageInfo(mi)
  1231. }
  1232. }
  1233. func (x *CollectionListRequest) String() string {
  1234. return protoimpl.X.MessageStringOf(x)
  1235. }
  1236. func (*CollectionListRequest) ProtoMessage() {}
  1237. func (x *CollectionListRequest) ProtoReflect() protoreflect.Message {
  1238. mi := &file_master_proto_msgTypes[18]
  1239. if protoimpl.UnsafeEnabled && x != nil {
  1240. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1241. if ms.LoadMessageInfo() == nil {
  1242. ms.StoreMessageInfo(mi)
  1243. }
  1244. return ms
  1245. }
  1246. return mi.MessageOf(x)
  1247. }
  1248. // Deprecated: Use CollectionListRequest.ProtoReflect.Descriptor instead.
  1249. func (*CollectionListRequest) Descriptor() ([]byte, []int) {
  1250. return file_master_proto_rawDescGZIP(), []int{18}
  1251. }
  1252. func (x *CollectionListRequest) GetIncludeNormalVolumes() bool {
  1253. if x != nil {
  1254. return x.IncludeNormalVolumes
  1255. }
  1256. return false
  1257. }
  1258. func (x *CollectionListRequest) GetIncludeEcVolumes() bool {
  1259. if x != nil {
  1260. return x.IncludeEcVolumes
  1261. }
  1262. return false
  1263. }
  1264. type CollectionListResponse struct {
  1265. state protoimpl.MessageState
  1266. sizeCache protoimpl.SizeCache
  1267. unknownFields protoimpl.UnknownFields
  1268. Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
  1269. }
  1270. func (x *CollectionListResponse) Reset() {
  1271. *x = CollectionListResponse{}
  1272. if protoimpl.UnsafeEnabled {
  1273. mi := &file_master_proto_msgTypes[19]
  1274. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1275. ms.StoreMessageInfo(mi)
  1276. }
  1277. }
  1278. func (x *CollectionListResponse) String() string {
  1279. return protoimpl.X.MessageStringOf(x)
  1280. }
  1281. func (*CollectionListResponse) ProtoMessage() {}
  1282. func (x *CollectionListResponse) ProtoReflect() protoreflect.Message {
  1283. mi := &file_master_proto_msgTypes[19]
  1284. if protoimpl.UnsafeEnabled && x != nil {
  1285. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1286. if ms.LoadMessageInfo() == nil {
  1287. ms.StoreMessageInfo(mi)
  1288. }
  1289. return ms
  1290. }
  1291. return mi.MessageOf(x)
  1292. }
  1293. // Deprecated: Use CollectionListResponse.ProtoReflect.Descriptor instead.
  1294. func (*CollectionListResponse) Descriptor() ([]byte, []int) {
  1295. return file_master_proto_rawDescGZIP(), []int{19}
  1296. }
  1297. func (x *CollectionListResponse) GetCollections() []*Collection {
  1298. if x != nil {
  1299. return x.Collections
  1300. }
  1301. return nil
  1302. }
  1303. type CollectionDeleteRequest struct {
  1304. state protoimpl.MessageState
  1305. sizeCache protoimpl.SizeCache
  1306. unknownFields protoimpl.UnknownFields
  1307. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1308. }
  1309. func (x *CollectionDeleteRequest) Reset() {
  1310. *x = CollectionDeleteRequest{}
  1311. if protoimpl.UnsafeEnabled {
  1312. mi := &file_master_proto_msgTypes[20]
  1313. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1314. ms.StoreMessageInfo(mi)
  1315. }
  1316. }
  1317. func (x *CollectionDeleteRequest) String() string {
  1318. return protoimpl.X.MessageStringOf(x)
  1319. }
  1320. func (*CollectionDeleteRequest) ProtoMessage() {}
  1321. func (x *CollectionDeleteRequest) ProtoReflect() protoreflect.Message {
  1322. mi := &file_master_proto_msgTypes[20]
  1323. if protoimpl.UnsafeEnabled && x != nil {
  1324. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1325. if ms.LoadMessageInfo() == nil {
  1326. ms.StoreMessageInfo(mi)
  1327. }
  1328. return ms
  1329. }
  1330. return mi.MessageOf(x)
  1331. }
  1332. // Deprecated: Use CollectionDeleteRequest.ProtoReflect.Descriptor instead.
  1333. func (*CollectionDeleteRequest) Descriptor() ([]byte, []int) {
  1334. return file_master_proto_rawDescGZIP(), []int{20}
  1335. }
  1336. func (x *CollectionDeleteRequest) GetName() string {
  1337. if x != nil {
  1338. return x.Name
  1339. }
  1340. return ""
  1341. }
  1342. type CollectionDeleteResponse struct {
  1343. state protoimpl.MessageState
  1344. sizeCache protoimpl.SizeCache
  1345. unknownFields protoimpl.UnknownFields
  1346. }
  1347. func (x *CollectionDeleteResponse) Reset() {
  1348. *x = CollectionDeleteResponse{}
  1349. if protoimpl.UnsafeEnabled {
  1350. mi := &file_master_proto_msgTypes[21]
  1351. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1352. ms.StoreMessageInfo(mi)
  1353. }
  1354. }
  1355. func (x *CollectionDeleteResponse) String() string {
  1356. return protoimpl.X.MessageStringOf(x)
  1357. }
  1358. func (*CollectionDeleteResponse) ProtoMessage() {}
  1359. func (x *CollectionDeleteResponse) ProtoReflect() protoreflect.Message {
  1360. mi := &file_master_proto_msgTypes[21]
  1361. if protoimpl.UnsafeEnabled && x != nil {
  1362. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1363. if ms.LoadMessageInfo() == nil {
  1364. ms.StoreMessageInfo(mi)
  1365. }
  1366. return ms
  1367. }
  1368. return mi.MessageOf(x)
  1369. }
  1370. // Deprecated: Use CollectionDeleteResponse.ProtoReflect.Descriptor instead.
  1371. func (*CollectionDeleteResponse) Descriptor() ([]byte, []int) {
  1372. return file_master_proto_rawDescGZIP(), []int{21}
  1373. }
  1374. //
  1375. // volume related
  1376. //
  1377. type DiskInfo struct {
  1378. state protoimpl.MessageState
  1379. sizeCache protoimpl.SizeCache
  1380. unknownFields protoimpl.UnknownFields
  1381. Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
  1382. VolumeCount int64 `protobuf:"varint,2,opt,name=volume_count,json=volumeCount,proto3" json:"volume_count,omitempty"`
  1383. MaxVolumeCount int64 `protobuf:"varint,3,opt,name=max_volume_count,json=maxVolumeCount,proto3" json:"max_volume_count,omitempty"`
  1384. FreeVolumeCount int64 `protobuf:"varint,4,opt,name=free_volume_count,json=freeVolumeCount,proto3" json:"free_volume_count,omitempty"`
  1385. ActiveVolumeCount int64 `protobuf:"varint,5,opt,name=active_volume_count,json=activeVolumeCount,proto3" json:"active_volume_count,omitempty"`
  1386. VolumeInfos []*VolumeInformationMessage `protobuf:"bytes,6,rep,name=volume_infos,json=volumeInfos,proto3" json:"volume_infos,omitempty"`
  1387. EcShardInfos []*VolumeEcShardInformationMessage `protobuf:"bytes,7,rep,name=ec_shard_infos,json=ecShardInfos,proto3" json:"ec_shard_infos,omitempty"`
  1388. RemoteVolumeCount int64 `protobuf:"varint,8,opt,name=remote_volume_count,json=remoteVolumeCount,proto3" json:"remote_volume_count,omitempty"`
  1389. }
  1390. func (x *DiskInfo) Reset() {
  1391. *x = DiskInfo{}
  1392. if protoimpl.UnsafeEnabled {
  1393. mi := &file_master_proto_msgTypes[22]
  1394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1395. ms.StoreMessageInfo(mi)
  1396. }
  1397. }
  1398. func (x *DiskInfo) String() string {
  1399. return protoimpl.X.MessageStringOf(x)
  1400. }
  1401. func (*DiskInfo) ProtoMessage() {}
  1402. func (x *DiskInfo) ProtoReflect() protoreflect.Message {
  1403. mi := &file_master_proto_msgTypes[22]
  1404. if protoimpl.UnsafeEnabled && x != nil {
  1405. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1406. if ms.LoadMessageInfo() == nil {
  1407. ms.StoreMessageInfo(mi)
  1408. }
  1409. return ms
  1410. }
  1411. return mi.MessageOf(x)
  1412. }
  1413. // Deprecated: Use DiskInfo.ProtoReflect.Descriptor instead.
  1414. func (*DiskInfo) Descriptor() ([]byte, []int) {
  1415. return file_master_proto_rawDescGZIP(), []int{22}
  1416. }
  1417. func (x *DiskInfo) GetType() string {
  1418. if x != nil {
  1419. return x.Type
  1420. }
  1421. return ""
  1422. }
  1423. func (x *DiskInfo) GetVolumeCount() int64 {
  1424. if x != nil {
  1425. return x.VolumeCount
  1426. }
  1427. return 0
  1428. }
  1429. func (x *DiskInfo) GetMaxVolumeCount() int64 {
  1430. if x != nil {
  1431. return x.MaxVolumeCount
  1432. }
  1433. return 0
  1434. }
  1435. func (x *DiskInfo) GetFreeVolumeCount() int64 {
  1436. if x != nil {
  1437. return x.FreeVolumeCount
  1438. }
  1439. return 0
  1440. }
  1441. func (x *DiskInfo) GetActiveVolumeCount() int64 {
  1442. if x != nil {
  1443. return x.ActiveVolumeCount
  1444. }
  1445. return 0
  1446. }
  1447. func (x *DiskInfo) GetVolumeInfos() []*VolumeInformationMessage {
  1448. if x != nil {
  1449. return x.VolumeInfos
  1450. }
  1451. return nil
  1452. }
  1453. func (x *DiskInfo) GetEcShardInfos() []*VolumeEcShardInformationMessage {
  1454. if x != nil {
  1455. return x.EcShardInfos
  1456. }
  1457. return nil
  1458. }
  1459. func (x *DiskInfo) GetRemoteVolumeCount() int64 {
  1460. if x != nil {
  1461. return x.RemoteVolumeCount
  1462. }
  1463. return 0
  1464. }
  1465. type DataNodeInfo struct {
  1466. state protoimpl.MessageState
  1467. sizeCache protoimpl.SizeCache
  1468. unknownFields protoimpl.UnknownFields
  1469. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1470. DiskInfos map[string]*DiskInfo `protobuf:"bytes,2,rep,name=diskInfos,proto3" json:"diskInfos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1471. }
  1472. func (x *DataNodeInfo) Reset() {
  1473. *x = DataNodeInfo{}
  1474. if protoimpl.UnsafeEnabled {
  1475. mi := &file_master_proto_msgTypes[23]
  1476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1477. ms.StoreMessageInfo(mi)
  1478. }
  1479. }
  1480. func (x *DataNodeInfo) String() string {
  1481. return protoimpl.X.MessageStringOf(x)
  1482. }
  1483. func (*DataNodeInfo) ProtoMessage() {}
  1484. func (x *DataNodeInfo) ProtoReflect() protoreflect.Message {
  1485. mi := &file_master_proto_msgTypes[23]
  1486. if protoimpl.UnsafeEnabled && x != nil {
  1487. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1488. if ms.LoadMessageInfo() == nil {
  1489. ms.StoreMessageInfo(mi)
  1490. }
  1491. return ms
  1492. }
  1493. return mi.MessageOf(x)
  1494. }
  1495. // Deprecated: Use DataNodeInfo.ProtoReflect.Descriptor instead.
  1496. func (*DataNodeInfo) Descriptor() ([]byte, []int) {
  1497. return file_master_proto_rawDescGZIP(), []int{23}
  1498. }
  1499. func (x *DataNodeInfo) GetId() string {
  1500. if x != nil {
  1501. return x.Id
  1502. }
  1503. return ""
  1504. }
  1505. func (x *DataNodeInfo) GetDiskInfos() map[string]*DiskInfo {
  1506. if x != nil {
  1507. return x.DiskInfos
  1508. }
  1509. return nil
  1510. }
  1511. type RackInfo struct {
  1512. state protoimpl.MessageState
  1513. sizeCache protoimpl.SizeCache
  1514. unknownFields protoimpl.UnknownFields
  1515. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1516. DataNodeInfos []*DataNodeInfo `protobuf:"bytes,2,rep,name=data_node_infos,json=dataNodeInfos,proto3" json:"data_node_infos,omitempty"`
  1517. DiskInfos map[string]*DiskInfo `protobuf:"bytes,3,rep,name=diskInfos,proto3" json:"diskInfos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1518. }
  1519. func (x *RackInfo) Reset() {
  1520. *x = RackInfo{}
  1521. if protoimpl.UnsafeEnabled {
  1522. mi := &file_master_proto_msgTypes[24]
  1523. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1524. ms.StoreMessageInfo(mi)
  1525. }
  1526. }
  1527. func (x *RackInfo) String() string {
  1528. return protoimpl.X.MessageStringOf(x)
  1529. }
  1530. func (*RackInfo) ProtoMessage() {}
  1531. func (x *RackInfo) ProtoReflect() protoreflect.Message {
  1532. mi := &file_master_proto_msgTypes[24]
  1533. if protoimpl.UnsafeEnabled && x != nil {
  1534. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1535. if ms.LoadMessageInfo() == nil {
  1536. ms.StoreMessageInfo(mi)
  1537. }
  1538. return ms
  1539. }
  1540. return mi.MessageOf(x)
  1541. }
  1542. // Deprecated: Use RackInfo.ProtoReflect.Descriptor instead.
  1543. func (*RackInfo) Descriptor() ([]byte, []int) {
  1544. return file_master_proto_rawDescGZIP(), []int{24}
  1545. }
  1546. func (x *RackInfo) GetId() string {
  1547. if x != nil {
  1548. return x.Id
  1549. }
  1550. return ""
  1551. }
  1552. func (x *RackInfo) GetDataNodeInfos() []*DataNodeInfo {
  1553. if x != nil {
  1554. return x.DataNodeInfos
  1555. }
  1556. return nil
  1557. }
  1558. func (x *RackInfo) GetDiskInfos() map[string]*DiskInfo {
  1559. if x != nil {
  1560. return x.DiskInfos
  1561. }
  1562. return nil
  1563. }
  1564. type DataCenterInfo struct {
  1565. state protoimpl.MessageState
  1566. sizeCache protoimpl.SizeCache
  1567. unknownFields protoimpl.UnknownFields
  1568. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1569. RackInfos []*RackInfo `protobuf:"bytes,2,rep,name=rack_infos,json=rackInfos,proto3" json:"rack_infos,omitempty"`
  1570. DiskInfos map[string]*DiskInfo `protobuf:"bytes,3,rep,name=diskInfos,proto3" json:"diskInfos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1571. }
  1572. func (x *DataCenterInfo) Reset() {
  1573. *x = DataCenterInfo{}
  1574. if protoimpl.UnsafeEnabled {
  1575. mi := &file_master_proto_msgTypes[25]
  1576. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1577. ms.StoreMessageInfo(mi)
  1578. }
  1579. }
  1580. func (x *DataCenterInfo) String() string {
  1581. return protoimpl.X.MessageStringOf(x)
  1582. }
  1583. func (*DataCenterInfo) ProtoMessage() {}
  1584. func (x *DataCenterInfo) ProtoReflect() protoreflect.Message {
  1585. mi := &file_master_proto_msgTypes[25]
  1586. if protoimpl.UnsafeEnabled && x != nil {
  1587. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1588. if ms.LoadMessageInfo() == nil {
  1589. ms.StoreMessageInfo(mi)
  1590. }
  1591. return ms
  1592. }
  1593. return mi.MessageOf(x)
  1594. }
  1595. // Deprecated: Use DataCenterInfo.ProtoReflect.Descriptor instead.
  1596. func (*DataCenterInfo) Descriptor() ([]byte, []int) {
  1597. return file_master_proto_rawDescGZIP(), []int{25}
  1598. }
  1599. func (x *DataCenterInfo) GetId() string {
  1600. if x != nil {
  1601. return x.Id
  1602. }
  1603. return ""
  1604. }
  1605. func (x *DataCenterInfo) GetRackInfos() []*RackInfo {
  1606. if x != nil {
  1607. return x.RackInfos
  1608. }
  1609. return nil
  1610. }
  1611. func (x *DataCenterInfo) GetDiskInfos() map[string]*DiskInfo {
  1612. if x != nil {
  1613. return x.DiskInfos
  1614. }
  1615. return nil
  1616. }
  1617. type TopologyInfo struct {
  1618. state protoimpl.MessageState
  1619. sizeCache protoimpl.SizeCache
  1620. unknownFields protoimpl.UnknownFields
  1621. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
  1622. DataCenterInfos []*DataCenterInfo `protobuf:"bytes,2,rep,name=data_center_infos,json=dataCenterInfos,proto3" json:"data_center_infos,omitempty"`
  1623. DiskInfos map[string]*DiskInfo `protobuf:"bytes,3,rep,name=diskInfos,proto3" json:"diskInfos,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
  1624. }
  1625. func (x *TopologyInfo) Reset() {
  1626. *x = TopologyInfo{}
  1627. if protoimpl.UnsafeEnabled {
  1628. mi := &file_master_proto_msgTypes[26]
  1629. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1630. ms.StoreMessageInfo(mi)
  1631. }
  1632. }
  1633. func (x *TopologyInfo) String() string {
  1634. return protoimpl.X.MessageStringOf(x)
  1635. }
  1636. func (*TopologyInfo) ProtoMessage() {}
  1637. func (x *TopologyInfo) ProtoReflect() protoreflect.Message {
  1638. mi := &file_master_proto_msgTypes[26]
  1639. if protoimpl.UnsafeEnabled && x != nil {
  1640. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1641. if ms.LoadMessageInfo() == nil {
  1642. ms.StoreMessageInfo(mi)
  1643. }
  1644. return ms
  1645. }
  1646. return mi.MessageOf(x)
  1647. }
  1648. // Deprecated: Use TopologyInfo.ProtoReflect.Descriptor instead.
  1649. func (*TopologyInfo) Descriptor() ([]byte, []int) {
  1650. return file_master_proto_rawDescGZIP(), []int{26}
  1651. }
  1652. func (x *TopologyInfo) GetId() string {
  1653. if x != nil {
  1654. return x.Id
  1655. }
  1656. return ""
  1657. }
  1658. func (x *TopologyInfo) GetDataCenterInfos() []*DataCenterInfo {
  1659. if x != nil {
  1660. return x.DataCenterInfos
  1661. }
  1662. return nil
  1663. }
  1664. func (x *TopologyInfo) GetDiskInfos() map[string]*DiskInfo {
  1665. if x != nil {
  1666. return x.DiskInfos
  1667. }
  1668. return nil
  1669. }
  1670. type VolumeListRequest struct {
  1671. state protoimpl.MessageState
  1672. sizeCache protoimpl.SizeCache
  1673. unknownFields protoimpl.UnknownFields
  1674. }
  1675. func (x *VolumeListRequest) Reset() {
  1676. *x = VolumeListRequest{}
  1677. if protoimpl.UnsafeEnabled {
  1678. mi := &file_master_proto_msgTypes[27]
  1679. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1680. ms.StoreMessageInfo(mi)
  1681. }
  1682. }
  1683. func (x *VolumeListRequest) String() string {
  1684. return protoimpl.X.MessageStringOf(x)
  1685. }
  1686. func (*VolumeListRequest) ProtoMessage() {}
  1687. func (x *VolumeListRequest) ProtoReflect() protoreflect.Message {
  1688. mi := &file_master_proto_msgTypes[27]
  1689. if protoimpl.UnsafeEnabled && x != nil {
  1690. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1691. if ms.LoadMessageInfo() == nil {
  1692. ms.StoreMessageInfo(mi)
  1693. }
  1694. return ms
  1695. }
  1696. return mi.MessageOf(x)
  1697. }
  1698. // Deprecated: Use VolumeListRequest.ProtoReflect.Descriptor instead.
  1699. func (*VolumeListRequest) Descriptor() ([]byte, []int) {
  1700. return file_master_proto_rawDescGZIP(), []int{27}
  1701. }
  1702. type VolumeListResponse struct {
  1703. state protoimpl.MessageState
  1704. sizeCache protoimpl.SizeCache
  1705. unknownFields protoimpl.UnknownFields
  1706. TopologyInfo *TopologyInfo `protobuf:"bytes,1,opt,name=topology_info,json=topologyInfo,proto3" json:"topology_info,omitempty"`
  1707. VolumeSizeLimitMb uint64 `protobuf:"varint,2,opt,name=volume_size_limit_mb,json=volumeSizeLimitMb,proto3" json:"volume_size_limit_mb,omitempty"`
  1708. }
  1709. func (x *VolumeListResponse) Reset() {
  1710. *x = VolumeListResponse{}
  1711. if protoimpl.UnsafeEnabled {
  1712. mi := &file_master_proto_msgTypes[28]
  1713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1714. ms.StoreMessageInfo(mi)
  1715. }
  1716. }
  1717. func (x *VolumeListResponse) String() string {
  1718. return protoimpl.X.MessageStringOf(x)
  1719. }
  1720. func (*VolumeListResponse) ProtoMessage() {}
  1721. func (x *VolumeListResponse) ProtoReflect() protoreflect.Message {
  1722. mi := &file_master_proto_msgTypes[28]
  1723. if protoimpl.UnsafeEnabled && x != nil {
  1724. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1725. if ms.LoadMessageInfo() == nil {
  1726. ms.StoreMessageInfo(mi)
  1727. }
  1728. return ms
  1729. }
  1730. return mi.MessageOf(x)
  1731. }
  1732. // Deprecated: Use VolumeListResponse.ProtoReflect.Descriptor instead.
  1733. func (*VolumeListResponse) Descriptor() ([]byte, []int) {
  1734. return file_master_proto_rawDescGZIP(), []int{28}
  1735. }
  1736. func (x *VolumeListResponse) GetTopologyInfo() *TopologyInfo {
  1737. if x != nil {
  1738. return x.TopologyInfo
  1739. }
  1740. return nil
  1741. }
  1742. func (x *VolumeListResponse) GetVolumeSizeLimitMb() uint64 {
  1743. if x != nil {
  1744. return x.VolumeSizeLimitMb
  1745. }
  1746. return 0
  1747. }
  1748. type LookupEcVolumeRequest struct {
  1749. state protoimpl.MessageState
  1750. sizeCache protoimpl.SizeCache
  1751. unknownFields protoimpl.UnknownFields
  1752. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  1753. }
  1754. func (x *LookupEcVolumeRequest) Reset() {
  1755. *x = LookupEcVolumeRequest{}
  1756. if protoimpl.UnsafeEnabled {
  1757. mi := &file_master_proto_msgTypes[29]
  1758. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1759. ms.StoreMessageInfo(mi)
  1760. }
  1761. }
  1762. func (x *LookupEcVolumeRequest) String() string {
  1763. return protoimpl.X.MessageStringOf(x)
  1764. }
  1765. func (*LookupEcVolumeRequest) ProtoMessage() {}
  1766. func (x *LookupEcVolumeRequest) ProtoReflect() protoreflect.Message {
  1767. mi := &file_master_proto_msgTypes[29]
  1768. if protoimpl.UnsafeEnabled && x != nil {
  1769. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1770. if ms.LoadMessageInfo() == nil {
  1771. ms.StoreMessageInfo(mi)
  1772. }
  1773. return ms
  1774. }
  1775. return mi.MessageOf(x)
  1776. }
  1777. // Deprecated: Use LookupEcVolumeRequest.ProtoReflect.Descriptor instead.
  1778. func (*LookupEcVolumeRequest) Descriptor() ([]byte, []int) {
  1779. return file_master_proto_rawDescGZIP(), []int{29}
  1780. }
  1781. func (x *LookupEcVolumeRequest) GetVolumeId() uint32 {
  1782. if x != nil {
  1783. return x.VolumeId
  1784. }
  1785. return 0
  1786. }
  1787. type LookupEcVolumeResponse struct {
  1788. state protoimpl.MessageState
  1789. sizeCache protoimpl.SizeCache
  1790. unknownFields protoimpl.UnknownFields
  1791. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  1792. ShardIdLocations []*LookupEcVolumeResponse_EcShardIdLocation `protobuf:"bytes,2,rep,name=shard_id_locations,json=shardIdLocations,proto3" json:"shard_id_locations,omitempty"`
  1793. }
  1794. func (x *LookupEcVolumeResponse) Reset() {
  1795. *x = LookupEcVolumeResponse{}
  1796. if protoimpl.UnsafeEnabled {
  1797. mi := &file_master_proto_msgTypes[30]
  1798. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1799. ms.StoreMessageInfo(mi)
  1800. }
  1801. }
  1802. func (x *LookupEcVolumeResponse) String() string {
  1803. return protoimpl.X.MessageStringOf(x)
  1804. }
  1805. func (*LookupEcVolumeResponse) ProtoMessage() {}
  1806. func (x *LookupEcVolumeResponse) ProtoReflect() protoreflect.Message {
  1807. mi := &file_master_proto_msgTypes[30]
  1808. if protoimpl.UnsafeEnabled && x != nil {
  1809. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1810. if ms.LoadMessageInfo() == nil {
  1811. ms.StoreMessageInfo(mi)
  1812. }
  1813. return ms
  1814. }
  1815. return mi.MessageOf(x)
  1816. }
  1817. // Deprecated: Use LookupEcVolumeResponse.ProtoReflect.Descriptor instead.
  1818. func (*LookupEcVolumeResponse) Descriptor() ([]byte, []int) {
  1819. return file_master_proto_rawDescGZIP(), []int{30}
  1820. }
  1821. func (x *LookupEcVolumeResponse) GetVolumeId() uint32 {
  1822. if x != nil {
  1823. return x.VolumeId
  1824. }
  1825. return 0
  1826. }
  1827. func (x *LookupEcVolumeResponse) GetShardIdLocations() []*LookupEcVolumeResponse_EcShardIdLocation {
  1828. if x != nil {
  1829. return x.ShardIdLocations
  1830. }
  1831. return nil
  1832. }
  1833. type VacuumVolumeRequest struct {
  1834. state protoimpl.MessageState
  1835. sizeCache protoimpl.SizeCache
  1836. unknownFields protoimpl.UnknownFields
  1837. GarbageThreshold float32 `protobuf:"fixed32,1,opt,name=garbage_threshold,json=garbageThreshold,proto3" json:"garbage_threshold,omitempty"`
  1838. }
  1839. func (x *VacuumVolumeRequest) Reset() {
  1840. *x = VacuumVolumeRequest{}
  1841. if protoimpl.UnsafeEnabled {
  1842. mi := &file_master_proto_msgTypes[31]
  1843. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1844. ms.StoreMessageInfo(mi)
  1845. }
  1846. }
  1847. func (x *VacuumVolumeRequest) String() string {
  1848. return protoimpl.X.MessageStringOf(x)
  1849. }
  1850. func (*VacuumVolumeRequest) ProtoMessage() {}
  1851. func (x *VacuumVolumeRequest) ProtoReflect() protoreflect.Message {
  1852. mi := &file_master_proto_msgTypes[31]
  1853. if protoimpl.UnsafeEnabled && x != nil {
  1854. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1855. if ms.LoadMessageInfo() == nil {
  1856. ms.StoreMessageInfo(mi)
  1857. }
  1858. return ms
  1859. }
  1860. return mi.MessageOf(x)
  1861. }
  1862. // Deprecated: Use VacuumVolumeRequest.ProtoReflect.Descriptor instead.
  1863. func (*VacuumVolumeRequest) Descriptor() ([]byte, []int) {
  1864. return file_master_proto_rawDescGZIP(), []int{31}
  1865. }
  1866. func (x *VacuumVolumeRequest) GetGarbageThreshold() float32 {
  1867. if x != nil {
  1868. return x.GarbageThreshold
  1869. }
  1870. return 0
  1871. }
  1872. type VacuumVolumeResponse struct {
  1873. state protoimpl.MessageState
  1874. sizeCache protoimpl.SizeCache
  1875. unknownFields protoimpl.UnknownFields
  1876. }
  1877. func (x *VacuumVolumeResponse) Reset() {
  1878. *x = VacuumVolumeResponse{}
  1879. if protoimpl.UnsafeEnabled {
  1880. mi := &file_master_proto_msgTypes[32]
  1881. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1882. ms.StoreMessageInfo(mi)
  1883. }
  1884. }
  1885. func (x *VacuumVolumeResponse) String() string {
  1886. return protoimpl.X.MessageStringOf(x)
  1887. }
  1888. func (*VacuumVolumeResponse) ProtoMessage() {}
  1889. func (x *VacuumVolumeResponse) ProtoReflect() protoreflect.Message {
  1890. mi := &file_master_proto_msgTypes[32]
  1891. if protoimpl.UnsafeEnabled && x != nil {
  1892. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1893. if ms.LoadMessageInfo() == nil {
  1894. ms.StoreMessageInfo(mi)
  1895. }
  1896. return ms
  1897. }
  1898. return mi.MessageOf(x)
  1899. }
  1900. // Deprecated: Use VacuumVolumeResponse.ProtoReflect.Descriptor instead.
  1901. func (*VacuumVolumeResponse) Descriptor() ([]byte, []int) {
  1902. return file_master_proto_rawDescGZIP(), []int{32}
  1903. }
  1904. type GetMasterConfigurationRequest struct {
  1905. state protoimpl.MessageState
  1906. sizeCache protoimpl.SizeCache
  1907. unknownFields protoimpl.UnknownFields
  1908. }
  1909. func (x *GetMasterConfigurationRequest) Reset() {
  1910. *x = GetMasterConfigurationRequest{}
  1911. if protoimpl.UnsafeEnabled {
  1912. mi := &file_master_proto_msgTypes[33]
  1913. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1914. ms.StoreMessageInfo(mi)
  1915. }
  1916. }
  1917. func (x *GetMasterConfigurationRequest) String() string {
  1918. return protoimpl.X.MessageStringOf(x)
  1919. }
  1920. func (*GetMasterConfigurationRequest) ProtoMessage() {}
  1921. func (x *GetMasterConfigurationRequest) ProtoReflect() protoreflect.Message {
  1922. mi := &file_master_proto_msgTypes[33]
  1923. if protoimpl.UnsafeEnabled && x != nil {
  1924. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1925. if ms.LoadMessageInfo() == nil {
  1926. ms.StoreMessageInfo(mi)
  1927. }
  1928. return ms
  1929. }
  1930. return mi.MessageOf(x)
  1931. }
  1932. // Deprecated: Use GetMasterConfigurationRequest.ProtoReflect.Descriptor instead.
  1933. func (*GetMasterConfigurationRequest) Descriptor() ([]byte, []int) {
  1934. return file_master_proto_rawDescGZIP(), []int{33}
  1935. }
  1936. type GetMasterConfigurationResponse struct {
  1937. state protoimpl.MessageState
  1938. sizeCache protoimpl.SizeCache
  1939. unknownFields protoimpl.UnknownFields
  1940. MetricsAddress string `protobuf:"bytes,1,opt,name=metrics_address,json=metricsAddress,proto3" json:"metrics_address,omitempty"`
  1941. MetricsIntervalSeconds uint32 `protobuf:"varint,2,opt,name=metrics_interval_seconds,json=metricsIntervalSeconds,proto3" json:"metrics_interval_seconds,omitempty"`
  1942. StorageBackends []*StorageBackend `protobuf:"bytes,3,rep,name=storage_backends,json=storageBackends,proto3" json:"storage_backends,omitempty"`
  1943. DefaultReplication string `protobuf:"bytes,4,opt,name=default_replication,json=defaultReplication,proto3" json:"default_replication,omitempty"`
  1944. Leader string `protobuf:"bytes,5,opt,name=leader,proto3" json:"leader,omitempty"`
  1945. }
  1946. func (x *GetMasterConfigurationResponse) Reset() {
  1947. *x = GetMasterConfigurationResponse{}
  1948. if protoimpl.UnsafeEnabled {
  1949. mi := &file_master_proto_msgTypes[34]
  1950. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1951. ms.StoreMessageInfo(mi)
  1952. }
  1953. }
  1954. func (x *GetMasterConfigurationResponse) String() string {
  1955. return protoimpl.X.MessageStringOf(x)
  1956. }
  1957. func (*GetMasterConfigurationResponse) ProtoMessage() {}
  1958. func (x *GetMasterConfigurationResponse) ProtoReflect() protoreflect.Message {
  1959. mi := &file_master_proto_msgTypes[34]
  1960. if protoimpl.UnsafeEnabled && x != nil {
  1961. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1962. if ms.LoadMessageInfo() == nil {
  1963. ms.StoreMessageInfo(mi)
  1964. }
  1965. return ms
  1966. }
  1967. return mi.MessageOf(x)
  1968. }
  1969. // Deprecated: Use GetMasterConfigurationResponse.ProtoReflect.Descriptor instead.
  1970. func (*GetMasterConfigurationResponse) Descriptor() ([]byte, []int) {
  1971. return file_master_proto_rawDescGZIP(), []int{34}
  1972. }
  1973. func (x *GetMasterConfigurationResponse) GetMetricsAddress() string {
  1974. if x != nil {
  1975. return x.MetricsAddress
  1976. }
  1977. return ""
  1978. }
  1979. func (x *GetMasterConfigurationResponse) GetMetricsIntervalSeconds() uint32 {
  1980. if x != nil {
  1981. return x.MetricsIntervalSeconds
  1982. }
  1983. return 0
  1984. }
  1985. func (x *GetMasterConfigurationResponse) GetStorageBackends() []*StorageBackend {
  1986. if x != nil {
  1987. return x.StorageBackends
  1988. }
  1989. return nil
  1990. }
  1991. func (x *GetMasterConfigurationResponse) GetDefaultReplication() string {
  1992. if x != nil {
  1993. return x.DefaultReplication
  1994. }
  1995. return ""
  1996. }
  1997. func (x *GetMasterConfigurationResponse) GetLeader() string {
  1998. if x != nil {
  1999. return x.Leader
  2000. }
  2001. return ""
  2002. }
  2003. type ListMasterClientsRequest struct {
  2004. state protoimpl.MessageState
  2005. sizeCache protoimpl.SizeCache
  2006. unknownFields protoimpl.UnknownFields
  2007. ClientType string `protobuf:"bytes,1,opt,name=client_type,json=clientType,proto3" json:"client_type,omitempty"`
  2008. }
  2009. func (x *ListMasterClientsRequest) Reset() {
  2010. *x = ListMasterClientsRequest{}
  2011. if protoimpl.UnsafeEnabled {
  2012. mi := &file_master_proto_msgTypes[35]
  2013. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2014. ms.StoreMessageInfo(mi)
  2015. }
  2016. }
  2017. func (x *ListMasterClientsRequest) String() string {
  2018. return protoimpl.X.MessageStringOf(x)
  2019. }
  2020. func (*ListMasterClientsRequest) ProtoMessage() {}
  2021. func (x *ListMasterClientsRequest) ProtoReflect() protoreflect.Message {
  2022. mi := &file_master_proto_msgTypes[35]
  2023. if protoimpl.UnsafeEnabled && x != nil {
  2024. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2025. if ms.LoadMessageInfo() == nil {
  2026. ms.StoreMessageInfo(mi)
  2027. }
  2028. return ms
  2029. }
  2030. return mi.MessageOf(x)
  2031. }
  2032. // Deprecated: Use ListMasterClientsRequest.ProtoReflect.Descriptor instead.
  2033. func (*ListMasterClientsRequest) Descriptor() ([]byte, []int) {
  2034. return file_master_proto_rawDescGZIP(), []int{35}
  2035. }
  2036. func (x *ListMasterClientsRequest) GetClientType() string {
  2037. if x != nil {
  2038. return x.ClientType
  2039. }
  2040. return ""
  2041. }
  2042. type ListMasterClientsResponse struct {
  2043. state protoimpl.MessageState
  2044. sizeCache protoimpl.SizeCache
  2045. unknownFields protoimpl.UnknownFields
  2046. GrpcAddresses []string `protobuf:"bytes,1,rep,name=grpc_addresses,json=grpcAddresses,proto3" json:"grpc_addresses,omitempty"`
  2047. }
  2048. func (x *ListMasterClientsResponse) Reset() {
  2049. *x = ListMasterClientsResponse{}
  2050. if protoimpl.UnsafeEnabled {
  2051. mi := &file_master_proto_msgTypes[36]
  2052. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2053. ms.StoreMessageInfo(mi)
  2054. }
  2055. }
  2056. func (x *ListMasterClientsResponse) String() string {
  2057. return protoimpl.X.MessageStringOf(x)
  2058. }
  2059. func (*ListMasterClientsResponse) ProtoMessage() {}
  2060. func (x *ListMasterClientsResponse) ProtoReflect() protoreflect.Message {
  2061. mi := &file_master_proto_msgTypes[36]
  2062. if protoimpl.UnsafeEnabled && x != nil {
  2063. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2064. if ms.LoadMessageInfo() == nil {
  2065. ms.StoreMessageInfo(mi)
  2066. }
  2067. return ms
  2068. }
  2069. return mi.MessageOf(x)
  2070. }
  2071. // Deprecated: Use ListMasterClientsResponse.ProtoReflect.Descriptor instead.
  2072. func (*ListMasterClientsResponse) Descriptor() ([]byte, []int) {
  2073. return file_master_proto_rawDescGZIP(), []int{36}
  2074. }
  2075. func (x *ListMasterClientsResponse) GetGrpcAddresses() []string {
  2076. if x != nil {
  2077. return x.GrpcAddresses
  2078. }
  2079. return nil
  2080. }
  2081. type LeaseAdminTokenRequest struct {
  2082. state protoimpl.MessageState
  2083. sizeCache protoimpl.SizeCache
  2084. unknownFields protoimpl.UnknownFields
  2085. PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken,proto3" json:"previous_token,omitempty"`
  2086. PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime,proto3" json:"previous_lock_time,omitempty"`
  2087. LockName string `protobuf:"bytes,3,opt,name=lock_name,json=lockName,proto3" json:"lock_name,omitempty"`
  2088. ClientName string `protobuf:"bytes,4,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
  2089. }
  2090. func (x *LeaseAdminTokenRequest) Reset() {
  2091. *x = LeaseAdminTokenRequest{}
  2092. if protoimpl.UnsafeEnabled {
  2093. mi := &file_master_proto_msgTypes[37]
  2094. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2095. ms.StoreMessageInfo(mi)
  2096. }
  2097. }
  2098. func (x *LeaseAdminTokenRequest) String() string {
  2099. return protoimpl.X.MessageStringOf(x)
  2100. }
  2101. func (*LeaseAdminTokenRequest) ProtoMessage() {}
  2102. func (x *LeaseAdminTokenRequest) ProtoReflect() protoreflect.Message {
  2103. mi := &file_master_proto_msgTypes[37]
  2104. if protoimpl.UnsafeEnabled && x != nil {
  2105. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2106. if ms.LoadMessageInfo() == nil {
  2107. ms.StoreMessageInfo(mi)
  2108. }
  2109. return ms
  2110. }
  2111. return mi.MessageOf(x)
  2112. }
  2113. // Deprecated: Use LeaseAdminTokenRequest.ProtoReflect.Descriptor instead.
  2114. func (*LeaseAdminTokenRequest) Descriptor() ([]byte, []int) {
  2115. return file_master_proto_rawDescGZIP(), []int{37}
  2116. }
  2117. func (x *LeaseAdminTokenRequest) GetPreviousToken() int64 {
  2118. if x != nil {
  2119. return x.PreviousToken
  2120. }
  2121. return 0
  2122. }
  2123. func (x *LeaseAdminTokenRequest) GetPreviousLockTime() int64 {
  2124. if x != nil {
  2125. return x.PreviousLockTime
  2126. }
  2127. return 0
  2128. }
  2129. func (x *LeaseAdminTokenRequest) GetLockName() string {
  2130. if x != nil {
  2131. return x.LockName
  2132. }
  2133. return ""
  2134. }
  2135. func (x *LeaseAdminTokenRequest) GetClientName() string {
  2136. if x != nil {
  2137. return x.ClientName
  2138. }
  2139. return ""
  2140. }
  2141. type LeaseAdminTokenResponse struct {
  2142. state protoimpl.MessageState
  2143. sizeCache protoimpl.SizeCache
  2144. unknownFields protoimpl.UnknownFields
  2145. Token int64 `protobuf:"varint,1,opt,name=token,proto3" json:"token,omitempty"`
  2146. LockTsNs int64 `protobuf:"varint,2,opt,name=lock_ts_ns,json=lockTsNs,proto3" json:"lock_ts_ns,omitempty"`
  2147. }
  2148. func (x *LeaseAdminTokenResponse) Reset() {
  2149. *x = LeaseAdminTokenResponse{}
  2150. if protoimpl.UnsafeEnabled {
  2151. mi := &file_master_proto_msgTypes[38]
  2152. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2153. ms.StoreMessageInfo(mi)
  2154. }
  2155. }
  2156. func (x *LeaseAdminTokenResponse) String() string {
  2157. return protoimpl.X.MessageStringOf(x)
  2158. }
  2159. func (*LeaseAdminTokenResponse) ProtoMessage() {}
  2160. func (x *LeaseAdminTokenResponse) ProtoReflect() protoreflect.Message {
  2161. mi := &file_master_proto_msgTypes[38]
  2162. if protoimpl.UnsafeEnabled && x != nil {
  2163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2164. if ms.LoadMessageInfo() == nil {
  2165. ms.StoreMessageInfo(mi)
  2166. }
  2167. return ms
  2168. }
  2169. return mi.MessageOf(x)
  2170. }
  2171. // Deprecated: Use LeaseAdminTokenResponse.ProtoReflect.Descriptor instead.
  2172. func (*LeaseAdminTokenResponse) Descriptor() ([]byte, []int) {
  2173. return file_master_proto_rawDescGZIP(), []int{38}
  2174. }
  2175. func (x *LeaseAdminTokenResponse) GetToken() int64 {
  2176. if x != nil {
  2177. return x.Token
  2178. }
  2179. return 0
  2180. }
  2181. func (x *LeaseAdminTokenResponse) GetLockTsNs() int64 {
  2182. if x != nil {
  2183. return x.LockTsNs
  2184. }
  2185. return 0
  2186. }
  2187. type ReleaseAdminTokenRequest struct {
  2188. state protoimpl.MessageState
  2189. sizeCache protoimpl.SizeCache
  2190. unknownFields protoimpl.UnknownFields
  2191. PreviousToken int64 `protobuf:"varint,1,opt,name=previous_token,json=previousToken,proto3" json:"previous_token,omitempty"`
  2192. PreviousLockTime int64 `protobuf:"varint,2,opt,name=previous_lock_time,json=previousLockTime,proto3" json:"previous_lock_time,omitempty"`
  2193. LockName string `protobuf:"bytes,3,opt,name=lock_name,json=lockName,proto3" json:"lock_name,omitempty"`
  2194. }
  2195. func (x *ReleaseAdminTokenRequest) Reset() {
  2196. *x = ReleaseAdminTokenRequest{}
  2197. if protoimpl.UnsafeEnabled {
  2198. mi := &file_master_proto_msgTypes[39]
  2199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2200. ms.StoreMessageInfo(mi)
  2201. }
  2202. }
  2203. func (x *ReleaseAdminTokenRequest) String() string {
  2204. return protoimpl.X.MessageStringOf(x)
  2205. }
  2206. func (*ReleaseAdminTokenRequest) ProtoMessage() {}
  2207. func (x *ReleaseAdminTokenRequest) ProtoReflect() protoreflect.Message {
  2208. mi := &file_master_proto_msgTypes[39]
  2209. if protoimpl.UnsafeEnabled && x != nil {
  2210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2211. if ms.LoadMessageInfo() == nil {
  2212. ms.StoreMessageInfo(mi)
  2213. }
  2214. return ms
  2215. }
  2216. return mi.MessageOf(x)
  2217. }
  2218. // Deprecated: Use ReleaseAdminTokenRequest.ProtoReflect.Descriptor instead.
  2219. func (*ReleaseAdminTokenRequest) Descriptor() ([]byte, []int) {
  2220. return file_master_proto_rawDescGZIP(), []int{39}
  2221. }
  2222. func (x *ReleaseAdminTokenRequest) GetPreviousToken() int64 {
  2223. if x != nil {
  2224. return x.PreviousToken
  2225. }
  2226. return 0
  2227. }
  2228. func (x *ReleaseAdminTokenRequest) GetPreviousLockTime() int64 {
  2229. if x != nil {
  2230. return x.PreviousLockTime
  2231. }
  2232. return 0
  2233. }
  2234. func (x *ReleaseAdminTokenRequest) GetLockName() string {
  2235. if x != nil {
  2236. return x.LockName
  2237. }
  2238. return ""
  2239. }
  2240. type ReleaseAdminTokenResponse struct {
  2241. state protoimpl.MessageState
  2242. sizeCache protoimpl.SizeCache
  2243. unknownFields protoimpl.UnknownFields
  2244. }
  2245. func (x *ReleaseAdminTokenResponse) Reset() {
  2246. *x = ReleaseAdminTokenResponse{}
  2247. if protoimpl.UnsafeEnabled {
  2248. mi := &file_master_proto_msgTypes[40]
  2249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2250. ms.StoreMessageInfo(mi)
  2251. }
  2252. }
  2253. func (x *ReleaseAdminTokenResponse) String() string {
  2254. return protoimpl.X.MessageStringOf(x)
  2255. }
  2256. func (*ReleaseAdminTokenResponse) ProtoMessage() {}
  2257. func (x *ReleaseAdminTokenResponse) ProtoReflect() protoreflect.Message {
  2258. mi := &file_master_proto_msgTypes[40]
  2259. if protoimpl.UnsafeEnabled && x != nil {
  2260. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2261. if ms.LoadMessageInfo() == nil {
  2262. ms.StoreMessageInfo(mi)
  2263. }
  2264. return ms
  2265. }
  2266. return mi.MessageOf(x)
  2267. }
  2268. // Deprecated: Use ReleaseAdminTokenResponse.ProtoReflect.Descriptor instead.
  2269. func (*ReleaseAdminTokenResponse) Descriptor() ([]byte, []int) {
  2270. return file_master_proto_rawDescGZIP(), []int{40}
  2271. }
  2272. type SuperBlockExtra_ErasureCoding struct {
  2273. state protoimpl.MessageState
  2274. sizeCache protoimpl.SizeCache
  2275. unknownFields protoimpl.UnknownFields
  2276. Data uint32 `protobuf:"varint,1,opt,name=data,proto3" json:"data,omitempty"`
  2277. Parity uint32 `protobuf:"varint,2,opt,name=parity,proto3" json:"parity,omitempty"`
  2278. VolumeIds []uint32 `protobuf:"varint,3,rep,packed,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
  2279. }
  2280. func (x *SuperBlockExtra_ErasureCoding) Reset() {
  2281. *x = SuperBlockExtra_ErasureCoding{}
  2282. if protoimpl.UnsafeEnabled {
  2283. mi := &file_master_proto_msgTypes[43]
  2284. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2285. ms.StoreMessageInfo(mi)
  2286. }
  2287. }
  2288. func (x *SuperBlockExtra_ErasureCoding) String() string {
  2289. return protoimpl.X.MessageStringOf(x)
  2290. }
  2291. func (*SuperBlockExtra_ErasureCoding) ProtoMessage() {}
  2292. func (x *SuperBlockExtra_ErasureCoding) ProtoReflect() protoreflect.Message {
  2293. mi := &file_master_proto_msgTypes[43]
  2294. if protoimpl.UnsafeEnabled && x != nil {
  2295. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2296. if ms.LoadMessageInfo() == nil {
  2297. ms.StoreMessageInfo(mi)
  2298. }
  2299. return ms
  2300. }
  2301. return mi.MessageOf(x)
  2302. }
  2303. // Deprecated: Use SuperBlockExtra_ErasureCoding.ProtoReflect.Descriptor instead.
  2304. func (*SuperBlockExtra_ErasureCoding) Descriptor() ([]byte, []int) {
  2305. return file_master_proto_rawDescGZIP(), []int{7, 0}
  2306. }
  2307. func (x *SuperBlockExtra_ErasureCoding) GetData() uint32 {
  2308. if x != nil {
  2309. return x.Data
  2310. }
  2311. return 0
  2312. }
  2313. func (x *SuperBlockExtra_ErasureCoding) GetParity() uint32 {
  2314. if x != nil {
  2315. return x.Parity
  2316. }
  2317. return 0
  2318. }
  2319. func (x *SuperBlockExtra_ErasureCoding) GetVolumeIds() []uint32 {
  2320. if x != nil {
  2321. return x.VolumeIds
  2322. }
  2323. return nil
  2324. }
  2325. type LookupVolumeResponse_VolumeIdLocation struct {
  2326. state protoimpl.MessageState
  2327. sizeCache protoimpl.SizeCache
  2328. unknownFields protoimpl.UnknownFields
  2329. VolumeId string `protobuf:"bytes,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  2330. Locations []*Location `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
  2331. Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
  2332. }
  2333. func (x *LookupVolumeResponse_VolumeIdLocation) Reset() {
  2334. *x = LookupVolumeResponse_VolumeIdLocation{}
  2335. if protoimpl.UnsafeEnabled {
  2336. mi := &file_master_proto_msgTypes[44]
  2337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2338. ms.StoreMessageInfo(mi)
  2339. }
  2340. }
  2341. func (x *LookupVolumeResponse_VolumeIdLocation) String() string {
  2342. return protoimpl.X.MessageStringOf(x)
  2343. }
  2344. func (*LookupVolumeResponse_VolumeIdLocation) ProtoMessage() {}
  2345. func (x *LookupVolumeResponse_VolumeIdLocation) ProtoReflect() protoreflect.Message {
  2346. mi := &file_master_proto_msgTypes[44]
  2347. if protoimpl.UnsafeEnabled && x != nil {
  2348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2349. if ms.LoadMessageInfo() == nil {
  2350. ms.StoreMessageInfo(mi)
  2351. }
  2352. return ms
  2353. }
  2354. return mi.MessageOf(x)
  2355. }
  2356. // Deprecated: Use LookupVolumeResponse_VolumeIdLocation.ProtoReflect.Descriptor instead.
  2357. func (*LookupVolumeResponse_VolumeIdLocation) Descriptor() ([]byte, []int) {
  2358. return file_master_proto_rawDescGZIP(), []int{11, 0}
  2359. }
  2360. func (x *LookupVolumeResponse_VolumeIdLocation) GetVolumeId() string {
  2361. if x != nil {
  2362. return x.VolumeId
  2363. }
  2364. return ""
  2365. }
  2366. func (x *LookupVolumeResponse_VolumeIdLocation) GetLocations() []*Location {
  2367. if x != nil {
  2368. return x.Locations
  2369. }
  2370. return nil
  2371. }
  2372. func (x *LookupVolumeResponse_VolumeIdLocation) GetError() string {
  2373. if x != nil {
  2374. return x.Error
  2375. }
  2376. return ""
  2377. }
  2378. type LookupEcVolumeResponse_EcShardIdLocation struct {
  2379. state protoimpl.MessageState
  2380. sizeCache protoimpl.SizeCache
  2381. unknownFields protoimpl.UnknownFields
  2382. ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
  2383. Locations []*Location `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
  2384. }
  2385. func (x *LookupEcVolumeResponse_EcShardIdLocation) Reset() {
  2386. *x = LookupEcVolumeResponse_EcShardIdLocation{}
  2387. if protoimpl.UnsafeEnabled {
  2388. mi := &file_master_proto_msgTypes[49]
  2389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2390. ms.StoreMessageInfo(mi)
  2391. }
  2392. }
  2393. func (x *LookupEcVolumeResponse_EcShardIdLocation) String() string {
  2394. return protoimpl.X.MessageStringOf(x)
  2395. }
  2396. func (*LookupEcVolumeResponse_EcShardIdLocation) ProtoMessage() {}
  2397. func (x *LookupEcVolumeResponse_EcShardIdLocation) ProtoReflect() protoreflect.Message {
  2398. mi := &file_master_proto_msgTypes[49]
  2399. if protoimpl.UnsafeEnabled && x != nil {
  2400. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2401. if ms.LoadMessageInfo() == nil {
  2402. ms.StoreMessageInfo(mi)
  2403. }
  2404. return ms
  2405. }
  2406. return mi.MessageOf(x)
  2407. }
  2408. // Deprecated: Use LookupEcVolumeResponse_EcShardIdLocation.ProtoReflect.Descriptor instead.
  2409. func (*LookupEcVolumeResponse_EcShardIdLocation) Descriptor() ([]byte, []int) {
  2410. return file_master_proto_rawDescGZIP(), []int{30, 0}
  2411. }
  2412. func (x *LookupEcVolumeResponse_EcShardIdLocation) GetShardId() uint32 {
  2413. if x != nil {
  2414. return x.ShardId
  2415. }
  2416. return 0
  2417. }
  2418. func (x *LookupEcVolumeResponse_EcShardIdLocation) GetLocations() []*Location {
  2419. if x != nil {
  2420. return x.Locations
  2421. }
  2422. return nil
  2423. }
  2424. var File_master_proto protoreflect.FileDescriptor
  2425. var file_master_proto_rawDesc = []byte{
  2426. 0x0a, 0x0c, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09,
  2427. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x22, 0xfc, 0x06, 0x0a, 0x09, 0x48, 0x65,
  2428. 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x01, 0x20,
  2429. 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18,
  2430. 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  2431. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  2432. 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0c, 0x6d, 0x61,
  2433. 0x78, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04,
  2434. 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x46, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b,
  2435. 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28,
  2436. 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a,
  2437. 0x04, 0x72, 0x61, 0x63, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x63,
  2438. 0x6b, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18,
  2439. 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x50, 0x6f, 0x72, 0x74,
  2440. 0x12, 0x3d, 0x0a, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28,
  2441. 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f,
  2442. 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d,
  2443. 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x07, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12,
  2444. 0x49, 0x0a, 0x0b, 0x6e, 0x65, 0x77, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x0a,
  2445. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2446. 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f,
  2447. 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0a,
  2448. 0x6e, 0x65, 0x77, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x51, 0x0a, 0x0f, 0x64, 0x65,
  2449. 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x0b, 0x20,
  2450. 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2451. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72,
  2452. 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x64,
  2453. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x24, 0x0a,
  2454. 0x0e, 0x68, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x18,
  2455. 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x68, 0x61, 0x73, 0x4e, 0x6f, 0x56, 0x6f, 0x6c, 0x75,
  2456. 0x6d, 0x65, 0x73, 0x12, 0x47, 0x0a, 0x09, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73,
  2457. 0x18, 0x10, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2458. 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64,
  2459. 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  2460. 0x67, 0x65, 0x52, 0x08, 0x65, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x4e, 0x0a, 0x0d,
  2461. 0x6e, 0x65, 0x77, 0x5f, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x11, 0x20,
  2462. 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2463. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66,
  2464. 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52,
  2465. 0x0b, 0x6e, 0x65, 0x77, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x56, 0x0a, 0x11,
  2466. 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x65, 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64,
  2467. 0x73, 0x18, 0x12, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2468. 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72,
  2469. 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73,
  2470. 0x61, 0x67, 0x65, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x45, 0x63, 0x53, 0x68,
  2471. 0x61, 0x72, 0x64, 0x73, 0x12, 0x27, 0x0a, 0x10, 0x68, 0x61, 0x73, 0x5f, 0x6e, 0x6f, 0x5f, 0x65,
  2472. 0x63, 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d,
  2473. 0x68, 0x61, 0x73, 0x4e, 0x6f, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x73, 0x12, 0x55, 0x0a,
  2474. 0x11, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e,
  2475. 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2476. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x2e, 0x4d,
  2477. 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e,
  2478. 0x74, 0x72, 0x79, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f,
  2479. 0x75, 0x6e, 0x74, 0x73, 0x1a, 0x42, 0x0a, 0x14, 0x4d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2480. 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03,
  2481. 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14,
  2482. 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x76,
  2483. 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x80, 0x02, 0x0a, 0x11, 0x48, 0x65, 0x61,
  2484. 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a,
  2485. 0x0a, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69,
  2486. 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2487. 0x65, 0x53, 0x69, 0x7a, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65,
  2488. 0x61, 0x64, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64,
  2489. 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x64,
  2490. 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74,
  2491. 0x72, 0x69, 0x63, 0x73, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x6d,
  2492. 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f,
  2493. 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6d,
  2494. 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65,
  2495. 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x44, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
  2496. 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2497. 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72,
  2498. 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72,
  2499. 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x73, 0x22, 0x98, 0x04, 0x0a, 0x18,
  2500. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
  2501. 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  2502. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65,
  2503. 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a,
  2504. 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  2505. 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a,
  2506. 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04,
  2507. 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64,
  2508. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28,
  2509. 0x04, 0x52, 0x0b, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2c,
  2510. 0x0a, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x5f, 0x63,
  2511. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x10, 0x64, 0x65, 0x6c, 0x65,
  2512. 0x74, 0x65, 0x64, 0x42, 0x79, 0x74, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09,
  2513. 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52,
  2514. 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70,
  2515. 0x6c, 0x69, 0x63, 0x61, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08,
  2516. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x6c, 0x61,
  2517. 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
  2518. 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  2519. 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74,
  2520. 0x74, 0x6c, 0x12, 0x29, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x63, 0x74, 0x5f, 0x72, 0x65,
  2521. 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0f, 0x63, 0x6f,
  2522. 0x6d, 0x70, 0x61, 0x63, 0x74, 0x52, 0x65, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2c, 0x0a,
  2523. 0x12, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x5f, 0x73, 0x65, 0x63,
  2524. 0x6f, 0x6e, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x6d, 0x6f, 0x64, 0x69, 0x66,
  2525. 0x69, 0x65, 0x64, 0x41, 0x74, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x12, 0x2e, 0x0a, 0x13, 0x72,
  2526. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6e, 0x61,
  2527. 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
  2528. 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x72,
  2529. 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x6b, 0x65,
  2530. 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x53,
  2531. 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73,
  2532. 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69,
  2533. 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0xc5, 0x01, 0x0a, 0x1d, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2534. 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f,
  2535. 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  2536. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c,
  2537. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
  2538. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, 0x11, 0x72, 0x65, 0x70, 0x6c,
  2539. 0x69, 0x63, 0x61, 0x5f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20,
  2540. 0x01, 0x28, 0x0d, 0x52, 0x10, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x50, 0x6c, 0x61, 0x63,
  2541. 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
  2542. 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
  2543. 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x03, 0x74, 0x74,
  2544. 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0f,
  2545. 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x92,
  2546. 0x01, 0x0a, 0x1f, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64,
  2547. 0x49, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61,
  2548. 0x67, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02,
  2549. 0x69, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2550. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2551. 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0d, 0x65, 0x63, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x62,
  2552. 0x69, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x65, 0x63, 0x49, 0x6e, 0x64,
  2553. 0x65, 0x78, 0x42, 0x69, 0x74, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74,
  2554. 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54,
  2555. 0x79, 0x70, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42,
  2556. 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
  2557. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
  2558. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x49, 0x0a, 0x0a, 0x70, 0x72,
  2559. 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29,
  2560. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61,
  2561. 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b, 0x65, 0x6e, 0x64, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
  2562. 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65,
  2563. 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
  2564. 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  2565. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
  2566. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2567. 0x3a, 0x02, 0x38, 0x01, 0x22, 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xbe, 0x01,
  2568. 0x0a, 0x0f, 0x53, 0x75, 0x70, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x45, 0x78, 0x74, 0x72,
  2569. 0x61, 0x12, 0x4f, 0x0a, 0x0e, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x5f, 0x63, 0x6f, 0x64,
  2570. 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2571. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x75, 0x70, 0x65, 0x72, 0x42, 0x6c, 0x6f, 0x63, 0x6b,
  2572. 0x45, 0x78, 0x74, 0x72, 0x61, 0x2e, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
  2573. 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x65, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64, 0x69,
  2574. 0x6e, 0x67, 0x1a, 0x5a, 0x0a, 0x0d, 0x45, 0x72, 0x61, 0x73, 0x75, 0x72, 0x65, 0x43, 0x6f, 0x64,
  2575. 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
  2576. 0x0d, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x69, 0x74,
  2577. 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x70, 0x61, 0x72, 0x69, 0x74, 0x79, 0x12,
  2578. 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20,
  2579. 0x03, 0x28, 0x0d, 0x52, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73, 0x22, 0x47,
  2580. 0x0a, 0x14, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52,
  2581. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
  2582. 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x67, 0x72,
  2583. 0x70, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x67,
  2584. 0x72, 0x70, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x22, 0xb8, 0x01, 0x0a, 0x0e, 0x56, 0x6f, 0x6c, 0x75,
  2585. 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72,
  2586. 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a,
  2587. 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  2588. 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x6e,
  2589. 0x65, 0x77, 0x5f, 0x76, 0x69, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x07, 0x6e,
  2590. 0x65, 0x77, 0x56, 0x69, 0x64, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2591. 0x64, 0x5f, 0x76, 0x69, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x65,
  2592. 0x6c, 0x65, 0x74, 0x65, 0x64, 0x56, 0x69, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61,
  2593. 0x64, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65,
  2594. 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72,
  2595. 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74,
  2596. 0x65, 0x72, 0x22, 0x54, 0x0a, 0x13, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75,
  2597. 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x6f, 0x6c,
  2598. 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x76,
  2599. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c,
  2600. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f,
  2601. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xf2, 0x01, 0x0a, 0x14, 0x4c, 0x6f, 0x6f,
  2602. 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2603. 0x65, 0x12, 0x60, 0x0a, 0x13, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x5f, 0x6c,
  2604. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30,
  2605. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2606. 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
  2607. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2608. 0x52, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
  2609. 0x6f, 0x6e, 0x73, 0x1a, 0x78, 0x0a, 0x10, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x4c,
  2610. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2611. 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75,
  2612. 0x6d, 0x65, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2613. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2614. 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f,
  2615. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
  2616. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x3b, 0x0a,
  2617. 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c,
  2618. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70,
  2619. 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  2620. 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x55, 0x72, 0x6c, 0x22, 0xd0, 0x02, 0x0a, 0x0d, 0x41,
  2621. 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a, 0x05,
  2622. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75,
  2623. 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
  2624. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61,
  2625. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2626. 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63,
  2627. 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x74, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
  2628. 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63,
  2629. 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74,
  2630. 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x6b, 0x18,
  2631. 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x72, 0x61, 0x63, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x64,
  2632. 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
  2633. 0x64, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x12, 0x32, 0x0a, 0x16, 0x6d, 0x65, 0x6d, 0x6f,
  2634. 0x72, 0x79, 0x5f, 0x6d, 0x61, 0x70, 0x5f, 0x6d, 0x61, 0x78, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f,
  2635. 0x6d, 0x62, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x12, 0x6d, 0x65, 0x6d, 0x6f, 0x72, 0x79,
  2636. 0x4d, 0x61, 0x70, 0x4d, 0x61, 0x78, 0x53, 0x69, 0x7a, 0x65, 0x4d, 0x62, 0x12, 0x32, 0x0a, 0x15,
  2637. 0x57, 0x72, 0x69, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f,
  2638. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x57, 0x72, 0x69,
  2639. 0x74, 0x61, 0x62, 0x6c, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
  2640. 0x12, 0x1b, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0a, 0x20,
  2641. 0x01, 0x28, 0x09, 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x93, 0x01,
  2642. 0x0a, 0x0e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  2643. 0x12, 0x10, 0x0a, 0x03, 0x66, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x66,
  2644. 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  2645. 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x5f, 0x75,
  2646. 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
  2647. 0x55, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01,
  2648. 0x28, 0x04, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72,
  2649. 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12,
  2650. 0x12, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x61,
  2651. 0x75, 0x74, 0x68, 0x22, 0x84, 0x01, 0x0a, 0x11, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69,
  2652. 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x72, 0x65, 0x70,
  2653. 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b,
  2654. 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x63,
  2655. 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  2656. 0x0a, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x74,
  2657. 0x74, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x74, 0x6c, 0x12, 0x1b, 0x0a,
  2658. 0x09, 0x64, 0x69, 0x73, 0x6b, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  2659. 0x52, 0x08, 0x64, 0x69, 0x73, 0x6b, 0x54, 0x79, 0x70, 0x65, 0x22, 0x6f, 0x0a, 0x12, 0x53, 0x74,
  2660. 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  2661. 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04,
  2662. 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12,
  2663. 0x1b, 0x0a, 0x09, 0x75, 0x73, 0x65, 0x64, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01,
  2664. 0x28, 0x04, 0x52, 0x08, 0x75, 0x73, 0x65, 0x64, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
  2665. 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04,
  2666. 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x20, 0x0a, 0x0a, 0x43,
  2667. 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  2668. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7b, 0x0a,
  2669. 0x15, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52,
  2670. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
  2671. 0x65, 0x5f, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73,
  2672. 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e,
  2673. 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12,
  2674. 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x65, 0x63, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d,
  2675. 0x65, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
  2676. 0x65, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x73, 0x22, 0x51, 0x0a, 0x16, 0x43, 0x6f,
  2677. 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70,
  2678. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69,
  2679. 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2680. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2681. 0x52, 0x0b, 0x63, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2d, 0x0a,
  2682. 0x17, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74,
  2683. 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  2684. 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1a, 0x0a, 0x18,
  2685. 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2686. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x91, 0x03, 0x0a, 0x08, 0x44, 0x69, 0x73,
  2687. 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
  2688. 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x6f, 0x6c,
  2689. 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52,
  2690. 0x0b, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x28, 0x0a, 0x10,
  2691. 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74,
  2692. 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2693. 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x2a, 0x0a, 0x11, 0x66, 0x72, 0x65, 0x65, 0x5f, 0x76,
  2694. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28,
  2695. 0x03, 0x52, 0x0f, 0x66, 0x72, 0x65, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75,
  2696. 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x13, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x76, 0x6f, 0x6c,
  2697. 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
  2698. 0x11, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75,
  2699. 0x6e, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x6e, 0x66,
  2700. 0x6f, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2701. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x72,
  2702. 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0b, 0x76,
  2703. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x50, 0x0a, 0x0e, 0x65, 0x63,
  2704. 0x5f, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x07, 0x20, 0x03,
  2705. 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56,
  2706. 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f,
  2707. 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x0c,
  2708. 0x65, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x2e, 0x0a, 0x13,
  2709. 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x63, 0x6f,
  2710. 0x75, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x11, 0x72, 0x65, 0x6d, 0x6f, 0x74,
  2711. 0x65, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb7, 0x01, 0x0a,
  2712. 0x0c, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a,
  2713. 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x44, 0x0a,
  2714. 0x09, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  2715. 0x32, 0x26, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74,
  2716. 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e,
  2717. 0x66, 0x6f, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e,
  2718. 0x66, 0x6f, 0x73, 0x1a, 0x51, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73,
  2719. 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
  2720. 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
  2721. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2722. 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c,
  2723. 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xf0, 0x01, 0x0a, 0x08, 0x52, 0x61, 0x63, 0x6b, 0x49,
  2724. 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  2725. 0x02, 0x69, 0x64, 0x12, 0x3f, 0x0a, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x6e, 0x6f, 0x64, 0x65,
  2726. 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6d,
  2727. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64,
  2728. 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0d, 0x64, 0x61, 0x74, 0x61, 0x4e, 0x6f, 0x64, 0x65, 0x49,
  2729. 0x6e, 0x66, 0x6f, 0x73, 0x12, 0x40, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f,
  2730. 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2731. 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x69, 0x73,
  2732. 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x64, 0x69, 0x73,
  2733. 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0x51, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e,
  2734. 0x66, 0x6f, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18,
  2735. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05, 0x76, 0x61,
  2736. 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2737. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x05,
  2738. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xef, 0x01, 0x0a, 0x0e, 0x44, 0x61,
  2739. 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
  2740. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x0a,
  2741. 0x72, 0x61, 0x63, 0x6b, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b,
  2742. 0x32, 0x13, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x61, 0x63,
  2743. 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x72, 0x61, 0x63, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73,
  2744. 0x12, 0x46, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x03, 0x20,
  2745. 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2746. 0x44, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 0x44,
  2747. 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x64,
  2748. 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0x51, 0x0a, 0x0e, 0x44, 0x69, 0x73, 0x6b,
  2749. 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
  2750. 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a, 0x05,
  2751. 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61,
  2752. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f,
  2753. 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xfe, 0x01, 0x0a, 0x0c,
  2754. 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x0e, 0x0a, 0x02,
  2755. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x45, 0x0a, 0x11,
  2756. 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
  2757. 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2758. 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e,
  2759. 0x66, 0x6f, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x49, 0x6e,
  2760. 0x66, 0x6f, 0x73, 0x12, 0x44, 0x0a, 0x09, 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73,
  2761. 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2762. 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x2e,
  2763. 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09,
  2764. 0x64, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x1a, 0x51, 0x0a, 0x0e, 0x44, 0x69, 0x73,
  2765. 0x6b, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  2766. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x29, 0x0a,
  2767. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d,
  2768. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x44, 0x69, 0x73, 0x6b, 0x49, 0x6e, 0x66,
  2769. 0x6f, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x13, 0x0a, 0x11,
  2770. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2771. 0x74, 0x22, 0x83, 0x01, 0x0a, 0x12, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74,
  2772. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3c, 0x0a, 0x0d, 0x74, 0x6f, 0x70, 0x6f,
  2773. 0x6c, 0x6f, 0x67, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  2774. 0x17, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x54, 0x6f, 0x70, 0x6f,
  2775. 0x6c, 0x6f, 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x0c, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f,
  2776. 0x67, 0x79, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2f, 0x0a, 0x14, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2777. 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x6d, 0x62, 0x18, 0x02,
  2778. 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x53, 0x69, 0x7a, 0x65,
  2779. 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x4d, 0x62, 0x22, 0x34, 0x0a, 0x15, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2780. 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2781. 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20,
  2782. 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x49, 0x64, 0x22, 0xfb, 0x01,
  2783. 0x0a, 0x16, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2784. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x76, 0x6f, 0x6c, 0x75,
  2785. 0x6d, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x08, 0x76, 0x6f, 0x6c,
  2786. 0x75, 0x6d, 0x65, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x12, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69,
  2787. 0x64, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
  2788. 0x0b, 0x32, 0x33, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f,
  2789. 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70,
  2790. 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x63, 0x53, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x6f,
  2791. 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c,
  2792. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x61, 0x0a, 0x11, 0x45, 0x63, 0x53, 0x68,
  2793. 0x61, 0x72, 0x64, 0x49, 0x64, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a,
  2794. 0x08, 0x73, 0x68, 0x61, 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52,
  2795. 0x07, 0x73, 0x68, 0x61, 0x72, 0x64, 0x49, 0x64, 0x12, 0x31, 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x61,
  2796. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x6d, 0x61,
  2797. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2798. 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x42, 0x0a, 0x13, 0x56,
  2799. 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65,
  2800. 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x11, 0x67, 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x68,
  2801. 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x10, 0x67,
  2802. 0x61, 0x72, 0x62, 0x61, 0x67, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x22,
  2803. 0x16, 0x0a, 0x14, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52,
  2804. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1f, 0x0a, 0x1d, 0x47, 0x65, 0x74, 0x4d, 0x61,
  2805. 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
  2806. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x92, 0x02, 0x0a, 0x1e, 0x47, 0x65, 0x74,
  2807. 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74,
  2808. 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d,
  2809. 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
  2810. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x41, 0x64, 0x64,
  2811. 0x72, 0x65, 0x73, 0x73, 0x12, 0x38, 0x0a, 0x18, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f,
  2812. 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73,
  2813. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x16, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x49,
  2814. 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x73, 0x12, 0x44,
  2815. 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x65, 0x6e,
  2816. 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2817. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b,
  2818. 0x65, 0x6e, 0x64, 0x52, 0x0f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x61, 0x63, 0x6b,
  2819. 0x65, 0x6e, 0x64, 0x73, 0x12, 0x2f, 0x0a, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f,
  2820. 0x72, 0x65, 0x70, 0x6c, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28,
  2821. 0x09, 0x52, 0x12, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x69, 0x63,
  2822. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18,
  2823. 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x3b, 0x0a,
  2824. 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e,
  2825. 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x63, 0x6c, 0x69,
  2826. 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a,
  2827. 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x22, 0x42, 0x0a, 0x19, 0x4c, 0x69,
  2828. 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52,
  2829. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x67, 0x72, 0x70, 0x63, 0x5f,
  2830. 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
  2831. 0x0d, 0x67, 0x72, 0x70, 0x63, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0xab,
  2832. 0x01, 0x0a, 0x16, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b,
  2833. 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65,
  2834. 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  2835. 0x03, 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
  2836. 0x12, 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6c, 0x6f, 0x63,
  2837. 0x6b, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x70, 0x72,
  2838. 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b,
  2839. 0x0a, 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  2840. 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x63,
  2841. 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
  2842. 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x4d, 0x0a, 0x17,
  2843. 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
  2844. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
  2845. 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x1c, 0x0a,
  2846. 0x0a, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x74, 0x73, 0x5f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28,
  2847. 0x03, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x73, 0x4e, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x18,
  2848. 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65,
  2849. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x72, 0x65, 0x76,
  2850. 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
  2851. 0x52, 0x0d, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
  2852. 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x6c, 0x6f, 0x63, 0x6b,
  2853. 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x10, 0x70, 0x72, 0x65,
  2854. 0x76, 0x69, 0x6f, 0x75, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a,
  2855. 0x09, 0x6c, 0x6f, 0x63, 0x6b, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  2856. 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x1b, 0x0a, 0x19, 0x52, 0x65,
  2857. 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
  2858. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xca, 0x09, 0x0a, 0x07, 0x53, 0x65, 0x61, 0x77,
  2859. 0x65, 0x65, 0x64, 0x12, 0x49, 0x0a, 0x0d, 0x53, 0x65, 0x6e, 0x64, 0x48, 0x65, 0x61, 0x72, 0x74,
  2860. 0x62, 0x65, 0x61, 0x74, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2861. 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74, 0x1a, 0x1c, 0x2e, 0x6d, 0x61, 0x73,
  2862. 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x48, 0x65, 0x61, 0x72, 0x74, 0x62, 0x65, 0x61, 0x74,
  2863. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x51,
  2864. 0x0a, 0x0d, 0x4b, 0x65, 0x65, 0x70, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x12,
  2865. 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4b, 0x65, 0x65, 0x70,
  2866. 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2867. 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c,
  2868. 0x75, 0x6d, 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x00, 0x28, 0x01, 0x30,
  2869. 0x01, 0x12, 0x51, 0x0a, 0x0c, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d,
  2870. 0x65, 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f,
  2871. 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2872. 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f,
  2873. 0x6f, 0x6b, 0x75, 0x70, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2874. 0x73, 0x65, 0x22, 0x00, 0x12, 0x3f, 0x0a, 0x06, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x12, 0x18,
  2875. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67,
  2876. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2877. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x41, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
  2878. 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74,
  2879. 0x69, 0x63, 0x73, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2880. 0x53, 0x74, 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
  2881. 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x53, 0x74,
  2882. 0x61, 0x74, 0x69, 0x73, 0x74, 0x69, 0x63, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  2883. 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2884. 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62,
  2885. 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x52,
  2886. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2887. 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73,
  2888. 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5d, 0x0a, 0x10, 0x43,
  2889. 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x12,
  2890. 0x22, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x43, 0x6f, 0x6c, 0x6c,
  2891. 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75,
  2892. 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e,
  2893. 0x43, 0x6f, 0x6c, 0x6c, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  2894. 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0a, 0x56, 0x6f,
  2895. 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1c, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65,
  2896. 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52,
  2897. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f,
  2898. 0x70, 0x62, 0x2e, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73,
  2899. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x57, 0x0a, 0x0e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75,
  2900. 0x70, 0x45, 0x63, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x12, 0x20, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2901. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63, 0x56, 0x6f,
  2902. 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x6d, 0x61,
  2903. 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x45, 0x63,
  2904. 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
  2905. 0x12, 0x51, 0x0a, 0x0c, 0x56, 0x61, 0x63, 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65,
  2906. 0x12, 0x1e, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x63,
  2907. 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  2908. 0x1a, 0x1f, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x56, 0x61, 0x63,
  2909. 0x75, 0x75, 0x6d, 0x56, 0x6f, 0x6c, 0x75, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  2910. 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2911. 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x2e,
  2912. 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73,
  2913. 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2914. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2915. 0x5f, 0x70, 0x62, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 0x6e,
  2916. 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2917. 0x73, 0x65, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74,
  2918. 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2919. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2920. 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24,
  2921. 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d,
  2922. 0x61, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70,
  2923. 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x5a, 0x0a, 0x0f, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41,
  2924. 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x2e, 0x6d, 0x61, 0x73, 0x74,
  2925. 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
  2926. 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d,
  2927. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64,
  2928. 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  2929. 0x22, 0x00, 0x12, 0x60, 0x0a, 0x11, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d,
  2930. 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72,
  2931. 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e,
  2932. 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x6d,
  2933. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x2e, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65,
  2934. 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
  2935. 0x73, 0x65, 0x22, 0x00, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
  2936. 0x6f, 0x6d, 0x2f, 0x63, 0x68, 0x72, 0x69, 0x73, 0x6c, 0x75, 0x73, 0x66, 0x2f, 0x73, 0x65, 0x61,
  2937. 0x77, 0x65, 0x65, 0x64, 0x66, 0x73, 0x2f, 0x77, 0x65, 0x65, 0x64, 0x2f, 0x70, 0x62, 0x2f, 0x6d,
  2938. 0x61, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  2939. }
  2940. var (
  2941. file_master_proto_rawDescOnce sync.Once
  2942. file_master_proto_rawDescData = file_master_proto_rawDesc
  2943. )
  2944. func file_master_proto_rawDescGZIP() []byte {
  2945. file_master_proto_rawDescOnce.Do(func() {
  2946. file_master_proto_rawDescData = protoimpl.X.CompressGZIP(file_master_proto_rawDescData)
  2947. })
  2948. return file_master_proto_rawDescData
  2949. }
  2950. var file_master_proto_msgTypes = make([]protoimpl.MessageInfo, 50)
  2951. var file_master_proto_goTypes = []interface{}{
  2952. (*Heartbeat)(nil), // 0: master_pb.Heartbeat
  2953. (*HeartbeatResponse)(nil), // 1: master_pb.HeartbeatResponse
  2954. (*VolumeInformationMessage)(nil), // 2: master_pb.VolumeInformationMessage
  2955. (*VolumeShortInformationMessage)(nil), // 3: master_pb.VolumeShortInformationMessage
  2956. (*VolumeEcShardInformationMessage)(nil), // 4: master_pb.VolumeEcShardInformationMessage
  2957. (*StorageBackend)(nil), // 5: master_pb.StorageBackend
  2958. (*Empty)(nil), // 6: master_pb.Empty
  2959. (*SuperBlockExtra)(nil), // 7: master_pb.SuperBlockExtra
  2960. (*KeepConnectedRequest)(nil), // 8: master_pb.KeepConnectedRequest
  2961. (*VolumeLocation)(nil), // 9: master_pb.VolumeLocation
  2962. (*LookupVolumeRequest)(nil), // 10: master_pb.LookupVolumeRequest
  2963. (*LookupVolumeResponse)(nil), // 11: master_pb.LookupVolumeResponse
  2964. (*Location)(nil), // 12: master_pb.Location
  2965. (*AssignRequest)(nil), // 13: master_pb.AssignRequest
  2966. (*AssignResponse)(nil), // 14: master_pb.AssignResponse
  2967. (*StatisticsRequest)(nil), // 15: master_pb.StatisticsRequest
  2968. (*StatisticsResponse)(nil), // 16: master_pb.StatisticsResponse
  2969. (*Collection)(nil), // 17: master_pb.Collection
  2970. (*CollectionListRequest)(nil), // 18: master_pb.CollectionListRequest
  2971. (*CollectionListResponse)(nil), // 19: master_pb.CollectionListResponse
  2972. (*CollectionDeleteRequest)(nil), // 20: master_pb.CollectionDeleteRequest
  2973. (*CollectionDeleteResponse)(nil), // 21: master_pb.CollectionDeleteResponse
  2974. (*DiskInfo)(nil), // 22: master_pb.DiskInfo
  2975. (*DataNodeInfo)(nil), // 23: master_pb.DataNodeInfo
  2976. (*RackInfo)(nil), // 24: master_pb.RackInfo
  2977. (*DataCenterInfo)(nil), // 25: master_pb.DataCenterInfo
  2978. (*TopologyInfo)(nil), // 26: master_pb.TopologyInfo
  2979. (*VolumeListRequest)(nil), // 27: master_pb.VolumeListRequest
  2980. (*VolumeListResponse)(nil), // 28: master_pb.VolumeListResponse
  2981. (*LookupEcVolumeRequest)(nil), // 29: master_pb.LookupEcVolumeRequest
  2982. (*LookupEcVolumeResponse)(nil), // 30: master_pb.LookupEcVolumeResponse
  2983. (*VacuumVolumeRequest)(nil), // 31: master_pb.VacuumVolumeRequest
  2984. (*VacuumVolumeResponse)(nil), // 32: master_pb.VacuumVolumeResponse
  2985. (*GetMasterConfigurationRequest)(nil), // 33: master_pb.GetMasterConfigurationRequest
  2986. (*GetMasterConfigurationResponse)(nil), // 34: master_pb.GetMasterConfigurationResponse
  2987. (*ListMasterClientsRequest)(nil), // 35: master_pb.ListMasterClientsRequest
  2988. (*ListMasterClientsResponse)(nil), // 36: master_pb.ListMasterClientsResponse
  2989. (*LeaseAdminTokenRequest)(nil), // 37: master_pb.LeaseAdminTokenRequest
  2990. (*LeaseAdminTokenResponse)(nil), // 38: master_pb.LeaseAdminTokenResponse
  2991. (*ReleaseAdminTokenRequest)(nil), // 39: master_pb.ReleaseAdminTokenRequest
  2992. (*ReleaseAdminTokenResponse)(nil), // 40: master_pb.ReleaseAdminTokenResponse
  2993. nil, // 41: master_pb.Heartbeat.MaxVolumeCountsEntry
  2994. nil, // 42: master_pb.StorageBackend.PropertiesEntry
  2995. (*SuperBlockExtra_ErasureCoding)(nil), // 43: master_pb.SuperBlockExtra.ErasureCoding
  2996. (*LookupVolumeResponse_VolumeIdLocation)(nil), // 44: master_pb.LookupVolumeResponse.VolumeIdLocation
  2997. nil, // 45: master_pb.DataNodeInfo.DiskInfosEntry
  2998. nil, // 46: master_pb.RackInfo.DiskInfosEntry
  2999. nil, // 47: master_pb.DataCenterInfo.DiskInfosEntry
  3000. nil, // 48: master_pb.TopologyInfo.DiskInfosEntry
  3001. (*LookupEcVolumeResponse_EcShardIdLocation)(nil), // 49: master_pb.LookupEcVolumeResponse.EcShardIdLocation
  3002. }
  3003. var file_master_proto_depIdxs = []int32{
  3004. 2, // 0: master_pb.Heartbeat.volumes:type_name -> master_pb.VolumeInformationMessage
  3005. 3, // 1: master_pb.Heartbeat.new_volumes:type_name -> master_pb.VolumeShortInformationMessage
  3006. 3, // 2: master_pb.Heartbeat.deleted_volumes:type_name -> master_pb.VolumeShortInformationMessage
  3007. 4, // 3: master_pb.Heartbeat.ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  3008. 4, // 4: master_pb.Heartbeat.new_ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  3009. 4, // 5: master_pb.Heartbeat.deleted_ec_shards:type_name -> master_pb.VolumeEcShardInformationMessage
  3010. 41, // 6: master_pb.Heartbeat.max_volume_counts:type_name -> master_pb.Heartbeat.MaxVolumeCountsEntry
  3011. 5, // 7: master_pb.HeartbeatResponse.storage_backends:type_name -> master_pb.StorageBackend
  3012. 42, // 8: master_pb.StorageBackend.properties:type_name -> master_pb.StorageBackend.PropertiesEntry
  3013. 43, // 9: master_pb.SuperBlockExtra.erasure_coding:type_name -> master_pb.SuperBlockExtra.ErasureCoding
  3014. 44, // 10: master_pb.LookupVolumeResponse.volume_id_locations:type_name -> master_pb.LookupVolumeResponse.VolumeIdLocation
  3015. 17, // 11: master_pb.CollectionListResponse.collections:type_name -> master_pb.Collection
  3016. 2, // 12: master_pb.DiskInfo.volume_infos:type_name -> master_pb.VolumeInformationMessage
  3017. 4, // 13: master_pb.DiskInfo.ec_shard_infos:type_name -> master_pb.VolumeEcShardInformationMessage
  3018. 45, // 14: master_pb.DataNodeInfo.diskInfos:type_name -> master_pb.DataNodeInfo.DiskInfosEntry
  3019. 23, // 15: master_pb.RackInfo.data_node_infos:type_name -> master_pb.DataNodeInfo
  3020. 46, // 16: master_pb.RackInfo.diskInfos:type_name -> master_pb.RackInfo.DiskInfosEntry
  3021. 24, // 17: master_pb.DataCenterInfo.rack_infos:type_name -> master_pb.RackInfo
  3022. 47, // 18: master_pb.DataCenterInfo.diskInfos:type_name -> master_pb.DataCenterInfo.DiskInfosEntry
  3023. 25, // 19: master_pb.TopologyInfo.data_center_infos:type_name -> master_pb.DataCenterInfo
  3024. 48, // 20: master_pb.TopologyInfo.diskInfos:type_name -> master_pb.TopologyInfo.DiskInfosEntry
  3025. 26, // 21: master_pb.VolumeListResponse.topology_info:type_name -> master_pb.TopologyInfo
  3026. 49, // 22: master_pb.LookupEcVolumeResponse.shard_id_locations:type_name -> master_pb.LookupEcVolumeResponse.EcShardIdLocation
  3027. 5, // 23: master_pb.GetMasterConfigurationResponse.storage_backends:type_name -> master_pb.StorageBackend
  3028. 12, // 24: master_pb.LookupVolumeResponse.VolumeIdLocation.locations:type_name -> master_pb.Location
  3029. 22, // 25: master_pb.DataNodeInfo.DiskInfosEntry.value:type_name -> master_pb.DiskInfo
  3030. 22, // 26: master_pb.RackInfo.DiskInfosEntry.value:type_name -> master_pb.DiskInfo
  3031. 22, // 27: master_pb.DataCenterInfo.DiskInfosEntry.value:type_name -> master_pb.DiskInfo
  3032. 22, // 28: master_pb.TopologyInfo.DiskInfosEntry.value:type_name -> master_pb.DiskInfo
  3033. 12, // 29: master_pb.LookupEcVolumeResponse.EcShardIdLocation.locations:type_name -> master_pb.Location
  3034. 0, // 30: master_pb.Seaweed.SendHeartbeat:input_type -> master_pb.Heartbeat
  3035. 8, // 31: master_pb.Seaweed.KeepConnected:input_type -> master_pb.KeepConnectedRequest
  3036. 10, // 32: master_pb.Seaweed.LookupVolume:input_type -> master_pb.LookupVolumeRequest
  3037. 13, // 33: master_pb.Seaweed.Assign:input_type -> master_pb.AssignRequest
  3038. 15, // 34: master_pb.Seaweed.Statistics:input_type -> master_pb.StatisticsRequest
  3039. 18, // 35: master_pb.Seaweed.CollectionList:input_type -> master_pb.CollectionListRequest
  3040. 20, // 36: master_pb.Seaweed.CollectionDelete:input_type -> master_pb.CollectionDeleteRequest
  3041. 27, // 37: master_pb.Seaweed.VolumeList:input_type -> master_pb.VolumeListRequest
  3042. 29, // 38: master_pb.Seaweed.LookupEcVolume:input_type -> master_pb.LookupEcVolumeRequest
  3043. 31, // 39: master_pb.Seaweed.VacuumVolume:input_type -> master_pb.VacuumVolumeRequest
  3044. 33, // 40: master_pb.Seaweed.GetMasterConfiguration:input_type -> master_pb.GetMasterConfigurationRequest
  3045. 35, // 41: master_pb.Seaweed.ListMasterClients:input_type -> master_pb.ListMasterClientsRequest
  3046. 37, // 42: master_pb.Seaweed.LeaseAdminToken:input_type -> master_pb.LeaseAdminTokenRequest
  3047. 39, // 43: master_pb.Seaweed.ReleaseAdminToken:input_type -> master_pb.ReleaseAdminTokenRequest
  3048. 1, // 44: master_pb.Seaweed.SendHeartbeat:output_type -> master_pb.HeartbeatResponse
  3049. 9, // 45: master_pb.Seaweed.KeepConnected:output_type -> master_pb.VolumeLocation
  3050. 11, // 46: master_pb.Seaweed.LookupVolume:output_type -> master_pb.LookupVolumeResponse
  3051. 14, // 47: master_pb.Seaweed.Assign:output_type -> master_pb.AssignResponse
  3052. 16, // 48: master_pb.Seaweed.Statistics:output_type -> master_pb.StatisticsResponse
  3053. 19, // 49: master_pb.Seaweed.CollectionList:output_type -> master_pb.CollectionListResponse
  3054. 21, // 50: master_pb.Seaweed.CollectionDelete:output_type -> master_pb.CollectionDeleteResponse
  3055. 28, // 51: master_pb.Seaweed.VolumeList:output_type -> master_pb.VolumeListResponse
  3056. 30, // 52: master_pb.Seaweed.LookupEcVolume:output_type -> master_pb.LookupEcVolumeResponse
  3057. 32, // 53: master_pb.Seaweed.VacuumVolume:output_type -> master_pb.VacuumVolumeResponse
  3058. 34, // 54: master_pb.Seaweed.GetMasterConfiguration:output_type -> master_pb.GetMasterConfigurationResponse
  3059. 36, // 55: master_pb.Seaweed.ListMasterClients:output_type -> master_pb.ListMasterClientsResponse
  3060. 38, // 56: master_pb.Seaweed.LeaseAdminToken:output_type -> master_pb.LeaseAdminTokenResponse
  3061. 40, // 57: master_pb.Seaweed.ReleaseAdminToken:output_type -> master_pb.ReleaseAdminTokenResponse
  3062. 44, // [44:58] is the sub-list for method output_type
  3063. 30, // [30:44] is the sub-list for method input_type
  3064. 30, // [30:30] is the sub-list for extension type_name
  3065. 30, // [30:30] is the sub-list for extension extendee
  3066. 0, // [0:30] is the sub-list for field type_name
  3067. }
  3068. func init() { file_master_proto_init() }
  3069. func file_master_proto_init() {
  3070. if File_master_proto != nil {
  3071. return
  3072. }
  3073. if !protoimpl.UnsafeEnabled {
  3074. file_master_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  3075. switch v := v.(*Heartbeat); i {
  3076. case 0:
  3077. return &v.state
  3078. case 1:
  3079. return &v.sizeCache
  3080. case 2:
  3081. return &v.unknownFields
  3082. default:
  3083. return nil
  3084. }
  3085. }
  3086. file_master_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  3087. switch v := v.(*HeartbeatResponse); i {
  3088. case 0:
  3089. return &v.state
  3090. case 1:
  3091. return &v.sizeCache
  3092. case 2:
  3093. return &v.unknownFields
  3094. default:
  3095. return nil
  3096. }
  3097. }
  3098. file_master_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  3099. switch v := v.(*VolumeInformationMessage); i {
  3100. case 0:
  3101. return &v.state
  3102. case 1:
  3103. return &v.sizeCache
  3104. case 2:
  3105. return &v.unknownFields
  3106. default:
  3107. return nil
  3108. }
  3109. }
  3110. file_master_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  3111. switch v := v.(*VolumeShortInformationMessage); i {
  3112. case 0:
  3113. return &v.state
  3114. case 1:
  3115. return &v.sizeCache
  3116. case 2:
  3117. return &v.unknownFields
  3118. default:
  3119. return nil
  3120. }
  3121. }
  3122. file_master_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  3123. switch v := v.(*VolumeEcShardInformationMessage); i {
  3124. case 0:
  3125. return &v.state
  3126. case 1:
  3127. return &v.sizeCache
  3128. case 2:
  3129. return &v.unknownFields
  3130. default:
  3131. return nil
  3132. }
  3133. }
  3134. file_master_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  3135. switch v := v.(*StorageBackend); i {
  3136. case 0:
  3137. return &v.state
  3138. case 1:
  3139. return &v.sizeCache
  3140. case 2:
  3141. return &v.unknownFields
  3142. default:
  3143. return nil
  3144. }
  3145. }
  3146. file_master_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  3147. switch v := v.(*Empty); i {
  3148. case 0:
  3149. return &v.state
  3150. case 1:
  3151. return &v.sizeCache
  3152. case 2:
  3153. return &v.unknownFields
  3154. default:
  3155. return nil
  3156. }
  3157. }
  3158. file_master_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  3159. switch v := v.(*SuperBlockExtra); i {
  3160. case 0:
  3161. return &v.state
  3162. case 1:
  3163. return &v.sizeCache
  3164. case 2:
  3165. return &v.unknownFields
  3166. default:
  3167. return nil
  3168. }
  3169. }
  3170. file_master_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  3171. switch v := v.(*KeepConnectedRequest); i {
  3172. case 0:
  3173. return &v.state
  3174. case 1:
  3175. return &v.sizeCache
  3176. case 2:
  3177. return &v.unknownFields
  3178. default:
  3179. return nil
  3180. }
  3181. }
  3182. file_master_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  3183. switch v := v.(*VolumeLocation); i {
  3184. case 0:
  3185. return &v.state
  3186. case 1:
  3187. return &v.sizeCache
  3188. case 2:
  3189. return &v.unknownFields
  3190. default:
  3191. return nil
  3192. }
  3193. }
  3194. file_master_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  3195. switch v := v.(*LookupVolumeRequest); i {
  3196. case 0:
  3197. return &v.state
  3198. case 1:
  3199. return &v.sizeCache
  3200. case 2:
  3201. return &v.unknownFields
  3202. default:
  3203. return nil
  3204. }
  3205. }
  3206. file_master_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  3207. switch v := v.(*LookupVolumeResponse); i {
  3208. case 0:
  3209. return &v.state
  3210. case 1:
  3211. return &v.sizeCache
  3212. case 2:
  3213. return &v.unknownFields
  3214. default:
  3215. return nil
  3216. }
  3217. }
  3218. file_master_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  3219. switch v := v.(*Location); i {
  3220. case 0:
  3221. return &v.state
  3222. case 1:
  3223. return &v.sizeCache
  3224. case 2:
  3225. return &v.unknownFields
  3226. default:
  3227. return nil
  3228. }
  3229. }
  3230. file_master_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  3231. switch v := v.(*AssignRequest); i {
  3232. case 0:
  3233. return &v.state
  3234. case 1:
  3235. return &v.sizeCache
  3236. case 2:
  3237. return &v.unknownFields
  3238. default:
  3239. return nil
  3240. }
  3241. }
  3242. file_master_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  3243. switch v := v.(*AssignResponse); i {
  3244. case 0:
  3245. return &v.state
  3246. case 1:
  3247. return &v.sizeCache
  3248. case 2:
  3249. return &v.unknownFields
  3250. default:
  3251. return nil
  3252. }
  3253. }
  3254. file_master_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  3255. switch v := v.(*StatisticsRequest); i {
  3256. case 0:
  3257. return &v.state
  3258. case 1:
  3259. return &v.sizeCache
  3260. case 2:
  3261. return &v.unknownFields
  3262. default:
  3263. return nil
  3264. }
  3265. }
  3266. file_master_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  3267. switch v := v.(*StatisticsResponse); i {
  3268. case 0:
  3269. return &v.state
  3270. case 1:
  3271. return &v.sizeCache
  3272. case 2:
  3273. return &v.unknownFields
  3274. default:
  3275. return nil
  3276. }
  3277. }
  3278. file_master_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  3279. switch v := v.(*Collection); i {
  3280. case 0:
  3281. return &v.state
  3282. case 1:
  3283. return &v.sizeCache
  3284. case 2:
  3285. return &v.unknownFields
  3286. default:
  3287. return nil
  3288. }
  3289. }
  3290. file_master_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  3291. switch v := v.(*CollectionListRequest); i {
  3292. case 0:
  3293. return &v.state
  3294. case 1:
  3295. return &v.sizeCache
  3296. case 2:
  3297. return &v.unknownFields
  3298. default:
  3299. return nil
  3300. }
  3301. }
  3302. file_master_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  3303. switch v := v.(*CollectionListResponse); i {
  3304. case 0:
  3305. return &v.state
  3306. case 1:
  3307. return &v.sizeCache
  3308. case 2:
  3309. return &v.unknownFields
  3310. default:
  3311. return nil
  3312. }
  3313. }
  3314. file_master_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  3315. switch v := v.(*CollectionDeleteRequest); i {
  3316. case 0:
  3317. return &v.state
  3318. case 1:
  3319. return &v.sizeCache
  3320. case 2:
  3321. return &v.unknownFields
  3322. default:
  3323. return nil
  3324. }
  3325. }
  3326. file_master_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
  3327. switch v := v.(*CollectionDeleteResponse); i {
  3328. case 0:
  3329. return &v.state
  3330. case 1:
  3331. return &v.sizeCache
  3332. case 2:
  3333. return &v.unknownFields
  3334. default:
  3335. return nil
  3336. }
  3337. }
  3338. file_master_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
  3339. switch v := v.(*DiskInfo); i {
  3340. case 0:
  3341. return &v.state
  3342. case 1:
  3343. return &v.sizeCache
  3344. case 2:
  3345. return &v.unknownFields
  3346. default:
  3347. return nil
  3348. }
  3349. }
  3350. file_master_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
  3351. switch v := v.(*DataNodeInfo); i {
  3352. case 0:
  3353. return &v.state
  3354. case 1:
  3355. return &v.sizeCache
  3356. case 2:
  3357. return &v.unknownFields
  3358. default:
  3359. return nil
  3360. }
  3361. }
  3362. file_master_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} {
  3363. switch v := v.(*RackInfo); i {
  3364. case 0:
  3365. return &v.state
  3366. case 1:
  3367. return &v.sizeCache
  3368. case 2:
  3369. return &v.unknownFields
  3370. default:
  3371. return nil
  3372. }
  3373. }
  3374. file_master_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} {
  3375. switch v := v.(*DataCenterInfo); i {
  3376. case 0:
  3377. return &v.state
  3378. case 1:
  3379. return &v.sizeCache
  3380. case 2:
  3381. return &v.unknownFields
  3382. default:
  3383. return nil
  3384. }
  3385. }
  3386. file_master_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} {
  3387. switch v := v.(*TopologyInfo); i {
  3388. case 0:
  3389. return &v.state
  3390. case 1:
  3391. return &v.sizeCache
  3392. case 2:
  3393. return &v.unknownFields
  3394. default:
  3395. return nil
  3396. }
  3397. }
  3398. file_master_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} {
  3399. switch v := v.(*VolumeListRequest); i {
  3400. case 0:
  3401. return &v.state
  3402. case 1:
  3403. return &v.sizeCache
  3404. case 2:
  3405. return &v.unknownFields
  3406. default:
  3407. return nil
  3408. }
  3409. }
  3410. file_master_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} {
  3411. switch v := v.(*VolumeListResponse); i {
  3412. case 0:
  3413. return &v.state
  3414. case 1:
  3415. return &v.sizeCache
  3416. case 2:
  3417. return &v.unknownFields
  3418. default:
  3419. return nil
  3420. }
  3421. }
  3422. file_master_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} {
  3423. switch v := v.(*LookupEcVolumeRequest); i {
  3424. case 0:
  3425. return &v.state
  3426. case 1:
  3427. return &v.sizeCache
  3428. case 2:
  3429. return &v.unknownFields
  3430. default:
  3431. return nil
  3432. }
  3433. }
  3434. file_master_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} {
  3435. switch v := v.(*LookupEcVolumeResponse); i {
  3436. case 0:
  3437. return &v.state
  3438. case 1:
  3439. return &v.sizeCache
  3440. case 2:
  3441. return &v.unknownFields
  3442. default:
  3443. return nil
  3444. }
  3445. }
  3446. file_master_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} {
  3447. switch v := v.(*VacuumVolumeRequest); i {
  3448. case 0:
  3449. return &v.state
  3450. case 1:
  3451. return &v.sizeCache
  3452. case 2:
  3453. return &v.unknownFields
  3454. default:
  3455. return nil
  3456. }
  3457. }
  3458. file_master_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} {
  3459. switch v := v.(*VacuumVolumeResponse); i {
  3460. case 0:
  3461. return &v.state
  3462. case 1:
  3463. return &v.sizeCache
  3464. case 2:
  3465. return &v.unknownFields
  3466. default:
  3467. return nil
  3468. }
  3469. }
  3470. file_master_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} {
  3471. switch v := v.(*GetMasterConfigurationRequest); i {
  3472. case 0:
  3473. return &v.state
  3474. case 1:
  3475. return &v.sizeCache
  3476. case 2:
  3477. return &v.unknownFields
  3478. default:
  3479. return nil
  3480. }
  3481. }
  3482. file_master_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} {
  3483. switch v := v.(*GetMasterConfigurationResponse); i {
  3484. case 0:
  3485. return &v.state
  3486. case 1:
  3487. return &v.sizeCache
  3488. case 2:
  3489. return &v.unknownFields
  3490. default:
  3491. return nil
  3492. }
  3493. }
  3494. file_master_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} {
  3495. switch v := v.(*ListMasterClientsRequest); i {
  3496. case 0:
  3497. return &v.state
  3498. case 1:
  3499. return &v.sizeCache
  3500. case 2:
  3501. return &v.unknownFields
  3502. default:
  3503. return nil
  3504. }
  3505. }
  3506. file_master_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} {
  3507. switch v := v.(*ListMasterClientsResponse); i {
  3508. case 0:
  3509. return &v.state
  3510. case 1:
  3511. return &v.sizeCache
  3512. case 2:
  3513. return &v.unknownFields
  3514. default:
  3515. return nil
  3516. }
  3517. }
  3518. file_master_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} {
  3519. switch v := v.(*LeaseAdminTokenRequest); i {
  3520. case 0:
  3521. return &v.state
  3522. case 1:
  3523. return &v.sizeCache
  3524. case 2:
  3525. return &v.unknownFields
  3526. default:
  3527. return nil
  3528. }
  3529. }
  3530. file_master_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} {
  3531. switch v := v.(*LeaseAdminTokenResponse); i {
  3532. case 0:
  3533. return &v.state
  3534. case 1:
  3535. return &v.sizeCache
  3536. case 2:
  3537. return &v.unknownFields
  3538. default:
  3539. return nil
  3540. }
  3541. }
  3542. file_master_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} {
  3543. switch v := v.(*ReleaseAdminTokenRequest); i {
  3544. case 0:
  3545. return &v.state
  3546. case 1:
  3547. return &v.sizeCache
  3548. case 2:
  3549. return &v.unknownFields
  3550. default:
  3551. return nil
  3552. }
  3553. }
  3554. file_master_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} {
  3555. switch v := v.(*ReleaseAdminTokenResponse); i {
  3556. case 0:
  3557. return &v.state
  3558. case 1:
  3559. return &v.sizeCache
  3560. case 2:
  3561. return &v.unknownFields
  3562. default:
  3563. return nil
  3564. }
  3565. }
  3566. file_master_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} {
  3567. switch v := v.(*SuperBlockExtra_ErasureCoding); i {
  3568. case 0:
  3569. return &v.state
  3570. case 1:
  3571. return &v.sizeCache
  3572. case 2:
  3573. return &v.unknownFields
  3574. default:
  3575. return nil
  3576. }
  3577. }
  3578. file_master_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} {
  3579. switch v := v.(*LookupVolumeResponse_VolumeIdLocation); i {
  3580. case 0:
  3581. return &v.state
  3582. case 1:
  3583. return &v.sizeCache
  3584. case 2:
  3585. return &v.unknownFields
  3586. default:
  3587. return nil
  3588. }
  3589. }
  3590. file_master_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} {
  3591. switch v := v.(*LookupEcVolumeResponse_EcShardIdLocation); i {
  3592. case 0:
  3593. return &v.state
  3594. case 1:
  3595. return &v.sizeCache
  3596. case 2:
  3597. return &v.unknownFields
  3598. default:
  3599. return nil
  3600. }
  3601. }
  3602. }
  3603. type x struct{}
  3604. out := protoimpl.TypeBuilder{
  3605. File: protoimpl.DescBuilder{
  3606. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3607. RawDescriptor: file_master_proto_rawDesc,
  3608. NumEnums: 0,
  3609. NumMessages: 50,
  3610. NumExtensions: 0,
  3611. NumServices: 1,
  3612. },
  3613. GoTypes: file_master_proto_goTypes,
  3614. DependencyIndexes: file_master_proto_depIdxs,
  3615. MessageInfos: file_master_proto_msgTypes,
  3616. }.Build()
  3617. File_master_proto = out.File
  3618. file_master_proto_rawDesc = nil
  3619. file_master_proto_goTypes = nil
  3620. file_master_proto_depIdxs = nil
  3621. }
  3622. // Reference imports to suppress errors if they are not otherwise used.
  3623. var _ context.Context
  3624. var _ grpc.ClientConnInterface
  3625. // This is a compile-time assertion to ensure that this generated file
  3626. // is compatible with the grpc package it is being compiled against.
  3627. const _ = grpc.SupportPackageIsVersion6
  3628. // SeaweedClient is the client API for Seaweed service.
  3629. //
  3630. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  3631. type SeaweedClient interface {
  3632. SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error)
  3633. KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error)
  3634. LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error)
  3635. Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error)
  3636. Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error)
  3637. CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error)
  3638. CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error)
  3639. VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error)
  3640. LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error)
  3641. VacuumVolume(ctx context.Context, in *VacuumVolumeRequest, opts ...grpc.CallOption) (*VacuumVolumeResponse, error)
  3642. GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error)
  3643. ListMasterClients(ctx context.Context, in *ListMasterClientsRequest, opts ...grpc.CallOption) (*ListMasterClientsResponse, error)
  3644. LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error)
  3645. ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error)
  3646. }
  3647. type seaweedClient struct {
  3648. cc grpc.ClientConnInterface
  3649. }
  3650. func NewSeaweedClient(cc grpc.ClientConnInterface) SeaweedClient {
  3651. return &seaweedClient{cc}
  3652. }
  3653. func (c *seaweedClient) SendHeartbeat(ctx context.Context, opts ...grpc.CallOption) (Seaweed_SendHeartbeatClient, error) {
  3654. stream, err := c.cc.NewStream(ctx, &_Seaweed_serviceDesc.Streams[0], "/master_pb.Seaweed/SendHeartbeat", opts...)
  3655. if err != nil {
  3656. return nil, err
  3657. }
  3658. x := &seaweedSendHeartbeatClient{stream}
  3659. return x, nil
  3660. }
  3661. type Seaweed_SendHeartbeatClient interface {
  3662. Send(*Heartbeat) error
  3663. Recv() (*HeartbeatResponse, error)
  3664. grpc.ClientStream
  3665. }
  3666. type seaweedSendHeartbeatClient struct {
  3667. grpc.ClientStream
  3668. }
  3669. func (x *seaweedSendHeartbeatClient) Send(m *Heartbeat) error {
  3670. return x.ClientStream.SendMsg(m)
  3671. }
  3672. func (x *seaweedSendHeartbeatClient) Recv() (*HeartbeatResponse, error) {
  3673. m := new(HeartbeatResponse)
  3674. if err := x.ClientStream.RecvMsg(m); err != nil {
  3675. return nil, err
  3676. }
  3677. return m, nil
  3678. }
  3679. func (c *seaweedClient) KeepConnected(ctx context.Context, opts ...grpc.CallOption) (Seaweed_KeepConnectedClient, error) {
  3680. stream, err := c.cc.NewStream(ctx, &_Seaweed_serviceDesc.Streams[1], "/master_pb.Seaweed/KeepConnected", opts...)
  3681. if err != nil {
  3682. return nil, err
  3683. }
  3684. x := &seaweedKeepConnectedClient{stream}
  3685. return x, nil
  3686. }
  3687. type Seaweed_KeepConnectedClient interface {
  3688. Send(*KeepConnectedRequest) error
  3689. Recv() (*VolumeLocation, error)
  3690. grpc.ClientStream
  3691. }
  3692. type seaweedKeepConnectedClient struct {
  3693. grpc.ClientStream
  3694. }
  3695. func (x *seaweedKeepConnectedClient) Send(m *KeepConnectedRequest) error {
  3696. return x.ClientStream.SendMsg(m)
  3697. }
  3698. func (x *seaweedKeepConnectedClient) Recv() (*VolumeLocation, error) {
  3699. m := new(VolumeLocation)
  3700. if err := x.ClientStream.RecvMsg(m); err != nil {
  3701. return nil, err
  3702. }
  3703. return m, nil
  3704. }
  3705. func (c *seaweedClient) LookupVolume(ctx context.Context, in *LookupVolumeRequest, opts ...grpc.CallOption) (*LookupVolumeResponse, error) {
  3706. out := new(LookupVolumeResponse)
  3707. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LookupVolume", in, out, opts...)
  3708. if err != nil {
  3709. return nil, err
  3710. }
  3711. return out, nil
  3712. }
  3713. func (c *seaweedClient) Assign(ctx context.Context, in *AssignRequest, opts ...grpc.CallOption) (*AssignResponse, error) {
  3714. out := new(AssignResponse)
  3715. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/Assign", in, out, opts...)
  3716. if err != nil {
  3717. return nil, err
  3718. }
  3719. return out, nil
  3720. }
  3721. func (c *seaweedClient) Statistics(ctx context.Context, in *StatisticsRequest, opts ...grpc.CallOption) (*StatisticsResponse, error) {
  3722. out := new(StatisticsResponse)
  3723. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/Statistics", in, out, opts...)
  3724. if err != nil {
  3725. return nil, err
  3726. }
  3727. return out, nil
  3728. }
  3729. func (c *seaweedClient) CollectionList(ctx context.Context, in *CollectionListRequest, opts ...grpc.CallOption) (*CollectionListResponse, error) {
  3730. out := new(CollectionListResponse)
  3731. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/CollectionList", in, out, opts...)
  3732. if err != nil {
  3733. return nil, err
  3734. }
  3735. return out, nil
  3736. }
  3737. func (c *seaweedClient) CollectionDelete(ctx context.Context, in *CollectionDeleteRequest, opts ...grpc.CallOption) (*CollectionDeleteResponse, error) {
  3738. out := new(CollectionDeleteResponse)
  3739. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/CollectionDelete", in, out, opts...)
  3740. if err != nil {
  3741. return nil, err
  3742. }
  3743. return out, nil
  3744. }
  3745. func (c *seaweedClient) VolumeList(ctx context.Context, in *VolumeListRequest, opts ...grpc.CallOption) (*VolumeListResponse, error) {
  3746. out := new(VolumeListResponse)
  3747. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/VolumeList", in, out, opts...)
  3748. if err != nil {
  3749. return nil, err
  3750. }
  3751. return out, nil
  3752. }
  3753. func (c *seaweedClient) LookupEcVolume(ctx context.Context, in *LookupEcVolumeRequest, opts ...grpc.CallOption) (*LookupEcVolumeResponse, error) {
  3754. out := new(LookupEcVolumeResponse)
  3755. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LookupEcVolume", in, out, opts...)
  3756. if err != nil {
  3757. return nil, err
  3758. }
  3759. return out, nil
  3760. }
  3761. func (c *seaweedClient) VacuumVolume(ctx context.Context, in *VacuumVolumeRequest, opts ...grpc.CallOption) (*VacuumVolumeResponse, error) {
  3762. out := new(VacuumVolumeResponse)
  3763. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/VacuumVolume", in, out, opts...)
  3764. if err != nil {
  3765. return nil, err
  3766. }
  3767. return out, nil
  3768. }
  3769. func (c *seaweedClient) GetMasterConfiguration(ctx context.Context, in *GetMasterConfigurationRequest, opts ...grpc.CallOption) (*GetMasterConfigurationResponse, error) {
  3770. out := new(GetMasterConfigurationResponse)
  3771. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/GetMasterConfiguration", in, out, opts...)
  3772. if err != nil {
  3773. return nil, err
  3774. }
  3775. return out, nil
  3776. }
  3777. func (c *seaweedClient) ListMasterClients(ctx context.Context, in *ListMasterClientsRequest, opts ...grpc.CallOption) (*ListMasterClientsResponse, error) {
  3778. out := new(ListMasterClientsResponse)
  3779. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/ListMasterClients", in, out, opts...)
  3780. if err != nil {
  3781. return nil, err
  3782. }
  3783. return out, nil
  3784. }
  3785. func (c *seaweedClient) LeaseAdminToken(ctx context.Context, in *LeaseAdminTokenRequest, opts ...grpc.CallOption) (*LeaseAdminTokenResponse, error) {
  3786. out := new(LeaseAdminTokenResponse)
  3787. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/LeaseAdminToken", in, out, opts...)
  3788. if err != nil {
  3789. return nil, err
  3790. }
  3791. return out, nil
  3792. }
  3793. func (c *seaweedClient) ReleaseAdminToken(ctx context.Context, in *ReleaseAdminTokenRequest, opts ...grpc.CallOption) (*ReleaseAdminTokenResponse, error) {
  3794. out := new(ReleaseAdminTokenResponse)
  3795. err := c.cc.Invoke(ctx, "/master_pb.Seaweed/ReleaseAdminToken", in, out, opts...)
  3796. if err != nil {
  3797. return nil, err
  3798. }
  3799. return out, nil
  3800. }
  3801. // SeaweedServer is the server API for Seaweed service.
  3802. type SeaweedServer interface {
  3803. SendHeartbeat(Seaweed_SendHeartbeatServer) error
  3804. KeepConnected(Seaweed_KeepConnectedServer) error
  3805. LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error)
  3806. Assign(context.Context, *AssignRequest) (*AssignResponse, error)
  3807. Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error)
  3808. CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error)
  3809. CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error)
  3810. VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error)
  3811. LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error)
  3812. VacuumVolume(context.Context, *VacuumVolumeRequest) (*VacuumVolumeResponse, error)
  3813. GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error)
  3814. ListMasterClients(context.Context, *ListMasterClientsRequest) (*ListMasterClientsResponse, error)
  3815. LeaseAdminToken(context.Context, *LeaseAdminTokenRequest) (*LeaseAdminTokenResponse, error)
  3816. ReleaseAdminToken(context.Context, *ReleaseAdminTokenRequest) (*ReleaseAdminTokenResponse, error)
  3817. }
  3818. // UnimplementedSeaweedServer can be embedded to have forward compatible implementations.
  3819. type UnimplementedSeaweedServer struct {
  3820. }
  3821. func (*UnimplementedSeaweedServer) SendHeartbeat(Seaweed_SendHeartbeatServer) error {
  3822. return status.Errorf(codes.Unimplemented, "method SendHeartbeat not implemented")
  3823. }
  3824. func (*UnimplementedSeaweedServer) KeepConnected(Seaweed_KeepConnectedServer) error {
  3825. return status.Errorf(codes.Unimplemented, "method KeepConnected not implemented")
  3826. }
  3827. func (*UnimplementedSeaweedServer) LookupVolume(context.Context, *LookupVolumeRequest) (*LookupVolumeResponse, error) {
  3828. return nil, status.Errorf(codes.Unimplemented, "method LookupVolume not implemented")
  3829. }
  3830. func (*UnimplementedSeaweedServer) Assign(context.Context, *AssignRequest) (*AssignResponse, error) {
  3831. return nil, status.Errorf(codes.Unimplemented, "method Assign not implemented")
  3832. }
  3833. func (*UnimplementedSeaweedServer) Statistics(context.Context, *StatisticsRequest) (*StatisticsResponse, error) {
  3834. return nil, status.Errorf(codes.Unimplemented, "method Statistics not implemented")
  3835. }
  3836. func (*UnimplementedSeaweedServer) CollectionList(context.Context, *CollectionListRequest) (*CollectionListResponse, error) {
  3837. return nil, status.Errorf(codes.Unimplemented, "method CollectionList not implemented")
  3838. }
  3839. func (*UnimplementedSeaweedServer) CollectionDelete(context.Context, *CollectionDeleteRequest) (*CollectionDeleteResponse, error) {
  3840. return nil, status.Errorf(codes.Unimplemented, "method CollectionDelete not implemented")
  3841. }
  3842. func (*UnimplementedSeaweedServer) VolumeList(context.Context, *VolumeListRequest) (*VolumeListResponse, error) {
  3843. return nil, status.Errorf(codes.Unimplemented, "method VolumeList not implemented")
  3844. }
  3845. func (*UnimplementedSeaweedServer) LookupEcVolume(context.Context, *LookupEcVolumeRequest) (*LookupEcVolumeResponse, error) {
  3846. return nil, status.Errorf(codes.Unimplemented, "method LookupEcVolume not implemented")
  3847. }
  3848. func (*UnimplementedSeaweedServer) VacuumVolume(context.Context, *VacuumVolumeRequest) (*VacuumVolumeResponse, error) {
  3849. return nil, status.Errorf(codes.Unimplemented, "method VacuumVolume not implemented")
  3850. }
  3851. func (*UnimplementedSeaweedServer) GetMasterConfiguration(context.Context, *GetMasterConfigurationRequest) (*GetMasterConfigurationResponse, error) {
  3852. return nil, status.Errorf(codes.Unimplemented, "method GetMasterConfiguration not implemented")
  3853. }
  3854. func (*UnimplementedSeaweedServer) ListMasterClients(context.Context, *ListMasterClientsRequest) (*ListMasterClientsResponse, error) {
  3855. return nil, status.Errorf(codes.Unimplemented, "method ListMasterClients not implemented")
  3856. }
  3857. func (*UnimplementedSeaweedServer) LeaseAdminToken(context.Context, *LeaseAdminTokenRequest) (*LeaseAdminTokenResponse, error) {
  3858. return nil, status.Errorf(codes.Unimplemented, "method LeaseAdminToken not implemented")
  3859. }
  3860. func (*UnimplementedSeaweedServer) ReleaseAdminToken(context.Context, *ReleaseAdminTokenRequest) (*ReleaseAdminTokenResponse, error) {
  3861. return nil, status.Errorf(codes.Unimplemented, "method ReleaseAdminToken not implemented")
  3862. }
  3863. func RegisterSeaweedServer(s *grpc.Server, srv SeaweedServer) {
  3864. s.RegisterService(&_Seaweed_serviceDesc, srv)
  3865. }
  3866. func _Seaweed_SendHeartbeat_Handler(srv interface{}, stream grpc.ServerStream) error {
  3867. return srv.(SeaweedServer).SendHeartbeat(&seaweedSendHeartbeatServer{stream})
  3868. }
  3869. type Seaweed_SendHeartbeatServer interface {
  3870. Send(*HeartbeatResponse) error
  3871. Recv() (*Heartbeat, error)
  3872. grpc.ServerStream
  3873. }
  3874. type seaweedSendHeartbeatServer struct {
  3875. grpc.ServerStream
  3876. }
  3877. func (x *seaweedSendHeartbeatServer) Send(m *HeartbeatResponse) error {
  3878. return x.ServerStream.SendMsg(m)
  3879. }
  3880. func (x *seaweedSendHeartbeatServer) Recv() (*Heartbeat, error) {
  3881. m := new(Heartbeat)
  3882. if err := x.ServerStream.RecvMsg(m); err != nil {
  3883. return nil, err
  3884. }
  3885. return m, nil
  3886. }
  3887. func _Seaweed_KeepConnected_Handler(srv interface{}, stream grpc.ServerStream) error {
  3888. return srv.(SeaweedServer).KeepConnected(&seaweedKeepConnectedServer{stream})
  3889. }
  3890. type Seaweed_KeepConnectedServer interface {
  3891. Send(*VolumeLocation) error
  3892. Recv() (*KeepConnectedRequest, error)
  3893. grpc.ServerStream
  3894. }
  3895. type seaweedKeepConnectedServer struct {
  3896. grpc.ServerStream
  3897. }
  3898. func (x *seaweedKeepConnectedServer) Send(m *VolumeLocation) error {
  3899. return x.ServerStream.SendMsg(m)
  3900. }
  3901. func (x *seaweedKeepConnectedServer) Recv() (*KeepConnectedRequest, error) {
  3902. m := new(KeepConnectedRequest)
  3903. if err := x.ServerStream.RecvMsg(m); err != nil {
  3904. return nil, err
  3905. }
  3906. return m, nil
  3907. }
  3908. func _Seaweed_LookupVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3909. in := new(LookupVolumeRequest)
  3910. if err := dec(in); err != nil {
  3911. return nil, err
  3912. }
  3913. if interceptor == nil {
  3914. return srv.(SeaweedServer).LookupVolume(ctx, in)
  3915. }
  3916. info := &grpc.UnaryServerInfo{
  3917. Server: srv,
  3918. FullMethod: "/master_pb.Seaweed/LookupVolume",
  3919. }
  3920. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3921. return srv.(SeaweedServer).LookupVolume(ctx, req.(*LookupVolumeRequest))
  3922. }
  3923. return interceptor(ctx, in, info, handler)
  3924. }
  3925. func _Seaweed_Assign_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3926. in := new(AssignRequest)
  3927. if err := dec(in); err != nil {
  3928. return nil, err
  3929. }
  3930. if interceptor == nil {
  3931. return srv.(SeaweedServer).Assign(ctx, in)
  3932. }
  3933. info := &grpc.UnaryServerInfo{
  3934. Server: srv,
  3935. FullMethod: "/master_pb.Seaweed/Assign",
  3936. }
  3937. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3938. return srv.(SeaweedServer).Assign(ctx, req.(*AssignRequest))
  3939. }
  3940. return interceptor(ctx, in, info, handler)
  3941. }
  3942. func _Seaweed_Statistics_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3943. in := new(StatisticsRequest)
  3944. if err := dec(in); err != nil {
  3945. return nil, err
  3946. }
  3947. if interceptor == nil {
  3948. return srv.(SeaweedServer).Statistics(ctx, in)
  3949. }
  3950. info := &grpc.UnaryServerInfo{
  3951. Server: srv,
  3952. FullMethod: "/master_pb.Seaweed/Statistics",
  3953. }
  3954. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3955. return srv.(SeaweedServer).Statistics(ctx, req.(*StatisticsRequest))
  3956. }
  3957. return interceptor(ctx, in, info, handler)
  3958. }
  3959. func _Seaweed_CollectionList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3960. in := new(CollectionListRequest)
  3961. if err := dec(in); err != nil {
  3962. return nil, err
  3963. }
  3964. if interceptor == nil {
  3965. return srv.(SeaweedServer).CollectionList(ctx, in)
  3966. }
  3967. info := &grpc.UnaryServerInfo{
  3968. Server: srv,
  3969. FullMethod: "/master_pb.Seaweed/CollectionList",
  3970. }
  3971. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3972. return srv.(SeaweedServer).CollectionList(ctx, req.(*CollectionListRequest))
  3973. }
  3974. return interceptor(ctx, in, info, handler)
  3975. }
  3976. func _Seaweed_CollectionDelete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3977. in := new(CollectionDeleteRequest)
  3978. if err := dec(in); err != nil {
  3979. return nil, err
  3980. }
  3981. if interceptor == nil {
  3982. return srv.(SeaweedServer).CollectionDelete(ctx, in)
  3983. }
  3984. info := &grpc.UnaryServerInfo{
  3985. Server: srv,
  3986. FullMethod: "/master_pb.Seaweed/CollectionDelete",
  3987. }
  3988. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  3989. return srv.(SeaweedServer).CollectionDelete(ctx, req.(*CollectionDeleteRequest))
  3990. }
  3991. return interceptor(ctx, in, info, handler)
  3992. }
  3993. func _Seaweed_VolumeList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  3994. in := new(VolumeListRequest)
  3995. if err := dec(in); err != nil {
  3996. return nil, err
  3997. }
  3998. if interceptor == nil {
  3999. return srv.(SeaweedServer).VolumeList(ctx, in)
  4000. }
  4001. info := &grpc.UnaryServerInfo{
  4002. Server: srv,
  4003. FullMethod: "/master_pb.Seaweed/VolumeList",
  4004. }
  4005. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4006. return srv.(SeaweedServer).VolumeList(ctx, req.(*VolumeListRequest))
  4007. }
  4008. return interceptor(ctx, in, info, handler)
  4009. }
  4010. func _Seaweed_LookupEcVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4011. in := new(LookupEcVolumeRequest)
  4012. if err := dec(in); err != nil {
  4013. return nil, err
  4014. }
  4015. if interceptor == nil {
  4016. return srv.(SeaweedServer).LookupEcVolume(ctx, in)
  4017. }
  4018. info := &grpc.UnaryServerInfo{
  4019. Server: srv,
  4020. FullMethod: "/master_pb.Seaweed/LookupEcVolume",
  4021. }
  4022. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4023. return srv.(SeaweedServer).LookupEcVolume(ctx, req.(*LookupEcVolumeRequest))
  4024. }
  4025. return interceptor(ctx, in, info, handler)
  4026. }
  4027. func _Seaweed_VacuumVolume_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4028. in := new(VacuumVolumeRequest)
  4029. if err := dec(in); err != nil {
  4030. return nil, err
  4031. }
  4032. if interceptor == nil {
  4033. return srv.(SeaweedServer).VacuumVolume(ctx, in)
  4034. }
  4035. info := &grpc.UnaryServerInfo{
  4036. Server: srv,
  4037. FullMethod: "/master_pb.Seaweed/VacuumVolume",
  4038. }
  4039. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4040. return srv.(SeaweedServer).VacuumVolume(ctx, req.(*VacuumVolumeRequest))
  4041. }
  4042. return interceptor(ctx, in, info, handler)
  4043. }
  4044. func _Seaweed_GetMasterConfiguration_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4045. in := new(GetMasterConfigurationRequest)
  4046. if err := dec(in); err != nil {
  4047. return nil, err
  4048. }
  4049. if interceptor == nil {
  4050. return srv.(SeaweedServer).GetMasterConfiguration(ctx, in)
  4051. }
  4052. info := &grpc.UnaryServerInfo{
  4053. Server: srv,
  4054. FullMethod: "/master_pb.Seaweed/GetMasterConfiguration",
  4055. }
  4056. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4057. return srv.(SeaweedServer).GetMasterConfiguration(ctx, req.(*GetMasterConfigurationRequest))
  4058. }
  4059. return interceptor(ctx, in, info, handler)
  4060. }
  4061. func _Seaweed_ListMasterClients_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4062. in := new(ListMasterClientsRequest)
  4063. if err := dec(in); err != nil {
  4064. return nil, err
  4065. }
  4066. if interceptor == nil {
  4067. return srv.(SeaweedServer).ListMasterClients(ctx, in)
  4068. }
  4069. info := &grpc.UnaryServerInfo{
  4070. Server: srv,
  4071. FullMethod: "/master_pb.Seaweed/ListMasterClients",
  4072. }
  4073. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4074. return srv.(SeaweedServer).ListMasterClients(ctx, req.(*ListMasterClientsRequest))
  4075. }
  4076. return interceptor(ctx, in, info, handler)
  4077. }
  4078. func _Seaweed_LeaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4079. in := new(LeaseAdminTokenRequest)
  4080. if err := dec(in); err != nil {
  4081. return nil, err
  4082. }
  4083. if interceptor == nil {
  4084. return srv.(SeaweedServer).LeaseAdminToken(ctx, in)
  4085. }
  4086. info := &grpc.UnaryServerInfo{
  4087. Server: srv,
  4088. FullMethod: "/master_pb.Seaweed/LeaseAdminToken",
  4089. }
  4090. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4091. return srv.(SeaweedServer).LeaseAdminToken(ctx, req.(*LeaseAdminTokenRequest))
  4092. }
  4093. return interceptor(ctx, in, info, handler)
  4094. }
  4095. func _Seaweed_ReleaseAdminToken_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  4096. in := new(ReleaseAdminTokenRequest)
  4097. if err := dec(in); err != nil {
  4098. return nil, err
  4099. }
  4100. if interceptor == nil {
  4101. return srv.(SeaweedServer).ReleaseAdminToken(ctx, in)
  4102. }
  4103. info := &grpc.UnaryServerInfo{
  4104. Server: srv,
  4105. FullMethod: "/master_pb.Seaweed/ReleaseAdminToken",
  4106. }
  4107. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  4108. return srv.(SeaweedServer).ReleaseAdminToken(ctx, req.(*ReleaseAdminTokenRequest))
  4109. }
  4110. return interceptor(ctx, in, info, handler)
  4111. }
  4112. var _Seaweed_serviceDesc = grpc.ServiceDesc{
  4113. ServiceName: "master_pb.Seaweed",
  4114. HandlerType: (*SeaweedServer)(nil),
  4115. Methods: []grpc.MethodDesc{
  4116. {
  4117. MethodName: "LookupVolume",
  4118. Handler: _Seaweed_LookupVolume_Handler,
  4119. },
  4120. {
  4121. MethodName: "Assign",
  4122. Handler: _Seaweed_Assign_Handler,
  4123. },
  4124. {
  4125. MethodName: "Statistics",
  4126. Handler: _Seaweed_Statistics_Handler,
  4127. },
  4128. {
  4129. MethodName: "CollectionList",
  4130. Handler: _Seaweed_CollectionList_Handler,
  4131. },
  4132. {
  4133. MethodName: "CollectionDelete",
  4134. Handler: _Seaweed_CollectionDelete_Handler,
  4135. },
  4136. {
  4137. MethodName: "VolumeList",
  4138. Handler: _Seaweed_VolumeList_Handler,
  4139. },
  4140. {
  4141. MethodName: "LookupEcVolume",
  4142. Handler: _Seaweed_LookupEcVolume_Handler,
  4143. },
  4144. {
  4145. MethodName: "VacuumVolume",
  4146. Handler: _Seaweed_VacuumVolume_Handler,
  4147. },
  4148. {
  4149. MethodName: "GetMasterConfiguration",
  4150. Handler: _Seaweed_GetMasterConfiguration_Handler,
  4151. },
  4152. {
  4153. MethodName: "ListMasterClients",
  4154. Handler: _Seaweed_ListMasterClients_Handler,
  4155. },
  4156. {
  4157. MethodName: "LeaseAdminToken",
  4158. Handler: _Seaweed_LeaseAdminToken_Handler,
  4159. },
  4160. {
  4161. MethodName: "ReleaseAdminToken",
  4162. Handler: _Seaweed_ReleaseAdminToken_Handler,
  4163. },
  4164. },
  4165. Streams: []grpc.StreamDesc{
  4166. {
  4167. StreamName: "SendHeartbeat",
  4168. Handler: _Seaweed_SendHeartbeat_Handler,
  4169. ServerStreams: true,
  4170. ClientStreams: true,
  4171. },
  4172. {
  4173. StreamName: "KeepConnected",
  4174. Handler: _Seaweed_KeepConnected_Handler,
  4175. ServerStreams: true,
  4176. ClientStreams: true,
  4177. },
  4178. },
  4179. Metadata: "master.proto",
  4180. }