master.pb.go 169 KB

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