filer.pb.go 153 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.6
  4. // protoc v5.29.3
  5. // source: filer.proto
  6. package filer_pb
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. unsafe "unsafe"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type SSEType int32
  21. const (
  22. SSEType_NONE SSEType = 0 // No server-side encryption
  23. SSEType_SSE_C SSEType = 1 // Server-Side Encryption with Customer-Provided Keys
  24. SSEType_SSE_KMS SSEType = 2 // Server-Side Encryption with KMS-Managed Keys
  25. SSEType_SSE_S3 SSEType = 3 // Server-Side Encryption with S3-Managed Keys
  26. )
  27. // Enum value maps for SSEType.
  28. var (
  29. SSEType_name = map[int32]string{
  30. 0: "NONE",
  31. 1: "SSE_C",
  32. 2: "SSE_KMS",
  33. 3: "SSE_S3",
  34. }
  35. SSEType_value = map[string]int32{
  36. "NONE": 0,
  37. "SSE_C": 1,
  38. "SSE_KMS": 2,
  39. "SSE_S3": 3,
  40. }
  41. )
  42. func (x SSEType) Enum() *SSEType {
  43. p := new(SSEType)
  44. *p = x
  45. return p
  46. }
  47. func (x SSEType) String() string {
  48. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  49. }
  50. func (SSEType) Descriptor() protoreflect.EnumDescriptor {
  51. return file_filer_proto_enumTypes[0].Descriptor()
  52. }
  53. func (SSEType) Type() protoreflect.EnumType {
  54. return &file_filer_proto_enumTypes[0]
  55. }
  56. func (x SSEType) Number() protoreflect.EnumNumber {
  57. return protoreflect.EnumNumber(x)
  58. }
  59. // Deprecated: Use SSEType.Descriptor instead.
  60. func (SSEType) EnumDescriptor() ([]byte, []int) {
  61. return file_filer_proto_rawDescGZIP(), []int{0}
  62. }
  63. type LookupDirectoryEntryRequest struct {
  64. state protoimpl.MessageState `protogen:"open.v1"`
  65. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  66. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  67. unknownFields protoimpl.UnknownFields
  68. sizeCache protoimpl.SizeCache
  69. }
  70. func (x *LookupDirectoryEntryRequest) Reset() {
  71. *x = LookupDirectoryEntryRequest{}
  72. mi := &file_filer_proto_msgTypes[0]
  73. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  74. ms.StoreMessageInfo(mi)
  75. }
  76. func (x *LookupDirectoryEntryRequest) String() string {
  77. return protoimpl.X.MessageStringOf(x)
  78. }
  79. func (*LookupDirectoryEntryRequest) ProtoMessage() {}
  80. func (x *LookupDirectoryEntryRequest) ProtoReflect() protoreflect.Message {
  81. mi := &file_filer_proto_msgTypes[0]
  82. if x != nil {
  83. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  84. if ms.LoadMessageInfo() == nil {
  85. ms.StoreMessageInfo(mi)
  86. }
  87. return ms
  88. }
  89. return mi.MessageOf(x)
  90. }
  91. // Deprecated: Use LookupDirectoryEntryRequest.ProtoReflect.Descriptor instead.
  92. func (*LookupDirectoryEntryRequest) Descriptor() ([]byte, []int) {
  93. return file_filer_proto_rawDescGZIP(), []int{0}
  94. }
  95. func (x *LookupDirectoryEntryRequest) GetDirectory() string {
  96. if x != nil {
  97. return x.Directory
  98. }
  99. return ""
  100. }
  101. func (x *LookupDirectoryEntryRequest) GetName() string {
  102. if x != nil {
  103. return x.Name
  104. }
  105. return ""
  106. }
  107. type LookupDirectoryEntryResponse struct {
  108. state protoimpl.MessageState `protogen:"open.v1"`
  109. Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
  110. unknownFields protoimpl.UnknownFields
  111. sizeCache protoimpl.SizeCache
  112. }
  113. func (x *LookupDirectoryEntryResponse) Reset() {
  114. *x = LookupDirectoryEntryResponse{}
  115. mi := &file_filer_proto_msgTypes[1]
  116. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  117. ms.StoreMessageInfo(mi)
  118. }
  119. func (x *LookupDirectoryEntryResponse) String() string {
  120. return protoimpl.X.MessageStringOf(x)
  121. }
  122. func (*LookupDirectoryEntryResponse) ProtoMessage() {}
  123. func (x *LookupDirectoryEntryResponse) ProtoReflect() protoreflect.Message {
  124. mi := &file_filer_proto_msgTypes[1]
  125. if x != nil {
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. if ms.LoadMessageInfo() == nil {
  128. ms.StoreMessageInfo(mi)
  129. }
  130. return ms
  131. }
  132. return mi.MessageOf(x)
  133. }
  134. // Deprecated: Use LookupDirectoryEntryResponse.ProtoReflect.Descriptor instead.
  135. func (*LookupDirectoryEntryResponse) Descriptor() ([]byte, []int) {
  136. return file_filer_proto_rawDescGZIP(), []int{1}
  137. }
  138. func (x *LookupDirectoryEntryResponse) GetEntry() *Entry {
  139. if x != nil {
  140. return x.Entry
  141. }
  142. return nil
  143. }
  144. type ListEntriesRequest struct {
  145. state protoimpl.MessageState `protogen:"open.v1"`
  146. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  147. Prefix string `protobuf:"bytes,2,opt,name=prefix,proto3" json:"prefix,omitempty"`
  148. StartFromFileName string `protobuf:"bytes,3,opt,name=startFromFileName,proto3" json:"startFromFileName,omitempty"`
  149. InclusiveStartFrom bool `protobuf:"varint,4,opt,name=inclusiveStartFrom,proto3" json:"inclusiveStartFrom,omitempty"`
  150. Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
  151. unknownFields protoimpl.UnknownFields
  152. sizeCache protoimpl.SizeCache
  153. }
  154. func (x *ListEntriesRequest) Reset() {
  155. *x = ListEntriesRequest{}
  156. mi := &file_filer_proto_msgTypes[2]
  157. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  158. ms.StoreMessageInfo(mi)
  159. }
  160. func (x *ListEntriesRequest) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*ListEntriesRequest) ProtoMessage() {}
  164. func (x *ListEntriesRequest) ProtoReflect() protoreflect.Message {
  165. mi := &file_filer_proto_msgTypes[2]
  166. if x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use ListEntriesRequest.ProtoReflect.Descriptor instead.
  176. func (*ListEntriesRequest) Descriptor() ([]byte, []int) {
  177. return file_filer_proto_rawDescGZIP(), []int{2}
  178. }
  179. func (x *ListEntriesRequest) GetDirectory() string {
  180. if x != nil {
  181. return x.Directory
  182. }
  183. return ""
  184. }
  185. func (x *ListEntriesRequest) GetPrefix() string {
  186. if x != nil {
  187. return x.Prefix
  188. }
  189. return ""
  190. }
  191. func (x *ListEntriesRequest) GetStartFromFileName() string {
  192. if x != nil {
  193. return x.StartFromFileName
  194. }
  195. return ""
  196. }
  197. func (x *ListEntriesRequest) GetInclusiveStartFrom() bool {
  198. if x != nil {
  199. return x.InclusiveStartFrom
  200. }
  201. return false
  202. }
  203. func (x *ListEntriesRequest) GetLimit() uint32 {
  204. if x != nil {
  205. return x.Limit
  206. }
  207. return 0
  208. }
  209. type ListEntriesResponse struct {
  210. state protoimpl.MessageState `protogen:"open.v1"`
  211. Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
  212. unknownFields protoimpl.UnknownFields
  213. sizeCache protoimpl.SizeCache
  214. }
  215. func (x *ListEntriesResponse) Reset() {
  216. *x = ListEntriesResponse{}
  217. mi := &file_filer_proto_msgTypes[3]
  218. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  219. ms.StoreMessageInfo(mi)
  220. }
  221. func (x *ListEntriesResponse) String() string {
  222. return protoimpl.X.MessageStringOf(x)
  223. }
  224. func (*ListEntriesResponse) ProtoMessage() {}
  225. func (x *ListEntriesResponse) ProtoReflect() protoreflect.Message {
  226. mi := &file_filer_proto_msgTypes[3]
  227. if x != nil {
  228. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  229. if ms.LoadMessageInfo() == nil {
  230. ms.StoreMessageInfo(mi)
  231. }
  232. return ms
  233. }
  234. return mi.MessageOf(x)
  235. }
  236. // Deprecated: Use ListEntriesResponse.ProtoReflect.Descriptor instead.
  237. func (*ListEntriesResponse) Descriptor() ([]byte, []int) {
  238. return file_filer_proto_rawDescGZIP(), []int{3}
  239. }
  240. func (x *ListEntriesResponse) GetEntry() *Entry {
  241. if x != nil {
  242. return x.Entry
  243. }
  244. return nil
  245. }
  246. type RemoteEntry struct {
  247. state protoimpl.MessageState `protogen:"open.v1"`
  248. StorageName string `protobuf:"bytes,1,opt,name=storage_name,json=storageName,proto3" json:"storage_name,omitempty"`
  249. LastLocalSyncTsNs int64 `protobuf:"varint,2,opt,name=last_local_sync_ts_ns,json=lastLocalSyncTsNs,proto3" json:"last_local_sync_ts_ns,omitempty"`
  250. RemoteETag string `protobuf:"bytes,3,opt,name=remote_e_tag,json=remoteETag,proto3" json:"remote_e_tag,omitempty"`
  251. RemoteMtime int64 `protobuf:"varint,4,opt,name=remote_mtime,json=remoteMtime,proto3" json:"remote_mtime,omitempty"`
  252. RemoteSize int64 `protobuf:"varint,5,opt,name=remote_size,json=remoteSize,proto3" json:"remote_size,omitempty"`
  253. unknownFields protoimpl.UnknownFields
  254. sizeCache protoimpl.SizeCache
  255. }
  256. func (x *RemoteEntry) Reset() {
  257. *x = RemoteEntry{}
  258. mi := &file_filer_proto_msgTypes[4]
  259. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  260. ms.StoreMessageInfo(mi)
  261. }
  262. func (x *RemoteEntry) String() string {
  263. return protoimpl.X.MessageStringOf(x)
  264. }
  265. func (*RemoteEntry) ProtoMessage() {}
  266. func (x *RemoteEntry) ProtoReflect() protoreflect.Message {
  267. mi := &file_filer_proto_msgTypes[4]
  268. if x != nil {
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. if ms.LoadMessageInfo() == nil {
  271. ms.StoreMessageInfo(mi)
  272. }
  273. return ms
  274. }
  275. return mi.MessageOf(x)
  276. }
  277. // Deprecated: Use RemoteEntry.ProtoReflect.Descriptor instead.
  278. func (*RemoteEntry) Descriptor() ([]byte, []int) {
  279. return file_filer_proto_rawDescGZIP(), []int{4}
  280. }
  281. func (x *RemoteEntry) GetStorageName() string {
  282. if x != nil {
  283. return x.StorageName
  284. }
  285. return ""
  286. }
  287. func (x *RemoteEntry) GetLastLocalSyncTsNs() int64 {
  288. if x != nil {
  289. return x.LastLocalSyncTsNs
  290. }
  291. return 0
  292. }
  293. func (x *RemoteEntry) GetRemoteETag() string {
  294. if x != nil {
  295. return x.RemoteETag
  296. }
  297. return ""
  298. }
  299. func (x *RemoteEntry) GetRemoteMtime() int64 {
  300. if x != nil {
  301. return x.RemoteMtime
  302. }
  303. return 0
  304. }
  305. func (x *RemoteEntry) GetRemoteSize() int64 {
  306. if x != nil {
  307. return x.RemoteSize
  308. }
  309. return 0
  310. }
  311. type Entry struct {
  312. state protoimpl.MessageState `protogen:"open.v1"`
  313. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  314. IsDirectory bool `protobuf:"varint,2,opt,name=is_directory,json=isDirectory,proto3" json:"is_directory,omitempty"`
  315. Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
  316. Attributes *FuseAttributes `protobuf:"bytes,4,opt,name=attributes,proto3" json:"attributes,omitempty"`
  317. Extended map[string][]byte `protobuf:"bytes,5,rep,name=extended,proto3" json:"extended,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  318. HardLinkId []byte `protobuf:"bytes,7,opt,name=hard_link_id,json=hardLinkId,proto3" json:"hard_link_id,omitempty"`
  319. HardLinkCounter int32 `protobuf:"varint,8,opt,name=hard_link_counter,json=hardLinkCounter,proto3" json:"hard_link_counter,omitempty"` // only exists in hard link meta data
  320. Content []byte `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` // if not empty, the file content
  321. RemoteEntry *RemoteEntry `protobuf:"bytes,10,opt,name=remote_entry,json=remoteEntry,proto3" json:"remote_entry,omitempty"`
  322. Quota int64 `protobuf:"varint,11,opt,name=quota,proto3" json:"quota,omitempty"` // for bucket only. Positive/Negative means enabled/disabled.
  323. WormEnforcedAtTsNs int64 `protobuf:"varint,12,opt,name=worm_enforced_at_ts_ns,json=wormEnforcedAtTsNs,proto3" json:"worm_enforced_at_ts_ns,omitempty"`
  324. unknownFields protoimpl.UnknownFields
  325. sizeCache protoimpl.SizeCache
  326. }
  327. func (x *Entry) Reset() {
  328. *x = Entry{}
  329. mi := &file_filer_proto_msgTypes[5]
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. ms.StoreMessageInfo(mi)
  332. }
  333. func (x *Entry) String() string {
  334. return protoimpl.X.MessageStringOf(x)
  335. }
  336. func (*Entry) ProtoMessage() {}
  337. func (x *Entry) ProtoReflect() protoreflect.Message {
  338. mi := &file_filer_proto_msgTypes[5]
  339. if x != nil {
  340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  341. if ms.LoadMessageInfo() == nil {
  342. ms.StoreMessageInfo(mi)
  343. }
  344. return ms
  345. }
  346. return mi.MessageOf(x)
  347. }
  348. // Deprecated: Use Entry.ProtoReflect.Descriptor instead.
  349. func (*Entry) Descriptor() ([]byte, []int) {
  350. return file_filer_proto_rawDescGZIP(), []int{5}
  351. }
  352. func (x *Entry) GetName() string {
  353. if x != nil {
  354. return x.Name
  355. }
  356. return ""
  357. }
  358. func (x *Entry) GetIsDirectory() bool {
  359. if x != nil {
  360. return x.IsDirectory
  361. }
  362. return false
  363. }
  364. func (x *Entry) GetChunks() []*FileChunk {
  365. if x != nil {
  366. return x.Chunks
  367. }
  368. return nil
  369. }
  370. func (x *Entry) GetAttributes() *FuseAttributes {
  371. if x != nil {
  372. return x.Attributes
  373. }
  374. return nil
  375. }
  376. func (x *Entry) GetExtended() map[string][]byte {
  377. if x != nil {
  378. return x.Extended
  379. }
  380. return nil
  381. }
  382. func (x *Entry) GetHardLinkId() []byte {
  383. if x != nil {
  384. return x.HardLinkId
  385. }
  386. return nil
  387. }
  388. func (x *Entry) GetHardLinkCounter() int32 {
  389. if x != nil {
  390. return x.HardLinkCounter
  391. }
  392. return 0
  393. }
  394. func (x *Entry) GetContent() []byte {
  395. if x != nil {
  396. return x.Content
  397. }
  398. return nil
  399. }
  400. func (x *Entry) GetRemoteEntry() *RemoteEntry {
  401. if x != nil {
  402. return x.RemoteEntry
  403. }
  404. return nil
  405. }
  406. func (x *Entry) GetQuota() int64 {
  407. if x != nil {
  408. return x.Quota
  409. }
  410. return 0
  411. }
  412. func (x *Entry) GetWormEnforcedAtTsNs() int64 {
  413. if x != nil {
  414. return x.WormEnforcedAtTsNs
  415. }
  416. return 0
  417. }
  418. type FullEntry struct {
  419. state protoimpl.MessageState `protogen:"open.v1"`
  420. Dir string `protobuf:"bytes,1,opt,name=dir,proto3" json:"dir,omitempty"`
  421. Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
  422. unknownFields protoimpl.UnknownFields
  423. sizeCache protoimpl.SizeCache
  424. }
  425. func (x *FullEntry) Reset() {
  426. *x = FullEntry{}
  427. mi := &file_filer_proto_msgTypes[6]
  428. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  429. ms.StoreMessageInfo(mi)
  430. }
  431. func (x *FullEntry) String() string {
  432. return protoimpl.X.MessageStringOf(x)
  433. }
  434. func (*FullEntry) ProtoMessage() {}
  435. func (x *FullEntry) ProtoReflect() protoreflect.Message {
  436. mi := &file_filer_proto_msgTypes[6]
  437. if x != nil {
  438. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  439. if ms.LoadMessageInfo() == nil {
  440. ms.StoreMessageInfo(mi)
  441. }
  442. return ms
  443. }
  444. return mi.MessageOf(x)
  445. }
  446. // Deprecated: Use FullEntry.ProtoReflect.Descriptor instead.
  447. func (*FullEntry) Descriptor() ([]byte, []int) {
  448. return file_filer_proto_rawDescGZIP(), []int{6}
  449. }
  450. func (x *FullEntry) GetDir() string {
  451. if x != nil {
  452. return x.Dir
  453. }
  454. return ""
  455. }
  456. func (x *FullEntry) GetEntry() *Entry {
  457. if x != nil {
  458. return x.Entry
  459. }
  460. return nil
  461. }
  462. type EventNotification struct {
  463. state protoimpl.MessageState `protogen:"open.v1"`
  464. OldEntry *Entry `protobuf:"bytes,1,opt,name=old_entry,json=oldEntry,proto3" json:"old_entry,omitempty"`
  465. NewEntry *Entry `protobuf:"bytes,2,opt,name=new_entry,json=newEntry,proto3" json:"new_entry,omitempty"`
  466. DeleteChunks bool `protobuf:"varint,3,opt,name=delete_chunks,json=deleteChunks,proto3" json:"delete_chunks,omitempty"`
  467. NewParentPath string `protobuf:"bytes,4,opt,name=new_parent_path,json=newParentPath,proto3" json:"new_parent_path,omitempty"`
  468. IsFromOtherCluster bool `protobuf:"varint,5,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  469. Signatures []int32 `protobuf:"varint,6,rep,packed,name=signatures,proto3" json:"signatures,omitempty"`
  470. unknownFields protoimpl.UnknownFields
  471. sizeCache protoimpl.SizeCache
  472. }
  473. func (x *EventNotification) Reset() {
  474. *x = EventNotification{}
  475. mi := &file_filer_proto_msgTypes[7]
  476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  477. ms.StoreMessageInfo(mi)
  478. }
  479. func (x *EventNotification) String() string {
  480. return protoimpl.X.MessageStringOf(x)
  481. }
  482. func (*EventNotification) ProtoMessage() {}
  483. func (x *EventNotification) ProtoReflect() protoreflect.Message {
  484. mi := &file_filer_proto_msgTypes[7]
  485. if x != nil {
  486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  487. if ms.LoadMessageInfo() == nil {
  488. ms.StoreMessageInfo(mi)
  489. }
  490. return ms
  491. }
  492. return mi.MessageOf(x)
  493. }
  494. // Deprecated: Use EventNotification.ProtoReflect.Descriptor instead.
  495. func (*EventNotification) Descriptor() ([]byte, []int) {
  496. return file_filer_proto_rawDescGZIP(), []int{7}
  497. }
  498. func (x *EventNotification) GetOldEntry() *Entry {
  499. if x != nil {
  500. return x.OldEntry
  501. }
  502. return nil
  503. }
  504. func (x *EventNotification) GetNewEntry() *Entry {
  505. if x != nil {
  506. return x.NewEntry
  507. }
  508. return nil
  509. }
  510. func (x *EventNotification) GetDeleteChunks() bool {
  511. if x != nil {
  512. return x.DeleteChunks
  513. }
  514. return false
  515. }
  516. func (x *EventNotification) GetNewParentPath() string {
  517. if x != nil {
  518. return x.NewParentPath
  519. }
  520. return ""
  521. }
  522. func (x *EventNotification) GetIsFromOtherCluster() bool {
  523. if x != nil {
  524. return x.IsFromOtherCluster
  525. }
  526. return false
  527. }
  528. func (x *EventNotification) GetSignatures() []int32 {
  529. if x != nil {
  530. return x.Signatures
  531. }
  532. return nil
  533. }
  534. type FileChunk struct {
  535. state protoimpl.MessageState `protogen:"open.v1"`
  536. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` // to be deprecated
  537. Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
  538. Size uint64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
  539. ModifiedTsNs int64 `protobuf:"varint,4,opt,name=modified_ts_ns,json=modifiedTsNs,proto3" json:"modified_ts_ns,omitempty"`
  540. ETag string `protobuf:"bytes,5,opt,name=e_tag,json=eTag,proto3" json:"e_tag,omitempty"`
  541. SourceFileId string `protobuf:"bytes,6,opt,name=source_file_id,json=sourceFileId,proto3" json:"source_file_id,omitempty"` // to be deprecated
  542. Fid *FileId `protobuf:"bytes,7,opt,name=fid,proto3" json:"fid,omitempty"`
  543. SourceFid *FileId `protobuf:"bytes,8,opt,name=source_fid,json=sourceFid,proto3" json:"source_fid,omitempty"`
  544. CipherKey []byte `protobuf:"bytes,9,opt,name=cipher_key,json=cipherKey,proto3" json:"cipher_key,omitempty"`
  545. IsCompressed bool `protobuf:"varint,10,opt,name=is_compressed,json=isCompressed,proto3" json:"is_compressed,omitempty"`
  546. IsChunkManifest bool `protobuf:"varint,11,opt,name=is_chunk_manifest,json=isChunkManifest,proto3" json:"is_chunk_manifest,omitempty"` // content is a list of FileChunks
  547. SseType SSEType `protobuf:"varint,12,opt,name=sse_type,json=sseType,proto3,enum=filer_pb.SSEType" json:"sse_type,omitempty"` // Server-side encryption type
  548. SseMetadata []byte `protobuf:"bytes,13,opt,name=sse_metadata,json=sseMetadata,proto3" json:"sse_metadata,omitempty"` // Serialized SSE metadata for this chunk (SSE-C, SSE-KMS, or SSE-S3)
  549. unknownFields protoimpl.UnknownFields
  550. sizeCache protoimpl.SizeCache
  551. }
  552. func (x *FileChunk) Reset() {
  553. *x = FileChunk{}
  554. mi := &file_filer_proto_msgTypes[8]
  555. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  556. ms.StoreMessageInfo(mi)
  557. }
  558. func (x *FileChunk) String() string {
  559. return protoimpl.X.MessageStringOf(x)
  560. }
  561. func (*FileChunk) ProtoMessage() {}
  562. func (x *FileChunk) ProtoReflect() protoreflect.Message {
  563. mi := &file_filer_proto_msgTypes[8]
  564. if x != nil {
  565. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  566. if ms.LoadMessageInfo() == nil {
  567. ms.StoreMessageInfo(mi)
  568. }
  569. return ms
  570. }
  571. return mi.MessageOf(x)
  572. }
  573. // Deprecated: Use FileChunk.ProtoReflect.Descriptor instead.
  574. func (*FileChunk) Descriptor() ([]byte, []int) {
  575. return file_filer_proto_rawDescGZIP(), []int{8}
  576. }
  577. func (x *FileChunk) GetFileId() string {
  578. if x != nil {
  579. return x.FileId
  580. }
  581. return ""
  582. }
  583. func (x *FileChunk) GetOffset() int64 {
  584. if x != nil {
  585. return x.Offset
  586. }
  587. return 0
  588. }
  589. func (x *FileChunk) GetSize() uint64 {
  590. if x != nil {
  591. return x.Size
  592. }
  593. return 0
  594. }
  595. func (x *FileChunk) GetModifiedTsNs() int64 {
  596. if x != nil {
  597. return x.ModifiedTsNs
  598. }
  599. return 0
  600. }
  601. func (x *FileChunk) GetETag() string {
  602. if x != nil {
  603. return x.ETag
  604. }
  605. return ""
  606. }
  607. func (x *FileChunk) GetSourceFileId() string {
  608. if x != nil {
  609. return x.SourceFileId
  610. }
  611. return ""
  612. }
  613. func (x *FileChunk) GetFid() *FileId {
  614. if x != nil {
  615. return x.Fid
  616. }
  617. return nil
  618. }
  619. func (x *FileChunk) GetSourceFid() *FileId {
  620. if x != nil {
  621. return x.SourceFid
  622. }
  623. return nil
  624. }
  625. func (x *FileChunk) GetCipherKey() []byte {
  626. if x != nil {
  627. return x.CipherKey
  628. }
  629. return nil
  630. }
  631. func (x *FileChunk) GetIsCompressed() bool {
  632. if x != nil {
  633. return x.IsCompressed
  634. }
  635. return false
  636. }
  637. func (x *FileChunk) GetIsChunkManifest() bool {
  638. if x != nil {
  639. return x.IsChunkManifest
  640. }
  641. return false
  642. }
  643. func (x *FileChunk) GetSseType() SSEType {
  644. if x != nil {
  645. return x.SseType
  646. }
  647. return SSEType_NONE
  648. }
  649. func (x *FileChunk) GetSseMetadata() []byte {
  650. if x != nil {
  651. return x.SseMetadata
  652. }
  653. return nil
  654. }
  655. type FileChunkManifest struct {
  656. state protoimpl.MessageState `protogen:"open.v1"`
  657. Chunks []*FileChunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
  658. unknownFields protoimpl.UnknownFields
  659. sizeCache protoimpl.SizeCache
  660. }
  661. func (x *FileChunkManifest) Reset() {
  662. *x = FileChunkManifest{}
  663. mi := &file_filer_proto_msgTypes[9]
  664. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  665. ms.StoreMessageInfo(mi)
  666. }
  667. func (x *FileChunkManifest) String() string {
  668. return protoimpl.X.MessageStringOf(x)
  669. }
  670. func (*FileChunkManifest) ProtoMessage() {}
  671. func (x *FileChunkManifest) ProtoReflect() protoreflect.Message {
  672. mi := &file_filer_proto_msgTypes[9]
  673. if x != nil {
  674. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  675. if ms.LoadMessageInfo() == nil {
  676. ms.StoreMessageInfo(mi)
  677. }
  678. return ms
  679. }
  680. return mi.MessageOf(x)
  681. }
  682. // Deprecated: Use FileChunkManifest.ProtoReflect.Descriptor instead.
  683. func (*FileChunkManifest) Descriptor() ([]byte, []int) {
  684. return file_filer_proto_rawDescGZIP(), []int{9}
  685. }
  686. func (x *FileChunkManifest) GetChunks() []*FileChunk {
  687. if x != nil {
  688. return x.Chunks
  689. }
  690. return nil
  691. }
  692. type FileId struct {
  693. state protoimpl.MessageState `protogen:"open.v1"`
  694. VolumeId uint32 `protobuf:"varint,1,opt,name=volume_id,json=volumeId,proto3" json:"volume_id,omitempty"`
  695. FileKey uint64 `protobuf:"varint,2,opt,name=file_key,json=fileKey,proto3" json:"file_key,omitempty"`
  696. Cookie uint32 `protobuf:"fixed32,3,opt,name=cookie,proto3" json:"cookie,omitempty"`
  697. unknownFields protoimpl.UnknownFields
  698. sizeCache protoimpl.SizeCache
  699. }
  700. func (x *FileId) Reset() {
  701. *x = FileId{}
  702. mi := &file_filer_proto_msgTypes[10]
  703. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  704. ms.StoreMessageInfo(mi)
  705. }
  706. func (x *FileId) String() string {
  707. return protoimpl.X.MessageStringOf(x)
  708. }
  709. func (*FileId) ProtoMessage() {}
  710. func (x *FileId) ProtoReflect() protoreflect.Message {
  711. mi := &file_filer_proto_msgTypes[10]
  712. if x != nil {
  713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  714. if ms.LoadMessageInfo() == nil {
  715. ms.StoreMessageInfo(mi)
  716. }
  717. return ms
  718. }
  719. return mi.MessageOf(x)
  720. }
  721. // Deprecated: Use FileId.ProtoReflect.Descriptor instead.
  722. func (*FileId) Descriptor() ([]byte, []int) {
  723. return file_filer_proto_rawDescGZIP(), []int{10}
  724. }
  725. func (x *FileId) GetVolumeId() uint32 {
  726. if x != nil {
  727. return x.VolumeId
  728. }
  729. return 0
  730. }
  731. func (x *FileId) GetFileKey() uint64 {
  732. if x != nil {
  733. return x.FileKey
  734. }
  735. return 0
  736. }
  737. func (x *FileId) GetCookie() uint32 {
  738. if x != nil {
  739. return x.Cookie
  740. }
  741. return 0
  742. }
  743. type FuseAttributes struct {
  744. state protoimpl.MessageState `protogen:"open.v1"`
  745. FileSize uint64 `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
  746. Mtime int64 `protobuf:"varint,2,opt,name=mtime,proto3" json:"mtime,omitempty"` // unix time in seconds
  747. FileMode uint32 `protobuf:"varint,3,opt,name=file_mode,json=fileMode,proto3" json:"file_mode,omitempty"`
  748. Uid uint32 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid,omitempty"`
  749. Gid uint32 `protobuf:"varint,5,opt,name=gid,proto3" json:"gid,omitempty"`
  750. Crtime int64 `protobuf:"varint,6,opt,name=crtime,proto3" json:"crtime,omitempty"` // unix time in seconds
  751. Mime string `protobuf:"bytes,7,opt,name=mime,proto3" json:"mime,omitempty"`
  752. TtlSec int32 `protobuf:"varint,10,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"`
  753. UserName string `protobuf:"bytes,11,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"` // for hdfs
  754. GroupName []string `protobuf:"bytes,12,rep,name=group_name,json=groupName,proto3" json:"group_name,omitempty"` // for hdfs
  755. SymlinkTarget string `protobuf:"bytes,13,opt,name=symlink_target,json=symlinkTarget,proto3" json:"symlink_target,omitempty"`
  756. Md5 []byte `protobuf:"bytes,14,opt,name=md5,proto3" json:"md5,omitempty"`
  757. Rdev uint32 `protobuf:"varint,16,opt,name=rdev,proto3" json:"rdev,omitempty"`
  758. Inode uint64 `protobuf:"varint,17,opt,name=inode,proto3" json:"inode,omitempty"`
  759. unknownFields protoimpl.UnknownFields
  760. sizeCache protoimpl.SizeCache
  761. }
  762. func (x *FuseAttributes) Reset() {
  763. *x = FuseAttributes{}
  764. mi := &file_filer_proto_msgTypes[11]
  765. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  766. ms.StoreMessageInfo(mi)
  767. }
  768. func (x *FuseAttributes) String() string {
  769. return protoimpl.X.MessageStringOf(x)
  770. }
  771. func (*FuseAttributes) ProtoMessage() {}
  772. func (x *FuseAttributes) ProtoReflect() protoreflect.Message {
  773. mi := &file_filer_proto_msgTypes[11]
  774. if x != nil {
  775. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  776. if ms.LoadMessageInfo() == nil {
  777. ms.StoreMessageInfo(mi)
  778. }
  779. return ms
  780. }
  781. return mi.MessageOf(x)
  782. }
  783. // Deprecated: Use FuseAttributes.ProtoReflect.Descriptor instead.
  784. func (*FuseAttributes) Descriptor() ([]byte, []int) {
  785. return file_filer_proto_rawDescGZIP(), []int{11}
  786. }
  787. func (x *FuseAttributes) GetFileSize() uint64 {
  788. if x != nil {
  789. return x.FileSize
  790. }
  791. return 0
  792. }
  793. func (x *FuseAttributes) GetMtime() int64 {
  794. if x != nil {
  795. return x.Mtime
  796. }
  797. return 0
  798. }
  799. func (x *FuseAttributes) GetFileMode() uint32 {
  800. if x != nil {
  801. return x.FileMode
  802. }
  803. return 0
  804. }
  805. func (x *FuseAttributes) GetUid() uint32 {
  806. if x != nil {
  807. return x.Uid
  808. }
  809. return 0
  810. }
  811. func (x *FuseAttributes) GetGid() uint32 {
  812. if x != nil {
  813. return x.Gid
  814. }
  815. return 0
  816. }
  817. func (x *FuseAttributes) GetCrtime() int64 {
  818. if x != nil {
  819. return x.Crtime
  820. }
  821. return 0
  822. }
  823. func (x *FuseAttributes) GetMime() string {
  824. if x != nil {
  825. return x.Mime
  826. }
  827. return ""
  828. }
  829. func (x *FuseAttributes) GetTtlSec() int32 {
  830. if x != nil {
  831. return x.TtlSec
  832. }
  833. return 0
  834. }
  835. func (x *FuseAttributes) GetUserName() string {
  836. if x != nil {
  837. return x.UserName
  838. }
  839. return ""
  840. }
  841. func (x *FuseAttributes) GetGroupName() []string {
  842. if x != nil {
  843. return x.GroupName
  844. }
  845. return nil
  846. }
  847. func (x *FuseAttributes) GetSymlinkTarget() string {
  848. if x != nil {
  849. return x.SymlinkTarget
  850. }
  851. return ""
  852. }
  853. func (x *FuseAttributes) GetMd5() []byte {
  854. if x != nil {
  855. return x.Md5
  856. }
  857. return nil
  858. }
  859. func (x *FuseAttributes) GetRdev() uint32 {
  860. if x != nil {
  861. return x.Rdev
  862. }
  863. return 0
  864. }
  865. func (x *FuseAttributes) GetInode() uint64 {
  866. if x != nil {
  867. return x.Inode
  868. }
  869. return 0
  870. }
  871. type CreateEntryRequest struct {
  872. state protoimpl.MessageState `protogen:"open.v1"`
  873. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  874. Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
  875. OExcl bool `protobuf:"varint,3,opt,name=o_excl,json=oExcl,proto3" json:"o_excl,omitempty"`
  876. IsFromOtherCluster bool `protobuf:"varint,4,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  877. Signatures []int32 `protobuf:"varint,5,rep,packed,name=signatures,proto3" json:"signatures,omitempty"`
  878. SkipCheckParentDirectory bool `protobuf:"varint,6,opt,name=skip_check_parent_directory,json=skipCheckParentDirectory,proto3" json:"skip_check_parent_directory,omitempty"`
  879. unknownFields protoimpl.UnknownFields
  880. sizeCache protoimpl.SizeCache
  881. }
  882. func (x *CreateEntryRequest) Reset() {
  883. *x = CreateEntryRequest{}
  884. mi := &file_filer_proto_msgTypes[12]
  885. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  886. ms.StoreMessageInfo(mi)
  887. }
  888. func (x *CreateEntryRequest) String() string {
  889. return protoimpl.X.MessageStringOf(x)
  890. }
  891. func (*CreateEntryRequest) ProtoMessage() {}
  892. func (x *CreateEntryRequest) ProtoReflect() protoreflect.Message {
  893. mi := &file_filer_proto_msgTypes[12]
  894. if 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 CreateEntryRequest.ProtoReflect.Descriptor instead.
  904. func (*CreateEntryRequest) Descriptor() ([]byte, []int) {
  905. return file_filer_proto_rawDescGZIP(), []int{12}
  906. }
  907. func (x *CreateEntryRequest) GetDirectory() string {
  908. if x != nil {
  909. return x.Directory
  910. }
  911. return ""
  912. }
  913. func (x *CreateEntryRequest) GetEntry() *Entry {
  914. if x != nil {
  915. return x.Entry
  916. }
  917. return nil
  918. }
  919. func (x *CreateEntryRequest) GetOExcl() bool {
  920. if x != nil {
  921. return x.OExcl
  922. }
  923. return false
  924. }
  925. func (x *CreateEntryRequest) GetIsFromOtherCluster() bool {
  926. if x != nil {
  927. return x.IsFromOtherCluster
  928. }
  929. return false
  930. }
  931. func (x *CreateEntryRequest) GetSignatures() []int32 {
  932. if x != nil {
  933. return x.Signatures
  934. }
  935. return nil
  936. }
  937. func (x *CreateEntryRequest) GetSkipCheckParentDirectory() bool {
  938. if x != nil {
  939. return x.SkipCheckParentDirectory
  940. }
  941. return false
  942. }
  943. type CreateEntryResponse struct {
  944. state protoimpl.MessageState `protogen:"open.v1"`
  945. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  946. unknownFields protoimpl.UnknownFields
  947. sizeCache protoimpl.SizeCache
  948. }
  949. func (x *CreateEntryResponse) Reset() {
  950. *x = CreateEntryResponse{}
  951. mi := &file_filer_proto_msgTypes[13]
  952. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  953. ms.StoreMessageInfo(mi)
  954. }
  955. func (x *CreateEntryResponse) String() string {
  956. return protoimpl.X.MessageStringOf(x)
  957. }
  958. func (*CreateEntryResponse) ProtoMessage() {}
  959. func (x *CreateEntryResponse) ProtoReflect() protoreflect.Message {
  960. mi := &file_filer_proto_msgTypes[13]
  961. if x != nil {
  962. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  963. if ms.LoadMessageInfo() == nil {
  964. ms.StoreMessageInfo(mi)
  965. }
  966. return ms
  967. }
  968. return mi.MessageOf(x)
  969. }
  970. // Deprecated: Use CreateEntryResponse.ProtoReflect.Descriptor instead.
  971. func (*CreateEntryResponse) Descriptor() ([]byte, []int) {
  972. return file_filer_proto_rawDescGZIP(), []int{13}
  973. }
  974. func (x *CreateEntryResponse) GetError() string {
  975. if x != nil {
  976. return x.Error
  977. }
  978. return ""
  979. }
  980. type UpdateEntryRequest struct {
  981. state protoimpl.MessageState `protogen:"open.v1"`
  982. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  983. Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
  984. IsFromOtherCluster bool `protobuf:"varint,3,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  985. Signatures []int32 `protobuf:"varint,4,rep,packed,name=signatures,proto3" json:"signatures,omitempty"`
  986. unknownFields protoimpl.UnknownFields
  987. sizeCache protoimpl.SizeCache
  988. }
  989. func (x *UpdateEntryRequest) Reset() {
  990. *x = UpdateEntryRequest{}
  991. mi := &file_filer_proto_msgTypes[14]
  992. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  993. ms.StoreMessageInfo(mi)
  994. }
  995. func (x *UpdateEntryRequest) String() string {
  996. return protoimpl.X.MessageStringOf(x)
  997. }
  998. func (*UpdateEntryRequest) ProtoMessage() {}
  999. func (x *UpdateEntryRequest) ProtoReflect() protoreflect.Message {
  1000. mi := &file_filer_proto_msgTypes[14]
  1001. if x != nil {
  1002. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1003. if ms.LoadMessageInfo() == nil {
  1004. ms.StoreMessageInfo(mi)
  1005. }
  1006. return ms
  1007. }
  1008. return mi.MessageOf(x)
  1009. }
  1010. // Deprecated: Use UpdateEntryRequest.ProtoReflect.Descriptor instead.
  1011. func (*UpdateEntryRequest) Descriptor() ([]byte, []int) {
  1012. return file_filer_proto_rawDescGZIP(), []int{14}
  1013. }
  1014. func (x *UpdateEntryRequest) GetDirectory() string {
  1015. if x != nil {
  1016. return x.Directory
  1017. }
  1018. return ""
  1019. }
  1020. func (x *UpdateEntryRequest) GetEntry() *Entry {
  1021. if x != nil {
  1022. return x.Entry
  1023. }
  1024. return nil
  1025. }
  1026. func (x *UpdateEntryRequest) GetIsFromOtherCluster() bool {
  1027. if x != nil {
  1028. return x.IsFromOtherCluster
  1029. }
  1030. return false
  1031. }
  1032. func (x *UpdateEntryRequest) GetSignatures() []int32 {
  1033. if x != nil {
  1034. return x.Signatures
  1035. }
  1036. return nil
  1037. }
  1038. type UpdateEntryResponse struct {
  1039. state protoimpl.MessageState `protogen:"open.v1"`
  1040. unknownFields protoimpl.UnknownFields
  1041. sizeCache protoimpl.SizeCache
  1042. }
  1043. func (x *UpdateEntryResponse) Reset() {
  1044. *x = UpdateEntryResponse{}
  1045. mi := &file_filer_proto_msgTypes[15]
  1046. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1047. ms.StoreMessageInfo(mi)
  1048. }
  1049. func (x *UpdateEntryResponse) String() string {
  1050. return protoimpl.X.MessageStringOf(x)
  1051. }
  1052. func (*UpdateEntryResponse) ProtoMessage() {}
  1053. func (x *UpdateEntryResponse) ProtoReflect() protoreflect.Message {
  1054. mi := &file_filer_proto_msgTypes[15]
  1055. if x != nil {
  1056. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1057. if ms.LoadMessageInfo() == nil {
  1058. ms.StoreMessageInfo(mi)
  1059. }
  1060. return ms
  1061. }
  1062. return mi.MessageOf(x)
  1063. }
  1064. // Deprecated: Use UpdateEntryResponse.ProtoReflect.Descriptor instead.
  1065. func (*UpdateEntryResponse) Descriptor() ([]byte, []int) {
  1066. return file_filer_proto_rawDescGZIP(), []int{15}
  1067. }
  1068. type AppendToEntryRequest struct {
  1069. state protoimpl.MessageState `protogen:"open.v1"`
  1070. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  1071. EntryName string `protobuf:"bytes,2,opt,name=entry_name,json=entryName,proto3" json:"entry_name,omitempty"`
  1072. Chunks []*FileChunk `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks,omitempty"`
  1073. unknownFields protoimpl.UnknownFields
  1074. sizeCache protoimpl.SizeCache
  1075. }
  1076. func (x *AppendToEntryRequest) Reset() {
  1077. *x = AppendToEntryRequest{}
  1078. mi := &file_filer_proto_msgTypes[16]
  1079. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1080. ms.StoreMessageInfo(mi)
  1081. }
  1082. func (x *AppendToEntryRequest) String() string {
  1083. return protoimpl.X.MessageStringOf(x)
  1084. }
  1085. func (*AppendToEntryRequest) ProtoMessage() {}
  1086. func (x *AppendToEntryRequest) ProtoReflect() protoreflect.Message {
  1087. mi := &file_filer_proto_msgTypes[16]
  1088. if x != nil {
  1089. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1090. if ms.LoadMessageInfo() == nil {
  1091. ms.StoreMessageInfo(mi)
  1092. }
  1093. return ms
  1094. }
  1095. return mi.MessageOf(x)
  1096. }
  1097. // Deprecated: Use AppendToEntryRequest.ProtoReflect.Descriptor instead.
  1098. func (*AppendToEntryRequest) Descriptor() ([]byte, []int) {
  1099. return file_filer_proto_rawDescGZIP(), []int{16}
  1100. }
  1101. func (x *AppendToEntryRequest) GetDirectory() string {
  1102. if x != nil {
  1103. return x.Directory
  1104. }
  1105. return ""
  1106. }
  1107. func (x *AppendToEntryRequest) GetEntryName() string {
  1108. if x != nil {
  1109. return x.EntryName
  1110. }
  1111. return ""
  1112. }
  1113. func (x *AppendToEntryRequest) GetChunks() []*FileChunk {
  1114. if x != nil {
  1115. return x.Chunks
  1116. }
  1117. return nil
  1118. }
  1119. type AppendToEntryResponse struct {
  1120. state protoimpl.MessageState `protogen:"open.v1"`
  1121. unknownFields protoimpl.UnknownFields
  1122. sizeCache protoimpl.SizeCache
  1123. }
  1124. func (x *AppendToEntryResponse) Reset() {
  1125. *x = AppendToEntryResponse{}
  1126. mi := &file_filer_proto_msgTypes[17]
  1127. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1128. ms.StoreMessageInfo(mi)
  1129. }
  1130. func (x *AppendToEntryResponse) String() string {
  1131. return protoimpl.X.MessageStringOf(x)
  1132. }
  1133. func (*AppendToEntryResponse) ProtoMessage() {}
  1134. func (x *AppendToEntryResponse) ProtoReflect() protoreflect.Message {
  1135. mi := &file_filer_proto_msgTypes[17]
  1136. if x != nil {
  1137. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1138. if ms.LoadMessageInfo() == nil {
  1139. ms.StoreMessageInfo(mi)
  1140. }
  1141. return ms
  1142. }
  1143. return mi.MessageOf(x)
  1144. }
  1145. // Deprecated: Use AppendToEntryResponse.ProtoReflect.Descriptor instead.
  1146. func (*AppendToEntryResponse) Descriptor() ([]byte, []int) {
  1147. return file_filer_proto_rawDescGZIP(), []int{17}
  1148. }
  1149. type DeleteEntryRequest struct {
  1150. state protoimpl.MessageState `protogen:"open.v1"`
  1151. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  1152. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  1153. // bool is_directory = 3;
  1154. IsDeleteData bool `protobuf:"varint,4,opt,name=is_delete_data,json=isDeleteData,proto3" json:"is_delete_data,omitempty"`
  1155. IsRecursive bool `protobuf:"varint,5,opt,name=is_recursive,json=isRecursive,proto3" json:"is_recursive,omitempty"`
  1156. IgnoreRecursiveError bool `protobuf:"varint,6,opt,name=ignore_recursive_error,json=ignoreRecursiveError,proto3" json:"ignore_recursive_error,omitempty"`
  1157. IsFromOtherCluster bool `protobuf:"varint,7,opt,name=is_from_other_cluster,json=isFromOtherCluster,proto3" json:"is_from_other_cluster,omitempty"`
  1158. Signatures []int32 `protobuf:"varint,8,rep,packed,name=signatures,proto3" json:"signatures,omitempty"`
  1159. IfNotModifiedAfter int64 `protobuf:"varint,9,opt,name=if_not_modified_after,json=ifNotModifiedAfter,proto3" json:"if_not_modified_after,omitempty"`
  1160. unknownFields protoimpl.UnknownFields
  1161. sizeCache protoimpl.SizeCache
  1162. }
  1163. func (x *DeleteEntryRequest) Reset() {
  1164. *x = DeleteEntryRequest{}
  1165. mi := &file_filer_proto_msgTypes[18]
  1166. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1167. ms.StoreMessageInfo(mi)
  1168. }
  1169. func (x *DeleteEntryRequest) String() string {
  1170. return protoimpl.X.MessageStringOf(x)
  1171. }
  1172. func (*DeleteEntryRequest) ProtoMessage() {}
  1173. func (x *DeleteEntryRequest) ProtoReflect() protoreflect.Message {
  1174. mi := &file_filer_proto_msgTypes[18]
  1175. if x != nil {
  1176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1177. if ms.LoadMessageInfo() == nil {
  1178. ms.StoreMessageInfo(mi)
  1179. }
  1180. return ms
  1181. }
  1182. return mi.MessageOf(x)
  1183. }
  1184. // Deprecated: Use DeleteEntryRequest.ProtoReflect.Descriptor instead.
  1185. func (*DeleteEntryRequest) Descriptor() ([]byte, []int) {
  1186. return file_filer_proto_rawDescGZIP(), []int{18}
  1187. }
  1188. func (x *DeleteEntryRequest) GetDirectory() string {
  1189. if x != nil {
  1190. return x.Directory
  1191. }
  1192. return ""
  1193. }
  1194. func (x *DeleteEntryRequest) GetName() string {
  1195. if x != nil {
  1196. return x.Name
  1197. }
  1198. return ""
  1199. }
  1200. func (x *DeleteEntryRequest) GetIsDeleteData() bool {
  1201. if x != nil {
  1202. return x.IsDeleteData
  1203. }
  1204. return false
  1205. }
  1206. func (x *DeleteEntryRequest) GetIsRecursive() bool {
  1207. if x != nil {
  1208. return x.IsRecursive
  1209. }
  1210. return false
  1211. }
  1212. func (x *DeleteEntryRequest) GetIgnoreRecursiveError() bool {
  1213. if x != nil {
  1214. return x.IgnoreRecursiveError
  1215. }
  1216. return false
  1217. }
  1218. func (x *DeleteEntryRequest) GetIsFromOtherCluster() bool {
  1219. if x != nil {
  1220. return x.IsFromOtherCluster
  1221. }
  1222. return false
  1223. }
  1224. func (x *DeleteEntryRequest) GetSignatures() []int32 {
  1225. if x != nil {
  1226. return x.Signatures
  1227. }
  1228. return nil
  1229. }
  1230. func (x *DeleteEntryRequest) GetIfNotModifiedAfter() int64 {
  1231. if x != nil {
  1232. return x.IfNotModifiedAfter
  1233. }
  1234. return 0
  1235. }
  1236. type DeleteEntryResponse struct {
  1237. state protoimpl.MessageState `protogen:"open.v1"`
  1238. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  1239. unknownFields protoimpl.UnknownFields
  1240. sizeCache protoimpl.SizeCache
  1241. }
  1242. func (x *DeleteEntryResponse) Reset() {
  1243. *x = DeleteEntryResponse{}
  1244. mi := &file_filer_proto_msgTypes[19]
  1245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1246. ms.StoreMessageInfo(mi)
  1247. }
  1248. func (x *DeleteEntryResponse) String() string {
  1249. return protoimpl.X.MessageStringOf(x)
  1250. }
  1251. func (*DeleteEntryResponse) ProtoMessage() {}
  1252. func (x *DeleteEntryResponse) ProtoReflect() protoreflect.Message {
  1253. mi := &file_filer_proto_msgTypes[19]
  1254. if x != nil {
  1255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1256. if ms.LoadMessageInfo() == nil {
  1257. ms.StoreMessageInfo(mi)
  1258. }
  1259. return ms
  1260. }
  1261. return mi.MessageOf(x)
  1262. }
  1263. // Deprecated: Use DeleteEntryResponse.ProtoReflect.Descriptor instead.
  1264. func (*DeleteEntryResponse) Descriptor() ([]byte, []int) {
  1265. return file_filer_proto_rawDescGZIP(), []int{19}
  1266. }
  1267. func (x *DeleteEntryResponse) GetError() string {
  1268. if x != nil {
  1269. return x.Error
  1270. }
  1271. return ""
  1272. }
  1273. type AtomicRenameEntryRequest struct {
  1274. state protoimpl.MessageState `protogen:"open.v1"`
  1275. OldDirectory string `protobuf:"bytes,1,opt,name=old_directory,json=oldDirectory,proto3" json:"old_directory,omitempty"`
  1276. OldName string `protobuf:"bytes,2,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"`
  1277. NewDirectory string `protobuf:"bytes,3,opt,name=new_directory,json=newDirectory,proto3" json:"new_directory,omitempty"`
  1278. NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
  1279. Signatures []int32 `protobuf:"varint,5,rep,packed,name=signatures,proto3" json:"signatures,omitempty"`
  1280. unknownFields protoimpl.UnknownFields
  1281. sizeCache protoimpl.SizeCache
  1282. }
  1283. func (x *AtomicRenameEntryRequest) Reset() {
  1284. *x = AtomicRenameEntryRequest{}
  1285. mi := &file_filer_proto_msgTypes[20]
  1286. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1287. ms.StoreMessageInfo(mi)
  1288. }
  1289. func (x *AtomicRenameEntryRequest) String() string {
  1290. return protoimpl.X.MessageStringOf(x)
  1291. }
  1292. func (*AtomicRenameEntryRequest) ProtoMessage() {}
  1293. func (x *AtomicRenameEntryRequest) ProtoReflect() protoreflect.Message {
  1294. mi := &file_filer_proto_msgTypes[20]
  1295. if x != nil {
  1296. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1297. if ms.LoadMessageInfo() == nil {
  1298. ms.StoreMessageInfo(mi)
  1299. }
  1300. return ms
  1301. }
  1302. return mi.MessageOf(x)
  1303. }
  1304. // Deprecated: Use AtomicRenameEntryRequest.ProtoReflect.Descriptor instead.
  1305. func (*AtomicRenameEntryRequest) Descriptor() ([]byte, []int) {
  1306. return file_filer_proto_rawDescGZIP(), []int{20}
  1307. }
  1308. func (x *AtomicRenameEntryRequest) GetOldDirectory() string {
  1309. if x != nil {
  1310. return x.OldDirectory
  1311. }
  1312. return ""
  1313. }
  1314. func (x *AtomicRenameEntryRequest) GetOldName() string {
  1315. if x != nil {
  1316. return x.OldName
  1317. }
  1318. return ""
  1319. }
  1320. func (x *AtomicRenameEntryRequest) GetNewDirectory() string {
  1321. if x != nil {
  1322. return x.NewDirectory
  1323. }
  1324. return ""
  1325. }
  1326. func (x *AtomicRenameEntryRequest) GetNewName() string {
  1327. if x != nil {
  1328. return x.NewName
  1329. }
  1330. return ""
  1331. }
  1332. func (x *AtomicRenameEntryRequest) GetSignatures() []int32 {
  1333. if x != nil {
  1334. return x.Signatures
  1335. }
  1336. return nil
  1337. }
  1338. type AtomicRenameEntryResponse struct {
  1339. state protoimpl.MessageState `protogen:"open.v1"`
  1340. unknownFields protoimpl.UnknownFields
  1341. sizeCache protoimpl.SizeCache
  1342. }
  1343. func (x *AtomicRenameEntryResponse) Reset() {
  1344. *x = AtomicRenameEntryResponse{}
  1345. mi := &file_filer_proto_msgTypes[21]
  1346. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1347. ms.StoreMessageInfo(mi)
  1348. }
  1349. func (x *AtomicRenameEntryResponse) String() string {
  1350. return protoimpl.X.MessageStringOf(x)
  1351. }
  1352. func (*AtomicRenameEntryResponse) ProtoMessage() {}
  1353. func (x *AtomicRenameEntryResponse) ProtoReflect() protoreflect.Message {
  1354. mi := &file_filer_proto_msgTypes[21]
  1355. if x != nil {
  1356. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1357. if ms.LoadMessageInfo() == nil {
  1358. ms.StoreMessageInfo(mi)
  1359. }
  1360. return ms
  1361. }
  1362. return mi.MessageOf(x)
  1363. }
  1364. // Deprecated: Use AtomicRenameEntryResponse.ProtoReflect.Descriptor instead.
  1365. func (*AtomicRenameEntryResponse) Descriptor() ([]byte, []int) {
  1366. return file_filer_proto_rawDescGZIP(), []int{21}
  1367. }
  1368. type StreamRenameEntryRequest struct {
  1369. state protoimpl.MessageState `protogen:"open.v1"`
  1370. OldDirectory string `protobuf:"bytes,1,opt,name=old_directory,json=oldDirectory,proto3" json:"old_directory,omitempty"`
  1371. OldName string `protobuf:"bytes,2,opt,name=old_name,json=oldName,proto3" json:"old_name,omitempty"`
  1372. NewDirectory string `protobuf:"bytes,3,opt,name=new_directory,json=newDirectory,proto3" json:"new_directory,omitempty"`
  1373. NewName string `protobuf:"bytes,4,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"`
  1374. Signatures []int32 `protobuf:"varint,5,rep,packed,name=signatures,proto3" json:"signatures,omitempty"`
  1375. unknownFields protoimpl.UnknownFields
  1376. sizeCache protoimpl.SizeCache
  1377. }
  1378. func (x *StreamRenameEntryRequest) Reset() {
  1379. *x = StreamRenameEntryRequest{}
  1380. mi := &file_filer_proto_msgTypes[22]
  1381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1382. ms.StoreMessageInfo(mi)
  1383. }
  1384. func (x *StreamRenameEntryRequest) String() string {
  1385. return protoimpl.X.MessageStringOf(x)
  1386. }
  1387. func (*StreamRenameEntryRequest) ProtoMessage() {}
  1388. func (x *StreamRenameEntryRequest) ProtoReflect() protoreflect.Message {
  1389. mi := &file_filer_proto_msgTypes[22]
  1390. if 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 StreamRenameEntryRequest.ProtoReflect.Descriptor instead.
  1400. func (*StreamRenameEntryRequest) Descriptor() ([]byte, []int) {
  1401. return file_filer_proto_rawDescGZIP(), []int{22}
  1402. }
  1403. func (x *StreamRenameEntryRequest) GetOldDirectory() string {
  1404. if x != nil {
  1405. return x.OldDirectory
  1406. }
  1407. return ""
  1408. }
  1409. func (x *StreamRenameEntryRequest) GetOldName() string {
  1410. if x != nil {
  1411. return x.OldName
  1412. }
  1413. return ""
  1414. }
  1415. func (x *StreamRenameEntryRequest) GetNewDirectory() string {
  1416. if x != nil {
  1417. return x.NewDirectory
  1418. }
  1419. return ""
  1420. }
  1421. func (x *StreamRenameEntryRequest) GetNewName() string {
  1422. if x != nil {
  1423. return x.NewName
  1424. }
  1425. return ""
  1426. }
  1427. func (x *StreamRenameEntryRequest) GetSignatures() []int32 {
  1428. if x != nil {
  1429. return x.Signatures
  1430. }
  1431. return nil
  1432. }
  1433. type StreamRenameEntryResponse struct {
  1434. state protoimpl.MessageState `protogen:"open.v1"`
  1435. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  1436. EventNotification *EventNotification `protobuf:"bytes,2,opt,name=event_notification,json=eventNotification,proto3" json:"event_notification,omitempty"`
  1437. TsNs int64 `protobuf:"varint,3,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  1438. unknownFields protoimpl.UnknownFields
  1439. sizeCache protoimpl.SizeCache
  1440. }
  1441. func (x *StreamRenameEntryResponse) Reset() {
  1442. *x = StreamRenameEntryResponse{}
  1443. mi := &file_filer_proto_msgTypes[23]
  1444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1445. ms.StoreMessageInfo(mi)
  1446. }
  1447. func (x *StreamRenameEntryResponse) String() string {
  1448. return protoimpl.X.MessageStringOf(x)
  1449. }
  1450. func (*StreamRenameEntryResponse) ProtoMessage() {}
  1451. func (x *StreamRenameEntryResponse) ProtoReflect() protoreflect.Message {
  1452. mi := &file_filer_proto_msgTypes[23]
  1453. if x != nil {
  1454. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1455. if ms.LoadMessageInfo() == nil {
  1456. ms.StoreMessageInfo(mi)
  1457. }
  1458. return ms
  1459. }
  1460. return mi.MessageOf(x)
  1461. }
  1462. // Deprecated: Use StreamRenameEntryResponse.ProtoReflect.Descriptor instead.
  1463. func (*StreamRenameEntryResponse) Descriptor() ([]byte, []int) {
  1464. return file_filer_proto_rawDescGZIP(), []int{23}
  1465. }
  1466. func (x *StreamRenameEntryResponse) GetDirectory() string {
  1467. if x != nil {
  1468. return x.Directory
  1469. }
  1470. return ""
  1471. }
  1472. func (x *StreamRenameEntryResponse) GetEventNotification() *EventNotification {
  1473. if x != nil {
  1474. return x.EventNotification
  1475. }
  1476. return nil
  1477. }
  1478. func (x *StreamRenameEntryResponse) GetTsNs() int64 {
  1479. if x != nil {
  1480. return x.TsNs
  1481. }
  1482. return 0
  1483. }
  1484. type AssignVolumeRequest struct {
  1485. state protoimpl.MessageState `protogen:"open.v1"`
  1486. Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
  1487. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  1488. Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
  1489. TtlSec int32 `protobuf:"varint,4,opt,name=ttl_sec,json=ttlSec,proto3" json:"ttl_sec,omitempty"`
  1490. DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
  1491. Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"`
  1492. Rack string `protobuf:"bytes,7,opt,name=rack,proto3" json:"rack,omitempty"`
  1493. DataNode string `protobuf:"bytes,9,opt,name=data_node,json=dataNode,proto3" json:"data_node,omitempty"`
  1494. DiskType string `protobuf:"bytes,8,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  1495. unknownFields protoimpl.UnknownFields
  1496. sizeCache protoimpl.SizeCache
  1497. }
  1498. func (x *AssignVolumeRequest) Reset() {
  1499. *x = AssignVolumeRequest{}
  1500. mi := &file_filer_proto_msgTypes[24]
  1501. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1502. ms.StoreMessageInfo(mi)
  1503. }
  1504. func (x *AssignVolumeRequest) String() string {
  1505. return protoimpl.X.MessageStringOf(x)
  1506. }
  1507. func (*AssignVolumeRequest) ProtoMessage() {}
  1508. func (x *AssignVolumeRequest) ProtoReflect() protoreflect.Message {
  1509. mi := &file_filer_proto_msgTypes[24]
  1510. if x != nil {
  1511. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1512. if ms.LoadMessageInfo() == nil {
  1513. ms.StoreMessageInfo(mi)
  1514. }
  1515. return ms
  1516. }
  1517. return mi.MessageOf(x)
  1518. }
  1519. // Deprecated: Use AssignVolumeRequest.ProtoReflect.Descriptor instead.
  1520. func (*AssignVolumeRequest) Descriptor() ([]byte, []int) {
  1521. return file_filer_proto_rawDescGZIP(), []int{24}
  1522. }
  1523. func (x *AssignVolumeRequest) GetCount() int32 {
  1524. if x != nil {
  1525. return x.Count
  1526. }
  1527. return 0
  1528. }
  1529. func (x *AssignVolumeRequest) GetCollection() string {
  1530. if x != nil {
  1531. return x.Collection
  1532. }
  1533. return ""
  1534. }
  1535. func (x *AssignVolumeRequest) GetReplication() string {
  1536. if x != nil {
  1537. return x.Replication
  1538. }
  1539. return ""
  1540. }
  1541. func (x *AssignVolumeRequest) GetTtlSec() int32 {
  1542. if x != nil {
  1543. return x.TtlSec
  1544. }
  1545. return 0
  1546. }
  1547. func (x *AssignVolumeRequest) GetDataCenter() string {
  1548. if x != nil {
  1549. return x.DataCenter
  1550. }
  1551. return ""
  1552. }
  1553. func (x *AssignVolumeRequest) GetPath() string {
  1554. if x != nil {
  1555. return x.Path
  1556. }
  1557. return ""
  1558. }
  1559. func (x *AssignVolumeRequest) GetRack() string {
  1560. if x != nil {
  1561. return x.Rack
  1562. }
  1563. return ""
  1564. }
  1565. func (x *AssignVolumeRequest) GetDataNode() string {
  1566. if x != nil {
  1567. return x.DataNode
  1568. }
  1569. return ""
  1570. }
  1571. func (x *AssignVolumeRequest) GetDiskType() string {
  1572. if x != nil {
  1573. return x.DiskType
  1574. }
  1575. return ""
  1576. }
  1577. type AssignVolumeResponse struct {
  1578. state protoimpl.MessageState `protogen:"open.v1"`
  1579. FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"`
  1580. Count int32 `protobuf:"varint,4,opt,name=count,proto3" json:"count,omitempty"`
  1581. Auth string `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
  1582. Collection string `protobuf:"bytes,6,opt,name=collection,proto3" json:"collection,omitempty"`
  1583. Replication string `protobuf:"bytes,7,opt,name=replication,proto3" json:"replication,omitempty"`
  1584. Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
  1585. Location *Location `protobuf:"bytes,9,opt,name=location,proto3" json:"location,omitempty"`
  1586. unknownFields protoimpl.UnknownFields
  1587. sizeCache protoimpl.SizeCache
  1588. }
  1589. func (x *AssignVolumeResponse) Reset() {
  1590. *x = AssignVolumeResponse{}
  1591. mi := &file_filer_proto_msgTypes[25]
  1592. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1593. ms.StoreMessageInfo(mi)
  1594. }
  1595. func (x *AssignVolumeResponse) String() string {
  1596. return protoimpl.X.MessageStringOf(x)
  1597. }
  1598. func (*AssignVolumeResponse) ProtoMessage() {}
  1599. func (x *AssignVolumeResponse) ProtoReflect() protoreflect.Message {
  1600. mi := &file_filer_proto_msgTypes[25]
  1601. if x != nil {
  1602. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1603. if ms.LoadMessageInfo() == nil {
  1604. ms.StoreMessageInfo(mi)
  1605. }
  1606. return ms
  1607. }
  1608. return mi.MessageOf(x)
  1609. }
  1610. // Deprecated: Use AssignVolumeResponse.ProtoReflect.Descriptor instead.
  1611. func (*AssignVolumeResponse) Descriptor() ([]byte, []int) {
  1612. return file_filer_proto_rawDescGZIP(), []int{25}
  1613. }
  1614. func (x *AssignVolumeResponse) GetFileId() string {
  1615. if x != nil {
  1616. return x.FileId
  1617. }
  1618. return ""
  1619. }
  1620. func (x *AssignVolumeResponse) GetCount() int32 {
  1621. if x != nil {
  1622. return x.Count
  1623. }
  1624. return 0
  1625. }
  1626. func (x *AssignVolumeResponse) GetAuth() string {
  1627. if x != nil {
  1628. return x.Auth
  1629. }
  1630. return ""
  1631. }
  1632. func (x *AssignVolumeResponse) GetCollection() string {
  1633. if x != nil {
  1634. return x.Collection
  1635. }
  1636. return ""
  1637. }
  1638. func (x *AssignVolumeResponse) GetReplication() string {
  1639. if x != nil {
  1640. return x.Replication
  1641. }
  1642. return ""
  1643. }
  1644. func (x *AssignVolumeResponse) GetError() string {
  1645. if x != nil {
  1646. return x.Error
  1647. }
  1648. return ""
  1649. }
  1650. func (x *AssignVolumeResponse) GetLocation() *Location {
  1651. if x != nil {
  1652. return x.Location
  1653. }
  1654. return nil
  1655. }
  1656. type LookupVolumeRequest struct {
  1657. state protoimpl.MessageState `protogen:"open.v1"`
  1658. VolumeIds []string `protobuf:"bytes,1,rep,name=volume_ids,json=volumeIds,proto3" json:"volume_ids,omitempty"`
  1659. unknownFields protoimpl.UnknownFields
  1660. sizeCache protoimpl.SizeCache
  1661. }
  1662. func (x *LookupVolumeRequest) Reset() {
  1663. *x = LookupVolumeRequest{}
  1664. mi := &file_filer_proto_msgTypes[26]
  1665. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1666. ms.StoreMessageInfo(mi)
  1667. }
  1668. func (x *LookupVolumeRequest) String() string {
  1669. return protoimpl.X.MessageStringOf(x)
  1670. }
  1671. func (*LookupVolumeRequest) ProtoMessage() {}
  1672. func (x *LookupVolumeRequest) ProtoReflect() protoreflect.Message {
  1673. mi := &file_filer_proto_msgTypes[26]
  1674. if x != nil {
  1675. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1676. if ms.LoadMessageInfo() == nil {
  1677. ms.StoreMessageInfo(mi)
  1678. }
  1679. return ms
  1680. }
  1681. return mi.MessageOf(x)
  1682. }
  1683. // Deprecated: Use LookupVolumeRequest.ProtoReflect.Descriptor instead.
  1684. func (*LookupVolumeRequest) Descriptor() ([]byte, []int) {
  1685. return file_filer_proto_rawDescGZIP(), []int{26}
  1686. }
  1687. func (x *LookupVolumeRequest) GetVolumeIds() []string {
  1688. if x != nil {
  1689. return x.VolumeIds
  1690. }
  1691. return nil
  1692. }
  1693. type Locations struct {
  1694. state protoimpl.MessageState `protogen:"open.v1"`
  1695. Locations []*Location `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
  1696. unknownFields protoimpl.UnknownFields
  1697. sizeCache protoimpl.SizeCache
  1698. }
  1699. func (x *Locations) Reset() {
  1700. *x = Locations{}
  1701. mi := &file_filer_proto_msgTypes[27]
  1702. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1703. ms.StoreMessageInfo(mi)
  1704. }
  1705. func (x *Locations) String() string {
  1706. return protoimpl.X.MessageStringOf(x)
  1707. }
  1708. func (*Locations) ProtoMessage() {}
  1709. func (x *Locations) ProtoReflect() protoreflect.Message {
  1710. mi := &file_filer_proto_msgTypes[27]
  1711. if x != nil {
  1712. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1713. if ms.LoadMessageInfo() == nil {
  1714. ms.StoreMessageInfo(mi)
  1715. }
  1716. return ms
  1717. }
  1718. return mi.MessageOf(x)
  1719. }
  1720. // Deprecated: Use Locations.ProtoReflect.Descriptor instead.
  1721. func (*Locations) Descriptor() ([]byte, []int) {
  1722. return file_filer_proto_rawDescGZIP(), []int{27}
  1723. }
  1724. func (x *Locations) GetLocations() []*Location {
  1725. if x != nil {
  1726. return x.Locations
  1727. }
  1728. return nil
  1729. }
  1730. type Location struct {
  1731. state protoimpl.MessageState `protogen:"open.v1"`
  1732. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  1733. PublicUrl string `protobuf:"bytes,2,opt,name=public_url,json=publicUrl,proto3" json:"public_url,omitempty"`
  1734. GrpcPort uint32 `protobuf:"varint,3,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"`
  1735. DataCenter string `protobuf:"bytes,4,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
  1736. unknownFields protoimpl.UnknownFields
  1737. sizeCache protoimpl.SizeCache
  1738. }
  1739. func (x *Location) Reset() {
  1740. *x = Location{}
  1741. mi := &file_filer_proto_msgTypes[28]
  1742. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1743. ms.StoreMessageInfo(mi)
  1744. }
  1745. func (x *Location) String() string {
  1746. return protoimpl.X.MessageStringOf(x)
  1747. }
  1748. func (*Location) ProtoMessage() {}
  1749. func (x *Location) ProtoReflect() protoreflect.Message {
  1750. mi := &file_filer_proto_msgTypes[28]
  1751. if x != nil {
  1752. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1753. if ms.LoadMessageInfo() == nil {
  1754. ms.StoreMessageInfo(mi)
  1755. }
  1756. return ms
  1757. }
  1758. return mi.MessageOf(x)
  1759. }
  1760. // Deprecated: Use Location.ProtoReflect.Descriptor instead.
  1761. func (*Location) Descriptor() ([]byte, []int) {
  1762. return file_filer_proto_rawDescGZIP(), []int{28}
  1763. }
  1764. func (x *Location) GetUrl() string {
  1765. if x != nil {
  1766. return x.Url
  1767. }
  1768. return ""
  1769. }
  1770. func (x *Location) GetPublicUrl() string {
  1771. if x != nil {
  1772. return x.PublicUrl
  1773. }
  1774. return ""
  1775. }
  1776. func (x *Location) GetGrpcPort() uint32 {
  1777. if x != nil {
  1778. return x.GrpcPort
  1779. }
  1780. return 0
  1781. }
  1782. func (x *Location) GetDataCenter() string {
  1783. if x != nil {
  1784. return x.DataCenter
  1785. }
  1786. return ""
  1787. }
  1788. type LookupVolumeResponse struct {
  1789. state protoimpl.MessageState `protogen:"open.v1"`
  1790. LocationsMap map[string]*Locations `protobuf:"bytes,1,rep,name=locations_map,json=locationsMap,proto3" json:"locations_map,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  1791. unknownFields protoimpl.UnknownFields
  1792. sizeCache protoimpl.SizeCache
  1793. }
  1794. func (x *LookupVolumeResponse) Reset() {
  1795. *x = LookupVolumeResponse{}
  1796. mi := &file_filer_proto_msgTypes[29]
  1797. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1798. ms.StoreMessageInfo(mi)
  1799. }
  1800. func (x *LookupVolumeResponse) String() string {
  1801. return protoimpl.X.MessageStringOf(x)
  1802. }
  1803. func (*LookupVolumeResponse) ProtoMessage() {}
  1804. func (x *LookupVolumeResponse) ProtoReflect() protoreflect.Message {
  1805. mi := &file_filer_proto_msgTypes[29]
  1806. if x != nil {
  1807. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1808. if ms.LoadMessageInfo() == nil {
  1809. ms.StoreMessageInfo(mi)
  1810. }
  1811. return ms
  1812. }
  1813. return mi.MessageOf(x)
  1814. }
  1815. // Deprecated: Use LookupVolumeResponse.ProtoReflect.Descriptor instead.
  1816. func (*LookupVolumeResponse) Descriptor() ([]byte, []int) {
  1817. return file_filer_proto_rawDescGZIP(), []int{29}
  1818. }
  1819. func (x *LookupVolumeResponse) GetLocationsMap() map[string]*Locations {
  1820. if x != nil {
  1821. return x.LocationsMap
  1822. }
  1823. return nil
  1824. }
  1825. type Collection struct {
  1826. state protoimpl.MessageState `protogen:"open.v1"`
  1827. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1828. unknownFields protoimpl.UnknownFields
  1829. sizeCache protoimpl.SizeCache
  1830. }
  1831. func (x *Collection) Reset() {
  1832. *x = Collection{}
  1833. mi := &file_filer_proto_msgTypes[30]
  1834. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1835. ms.StoreMessageInfo(mi)
  1836. }
  1837. func (x *Collection) String() string {
  1838. return protoimpl.X.MessageStringOf(x)
  1839. }
  1840. func (*Collection) ProtoMessage() {}
  1841. func (x *Collection) ProtoReflect() protoreflect.Message {
  1842. mi := &file_filer_proto_msgTypes[30]
  1843. if x != nil {
  1844. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1845. if ms.LoadMessageInfo() == nil {
  1846. ms.StoreMessageInfo(mi)
  1847. }
  1848. return ms
  1849. }
  1850. return mi.MessageOf(x)
  1851. }
  1852. // Deprecated: Use Collection.ProtoReflect.Descriptor instead.
  1853. func (*Collection) Descriptor() ([]byte, []int) {
  1854. return file_filer_proto_rawDescGZIP(), []int{30}
  1855. }
  1856. func (x *Collection) GetName() string {
  1857. if x != nil {
  1858. return x.Name
  1859. }
  1860. return ""
  1861. }
  1862. type CollectionListRequest struct {
  1863. state protoimpl.MessageState `protogen:"open.v1"`
  1864. IncludeNormalVolumes bool `protobuf:"varint,1,opt,name=include_normal_volumes,json=includeNormalVolumes,proto3" json:"include_normal_volumes,omitempty"`
  1865. IncludeEcVolumes bool `protobuf:"varint,2,opt,name=include_ec_volumes,json=includeEcVolumes,proto3" json:"include_ec_volumes,omitempty"`
  1866. unknownFields protoimpl.UnknownFields
  1867. sizeCache protoimpl.SizeCache
  1868. }
  1869. func (x *CollectionListRequest) Reset() {
  1870. *x = CollectionListRequest{}
  1871. mi := &file_filer_proto_msgTypes[31]
  1872. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1873. ms.StoreMessageInfo(mi)
  1874. }
  1875. func (x *CollectionListRequest) String() string {
  1876. return protoimpl.X.MessageStringOf(x)
  1877. }
  1878. func (*CollectionListRequest) ProtoMessage() {}
  1879. func (x *CollectionListRequest) ProtoReflect() protoreflect.Message {
  1880. mi := &file_filer_proto_msgTypes[31]
  1881. if x != nil {
  1882. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1883. if ms.LoadMessageInfo() == nil {
  1884. ms.StoreMessageInfo(mi)
  1885. }
  1886. return ms
  1887. }
  1888. return mi.MessageOf(x)
  1889. }
  1890. // Deprecated: Use CollectionListRequest.ProtoReflect.Descriptor instead.
  1891. func (*CollectionListRequest) Descriptor() ([]byte, []int) {
  1892. return file_filer_proto_rawDescGZIP(), []int{31}
  1893. }
  1894. func (x *CollectionListRequest) GetIncludeNormalVolumes() bool {
  1895. if x != nil {
  1896. return x.IncludeNormalVolumes
  1897. }
  1898. return false
  1899. }
  1900. func (x *CollectionListRequest) GetIncludeEcVolumes() bool {
  1901. if x != nil {
  1902. return x.IncludeEcVolumes
  1903. }
  1904. return false
  1905. }
  1906. type CollectionListResponse struct {
  1907. state protoimpl.MessageState `protogen:"open.v1"`
  1908. Collections []*Collection `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
  1909. unknownFields protoimpl.UnknownFields
  1910. sizeCache protoimpl.SizeCache
  1911. }
  1912. func (x *CollectionListResponse) Reset() {
  1913. *x = CollectionListResponse{}
  1914. mi := &file_filer_proto_msgTypes[32]
  1915. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1916. ms.StoreMessageInfo(mi)
  1917. }
  1918. func (x *CollectionListResponse) String() string {
  1919. return protoimpl.X.MessageStringOf(x)
  1920. }
  1921. func (*CollectionListResponse) ProtoMessage() {}
  1922. func (x *CollectionListResponse) ProtoReflect() protoreflect.Message {
  1923. mi := &file_filer_proto_msgTypes[32]
  1924. if x != nil {
  1925. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1926. if ms.LoadMessageInfo() == nil {
  1927. ms.StoreMessageInfo(mi)
  1928. }
  1929. return ms
  1930. }
  1931. return mi.MessageOf(x)
  1932. }
  1933. // Deprecated: Use CollectionListResponse.ProtoReflect.Descriptor instead.
  1934. func (*CollectionListResponse) Descriptor() ([]byte, []int) {
  1935. return file_filer_proto_rawDescGZIP(), []int{32}
  1936. }
  1937. func (x *CollectionListResponse) GetCollections() []*Collection {
  1938. if x != nil {
  1939. return x.Collections
  1940. }
  1941. return nil
  1942. }
  1943. type DeleteCollectionRequest struct {
  1944. state protoimpl.MessageState `protogen:"open.v1"`
  1945. Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
  1946. unknownFields protoimpl.UnknownFields
  1947. sizeCache protoimpl.SizeCache
  1948. }
  1949. func (x *DeleteCollectionRequest) Reset() {
  1950. *x = DeleteCollectionRequest{}
  1951. mi := &file_filer_proto_msgTypes[33]
  1952. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1953. ms.StoreMessageInfo(mi)
  1954. }
  1955. func (x *DeleteCollectionRequest) String() string {
  1956. return protoimpl.X.MessageStringOf(x)
  1957. }
  1958. func (*DeleteCollectionRequest) ProtoMessage() {}
  1959. func (x *DeleteCollectionRequest) ProtoReflect() protoreflect.Message {
  1960. mi := &file_filer_proto_msgTypes[33]
  1961. if x != nil {
  1962. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1963. if ms.LoadMessageInfo() == nil {
  1964. ms.StoreMessageInfo(mi)
  1965. }
  1966. return ms
  1967. }
  1968. return mi.MessageOf(x)
  1969. }
  1970. // Deprecated: Use DeleteCollectionRequest.ProtoReflect.Descriptor instead.
  1971. func (*DeleteCollectionRequest) Descriptor() ([]byte, []int) {
  1972. return file_filer_proto_rawDescGZIP(), []int{33}
  1973. }
  1974. func (x *DeleteCollectionRequest) GetCollection() string {
  1975. if x != nil {
  1976. return x.Collection
  1977. }
  1978. return ""
  1979. }
  1980. type DeleteCollectionResponse struct {
  1981. state protoimpl.MessageState `protogen:"open.v1"`
  1982. unknownFields protoimpl.UnknownFields
  1983. sizeCache protoimpl.SizeCache
  1984. }
  1985. func (x *DeleteCollectionResponse) Reset() {
  1986. *x = DeleteCollectionResponse{}
  1987. mi := &file_filer_proto_msgTypes[34]
  1988. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1989. ms.StoreMessageInfo(mi)
  1990. }
  1991. func (x *DeleteCollectionResponse) String() string {
  1992. return protoimpl.X.MessageStringOf(x)
  1993. }
  1994. func (*DeleteCollectionResponse) ProtoMessage() {}
  1995. func (x *DeleteCollectionResponse) ProtoReflect() protoreflect.Message {
  1996. mi := &file_filer_proto_msgTypes[34]
  1997. if x != nil {
  1998. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1999. if ms.LoadMessageInfo() == nil {
  2000. ms.StoreMessageInfo(mi)
  2001. }
  2002. return ms
  2003. }
  2004. return mi.MessageOf(x)
  2005. }
  2006. // Deprecated: Use DeleteCollectionResponse.ProtoReflect.Descriptor instead.
  2007. func (*DeleteCollectionResponse) Descriptor() ([]byte, []int) {
  2008. return file_filer_proto_rawDescGZIP(), []int{34}
  2009. }
  2010. type StatisticsRequest struct {
  2011. state protoimpl.MessageState `protogen:"open.v1"`
  2012. Replication string `protobuf:"bytes,1,opt,name=replication,proto3" json:"replication,omitempty"`
  2013. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  2014. Ttl string `protobuf:"bytes,3,opt,name=ttl,proto3" json:"ttl,omitempty"`
  2015. DiskType string `protobuf:"bytes,4,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  2016. unknownFields protoimpl.UnknownFields
  2017. sizeCache protoimpl.SizeCache
  2018. }
  2019. func (x *StatisticsRequest) Reset() {
  2020. *x = StatisticsRequest{}
  2021. mi := &file_filer_proto_msgTypes[35]
  2022. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2023. ms.StoreMessageInfo(mi)
  2024. }
  2025. func (x *StatisticsRequest) String() string {
  2026. return protoimpl.X.MessageStringOf(x)
  2027. }
  2028. func (*StatisticsRequest) ProtoMessage() {}
  2029. func (x *StatisticsRequest) ProtoReflect() protoreflect.Message {
  2030. mi := &file_filer_proto_msgTypes[35]
  2031. if x != nil {
  2032. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2033. if ms.LoadMessageInfo() == nil {
  2034. ms.StoreMessageInfo(mi)
  2035. }
  2036. return ms
  2037. }
  2038. return mi.MessageOf(x)
  2039. }
  2040. // Deprecated: Use StatisticsRequest.ProtoReflect.Descriptor instead.
  2041. func (*StatisticsRequest) Descriptor() ([]byte, []int) {
  2042. return file_filer_proto_rawDescGZIP(), []int{35}
  2043. }
  2044. func (x *StatisticsRequest) GetReplication() string {
  2045. if x != nil {
  2046. return x.Replication
  2047. }
  2048. return ""
  2049. }
  2050. func (x *StatisticsRequest) GetCollection() string {
  2051. if x != nil {
  2052. return x.Collection
  2053. }
  2054. return ""
  2055. }
  2056. func (x *StatisticsRequest) GetTtl() string {
  2057. if x != nil {
  2058. return x.Ttl
  2059. }
  2060. return ""
  2061. }
  2062. func (x *StatisticsRequest) GetDiskType() string {
  2063. if x != nil {
  2064. return x.DiskType
  2065. }
  2066. return ""
  2067. }
  2068. type StatisticsResponse struct {
  2069. state protoimpl.MessageState `protogen:"open.v1"`
  2070. TotalSize uint64 `protobuf:"varint,4,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
  2071. UsedSize uint64 `protobuf:"varint,5,opt,name=used_size,json=usedSize,proto3" json:"used_size,omitempty"`
  2072. FileCount uint64 `protobuf:"varint,6,opt,name=file_count,json=fileCount,proto3" json:"file_count,omitempty"`
  2073. unknownFields protoimpl.UnknownFields
  2074. sizeCache protoimpl.SizeCache
  2075. }
  2076. func (x *StatisticsResponse) Reset() {
  2077. *x = StatisticsResponse{}
  2078. mi := &file_filer_proto_msgTypes[36]
  2079. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2080. ms.StoreMessageInfo(mi)
  2081. }
  2082. func (x *StatisticsResponse) String() string {
  2083. return protoimpl.X.MessageStringOf(x)
  2084. }
  2085. func (*StatisticsResponse) ProtoMessage() {}
  2086. func (x *StatisticsResponse) ProtoReflect() protoreflect.Message {
  2087. mi := &file_filer_proto_msgTypes[36]
  2088. if x != nil {
  2089. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2090. if ms.LoadMessageInfo() == nil {
  2091. ms.StoreMessageInfo(mi)
  2092. }
  2093. return ms
  2094. }
  2095. return mi.MessageOf(x)
  2096. }
  2097. // Deprecated: Use StatisticsResponse.ProtoReflect.Descriptor instead.
  2098. func (*StatisticsResponse) Descriptor() ([]byte, []int) {
  2099. return file_filer_proto_rawDescGZIP(), []int{36}
  2100. }
  2101. func (x *StatisticsResponse) GetTotalSize() uint64 {
  2102. if x != nil {
  2103. return x.TotalSize
  2104. }
  2105. return 0
  2106. }
  2107. func (x *StatisticsResponse) GetUsedSize() uint64 {
  2108. if x != nil {
  2109. return x.UsedSize
  2110. }
  2111. return 0
  2112. }
  2113. func (x *StatisticsResponse) GetFileCount() uint64 {
  2114. if x != nil {
  2115. return x.FileCount
  2116. }
  2117. return 0
  2118. }
  2119. type PingRequest struct {
  2120. state protoimpl.MessageState `protogen:"open.v1"`
  2121. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // default to ping itself
  2122. TargetType string `protobuf:"bytes,2,opt,name=target_type,json=targetType,proto3" json:"target_type,omitempty"`
  2123. unknownFields protoimpl.UnknownFields
  2124. sizeCache protoimpl.SizeCache
  2125. }
  2126. func (x *PingRequest) Reset() {
  2127. *x = PingRequest{}
  2128. mi := &file_filer_proto_msgTypes[37]
  2129. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2130. ms.StoreMessageInfo(mi)
  2131. }
  2132. func (x *PingRequest) String() string {
  2133. return protoimpl.X.MessageStringOf(x)
  2134. }
  2135. func (*PingRequest) ProtoMessage() {}
  2136. func (x *PingRequest) ProtoReflect() protoreflect.Message {
  2137. mi := &file_filer_proto_msgTypes[37]
  2138. if x != nil {
  2139. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2140. if ms.LoadMessageInfo() == nil {
  2141. ms.StoreMessageInfo(mi)
  2142. }
  2143. return ms
  2144. }
  2145. return mi.MessageOf(x)
  2146. }
  2147. // Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
  2148. func (*PingRequest) Descriptor() ([]byte, []int) {
  2149. return file_filer_proto_rawDescGZIP(), []int{37}
  2150. }
  2151. func (x *PingRequest) GetTarget() string {
  2152. if x != nil {
  2153. return x.Target
  2154. }
  2155. return ""
  2156. }
  2157. func (x *PingRequest) GetTargetType() string {
  2158. if x != nil {
  2159. return x.TargetType
  2160. }
  2161. return ""
  2162. }
  2163. type PingResponse struct {
  2164. state protoimpl.MessageState `protogen:"open.v1"`
  2165. StartTimeNs int64 `protobuf:"varint,1,opt,name=start_time_ns,json=startTimeNs,proto3" json:"start_time_ns,omitempty"`
  2166. RemoteTimeNs int64 `protobuf:"varint,2,opt,name=remote_time_ns,json=remoteTimeNs,proto3" json:"remote_time_ns,omitempty"`
  2167. StopTimeNs int64 `protobuf:"varint,3,opt,name=stop_time_ns,json=stopTimeNs,proto3" json:"stop_time_ns,omitempty"`
  2168. unknownFields protoimpl.UnknownFields
  2169. sizeCache protoimpl.SizeCache
  2170. }
  2171. func (x *PingResponse) Reset() {
  2172. *x = PingResponse{}
  2173. mi := &file_filer_proto_msgTypes[38]
  2174. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2175. ms.StoreMessageInfo(mi)
  2176. }
  2177. func (x *PingResponse) String() string {
  2178. return protoimpl.X.MessageStringOf(x)
  2179. }
  2180. func (*PingResponse) ProtoMessage() {}
  2181. func (x *PingResponse) ProtoReflect() protoreflect.Message {
  2182. mi := &file_filer_proto_msgTypes[38]
  2183. if x != nil {
  2184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2185. if ms.LoadMessageInfo() == nil {
  2186. ms.StoreMessageInfo(mi)
  2187. }
  2188. return ms
  2189. }
  2190. return mi.MessageOf(x)
  2191. }
  2192. // Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
  2193. func (*PingResponse) Descriptor() ([]byte, []int) {
  2194. return file_filer_proto_rawDescGZIP(), []int{38}
  2195. }
  2196. func (x *PingResponse) GetStartTimeNs() int64 {
  2197. if x != nil {
  2198. return x.StartTimeNs
  2199. }
  2200. return 0
  2201. }
  2202. func (x *PingResponse) GetRemoteTimeNs() int64 {
  2203. if x != nil {
  2204. return x.RemoteTimeNs
  2205. }
  2206. return 0
  2207. }
  2208. func (x *PingResponse) GetStopTimeNs() int64 {
  2209. if x != nil {
  2210. return x.StopTimeNs
  2211. }
  2212. return 0
  2213. }
  2214. type GetFilerConfigurationRequest struct {
  2215. state protoimpl.MessageState `protogen:"open.v1"`
  2216. unknownFields protoimpl.UnknownFields
  2217. sizeCache protoimpl.SizeCache
  2218. }
  2219. func (x *GetFilerConfigurationRequest) Reset() {
  2220. *x = GetFilerConfigurationRequest{}
  2221. mi := &file_filer_proto_msgTypes[39]
  2222. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2223. ms.StoreMessageInfo(mi)
  2224. }
  2225. func (x *GetFilerConfigurationRequest) String() string {
  2226. return protoimpl.X.MessageStringOf(x)
  2227. }
  2228. func (*GetFilerConfigurationRequest) ProtoMessage() {}
  2229. func (x *GetFilerConfigurationRequest) ProtoReflect() protoreflect.Message {
  2230. mi := &file_filer_proto_msgTypes[39]
  2231. if x != nil {
  2232. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2233. if ms.LoadMessageInfo() == nil {
  2234. ms.StoreMessageInfo(mi)
  2235. }
  2236. return ms
  2237. }
  2238. return mi.MessageOf(x)
  2239. }
  2240. // Deprecated: Use GetFilerConfigurationRequest.ProtoReflect.Descriptor instead.
  2241. func (*GetFilerConfigurationRequest) Descriptor() ([]byte, []int) {
  2242. return file_filer_proto_rawDescGZIP(), []int{39}
  2243. }
  2244. type GetFilerConfigurationResponse struct {
  2245. state protoimpl.MessageState `protogen:"open.v1"`
  2246. Masters []string `protobuf:"bytes,1,rep,name=masters,proto3" json:"masters,omitempty"`
  2247. Replication string `protobuf:"bytes,2,opt,name=replication,proto3" json:"replication,omitempty"`
  2248. Collection string `protobuf:"bytes,3,opt,name=collection,proto3" json:"collection,omitempty"`
  2249. MaxMb uint32 `protobuf:"varint,4,opt,name=max_mb,json=maxMb,proto3" json:"max_mb,omitempty"`
  2250. DirBuckets string `protobuf:"bytes,5,opt,name=dir_buckets,json=dirBuckets,proto3" json:"dir_buckets,omitempty"`
  2251. Cipher bool `protobuf:"varint,7,opt,name=cipher,proto3" json:"cipher,omitempty"`
  2252. Signature int32 `protobuf:"varint,8,opt,name=signature,proto3" json:"signature,omitempty"`
  2253. MetricsAddress string `protobuf:"bytes,9,opt,name=metrics_address,json=metricsAddress,proto3" json:"metrics_address,omitempty"`
  2254. MetricsIntervalSec int32 `protobuf:"varint,10,opt,name=metrics_interval_sec,json=metricsIntervalSec,proto3" json:"metrics_interval_sec,omitempty"`
  2255. Version string `protobuf:"bytes,11,opt,name=version,proto3" json:"version,omitempty"`
  2256. ClusterId string `protobuf:"bytes,12,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
  2257. FilerGroup string `protobuf:"bytes,13,opt,name=filer_group,json=filerGroup,proto3" json:"filer_group,omitempty"`
  2258. MajorVersion int32 `protobuf:"varint,14,opt,name=major_version,json=majorVersion,proto3" json:"major_version,omitempty"`
  2259. MinorVersion int32 `protobuf:"varint,15,opt,name=minor_version,json=minorVersion,proto3" json:"minor_version,omitempty"`
  2260. unknownFields protoimpl.UnknownFields
  2261. sizeCache protoimpl.SizeCache
  2262. }
  2263. func (x *GetFilerConfigurationResponse) Reset() {
  2264. *x = GetFilerConfigurationResponse{}
  2265. mi := &file_filer_proto_msgTypes[40]
  2266. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2267. ms.StoreMessageInfo(mi)
  2268. }
  2269. func (x *GetFilerConfigurationResponse) String() string {
  2270. return protoimpl.X.MessageStringOf(x)
  2271. }
  2272. func (*GetFilerConfigurationResponse) ProtoMessage() {}
  2273. func (x *GetFilerConfigurationResponse) ProtoReflect() protoreflect.Message {
  2274. mi := &file_filer_proto_msgTypes[40]
  2275. if x != nil {
  2276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2277. if ms.LoadMessageInfo() == nil {
  2278. ms.StoreMessageInfo(mi)
  2279. }
  2280. return ms
  2281. }
  2282. return mi.MessageOf(x)
  2283. }
  2284. // Deprecated: Use GetFilerConfigurationResponse.ProtoReflect.Descriptor instead.
  2285. func (*GetFilerConfigurationResponse) Descriptor() ([]byte, []int) {
  2286. return file_filer_proto_rawDescGZIP(), []int{40}
  2287. }
  2288. func (x *GetFilerConfigurationResponse) GetMasters() []string {
  2289. if x != nil {
  2290. return x.Masters
  2291. }
  2292. return nil
  2293. }
  2294. func (x *GetFilerConfigurationResponse) GetReplication() string {
  2295. if x != nil {
  2296. return x.Replication
  2297. }
  2298. return ""
  2299. }
  2300. func (x *GetFilerConfigurationResponse) GetCollection() string {
  2301. if x != nil {
  2302. return x.Collection
  2303. }
  2304. return ""
  2305. }
  2306. func (x *GetFilerConfigurationResponse) GetMaxMb() uint32 {
  2307. if x != nil {
  2308. return x.MaxMb
  2309. }
  2310. return 0
  2311. }
  2312. func (x *GetFilerConfigurationResponse) GetDirBuckets() string {
  2313. if x != nil {
  2314. return x.DirBuckets
  2315. }
  2316. return ""
  2317. }
  2318. func (x *GetFilerConfigurationResponse) GetCipher() bool {
  2319. if x != nil {
  2320. return x.Cipher
  2321. }
  2322. return false
  2323. }
  2324. func (x *GetFilerConfigurationResponse) GetSignature() int32 {
  2325. if x != nil {
  2326. return x.Signature
  2327. }
  2328. return 0
  2329. }
  2330. func (x *GetFilerConfigurationResponse) GetMetricsAddress() string {
  2331. if x != nil {
  2332. return x.MetricsAddress
  2333. }
  2334. return ""
  2335. }
  2336. func (x *GetFilerConfigurationResponse) GetMetricsIntervalSec() int32 {
  2337. if x != nil {
  2338. return x.MetricsIntervalSec
  2339. }
  2340. return 0
  2341. }
  2342. func (x *GetFilerConfigurationResponse) GetVersion() string {
  2343. if x != nil {
  2344. return x.Version
  2345. }
  2346. return ""
  2347. }
  2348. func (x *GetFilerConfigurationResponse) GetClusterId() string {
  2349. if x != nil {
  2350. return x.ClusterId
  2351. }
  2352. return ""
  2353. }
  2354. func (x *GetFilerConfigurationResponse) GetFilerGroup() string {
  2355. if x != nil {
  2356. return x.FilerGroup
  2357. }
  2358. return ""
  2359. }
  2360. func (x *GetFilerConfigurationResponse) GetMajorVersion() int32 {
  2361. if x != nil {
  2362. return x.MajorVersion
  2363. }
  2364. return 0
  2365. }
  2366. func (x *GetFilerConfigurationResponse) GetMinorVersion() int32 {
  2367. if x != nil {
  2368. return x.MinorVersion
  2369. }
  2370. return 0
  2371. }
  2372. type SubscribeMetadataRequest struct {
  2373. state protoimpl.MessageState `protogen:"open.v1"`
  2374. ClientName string `protobuf:"bytes,1,opt,name=client_name,json=clientName,proto3" json:"client_name,omitempty"`
  2375. PathPrefix string `protobuf:"bytes,2,opt,name=path_prefix,json=pathPrefix,proto3" json:"path_prefix,omitempty"`
  2376. SinceNs int64 `protobuf:"varint,3,opt,name=since_ns,json=sinceNs,proto3" json:"since_ns,omitempty"`
  2377. Signature int32 `protobuf:"varint,4,opt,name=signature,proto3" json:"signature,omitempty"`
  2378. PathPrefixes []string `protobuf:"bytes,6,rep,name=path_prefixes,json=pathPrefixes,proto3" json:"path_prefixes,omitempty"`
  2379. ClientId int32 `protobuf:"varint,7,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
  2380. UntilNs int64 `protobuf:"varint,8,opt,name=until_ns,json=untilNs,proto3" json:"until_ns,omitempty"`
  2381. ClientEpoch int32 `protobuf:"varint,9,opt,name=client_epoch,json=clientEpoch,proto3" json:"client_epoch,omitempty"`
  2382. Directories []string `protobuf:"bytes,10,rep,name=directories,proto3" json:"directories,omitempty"` // exact directory to watch
  2383. unknownFields protoimpl.UnknownFields
  2384. sizeCache protoimpl.SizeCache
  2385. }
  2386. func (x *SubscribeMetadataRequest) Reset() {
  2387. *x = SubscribeMetadataRequest{}
  2388. mi := &file_filer_proto_msgTypes[41]
  2389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2390. ms.StoreMessageInfo(mi)
  2391. }
  2392. func (x *SubscribeMetadataRequest) String() string {
  2393. return protoimpl.X.MessageStringOf(x)
  2394. }
  2395. func (*SubscribeMetadataRequest) ProtoMessage() {}
  2396. func (x *SubscribeMetadataRequest) ProtoReflect() protoreflect.Message {
  2397. mi := &file_filer_proto_msgTypes[41]
  2398. if x != nil {
  2399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2400. if ms.LoadMessageInfo() == nil {
  2401. ms.StoreMessageInfo(mi)
  2402. }
  2403. return ms
  2404. }
  2405. return mi.MessageOf(x)
  2406. }
  2407. // Deprecated: Use SubscribeMetadataRequest.ProtoReflect.Descriptor instead.
  2408. func (*SubscribeMetadataRequest) Descriptor() ([]byte, []int) {
  2409. return file_filer_proto_rawDescGZIP(), []int{41}
  2410. }
  2411. func (x *SubscribeMetadataRequest) GetClientName() string {
  2412. if x != nil {
  2413. return x.ClientName
  2414. }
  2415. return ""
  2416. }
  2417. func (x *SubscribeMetadataRequest) GetPathPrefix() string {
  2418. if x != nil {
  2419. return x.PathPrefix
  2420. }
  2421. return ""
  2422. }
  2423. func (x *SubscribeMetadataRequest) GetSinceNs() int64 {
  2424. if x != nil {
  2425. return x.SinceNs
  2426. }
  2427. return 0
  2428. }
  2429. func (x *SubscribeMetadataRequest) GetSignature() int32 {
  2430. if x != nil {
  2431. return x.Signature
  2432. }
  2433. return 0
  2434. }
  2435. func (x *SubscribeMetadataRequest) GetPathPrefixes() []string {
  2436. if x != nil {
  2437. return x.PathPrefixes
  2438. }
  2439. return nil
  2440. }
  2441. func (x *SubscribeMetadataRequest) GetClientId() int32 {
  2442. if x != nil {
  2443. return x.ClientId
  2444. }
  2445. return 0
  2446. }
  2447. func (x *SubscribeMetadataRequest) GetUntilNs() int64 {
  2448. if x != nil {
  2449. return x.UntilNs
  2450. }
  2451. return 0
  2452. }
  2453. func (x *SubscribeMetadataRequest) GetClientEpoch() int32 {
  2454. if x != nil {
  2455. return x.ClientEpoch
  2456. }
  2457. return 0
  2458. }
  2459. func (x *SubscribeMetadataRequest) GetDirectories() []string {
  2460. if x != nil {
  2461. return x.Directories
  2462. }
  2463. return nil
  2464. }
  2465. type SubscribeMetadataResponse struct {
  2466. state protoimpl.MessageState `protogen:"open.v1"`
  2467. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  2468. EventNotification *EventNotification `protobuf:"bytes,2,opt,name=event_notification,json=eventNotification,proto3" json:"event_notification,omitempty"`
  2469. TsNs int64 `protobuf:"varint,3,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  2470. unknownFields protoimpl.UnknownFields
  2471. sizeCache protoimpl.SizeCache
  2472. }
  2473. func (x *SubscribeMetadataResponse) Reset() {
  2474. *x = SubscribeMetadataResponse{}
  2475. mi := &file_filer_proto_msgTypes[42]
  2476. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2477. ms.StoreMessageInfo(mi)
  2478. }
  2479. func (x *SubscribeMetadataResponse) String() string {
  2480. return protoimpl.X.MessageStringOf(x)
  2481. }
  2482. func (*SubscribeMetadataResponse) ProtoMessage() {}
  2483. func (x *SubscribeMetadataResponse) ProtoReflect() protoreflect.Message {
  2484. mi := &file_filer_proto_msgTypes[42]
  2485. if x != nil {
  2486. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2487. if ms.LoadMessageInfo() == nil {
  2488. ms.StoreMessageInfo(mi)
  2489. }
  2490. return ms
  2491. }
  2492. return mi.MessageOf(x)
  2493. }
  2494. // Deprecated: Use SubscribeMetadataResponse.ProtoReflect.Descriptor instead.
  2495. func (*SubscribeMetadataResponse) Descriptor() ([]byte, []int) {
  2496. return file_filer_proto_rawDescGZIP(), []int{42}
  2497. }
  2498. func (x *SubscribeMetadataResponse) GetDirectory() string {
  2499. if x != nil {
  2500. return x.Directory
  2501. }
  2502. return ""
  2503. }
  2504. func (x *SubscribeMetadataResponse) GetEventNotification() *EventNotification {
  2505. if x != nil {
  2506. return x.EventNotification
  2507. }
  2508. return nil
  2509. }
  2510. func (x *SubscribeMetadataResponse) GetTsNs() int64 {
  2511. if x != nil {
  2512. return x.TsNs
  2513. }
  2514. return 0
  2515. }
  2516. type TraverseBfsMetadataRequest struct {
  2517. state protoimpl.MessageState `protogen:"open.v1"`
  2518. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  2519. ExcludedPrefixes []string `protobuf:"bytes,2,rep,name=excluded_prefixes,json=excludedPrefixes,proto3" json:"excluded_prefixes,omitempty"`
  2520. unknownFields protoimpl.UnknownFields
  2521. sizeCache protoimpl.SizeCache
  2522. }
  2523. func (x *TraverseBfsMetadataRequest) Reset() {
  2524. *x = TraverseBfsMetadataRequest{}
  2525. mi := &file_filer_proto_msgTypes[43]
  2526. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2527. ms.StoreMessageInfo(mi)
  2528. }
  2529. func (x *TraverseBfsMetadataRequest) String() string {
  2530. return protoimpl.X.MessageStringOf(x)
  2531. }
  2532. func (*TraverseBfsMetadataRequest) ProtoMessage() {}
  2533. func (x *TraverseBfsMetadataRequest) ProtoReflect() protoreflect.Message {
  2534. mi := &file_filer_proto_msgTypes[43]
  2535. if x != nil {
  2536. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2537. if ms.LoadMessageInfo() == nil {
  2538. ms.StoreMessageInfo(mi)
  2539. }
  2540. return ms
  2541. }
  2542. return mi.MessageOf(x)
  2543. }
  2544. // Deprecated: Use TraverseBfsMetadataRequest.ProtoReflect.Descriptor instead.
  2545. func (*TraverseBfsMetadataRequest) Descriptor() ([]byte, []int) {
  2546. return file_filer_proto_rawDescGZIP(), []int{43}
  2547. }
  2548. func (x *TraverseBfsMetadataRequest) GetDirectory() string {
  2549. if x != nil {
  2550. return x.Directory
  2551. }
  2552. return ""
  2553. }
  2554. func (x *TraverseBfsMetadataRequest) GetExcludedPrefixes() []string {
  2555. if x != nil {
  2556. return x.ExcludedPrefixes
  2557. }
  2558. return nil
  2559. }
  2560. type TraverseBfsMetadataResponse struct {
  2561. state protoimpl.MessageState `protogen:"open.v1"`
  2562. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  2563. Entry *Entry `protobuf:"bytes,2,opt,name=entry,proto3" json:"entry,omitempty"`
  2564. unknownFields protoimpl.UnknownFields
  2565. sizeCache protoimpl.SizeCache
  2566. }
  2567. func (x *TraverseBfsMetadataResponse) Reset() {
  2568. *x = TraverseBfsMetadataResponse{}
  2569. mi := &file_filer_proto_msgTypes[44]
  2570. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2571. ms.StoreMessageInfo(mi)
  2572. }
  2573. func (x *TraverseBfsMetadataResponse) String() string {
  2574. return protoimpl.X.MessageStringOf(x)
  2575. }
  2576. func (*TraverseBfsMetadataResponse) ProtoMessage() {}
  2577. func (x *TraverseBfsMetadataResponse) ProtoReflect() protoreflect.Message {
  2578. mi := &file_filer_proto_msgTypes[44]
  2579. if x != nil {
  2580. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2581. if ms.LoadMessageInfo() == nil {
  2582. ms.StoreMessageInfo(mi)
  2583. }
  2584. return ms
  2585. }
  2586. return mi.MessageOf(x)
  2587. }
  2588. // Deprecated: Use TraverseBfsMetadataResponse.ProtoReflect.Descriptor instead.
  2589. func (*TraverseBfsMetadataResponse) Descriptor() ([]byte, []int) {
  2590. return file_filer_proto_rawDescGZIP(), []int{44}
  2591. }
  2592. func (x *TraverseBfsMetadataResponse) GetDirectory() string {
  2593. if x != nil {
  2594. return x.Directory
  2595. }
  2596. return ""
  2597. }
  2598. func (x *TraverseBfsMetadataResponse) GetEntry() *Entry {
  2599. if x != nil {
  2600. return x.Entry
  2601. }
  2602. return nil
  2603. }
  2604. type LogEntry struct {
  2605. state protoimpl.MessageState `protogen:"open.v1"`
  2606. TsNs int64 `protobuf:"varint,1,opt,name=ts_ns,json=tsNs,proto3" json:"ts_ns,omitempty"`
  2607. PartitionKeyHash int32 `protobuf:"varint,2,opt,name=partition_key_hash,json=partitionKeyHash,proto3" json:"partition_key_hash,omitempty"`
  2608. Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
  2609. Key []byte `protobuf:"bytes,4,opt,name=key,proto3" json:"key,omitempty"`
  2610. unknownFields protoimpl.UnknownFields
  2611. sizeCache protoimpl.SizeCache
  2612. }
  2613. func (x *LogEntry) Reset() {
  2614. *x = LogEntry{}
  2615. mi := &file_filer_proto_msgTypes[45]
  2616. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2617. ms.StoreMessageInfo(mi)
  2618. }
  2619. func (x *LogEntry) String() string {
  2620. return protoimpl.X.MessageStringOf(x)
  2621. }
  2622. func (*LogEntry) ProtoMessage() {}
  2623. func (x *LogEntry) ProtoReflect() protoreflect.Message {
  2624. mi := &file_filer_proto_msgTypes[45]
  2625. if x != nil {
  2626. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2627. if ms.LoadMessageInfo() == nil {
  2628. ms.StoreMessageInfo(mi)
  2629. }
  2630. return ms
  2631. }
  2632. return mi.MessageOf(x)
  2633. }
  2634. // Deprecated: Use LogEntry.ProtoReflect.Descriptor instead.
  2635. func (*LogEntry) Descriptor() ([]byte, []int) {
  2636. return file_filer_proto_rawDescGZIP(), []int{45}
  2637. }
  2638. func (x *LogEntry) GetTsNs() int64 {
  2639. if x != nil {
  2640. return x.TsNs
  2641. }
  2642. return 0
  2643. }
  2644. func (x *LogEntry) GetPartitionKeyHash() int32 {
  2645. if x != nil {
  2646. return x.PartitionKeyHash
  2647. }
  2648. return 0
  2649. }
  2650. func (x *LogEntry) GetData() []byte {
  2651. if x != nil {
  2652. return x.Data
  2653. }
  2654. return nil
  2655. }
  2656. func (x *LogEntry) GetKey() []byte {
  2657. if x != nil {
  2658. return x.Key
  2659. }
  2660. return nil
  2661. }
  2662. type KeepConnectedRequest struct {
  2663. state protoimpl.MessageState `protogen:"open.v1"`
  2664. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  2665. GrpcPort uint32 `protobuf:"varint,2,opt,name=grpc_port,json=grpcPort,proto3" json:"grpc_port,omitempty"`
  2666. Resources []string `protobuf:"bytes,3,rep,name=resources,proto3" json:"resources,omitempty"`
  2667. unknownFields protoimpl.UnknownFields
  2668. sizeCache protoimpl.SizeCache
  2669. }
  2670. func (x *KeepConnectedRequest) Reset() {
  2671. *x = KeepConnectedRequest{}
  2672. mi := &file_filer_proto_msgTypes[46]
  2673. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2674. ms.StoreMessageInfo(mi)
  2675. }
  2676. func (x *KeepConnectedRequest) String() string {
  2677. return protoimpl.X.MessageStringOf(x)
  2678. }
  2679. func (*KeepConnectedRequest) ProtoMessage() {}
  2680. func (x *KeepConnectedRequest) ProtoReflect() protoreflect.Message {
  2681. mi := &file_filer_proto_msgTypes[46]
  2682. if x != nil {
  2683. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2684. if ms.LoadMessageInfo() == nil {
  2685. ms.StoreMessageInfo(mi)
  2686. }
  2687. return ms
  2688. }
  2689. return mi.MessageOf(x)
  2690. }
  2691. // Deprecated: Use KeepConnectedRequest.ProtoReflect.Descriptor instead.
  2692. func (*KeepConnectedRequest) Descriptor() ([]byte, []int) {
  2693. return file_filer_proto_rawDescGZIP(), []int{46}
  2694. }
  2695. func (x *KeepConnectedRequest) GetName() string {
  2696. if x != nil {
  2697. return x.Name
  2698. }
  2699. return ""
  2700. }
  2701. func (x *KeepConnectedRequest) GetGrpcPort() uint32 {
  2702. if x != nil {
  2703. return x.GrpcPort
  2704. }
  2705. return 0
  2706. }
  2707. func (x *KeepConnectedRequest) GetResources() []string {
  2708. if x != nil {
  2709. return x.Resources
  2710. }
  2711. return nil
  2712. }
  2713. type KeepConnectedResponse struct {
  2714. state protoimpl.MessageState `protogen:"open.v1"`
  2715. unknownFields protoimpl.UnknownFields
  2716. sizeCache protoimpl.SizeCache
  2717. }
  2718. func (x *KeepConnectedResponse) Reset() {
  2719. *x = KeepConnectedResponse{}
  2720. mi := &file_filer_proto_msgTypes[47]
  2721. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2722. ms.StoreMessageInfo(mi)
  2723. }
  2724. func (x *KeepConnectedResponse) String() string {
  2725. return protoimpl.X.MessageStringOf(x)
  2726. }
  2727. func (*KeepConnectedResponse) ProtoMessage() {}
  2728. func (x *KeepConnectedResponse) ProtoReflect() protoreflect.Message {
  2729. mi := &file_filer_proto_msgTypes[47]
  2730. if x != nil {
  2731. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2732. if ms.LoadMessageInfo() == nil {
  2733. ms.StoreMessageInfo(mi)
  2734. }
  2735. return ms
  2736. }
  2737. return mi.MessageOf(x)
  2738. }
  2739. // Deprecated: Use KeepConnectedResponse.ProtoReflect.Descriptor instead.
  2740. func (*KeepConnectedResponse) Descriptor() ([]byte, []int) {
  2741. return file_filer_proto_rawDescGZIP(), []int{47}
  2742. }
  2743. type LocateBrokerRequest struct {
  2744. state protoimpl.MessageState `protogen:"open.v1"`
  2745. Resource string `protobuf:"bytes,1,opt,name=resource,proto3" json:"resource,omitempty"`
  2746. unknownFields protoimpl.UnknownFields
  2747. sizeCache protoimpl.SizeCache
  2748. }
  2749. func (x *LocateBrokerRequest) Reset() {
  2750. *x = LocateBrokerRequest{}
  2751. mi := &file_filer_proto_msgTypes[48]
  2752. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2753. ms.StoreMessageInfo(mi)
  2754. }
  2755. func (x *LocateBrokerRequest) String() string {
  2756. return protoimpl.X.MessageStringOf(x)
  2757. }
  2758. func (*LocateBrokerRequest) ProtoMessage() {}
  2759. func (x *LocateBrokerRequest) ProtoReflect() protoreflect.Message {
  2760. mi := &file_filer_proto_msgTypes[48]
  2761. if x != nil {
  2762. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2763. if ms.LoadMessageInfo() == nil {
  2764. ms.StoreMessageInfo(mi)
  2765. }
  2766. return ms
  2767. }
  2768. return mi.MessageOf(x)
  2769. }
  2770. // Deprecated: Use LocateBrokerRequest.ProtoReflect.Descriptor instead.
  2771. func (*LocateBrokerRequest) Descriptor() ([]byte, []int) {
  2772. return file_filer_proto_rawDescGZIP(), []int{48}
  2773. }
  2774. func (x *LocateBrokerRequest) GetResource() string {
  2775. if x != nil {
  2776. return x.Resource
  2777. }
  2778. return ""
  2779. }
  2780. type LocateBrokerResponse struct {
  2781. state protoimpl.MessageState `protogen:"open.v1"`
  2782. Found bool `protobuf:"varint,1,opt,name=found,proto3" json:"found,omitempty"`
  2783. Resources []*LocateBrokerResponse_Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
  2784. unknownFields protoimpl.UnknownFields
  2785. sizeCache protoimpl.SizeCache
  2786. }
  2787. func (x *LocateBrokerResponse) Reset() {
  2788. *x = LocateBrokerResponse{}
  2789. mi := &file_filer_proto_msgTypes[49]
  2790. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2791. ms.StoreMessageInfo(mi)
  2792. }
  2793. func (x *LocateBrokerResponse) String() string {
  2794. return protoimpl.X.MessageStringOf(x)
  2795. }
  2796. func (*LocateBrokerResponse) ProtoMessage() {}
  2797. func (x *LocateBrokerResponse) ProtoReflect() protoreflect.Message {
  2798. mi := &file_filer_proto_msgTypes[49]
  2799. if x != nil {
  2800. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2801. if ms.LoadMessageInfo() == nil {
  2802. ms.StoreMessageInfo(mi)
  2803. }
  2804. return ms
  2805. }
  2806. return mi.MessageOf(x)
  2807. }
  2808. // Deprecated: Use LocateBrokerResponse.ProtoReflect.Descriptor instead.
  2809. func (*LocateBrokerResponse) Descriptor() ([]byte, []int) {
  2810. return file_filer_proto_rawDescGZIP(), []int{49}
  2811. }
  2812. func (x *LocateBrokerResponse) GetFound() bool {
  2813. if x != nil {
  2814. return x.Found
  2815. }
  2816. return false
  2817. }
  2818. func (x *LocateBrokerResponse) GetResources() []*LocateBrokerResponse_Resource {
  2819. if x != nil {
  2820. return x.Resources
  2821. }
  2822. return nil
  2823. }
  2824. // ///////////////////////
  2825. // Key-Value operations
  2826. // ///////////////////////
  2827. type KvGetRequest struct {
  2828. state protoimpl.MessageState `protogen:"open.v1"`
  2829. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  2830. unknownFields protoimpl.UnknownFields
  2831. sizeCache protoimpl.SizeCache
  2832. }
  2833. func (x *KvGetRequest) Reset() {
  2834. *x = KvGetRequest{}
  2835. mi := &file_filer_proto_msgTypes[50]
  2836. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2837. ms.StoreMessageInfo(mi)
  2838. }
  2839. func (x *KvGetRequest) String() string {
  2840. return protoimpl.X.MessageStringOf(x)
  2841. }
  2842. func (*KvGetRequest) ProtoMessage() {}
  2843. func (x *KvGetRequest) ProtoReflect() protoreflect.Message {
  2844. mi := &file_filer_proto_msgTypes[50]
  2845. if x != nil {
  2846. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2847. if ms.LoadMessageInfo() == nil {
  2848. ms.StoreMessageInfo(mi)
  2849. }
  2850. return ms
  2851. }
  2852. return mi.MessageOf(x)
  2853. }
  2854. // Deprecated: Use KvGetRequest.ProtoReflect.Descriptor instead.
  2855. func (*KvGetRequest) Descriptor() ([]byte, []int) {
  2856. return file_filer_proto_rawDescGZIP(), []int{50}
  2857. }
  2858. func (x *KvGetRequest) GetKey() []byte {
  2859. if x != nil {
  2860. return x.Key
  2861. }
  2862. return nil
  2863. }
  2864. type KvGetResponse struct {
  2865. state protoimpl.MessageState `protogen:"open.v1"`
  2866. Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
  2867. Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
  2868. unknownFields protoimpl.UnknownFields
  2869. sizeCache protoimpl.SizeCache
  2870. }
  2871. func (x *KvGetResponse) Reset() {
  2872. *x = KvGetResponse{}
  2873. mi := &file_filer_proto_msgTypes[51]
  2874. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2875. ms.StoreMessageInfo(mi)
  2876. }
  2877. func (x *KvGetResponse) String() string {
  2878. return protoimpl.X.MessageStringOf(x)
  2879. }
  2880. func (*KvGetResponse) ProtoMessage() {}
  2881. func (x *KvGetResponse) ProtoReflect() protoreflect.Message {
  2882. mi := &file_filer_proto_msgTypes[51]
  2883. if x != nil {
  2884. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2885. if ms.LoadMessageInfo() == nil {
  2886. ms.StoreMessageInfo(mi)
  2887. }
  2888. return ms
  2889. }
  2890. return mi.MessageOf(x)
  2891. }
  2892. // Deprecated: Use KvGetResponse.ProtoReflect.Descriptor instead.
  2893. func (*KvGetResponse) Descriptor() ([]byte, []int) {
  2894. return file_filer_proto_rawDescGZIP(), []int{51}
  2895. }
  2896. func (x *KvGetResponse) GetValue() []byte {
  2897. if x != nil {
  2898. return x.Value
  2899. }
  2900. return nil
  2901. }
  2902. func (x *KvGetResponse) GetError() string {
  2903. if x != nil {
  2904. return x.Error
  2905. }
  2906. return ""
  2907. }
  2908. type KvPutRequest struct {
  2909. state protoimpl.MessageState `protogen:"open.v1"`
  2910. Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
  2911. Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
  2912. unknownFields protoimpl.UnknownFields
  2913. sizeCache protoimpl.SizeCache
  2914. }
  2915. func (x *KvPutRequest) Reset() {
  2916. *x = KvPutRequest{}
  2917. mi := &file_filer_proto_msgTypes[52]
  2918. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2919. ms.StoreMessageInfo(mi)
  2920. }
  2921. func (x *KvPutRequest) String() string {
  2922. return protoimpl.X.MessageStringOf(x)
  2923. }
  2924. func (*KvPutRequest) ProtoMessage() {}
  2925. func (x *KvPutRequest) ProtoReflect() protoreflect.Message {
  2926. mi := &file_filer_proto_msgTypes[52]
  2927. if x != nil {
  2928. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2929. if ms.LoadMessageInfo() == nil {
  2930. ms.StoreMessageInfo(mi)
  2931. }
  2932. return ms
  2933. }
  2934. return mi.MessageOf(x)
  2935. }
  2936. // Deprecated: Use KvPutRequest.ProtoReflect.Descriptor instead.
  2937. func (*KvPutRequest) Descriptor() ([]byte, []int) {
  2938. return file_filer_proto_rawDescGZIP(), []int{52}
  2939. }
  2940. func (x *KvPutRequest) GetKey() []byte {
  2941. if x != nil {
  2942. return x.Key
  2943. }
  2944. return nil
  2945. }
  2946. func (x *KvPutRequest) GetValue() []byte {
  2947. if x != nil {
  2948. return x.Value
  2949. }
  2950. return nil
  2951. }
  2952. type KvPutResponse struct {
  2953. state protoimpl.MessageState `protogen:"open.v1"`
  2954. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  2955. unknownFields protoimpl.UnknownFields
  2956. sizeCache protoimpl.SizeCache
  2957. }
  2958. func (x *KvPutResponse) Reset() {
  2959. *x = KvPutResponse{}
  2960. mi := &file_filer_proto_msgTypes[53]
  2961. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2962. ms.StoreMessageInfo(mi)
  2963. }
  2964. func (x *KvPutResponse) String() string {
  2965. return protoimpl.X.MessageStringOf(x)
  2966. }
  2967. func (*KvPutResponse) ProtoMessage() {}
  2968. func (x *KvPutResponse) ProtoReflect() protoreflect.Message {
  2969. mi := &file_filer_proto_msgTypes[53]
  2970. if x != nil {
  2971. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2972. if ms.LoadMessageInfo() == nil {
  2973. ms.StoreMessageInfo(mi)
  2974. }
  2975. return ms
  2976. }
  2977. return mi.MessageOf(x)
  2978. }
  2979. // Deprecated: Use KvPutResponse.ProtoReflect.Descriptor instead.
  2980. func (*KvPutResponse) Descriptor() ([]byte, []int) {
  2981. return file_filer_proto_rawDescGZIP(), []int{53}
  2982. }
  2983. func (x *KvPutResponse) GetError() string {
  2984. if x != nil {
  2985. return x.Error
  2986. }
  2987. return ""
  2988. }
  2989. // ///////////////////////
  2990. // path-based configurations
  2991. // ///////////////////////
  2992. type FilerConf struct {
  2993. state protoimpl.MessageState `protogen:"open.v1"`
  2994. Version int32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
  2995. Locations []*FilerConf_PathConf `protobuf:"bytes,2,rep,name=locations,proto3" json:"locations,omitempty"`
  2996. unknownFields protoimpl.UnknownFields
  2997. sizeCache protoimpl.SizeCache
  2998. }
  2999. func (x *FilerConf) Reset() {
  3000. *x = FilerConf{}
  3001. mi := &file_filer_proto_msgTypes[54]
  3002. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3003. ms.StoreMessageInfo(mi)
  3004. }
  3005. func (x *FilerConf) String() string {
  3006. return protoimpl.X.MessageStringOf(x)
  3007. }
  3008. func (*FilerConf) ProtoMessage() {}
  3009. func (x *FilerConf) ProtoReflect() protoreflect.Message {
  3010. mi := &file_filer_proto_msgTypes[54]
  3011. if x != nil {
  3012. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3013. if ms.LoadMessageInfo() == nil {
  3014. ms.StoreMessageInfo(mi)
  3015. }
  3016. return ms
  3017. }
  3018. return mi.MessageOf(x)
  3019. }
  3020. // Deprecated: Use FilerConf.ProtoReflect.Descriptor instead.
  3021. func (*FilerConf) Descriptor() ([]byte, []int) {
  3022. return file_filer_proto_rawDescGZIP(), []int{54}
  3023. }
  3024. func (x *FilerConf) GetVersion() int32 {
  3025. if x != nil {
  3026. return x.Version
  3027. }
  3028. return 0
  3029. }
  3030. func (x *FilerConf) GetLocations() []*FilerConf_PathConf {
  3031. if x != nil {
  3032. return x.Locations
  3033. }
  3034. return nil
  3035. }
  3036. // ///////////////////////
  3037. // Remote Storage related
  3038. // ///////////////////////
  3039. type CacheRemoteObjectToLocalClusterRequest struct {
  3040. state protoimpl.MessageState `protogen:"open.v1"`
  3041. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"`
  3042. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
  3043. unknownFields protoimpl.UnknownFields
  3044. sizeCache protoimpl.SizeCache
  3045. }
  3046. func (x *CacheRemoteObjectToLocalClusterRequest) Reset() {
  3047. *x = CacheRemoteObjectToLocalClusterRequest{}
  3048. mi := &file_filer_proto_msgTypes[55]
  3049. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3050. ms.StoreMessageInfo(mi)
  3051. }
  3052. func (x *CacheRemoteObjectToLocalClusterRequest) String() string {
  3053. return protoimpl.X.MessageStringOf(x)
  3054. }
  3055. func (*CacheRemoteObjectToLocalClusterRequest) ProtoMessage() {}
  3056. func (x *CacheRemoteObjectToLocalClusterRequest) ProtoReflect() protoreflect.Message {
  3057. mi := &file_filer_proto_msgTypes[55]
  3058. if x != nil {
  3059. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3060. if ms.LoadMessageInfo() == nil {
  3061. ms.StoreMessageInfo(mi)
  3062. }
  3063. return ms
  3064. }
  3065. return mi.MessageOf(x)
  3066. }
  3067. // Deprecated: Use CacheRemoteObjectToLocalClusterRequest.ProtoReflect.Descriptor instead.
  3068. func (*CacheRemoteObjectToLocalClusterRequest) Descriptor() ([]byte, []int) {
  3069. return file_filer_proto_rawDescGZIP(), []int{55}
  3070. }
  3071. func (x *CacheRemoteObjectToLocalClusterRequest) GetDirectory() string {
  3072. if x != nil {
  3073. return x.Directory
  3074. }
  3075. return ""
  3076. }
  3077. func (x *CacheRemoteObjectToLocalClusterRequest) GetName() string {
  3078. if x != nil {
  3079. return x.Name
  3080. }
  3081. return ""
  3082. }
  3083. type CacheRemoteObjectToLocalClusterResponse struct {
  3084. state protoimpl.MessageState `protogen:"open.v1"`
  3085. Entry *Entry `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"`
  3086. unknownFields protoimpl.UnknownFields
  3087. sizeCache protoimpl.SizeCache
  3088. }
  3089. func (x *CacheRemoteObjectToLocalClusterResponse) Reset() {
  3090. *x = CacheRemoteObjectToLocalClusterResponse{}
  3091. mi := &file_filer_proto_msgTypes[56]
  3092. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3093. ms.StoreMessageInfo(mi)
  3094. }
  3095. func (x *CacheRemoteObjectToLocalClusterResponse) String() string {
  3096. return protoimpl.X.MessageStringOf(x)
  3097. }
  3098. func (*CacheRemoteObjectToLocalClusterResponse) ProtoMessage() {}
  3099. func (x *CacheRemoteObjectToLocalClusterResponse) ProtoReflect() protoreflect.Message {
  3100. mi := &file_filer_proto_msgTypes[56]
  3101. if x != nil {
  3102. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3103. if ms.LoadMessageInfo() == nil {
  3104. ms.StoreMessageInfo(mi)
  3105. }
  3106. return ms
  3107. }
  3108. return mi.MessageOf(x)
  3109. }
  3110. // Deprecated: Use CacheRemoteObjectToLocalClusterResponse.ProtoReflect.Descriptor instead.
  3111. func (*CacheRemoteObjectToLocalClusterResponse) Descriptor() ([]byte, []int) {
  3112. return file_filer_proto_rawDescGZIP(), []int{56}
  3113. }
  3114. func (x *CacheRemoteObjectToLocalClusterResponse) GetEntry() *Entry {
  3115. if x != nil {
  3116. return x.Entry
  3117. }
  3118. return nil
  3119. }
  3120. // ///////////////////////
  3121. // distributed lock management
  3122. // ///////////////////////
  3123. type LockRequest struct {
  3124. state protoimpl.MessageState `protogen:"open.v1"`
  3125. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  3126. SecondsToLock int64 `protobuf:"varint,2,opt,name=seconds_to_lock,json=secondsToLock,proto3" json:"seconds_to_lock,omitempty"`
  3127. RenewToken string `protobuf:"bytes,3,opt,name=renew_token,json=renewToken,proto3" json:"renew_token,omitempty"`
  3128. IsMoved bool `protobuf:"varint,4,opt,name=is_moved,json=isMoved,proto3" json:"is_moved,omitempty"`
  3129. Owner string `protobuf:"bytes,5,opt,name=owner,proto3" json:"owner,omitempty"`
  3130. unknownFields protoimpl.UnknownFields
  3131. sizeCache protoimpl.SizeCache
  3132. }
  3133. func (x *LockRequest) Reset() {
  3134. *x = LockRequest{}
  3135. mi := &file_filer_proto_msgTypes[57]
  3136. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3137. ms.StoreMessageInfo(mi)
  3138. }
  3139. func (x *LockRequest) String() string {
  3140. return protoimpl.X.MessageStringOf(x)
  3141. }
  3142. func (*LockRequest) ProtoMessage() {}
  3143. func (x *LockRequest) ProtoReflect() protoreflect.Message {
  3144. mi := &file_filer_proto_msgTypes[57]
  3145. if x != nil {
  3146. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3147. if ms.LoadMessageInfo() == nil {
  3148. ms.StoreMessageInfo(mi)
  3149. }
  3150. return ms
  3151. }
  3152. return mi.MessageOf(x)
  3153. }
  3154. // Deprecated: Use LockRequest.ProtoReflect.Descriptor instead.
  3155. func (*LockRequest) Descriptor() ([]byte, []int) {
  3156. return file_filer_proto_rawDescGZIP(), []int{57}
  3157. }
  3158. func (x *LockRequest) GetName() string {
  3159. if x != nil {
  3160. return x.Name
  3161. }
  3162. return ""
  3163. }
  3164. func (x *LockRequest) GetSecondsToLock() int64 {
  3165. if x != nil {
  3166. return x.SecondsToLock
  3167. }
  3168. return 0
  3169. }
  3170. func (x *LockRequest) GetRenewToken() string {
  3171. if x != nil {
  3172. return x.RenewToken
  3173. }
  3174. return ""
  3175. }
  3176. func (x *LockRequest) GetIsMoved() bool {
  3177. if x != nil {
  3178. return x.IsMoved
  3179. }
  3180. return false
  3181. }
  3182. func (x *LockRequest) GetOwner() string {
  3183. if x != nil {
  3184. return x.Owner
  3185. }
  3186. return ""
  3187. }
  3188. type LockResponse struct {
  3189. state protoimpl.MessageState `protogen:"open.v1"`
  3190. RenewToken string `protobuf:"bytes,1,opt,name=renew_token,json=renewToken,proto3" json:"renew_token,omitempty"`
  3191. LockOwner string `protobuf:"bytes,2,opt,name=lock_owner,json=lockOwner,proto3" json:"lock_owner,omitempty"`
  3192. LockHostMovedTo string `protobuf:"bytes,3,opt,name=lock_host_moved_to,json=lockHostMovedTo,proto3" json:"lock_host_moved_to,omitempty"`
  3193. Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
  3194. unknownFields protoimpl.UnknownFields
  3195. sizeCache protoimpl.SizeCache
  3196. }
  3197. func (x *LockResponse) Reset() {
  3198. *x = LockResponse{}
  3199. mi := &file_filer_proto_msgTypes[58]
  3200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3201. ms.StoreMessageInfo(mi)
  3202. }
  3203. func (x *LockResponse) String() string {
  3204. return protoimpl.X.MessageStringOf(x)
  3205. }
  3206. func (*LockResponse) ProtoMessage() {}
  3207. func (x *LockResponse) ProtoReflect() protoreflect.Message {
  3208. mi := &file_filer_proto_msgTypes[58]
  3209. if x != nil {
  3210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3211. if ms.LoadMessageInfo() == nil {
  3212. ms.StoreMessageInfo(mi)
  3213. }
  3214. return ms
  3215. }
  3216. return mi.MessageOf(x)
  3217. }
  3218. // Deprecated: Use LockResponse.ProtoReflect.Descriptor instead.
  3219. func (*LockResponse) Descriptor() ([]byte, []int) {
  3220. return file_filer_proto_rawDescGZIP(), []int{58}
  3221. }
  3222. func (x *LockResponse) GetRenewToken() string {
  3223. if x != nil {
  3224. return x.RenewToken
  3225. }
  3226. return ""
  3227. }
  3228. func (x *LockResponse) GetLockOwner() string {
  3229. if x != nil {
  3230. return x.LockOwner
  3231. }
  3232. return ""
  3233. }
  3234. func (x *LockResponse) GetLockHostMovedTo() string {
  3235. if x != nil {
  3236. return x.LockHostMovedTo
  3237. }
  3238. return ""
  3239. }
  3240. func (x *LockResponse) GetError() string {
  3241. if x != nil {
  3242. return x.Error
  3243. }
  3244. return ""
  3245. }
  3246. type UnlockRequest struct {
  3247. state protoimpl.MessageState `protogen:"open.v1"`
  3248. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  3249. RenewToken string `protobuf:"bytes,2,opt,name=renew_token,json=renewToken,proto3" json:"renew_token,omitempty"`
  3250. IsMoved bool `protobuf:"varint,3,opt,name=is_moved,json=isMoved,proto3" json:"is_moved,omitempty"`
  3251. unknownFields protoimpl.UnknownFields
  3252. sizeCache protoimpl.SizeCache
  3253. }
  3254. func (x *UnlockRequest) Reset() {
  3255. *x = UnlockRequest{}
  3256. mi := &file_filer_proto_msgTypes[59]
  3257. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3258. ms.StoreMessageInfo(mi)
  3259. }
  3260. func (x *UnlockRequest) String() string {
  3261. return protoimpl.X.MessageStringOf(x)
  3262. }
  3263. func (*UnlockRequest) ProtoMessage() {}
  3264. func (x *UnlockRequest) ProtoReflect() protoreflect.Message {
  3265. mi := &file_filer_proto_msgTypes[59]
  3266. if x != nil {
  3267. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3268. if ms.LoadMessageInfo() == nil {
  3269. ms.StoreMessageInfo(mi)
  3270. }
  3271. return ms
  3272. }
  3273. return mi.MessageOf(x)
  3274. }
  3275. // Deprecated: Use UnlockRequest.ProtoReflect.Descriptor instead.
  3276. func (*UnlockRequest) Descriptor() ([]byte, []int) {
  3277. return file_filer_proto_rawDescGZIP(), []int{59}
  3278. }
  3279. func (x *UnlockRequest) GetName() string {
  3280. if x != nil {
  3281. return x.Name
  3282. }
  3283. return ""
  3284. }
  3285. func (x *UnlockRequest) GetRenewToken() string {
  3286. if x != nil {
  3287. return x.RenewToken
  3288. }
  3289. return ""
  3290. }
  3291. func (x *UnlockRequest) GetIsMoved() bool {
  3292. if x != nil {
  3293. return x.IsMoved
  3294. }
  3295. return false
  3296. }
  3297. type UnlockResponse struct {
  3298. state protoimpl.MessageState `protogen:"open.v1"`
  3299. Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
  3300. MovedTo string `protobuf:"bytes,2,opt,name=moved_to,json=movedTo,proto3" json:"moved_to,omitempty"`
  3301. unknownFields protoimpl.UnknownFields
  3302. sizeCache protoimpl.SizeCache
  3303. }
  3304. func (x *UnlockResponse) Reset() {
  3305. *x = UnlockResponse{}
  3306. mi := &file_filer_proto_msgTypes[60]
  3307. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3308. ms.StoreMessageInfo(mi)
  3309. }
  3310. func (x *UnlockResponse) String() string {
  3311. return protoimpl.X.MessageStringOf(x)
  3312. }
  3313. func (*UnlockResponse) ProtoMessage() {}
  3314. func (x *UnlockResponse) ProtoReflect() protoreflect.Message {
  3315. mi := &file_filer_proto_msgTypes[60]
  3316. if x != nil {
  3317. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3318. if ms.LoadMessageInfo() == nil {
  3319. ms.StoreMessageInfo(mi)
  3320. }
  3321. return ms
  3322. }
  3323. return mi.MessageOf(x)
  3324. }
  3325. // Deprecated: Use UnlockResponse.ProtoReflect.Descriptor instead.
  3326. func (*UnlockResponse) Descriptor() ([]byte, []int) {
  3327. return file_filer_proto_rawDescGZIP(), []int{60}
  3328. }
  3329. func (x *UnlockResponse) GetError() string {
  3330. if x != nil {
  3331. return x.Error
  3332. }
  3333. return ""
  3334. }
  3335. func (x *UnlockResponse) GetMovedTo() string {
  3336. if x != nil {
  3337. return x.MovedTo
  3338. }
  3339. return ""
  3340. }
  3341. type FindLockOwnerRequest struct {
  3342. state protoimpl.MessageState `protogen:"open.v1"`
  3343. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  3344. IsMoved bool `protobuf:"varint,2,opt,name=is_moved,json=isMoved,proto3" json:"is_moved,omitempty"`
  3345. unknownFields protoimpl.UnknownFields
  3346. sizeCache protoimpl.SizeCache
  3347. }
  3348. func (x *FindLockOwnerRequest) Reset() {
  3349. *x = FindLockOwnerRequest{}
  3350. mi := &file_filer_proto_msgTypes[61]
  3351. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3352. ms.StoreMessageInfo(mi)
  3353. }
  3354. func (x *FindLockOwnerRequest) String() string {
  3355. return protoimpl.X.MessageStringOf(x)
  3356. }
  3357. func (*FindLockOwnerRequest) ProtoMessage() {}
  3358. func (x *FindLockOwnerRequest) ProtoReflect() protoreflect.Message {
  3359. mi := &file_filer_proto_msgTypes[61]
  3360. if x != nil {
  3361. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3362. if ms.LoadMessageInfo() == nil {
  3363. ms.StoreMessageInfo(mi)
  3364. }
  3365. return ms
  3366. }
  3367. return mi.MessageOf(x)
  3368. }
  3369. // Deprecated: Use FindLockOwnerRequest.ProtoReflect.Descriptor instead.
  3370. func (*FindLockOwnerRequest) Descriptor() ([]byte, []int) {
  3371. return file_filer_proto_rawDescGZIP(), []int{61}
  3372. }
  3373. func (x *FindLockOwnerRequest) GetName() string {
  3374. if x != nil {
  3375. return x.Name
  3376. }
  3377. return ""
  3378. }
  3379. func (x *FindLockOwnerRequest) GetIsMoved() bool {
  3380. if x != nil {
  3381. return x.IsMoved
  3382. }
  3383. return false
  3384. }
  3385. type FindLockOwnerResponse struct {
  3386. state protoimpl.MessageState `protogen:"open.v1"`
  3387. Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
  3388. unknownFields protoimpl.UnknownFields
  3389. sizeCache protoimpl.SizeCache
  3390. }
  3391. func (x *FindLockOwnerResponse) Reset() {
  3392. *x = FindLockOwnerResponse{}
  3393. mi := &file_filer_proto_msgTypes[62]
  3394. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3395. ms.StoreMessageInfo(mi)
  3396. }
  3397. func (x *FindLockOwnerResponse) String() string {
  3398. return protoimpl.X.MessageStringOf(x)
  3399. }
  3400. func (*FindLockOwnerResponse) ProtoMessage() {}
  3401. func (x *FindLockOwnerResponse) ProtoReflect() protoreflect.Message {
  3402. mi := &file_filer_proto_msgTypes[62]
  3403. if x != nil {
  3404. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3405. if ms.LoadMessageInfo() == nil {
  3406. ms.StoreMessageInfo(mi)
  3407. }
  3408. return ms
  3409. }
  3410. return mi.MessageOf(x)
  3411. }
  3412. // Deprecated: Use FindLockOwnerResponse.ProtoReflect.Descriptor instead.
  3413. func (*FindLockOwnerResponse) Descriptor() ([]byte, []int) {
  3414. return file_filer_proto_rawDescGZIP(), []int{62}
  3415. }
  3416. func (x *FindLockOwnerResponse) GetOwner() string {
  3417. if x != nil {
  3418. return x.Owner
  3419. }
  3420. return ""
  3421. }
  3422. type Lock struct {
  3423. state protoimpl.MessageState `protogen:"open.v1"`
  3424. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  3425. RenewToken string `protobuf:"bytes,2,opt,name=renew_token,json=renewToken,proto3" json:"renew_token,omitempty"`
  3426. ExpiredAtNs int64 `protobuf:"varint,3,opt,name=expired_at_ns,json=expiredAtNs,proto3" json:"expired_at_ns,omitempty"`
  3427. Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"`
  3428. unknownFields protoimpl.UnknownFields
  3429. sizeCache protoimpl.SizeCache
  3430. }
  3431. func (x *Lock) Reset() {
  3432. *x = Lock{}
  3433. mi := &file_filer_proto_msgTypes[63]
  3434. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3435. ms.StoreMessageInfo(mi)
  3436. }
  3437. func (x *Lock) String() string {
  3438. return protoimpl.X.MessageStringOf(x)
  3439. }
  3440. func (*Lock) ProtoMessage() {}
  3441. func (x *Lock) ProtoReflect() protoreflect.Message {
  3442. mi := &file_filer_proto_msgTypes[63]
  3443. if x != nil {
  3444. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3445. if ms.LoadMessageInfo() == nil {
  3446. ms.StoreMessageInfo(mi)
  3447. }
  3448. return ms
  3449. }
  3450. return mi.MessageOf(x)
  3451. }
  3452. // Deprecated: Use Lock.ProtoReflect.Descriptor instead.
  3453. func (*Lock) Descriptor() ([]byte, []int) {
  3454. return file_filer_proto_rawDescGZIP(), []int{63}
  3455. }
  3456. func (x *Lock) GetName() string {
  3457. if x != nil {
  3458. return x.Name
  3459. }
  3460. return ""
  3461. }
  3462. func (x *Lock) GetRenewToken() string {
  3463. if x != nil {
  3464. return x.RenewToken
  3465. }
  3466. return ""
  3467. }
  3468. func (x *Lock) GetExpiredAtNs() int64 {
  3469. if x != nil {
  3470. return x.ExpiredAtNs
  3471. }
  3472. return 0
  3473. }
  3474. func (x *Lock) GetOwner() string {
  3475. if x != nil {
  3476. return x.Owner
  3477. }
  3478. return ""
  3479. }
  3480. type TransferLocksRequest struct {
  3481. state protoimpl.MessageState `protogen:"open.v1"`
  3482. Locks []*Lock `protobuf:"bytes,1,rep,name=locks,proto3" json:"locks,omitempty"`
  3483. unknownFields protoimpl.UnknownFields
  3484. sizeCache protoimpl.SizeCache
  3485. }
  3486. func (x *TransferLocksRequest) Reset() {
  3487. *x = TransferLocksRequest{}
  3488. mi := &file_filer_proto_msgTypes[64]
  3489. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3490. ms.StoreMessageInfo(mi)
  3491. }
  3492. func (x *TransferLocksRequest) String() string {
  3493. return protoimpl.X.MessageStringOf(x)
  3494. }
  3495. func (*TransferLocksRequest) ProtoMessage() {}
  3496. func (x *TransferLocksRequest) ProtoReflect() protoreflect.Message {
  3497. mi := &file_filer_proto_msgTypes[64]
  3498. if x != nil {
  3499. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3500. if ms.LoadMessageInfo() == nil {
  3501. ms.StoreMessageInfo(mi)
  3502. }
  3503. return ms
  3504. }
  3505. return mi.MessageOf(x)
  3506. }
  3507. // Deprecated: Use TransferLocksRequest.ProtoReflect.Descriptor instead.
  3508. func (*TransferLocksRequest) Descriptor() ([]byte, []int) {
  3509. return file_filer_proto_rawDescGZIP(), []int{64}
  3510. }
  3511. func (x *TransferLocksRequest) GetLocks() []*Lock {
  3512. if x != nil {
  3513. return x.Locks
  3514. }
  3515. return nil
  3516. }
  3517. type TransferLocksResponse struct {
  3518. state protoimpl.MessageState `protogen:"open.v1"`
  3519. unknownFields protoimpl.UnknownFields
  3520. sizeCache protoimpl.SizeCache
  3521. }
  3522. func (x *TransferLocksResponse) Reset() {
  3523. *x = TransferLocksResponse{}
  3524. mi := &file_filer_proto_msgTypes[65]
  3525. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3526. ms.StoreMessageInfo(mi)
  3527. }
  3528. func (x *TransferLocksResponse) String() string {
  3529. return protoimpl.X.MessageStringOf(x)
  3530. }
  3531. func (*TransferLocksResponse) ProtoMessage() {}
  3532. func (x *TransferLocksResponse) ProtoReflect() protoreflect.Message {
  3533. mi := &file_filer_proto_msgTypes[65]
  3534. if x != nil {
  3535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3536. if ms.LoadMessageInfo() == nil {
  3537. ms.StoreMessageInfo(mi)
  3538. }
  3539. return ms
  3540. }
  3541. return mi.MessageOf(x)
  3542. }
  3543. // Deprecated: Use TransferLocksResponse.ProtoReflect.Descriptor instead.
  3544. func (*TransferLocksResponse) Descriptor() ([]byte, []int) {
  3545. return file_filer_proto_rawDescGZIP(), []int{65}
  3546. }
  3547. // if found, send the exact address
  3548. // if not found, send the full list of existing brokers
  3549. type LocateBrokerResponse_Resource struct {
  3550. state protoimpl.MessageState `protogen:"open.v1"`
  3551. GrpcAddresses string `protobuf:"bytes,1,opt,name=grpc_addresses,json=grpcAddresses,proto3" json:"grpc_addresses,omitempty"`
  3552. ResourceCount int32 `protobuf:"varint,2,opt,name=resource_count,json=resourceCount,proto3" json:"resource_count,omitempty"`
  3553. unknownFields protoimpl.UnknownFields
  3554. sizeCache protoimpl.SizeCache
  3555. }
  3556. func (x *LocateBrokerResponse_Resource) Reset() {
  3557. *x = LocateBrokerResponse_Resource{}
  3558. mi := &file_filer_proto_msgTypes[68]
  3559. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3560. ms.StoreMessageInfo(mi)
  3561. }
  3562. func (x *LocateBrokerResponse_Resource) String() string {
  3563. return protoimpl.X.MessageStringOf(x)
  3564. }
  3565. func (*LocateBrokerResponse_Resource) ProtoMessage() {}
  3566. func (x *LocateBrokerResponse_Resource) ProtoReflect() protoreflect.Message {
  3567. mi := &file_filer_proto_msgTypes[68]
  3568. if x != nil {
  3569. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3570. if ms.LoadMessageInfo() == nil {
  3571. ms.StoreMessageInfo(mi)
  3572. }
  3573. return ms
  3574. }
  3575. return mi.MessageOf(x)
  3576. }
  3577. // Deprecated: Use LocateBrokerResponse_Resource.ProtoReflect.Descriptor instead.
  3578. func (*LocateBrokerResponse_Resource) Descriptor() ([]byte, []int) {
  3579. return file_filer_proto_rawDescGZIP(), []int{49, 0}
  3580. }
  3581. func (x *LocateBrokerResponse_Resource) GetGrpcAddresses() string {
  3582. if x != nil {
  3583. return x.GrpcAddresses
  3584. }
  3585. return ""
  3586. }
  3587. func (x *LocateBrokerResponse_Resource) GetResourceCount() int32 {
  3588. if x != nil {
  3589. return x.ResourceCount
  3590. }
  3591. return 0
  3592. }
  3593. type FilerConf_PathConf struct {
  3594. state protoimpl.MessageState `protogen:"open.v1"`
  3595. LocationPrefix string `protobuf:"bytes,1,opt,name=location_prefix,json=locationPrefix,proto3" json:"location_prefix,omitempty"`
  3596. Collection string `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
  3597. Replication string `protobuf:"bytes,3,opt,name=replication,proto3" json:"replication,omitempty"`
  3598. Ttl string `protobuf:"bytes,4,opt,name=ttl,proto3" json:"ttl,omitempty"`
  3599. DiskType string `protobuf:"bytes,5,opt,name=disk_type,json=diskType,proto3" json:"disk_type,omitempty"`
  3600. Fsync bool `protobuf:"varint,6,opt,name=fsync,proto3" json:"fsync,omitempty"`
  3601. VolumeGrowthCount uint32 `protobuf:"varint,7,opt,name=volume_growth_count,json=volumeGrowthCount,proto3" json:"volume_growth_count,omitempty"`
  3602. ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"`
  3603. DataCenter string `protobuf:"bytes,9,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"`
  3604. Rack string `protobuf:"bytes,10,opt,name=rack,proto3" json:"rack,omitempty"`
  3605. DataNode string `protobuf:"bytes,11,opt,name=data_node,json=dataNode,proto3" json:"data_node,omitempty"`
  3606. MaxFileNameLength uint32 `protobuf:"varint,12,opt,name=max_file_name_length,json=maxFileNameLength,proto3" json:"max_file_name_length,omitempty"`
  3607. DisableChunkDeletion bool `protobuf:"varint,13,opt,name=disable_chunk_deletion,json=disableChunkDeletion,proto3" json:"disable_chunk_deletion,omitempty"`
  3608. Worm bool `protobuf:"varint,14,opt,name=worm,proto3" json:"worm,omitempty"`
  3609. WormGracePeriodSeconds uint64 `protobuf:"varint,15,opt,name=worm_grace_period_seconds,json=wormGracePeriodSeconds,proto3" json:"worm_grace_period_seconds,omitempty"`
  3610. WormRetentionTimeSeconds uint64 `protobuf:"varint,16,opt,name=worm_retention_time_seconds,json=wormRetentionTimeSeconds,proto3" json:"worm_retention_time_seconds,omitempty"`
  3611. unknownFields protoimpl.UnknownFields
  3612. sizeCache protoimpl.SizeCache
  3613. }
  3614. func (x *FilerConf_PathConf) Reset() {
  3615. *x = FilerConf_PathConf{}
  3616. mi := &file_filer_proto_msgTypes[69]
  3617. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3618. ms.StoreMessageInfo(mi)
  3619. }
  3620. func (x *FilerConf_PathConf) String() string {
  3621. return protoimpl.X.MessageStringOf(x)
  3622. }
  3623. func (*FilerConf_PathConf) ProtoMessage() {}
  3624. func (x *FilerConf_PathConf) ProtoReflect() protoreflect.Message {
  3625. mi := &file_filer_proto_msgTypes[69]
  3626. if x != nil {
  3627. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  3628. if ms.LoadMessageInfo() == nil {
  3629. ms.StoreMessageInfo(mi)
  3630. }
  3631. return ms
  3632. }
  3633. return mi.MessageOf(x)
  3634. }
  3635. // Deprecated: Use FilerConf_PathConf.ProtoReflect.Descriptor instead.
  3636. func (*FilerConf_PathConf) Descriptor() ([]byte, []int) {
  3637. return file_filer_proto_rawDescGZIP(), []int{54, 0}
  3638. }
  3639. func (x *FilerConf_PathConf) GetLocationPrefix() string {
  3640. if x != nil {
  3641. return x.LocationPrefix
  3642. }
  3643. return ""
  3644. }
  3645. func (x *FilerConf_PathConf) GetCollection() string {
  3646. if x != nil {
  3647. return x.Collection
  3648. }
  3649. return ""
  3650. }
  3651. func (x *FilerConf_PathConf) GetReplication() string {
  3652. if x != nil {
  3653. return x.Replication
  3654. }
  3655. return ""
  3656. }
  3657. func (x *FilerConf_PathConf) GetTtl() string {
  3658. if x != nil {
  3659. return x.Ttl
  3660. }
  3661. return ""
  3662. }
  3663. func (x *FilerConf_PathConf) GetDiskType() string {
  3664. if x != nil {
  3665. return x.DiskType
  3666. }
  3667. return ""
  3668. }
  3669. func (x *FilerConf_PathConf) GetFsync() bool {
  3670. if x != nil {
  3671. return x.Fsync
  3672. }
  3673. return false
  3674. }
  3675. func (x *FilerConf_PathConf) GetVolumeGrowthCount() uint32 {
  3676. if x != nil {
  3677. return x.VolumeGrowthCount
  3678. }
  3679. return 0
  3680. }
  3681. func (x *FilerConf_PathConf) GetReadOnly() bool {
  3682. if x != nil {
  3683. return x.ReadOnly
  3684. }
  3685. return false
  3686. }
  3687. func (x *FilerConf_PathConf) GetDataCenter() string {
  3688. if x != nil {
  3689. return x.DataCenter
  3690. }
  3691. return ""
  3692. }
  3693. func (x *FilerConf_PathConf) GetRack() string {
  3694. if x != nil {
  3695. return x.Rack
  3696. }
  3697. return ""
  3698. }
  3699. func (x *FilerConf_PathConf) GetDataNode() string {
  3700. if x != nil {
  3701. return x.DataNode
  3702. }
  3703. return ""
  3704. }
  3705. func (x *FilerConf_PathConf) GetMaxFileNameLength() uint32 {
  3706. if x != nil {
  3707. return x.MaxFileNameLength
  3708. }
  3709. return 0
  3710. }
  3711. func (x *FilerConf_PathConf) GetDisableChunkDeletion() bool {
  3712. if x != nil {
  3713. return x.DisableChunkDeletion
  3714. }
  3715. return false
  3716. }
  3717. func (x *FilerConf_PathConf) GetWorm() bool {
  3718. if x != nil {
  3719. return x.Worm
  3720. }
  3721. return false
  3722. }
  3723. func (x *FilerConf_PathConf) GetWormGracePeriodSeconds() uint64 {
  3724. if x != nil {
  3725. return x.WormGracePeriodSeconds
  3726. }
  3727. return 0
  3728. }
  3729. func (x *FilerConf_PathConf) GetWormRetentionTimeSeconds() uint64 {
  3730. if x != nil {
  3731. return x.WormRetentionTimeSeconds
  3732. }
  3733. return 0
  3734. }
  3735. var File_filer_proto protoreflect.FileDescriptor
  3736. const file_filer_proto_rawDesc = "" +
  3737. "\n" +
  3738. "\vfiler.proto\x12\bfiler_pb\"O\n" +
  3739. "\x1bLookupDirectoryEntryRequest\x12\x1c\n" +
  3740. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12\x12\n" +
  3741. "\x04name\x18\x02 \x01(\tR\x04name\"E\n" +
  3742. "\x1cLookupDirectoryEntryResponse\x12%\n" +
  3743. "\x05entry\x18\x01 \x01(\v2\x0f.filer_pb.EntryR\x05entry\"\xbe\x01\n" +
  3744. "\x12ListEntriesRequest\x12\x1c\n" +
  3745. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12\x16\n" +
  3746. "\x06prefix\x18\x02 \x01(\tR\x06prefix\x12,\n" +
  3747. "\x11startFromFileName\x18\x03 \x01(\tR\x11startFromFileName\x12.\n" +
  3748. "\x12inclusiveStartFrom\x18\x04 \x01(\bR\x12inclusiveStartFrom\x12\x14\n" +
  3749. "\x05limit\x18\x05 \x01(\rR\x05limit\"<\n" +
  3750. "\x13ListEntriesResponse\x12%\n" +
  3751. "\x05entry\x18\x01 \x01(\v2\x0f.filer_pb.EntryR\x05entry\"\xc8\x01\n" +
  3752. "\vRemoteEntry\x12!\n" +
  3753. "\fstorage_name\x18\x01 \x01(\tR\vstorageName\x120\n" +
  3754. "\x15last_local_sync_ts_ns\x18\x02 \x01(\x03R\x11lastLocalSyncTsNs\x12 \n" +
  3755. "\fremote_e_tag\x18\x03 \x01(\tR\n" +
  3756. "remoteETag\x12!\n" +
  3757. "\fremote_mtime\x18\x04 \x01(\x03R\vremoteMtime\x12\x1f\n" +
  3758. "\vremote_size\x18\x05 \x01(\x03R\n" +
  3759. "remoteSize\"\x89\x04\n" +
  3760. "\x05Entry\x12\x12\n" +
  3761. "\x04name\x18\x01 \x01(\tR\x04name\x12!\n" +
  3762. "\fis_directory\x18\x02 \x01(\bR\visDirectory\x12+\n" +
  3763. "\x06chunks\x18\x03 \x03(\v2\x13.filer_pb.FileChunkR\x06chunks\x128\n" +
  3764. "\n" +
  3765. "attributes\x18\x04 \x01(\v2\x18.filer_pb.FuseAttributesR\n" +
  3766. "attributes\x129\n" +
  3767. "\bextended\x18\x05 \x03(\v2\x1d.filer_pb.Entry.ExtendedEntryR\bextended\x12 \n" +
  3768. "\fhard_link_id\x18\a \x01(\fR\n" +
  3769. "hardLinkId\x12*\n" +
  3770. "\x11hard_link_counter\x18\b \x01(\x05R\x0fhardLinkCounter\x12\x18\n" +
  3771. "\acontent\x18\t \x01(\fR\acontent\x128\n" +
  3772. "\fremote_entry\x18\n" +
  3773. " \x01(\v2\x15.filer_pb.RemoteEntryR\vremoteEntry\x12\x14\n" +
  3774. "\x05quota\x18\v \x01(\x03R\x05quota\x122\n" +
  3775. "\x16worm_enforced_at_ts_ns\x18\f \x01(\x03R\x12wormEnforcedAtTsNs\x1a;\n" +
  3776. "\rExtendedEntry\x12\x10\n" +
  3777. "\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
  3778. "\x05value\x18\x02 \x01(\fR\x05value:\x028\x01\"D\n" +
  3779. "\tFullEntry\x12\x10\n" +
  3780. "\x03dir\x18\x01 \x01(\tR\x03dir\x12%\n" +
  3781. "\x05entry\x18\x02 \x01(\v2\x0f.filer_pb.EntryR\x05entry\"\x8f\x02\n" +
  3782. "\x11EventNotification\x12,\n" +
  3783. "\told_entry\x18\x01 \x01(\v2\x0f.filer_pb.EntryR\boldEntry\x12,\n" +
  3784. "\tnew_entry\x18\x02 \x01(\v2\x0f.filer_pb.EntryR\bnewEntry\x12#\n" +
  3785. "\rdelete_chunks\x18\x03 \x01(\bR\fdeleteChunks\x12&\n" +
  3786. "\x0fnew_parent_path\x18\x04 \x01(\tR\rnewParentPath\x121\n" +
  3787. "\x15is_from_other_cluster\x18\x05 \x01(\bR\x12isFromOtherCluster\x12\x1e\n" +
  3788. "\n" +
  3789. "signatures\x18\x06 \x03(\x05R\n" +
  3790. "signatures\"\xc7\x03\n" +
  3791. "\tFileChunk\x12\x17\n" +
  3792. "\afile_id\x18\x01 \x01(\tR\x06fileId\x12\x16\n" +
  3793. "\x06offset\x18\x02 \x01(\x03R\x06offset\x12\x12\n" +
  3794. "\x04size\x18\x03 \x01(\x04R\x04size\x12$\n" +
  3795. "\x0emodified_ts_ns\x18\x04 \x01(\x03R\fmodifiedTsNs\x12\x13\n" +
  3796. "\x05e_tag\x18\x05 \x01(\tR\x04eTag\x12$\n" +
  3797. "\x0esource_file_id\x18\x06 \x01(\tR\fsourceFileId\x12\"\n" +
  3798. "\x03fid\x18\a \x01(\v2\x10.filer_pb.FileIdR\x03fid\x12/\n" +
  3799. "\n" +
  3800. "source_fid\x18\b \x01(\v2\x10.filer_pb.FileIdR\tsourceFid\x12\x1d\n" +
  3801. "\n" +
  3802. "cipher_key\x18\t \x01(\fR\tcipherKey\x12#\n" +
  3803. "\ris_compressed\x18\n" +
  3804. " \x01(\bR\fisCompressed\x12*\n" +
  3805. "\x11is_chunk_manifest\x18\v \x01(\bR\x0fisChunkManifest\x12,\n" +
  3806. "\bsse_type\x18\f \x01(\x0e2\x11.filer_pb.SSETypeR\asseType\x12!\n" +
  3807. "\fsse_metadata\x18\r \x01(\fR\vsseMetadata\"@\n" +
  3808. "\x11FileChunkManifest\x12+\n" +
  3809. "\x06chunks\x18\x01 \x03(\v2\x13.filer_pb.FileChunkR\x06chunks\"X\n" +
  3810. "\x06FileId\x12\x1b\n" +
  3811. "\tvolume_id\x18\x01 \x01(\rR\bvolumeId\x12\x19\n" +
  3812. "\bfile_key\x18\x02 \x01(\x04R\afileKey\x12\x16\n" +
  3813. "\x06cookie\x18\x03 \x01(\aR\x06cookie\"\xe8\x02\n" +
  3814. "\x0eFuseAttributes\x12\x1b\n" +
  3815. "\tfile_size\x18\x01 \x01(\x04R\bfileSize\x12\x14\n" +
  3816. "\x05mtime\x18\x02 \x01(\x03R\x05mtime\x12\x1b\n" +
  3817. "\tfile_mode\x18\x03 \x01(\rR\bfileMode\x12\x10\n" +
  3818. "\x03uid\x18\x04 \x01(\rR\x03uid\x12\x10\n" +
  3819. "\x03gid\x18\x05 \x01(\rR\x03gid\x12\x16\n" +
  3820. "\x06crtime\x18\x06 \x01(\x03R\x06crtime\x12\x12\n" +
  3821. "\x04mime\x18\a \x01(\tR\x04mime\x12\x17\n" +
  3822. "\attl_sec\x18\n" +
  3823. " \x01(\x05R\x06ttlSec\x12\x1b\n" +
  3824. "\tuser_name\x18\v \x01(\tR\buserName\x12\x1d\n" +
  3825. "\n" +
  3826. "group_name\x18\f \x03(\tR\tgroupName\x12%\n" +
  3827. "\x0esymlink_target\x18\r \x01(\tR\rsymlinkTarget\x12\x10\n" +
  3828. "\x03md5\x18\x0e \x01(\fR\x03md5\x12\x12\n" +
  3829. "\x04rdev\x18\x10 \x01(\rR\x04rdev\x12\x14\n" +
  3830. "\x05inode\x18\x11 \x01(\x04R\x05inode\"\x82\x02\n" +
  3831. "\x12CreateEntryRequest\x12\x1c\n" +
  3832. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12%\n" +
  3833. "\x05entry\x18\x02 \x01(\v2\x0f.filer_pb.EntryR\x05entry\x12\x15\n" +
  3834. "\x06o_excl\x18\x03 \x01(\bR\x05oExcl\x121\n" +
  3835. "\x15is_from_other_cluster\x18\x04 \x01(\bR\x12isFromOtherCluster\x12\x1e\n" +
  3836. "\n" +
  3837. "signatures\x18\x05 \x03(\x05R\n" +
  3838. "signatures\x12=\n" +
  3839. "\x1bskip_check_parent_directory\x18\x06 \x01(\bR\x18skipCheckParentDirectory\"+\n" +
  3840. "\x13CreateEntryResponse\x12\x14\n" +
  3841. "\x05error\x18\x01 \x01(\tR\x05error\"\xac\x01\n" +
  3842. "\x12UpdateEntryRequest\x12\x1c\n" +
  3843. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12%\n" +
  3844. "\x05entry\x18\x02 \x01(\v2\x0f.filer_pb.EntryR\x05entry\x121\n" +
  3845. "\x15is_from_other_cluster\x18\x03 \x01(\bR\x12isFromOtherCluster\x12\x1e\n" +
  3846. "\n" +
  3847. "signatures\x18\x04 \x03(\x05R\n" +
  3848. "signatures\"\x15\n" +
  3849. "\x13UpdateEntryResponse\"\x80\x01\n" +
  3850. "\x14AppendToEntryRequest\x12\x1c\n" +
  3851. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12\x1d\n" +
  3852. "\n" +
  3853. "entry_name\x18\x02 \x01(\tR\tentryName\x12+\n" +
  3854. "\x06chunks\x18\x03 \x03(\v2\x13.filer_pb.FileChunkR\x06chunks\"\x17\n" +
  3855. "\x15AppendToEntryResponse\"\xcb\x02\n" +
  3856. "\x12DeleteEntryRequest\x12\x1c\n" +
  3857. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12\x12\n" +
  3858. "\x04name\x18\x02 \x01(\tR\x04name\x12$\n" +
  3859. "\x0eis_delete_data\x18\x04 \x01(\bR\fisDeleteData\x12!\n" +
  3860. "\fis_recursive\x18\x05 \x01(\bR\visRecursive\x124\n" +
  3861. "\x16ignore_recursive_error\x18\x06 \x01(\bR\x14ignoreRecursiveError\x121\n" +
  3862. "\x15is_from_other_cluster\x18\a \x01(\bR\x12isFromOtherCluster\x12\x1e\n" +
  3863. "\n" +
  3864. "signatures\x18\b \x03(\x05R\n" +
  3865. "signatures\x121\n" +
  3866. "\x15if_not_modified_after\x18\t \x01(\x03R\x12ifNotModifiedAfter\"+\n" +
  3867. "\x13DeleteEntryResponse\x12\x14\n" +
  3868. "\x05error\x18\x01 \x01(\tR\x05error\"\xba\x01\n" +
  3869. "\x18AtomicRenameEntryRequest\x12#\n" +
  3870. "\rold_directory\x18\x01 \x01(\tR\foldDirectory\x12\x19\n" +
  3871. "\bold_name\x18\x02 \x01(\tR\aoldName\x12#\n" +
  3872. "\rnew_directory\x18\x03 \x01(\tR\fnewDirectory\x12\x19\n" +
  3873. "\bnew_name\x18\x04 \x01(\tR\anewName\x12\x1e\n" +
  3874. "\n" +
  3875. "signatures\x18\x05 \x03(\x05R\n" +
  3876. "signatures\"\x1b\n" +
  3877. "\x19AtomicRenameEntryResponse\"\xba\x01\n" +
  3878. "\x18StreamRenameEntryRequest\x12#\n" +
  3879. "\rold_directory\x18\x01 \x01(\tR\foldDirectory\x12\x19\n" +
  3880. "\bold_name\x18\x02 \x01(\tR\aoldName\x12#\n" +
  3881. "\rnew_directory\x18\x03 \x01(\tR\fnewDirectory\x12\x19\n" +
  3882. "\bnew_name\x18\x04 \x01(\tR\anewName\x12\x1e\n" +
  3883. "\n" +
  3884. "signatures\x18\x05 \x03(\x05R\n" +
  3885. "signatures\"\x9a\x01\n" +
  3886. "\x19StreamRenameEntryResponse\x12\x1c\n" +
  3887. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12J\n" +
  3888. "\x12event_notification\x18\x02 \x01(\v2\x1b.filer_pb.EventNotificationR\x11eventNotification\x12\x13\n" +
  3889. "\x05ts_ns\x18\x03 \x01(\x03R\x04tsNs\"\x89\x02\n" +
  3890. "\x13AssignVolumeRequest\x12\x14\n" +
  3891. "\x05count\x18\x01 \x01(\x05R\x05count\x12\x1e\n" +
  3892. "\n" +
  3893. "collection\x18\x02 \x01(\tR\n" +
  3894. "collection\x12 \n" +
  3895. "\vreplication\x18\x03 \x01(\tR\vreplication\x12\x17\n" +
  3896. "\attl_sec\x18\x04 \x01(\x05R\x06ttlSec\x12\x1f\n" +
  3897. "\vdata_center\x18\x05 \x01(\tR\n" +
  3898. "dataCenter\x12\x12\n" +
  3899. "\x04path\x18\x06 \x01(\tR\x04path\x12\x12\n" +
  3900. "\x04rack\x18\a \x01(\tR\x04rack\x12\x1b\n" +
  3901. "\tdata_node\x18\t \x01(\tR\bdataNode\x12\x1b\n" +
  3902. "\tdisk_type\x18\b \x01(\tR\bdiskType\"\xe1\x01\n" +
  3903. "\x14AssignVolumeResponse\x12\x17\n" +
  3904. "\afile_id\x18\x01 \x01(\tR\x06fileId\x12\x14\n" +
  3905. "\x05count\x18\x04 \x01(\x05R\x05count\x12\x12\n" +
  3906. "\x04auth\x18\x05 \x01(\tR\x04auth\x12\x1e\n" +
  3907. "\n" +
  3908. "collection\x18\x06 \x01(\tR\n" +
  3909. "collection\x12 \n" +
  3910. "\vreplication\x18\a \x01(\tR\vreplication\x12\x14\n" +
  3911. "\x05error\x18\b \x01(\tR\x05error\x12.\n" +
  3912. "\blocation\x18\t \x01(\v2\x12.filer_pb.LocationR\blocation\"4\n" +
  3913. "\x13LookupVolumeRequest\x12\x1d\n" +
  3914. "\n" +
  3915. "volume_ids\x18\x01 \x03(\tR\tvolumeIds\"=\n" +
  3916. "\tLocations\x120\n" +
  3917. "\tlocations\x18\x01 \x03(\v2\x12.filer_pb.LocationR\tlocations\"y\n" +
  3918. "\bLocation\x12\x10\n" +
  3919. "\x03url\x18\x01 \x01(\tR\x03url\x12\x1d\n" +
  3920. "\n" +
  3921. "public_url\x18\x02 \x01(\tR\tpublicUrl\x12\x1b\n" +
  3922. "\tgrpc_port\x18\x03 \x01(\rR\bgrpcPort\x12\x1f\n" +
  3923. "\vdata_center\x18\x04 \x01(\tR\n" +
  3924. "dataCenter\"\xc3\x01\n" +
  3925. "\x14LookupVolumeResponse\x12U\n" +
  3926. "\rlocations_map\x18\x01 \x03(\v20.filer_pb.LookupVolumeResponse.LocationsMapEntryR\flocationsMap\x1aT\n" +
  3927. "\x11LocationsMapEntry\x12\x10\n" +
  3928. "\x03key\x18\x01 \x01(\tR\x03key\x12)\n" +
  3929. "\x05value\x18\x02 \x01(\v2\x13.filer_pb.LocationsR\x05value:\x028\x01\" \n" +
  3930. "\n" +
  3931. "Collection\x12\x12\n" +
  3932. "\x04name\x18\x01 \x01(\tR\x04name\"{\n" +
  3933. "\x15CollectionListRequest\x124\n" +
  3934. "\x16include_normal_volumes\x18\x01 \x01(\bR\x14includeNormalVolumes\x12,\n" +
  3935. "\x12include_ec_volumes\x18\x02 \x01(\bR\x10includeEcVolumes\"P\n" +
  3936. "\x16CollectionListResponse\x126\n" +
  3937. "\vcollections\x18\x01 \x03(\v2\x14.filer_pb.CollectionR\vcollections\"9\n" +
  3938. "\x17DeleteCollectionRequest\x12\x1e\n" +
  3939. "\n" +
  3940. "collection\x18\x01 \x01(\tR\n" +
  3941. "collection\"\x1a\n" +
  3942. "\x18DeleteCollectionResponse\"\x84\x01\n" +
  3943. "\x11StatisticsRequest\x12 \n" +
  3944. "\vreplication\x18\x01 \x01(\tR\vreplication\x12\x1e\n" +
  3945. "\n" +
  3946. "collection\x18\x02 \x01(\tR\n" +
  3947. "collection\x12\x10\n" +
  3948. "\x03ttl\x18\x03 \x01(\tR\x03ttl\x12\x1b\n" +
  3949. "\tdisk_type\x18\x04 \x01(\tR\bdiskType\"o\n" +
  3950. "\x12StatisticsResponse\x12\x1d\n" +
  3951. "\n" +
  3952. "total_size\x18\x04 \x01(\x04R\ttotalSize\x12\x1b\n" +
  3953. "\tused_size\x18\x05 \x01(\x04R\busedSize\x12\x1d\n" +
  3954. "\n" +
  3955. "file_count\x18\x06 \x01(\x04R\tfileCount\"F\n" +
  3956. "\vPingRequest\x12\x16\n" +
  3957. "\x06target\x18\x01 \x01(\tR\x06target\x12\x1f\n" +
  3958. "\vtarget_type\x18\x02 \x01(\tR\n" +
  3959. "targetType\"z\n" +
  3960. "\fPingResponse\x12\"\n" +
  3961. "\rstart_time_ns\x18\x01 \x01(\x03R\vstartTimeNs\x12$\n" +
  3962. "\x0eremote_time_ns\x18\x02 \x01(\x03R\fremoteTimeNs\x12 \n" +
  3963. "\fstop_time_ns\x18\x03 \x01(\x03R\n" +
  3964. "stopTimeNs\"\x1e\n" +
  3965. "\x1cGetFilerConfigurationRequest\"\xe8\x03\n" +
  3966. "\x1dGetFilerConfigurationResponse\x12\x18\n" +
  3967. "\amasters\x18\x01 \x03(\tR\amasters\x12 \n" +
  3968. "\vreplication\x18\x02 \x01(\tR\vreplication\x12\x1e\n" +
  3969. "\n" +
  3970. "collection\x18\x03 \x01(\tR\n" +
  3971. "collection\x12\x15\n" +
  3972. "\x06max_mb\x18\x04 \x01(\rR\x05maxMb\x12\x1f\n" +
  3973. "\vdir_buckets\x18\x05 \x01(\tR\n" +
  3974. "dirBuckets\x12\x16\n" +
  3975. "\x06cipher\x18\a \x01(\bR\x06cipher\x12\x1c\n" +
  3976. "\tsignature\x18\b \x01(\x05R\tsignature\x12'\n" +
  3977. "\x0fmetrics_address\x18\t \x01(\tR\x0emetricsAddress\x120\n" +
  3978. "\x14metrics_interval_sec\x18\n" +
  3979. " \x01(\x05R\x12metricsIntervalSec\x12\x18\n" +
  3980. "\aversion\x18\v \x01(\tR\aversion\x12\x1d\n" +
  3981. "\n" +
  3982. "cluster_id\x18\f \x01(\tR\tclusterId\x12\x1f\n" +
  3983. "\vfiler_group\x18\r \x01(\tR\n" +
  3984. "filerGroup\x12#\n" +
  3985. "\rmajor_version\x18\x0e \x01(\x05R\fmajorVersion\x12#\n" +
  3986. "\rminor_version\x18\x0f \x01(\x05R\fminorVersion\"\xb7\x02\n" +
  3987. "\x18SubscribeMetadataRequest\x12\x1f\n" +
  3988. "\vclient_name\x18\x01 \x01(\tR\n" +
  3989. "clientName\x12\x1f\n" +
  3990. "\vpath_prefix\x18\x02 \x01(\tR\n" +
  3991. "pathPrefix\x12\x19\n" +
  3992. "\bsince_ns\x18\x03 \x01(\x03R\asinceNs\x12\x1c\n" +
  3993. "\tsignature\x18\x04 \x01(\x05R\tsignature\x12#\n" +
  3994. "\rpath_prefixes\x18\x06 \x03(\tR\fpathPrefixes\x12\x1b\n" +
  3995. "\tclient_id\x18\a \x01(\x05R\bclientId\x12\x19\n" +
  3996. "\buntil_ns\x18\b \x01(\x03R\auntilNs\x12!\n" +
  3997. "\fclient_epoch\x18\t \x01(\x05R\vclientEpoch\x12 \n" +
  3998. "\vdirectories\x18\n" +
  3999. " \x03(\tR\vdirectories\"\x9a\x01\n" +
  4000. "\x19SubscribeMetadataResponse\x12\x1c\n" +
  4001. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12J\n" +
  4002. "\x12event_notification\x18\x02 \x01(\v2\x1b.filer_pb.EventNotificationR\x11eventNotification\x12\x13\n" +
  4003. "\x05ts_ns\x18\x03 \x01(\x03R\x04tsNs\"g\n" +
  4004. "\x1aTraverseBfsMetadataRequest\x12\x1c\n" +
  4005. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12+\n" +
  4006. "\x11excluded_prefixes\x18\x02 \x03(\tR\x10excludedPrefixes\"b\n" +
  4007. "\x1bTraverseBfsMetadataResponse\x12\x1c\n" +
  4008. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12%\n" +
  4009. "\x05entry\x18\x02 \x01(\v2\x0f.filer_pb.EntryR\x05entry\"s\n" +
  4010. "\bLogEntry\x12\x13\n" +
  4011. "\x05ts_ns\x18\x01 \x01(\x03R\x04tsNs\x12,\n" +
  4012. "\x12partition_key_hash\x18\x02 \x01(\x05R\x10partitionKeyHash\x12\x12\n" +
  4013. "\x04data\x18\x03 \x01(\fR\x04data\x12\x10\n" +
  4014. "\x03key\x18\x04 \x01(\fR\x03key\"e\n" +
  4015. "\x14KeepConnectedRequest\x12\x12\n" +
  4016. "\x04name\x18\x01 \x01(\tR\x04name\x12\x1b\n" +
  4017. "\tgrpc_port\x18\x02 \x01(\rR\bgrpcPort\x12\x1c\n" +
  4018. "\tresources\x18\x03 \x03(\tR\tresources\"\x17\n" +
  4019. "\x15KeepConnectedResponse\"1\n" +
  4020. "\x13LocateBrokerRequest\x12\x1a\n" +
  4021. "\bresource\x18\x01 \x01(\tR\bresource\"\xcd\x01\n" +
  4022. "\x14LocateBrokerResponse\x12\x14\n" +
  4023. "\x05found\x18\x01 \x01(\bR\x05found\x12E\n" +
  4024. "\tresources\x18\x02 \x03(\v2'.filer_pb.LocateBrokerResponse.ResourceR\tresources\x1aX\n" +
  4025. "\bResource\x12%\n" +
  4026. "\x0egrpc_addresses\x18\x01 \x01(\tR\rgrpcAddresses\x12%\n" +
  4027. "\x0eresource_count\x18\x02 \x01(\x05R\rresourceCount\" \n" +
  4028. "\fKvGetRequest\x12\x10\n" +
  4029. "\x03key\x18\x01 \x01(\fR\x03key\";\n" +
  4030. "\rKvGetResponse\x12\x14\n" +
  4031. "\x05value\x18\x01 \x01(\fR\x05value\x12\x14\n" +
  4032. "\x05error\x18\x02 \x01(\tR\x05error\"6\n" +
  4033. "\fKvPutRequest\x12\x10\n" +
  4034. "\x03key\x18\x01 \x01(\fR\x03key\x12\x14\n" +
  4035. "\x05value\x18\x02 \x01(\fR\x05value\"%\n" +
  4036. "\rKvPutResponse\x12\x14\n" +
  4037. "\x05error\x18\x01 \x01(\tR\x05error\"\xb2\x05\n" +
  4038. "\tFilerConf\x12\x18\n" +
  4039. "\aversion\x18\x01 \x01(\x05R\aversion\x12:\n" +
  4040. "\tlocations\x18\x02 \x03(\v2\x1c.filer_pb.FilerConf.PathConfR\tlocations\x1a\xce\x04\n" +
  4041. "\bPathConf\x12'\n" +
  4042. "\x0flocation_prefix\x18\x01 \x01(\tR\x0elocationPrefix\x12\x1e\n" +
  4043. "\n" +
  4044. "collection\x18\x02 \x01(\tR\n" +
  4045. "collection\x12 \n" +
  4046. "\vreplication\x18\x03 \x01(\tR\vreplication\x12\x10\n" +
  4047. "\x03ttl\x18\x04 \x01(\tR\x03ttl\x12\x1b\n" +
  4048. "\tdisk_type\x18\x05 \x01(\tR\bdiskType\x12\x14\n" +
  4049. "\x05fsync\x18\x06 \x01(\bR\x05fsync\x12.\n" +
  4050. "\x13volume_growth_count\x18\a \x01(\rR\x11volumeGrowthCount\x12\x1b\n" +
  4051. "\tread_only\x18\b \x01(\bR\breadOnly\x12\x1f\n" +
  4052. "\vdata_center\x18\t \x01(\tR\n" +
  4053. "dataCenter\x12\x12\n" +
  4054. "\x04rack\x18\n" +
  4055. " \x01(\tR\x04rack\x12\x1b\n" +
  4056. "\tdata_node\x18\v \x01(\tR\bdataNode\x12/\n" +
  4057. "\x14max_file_name_length\x18\f \x01(\rR\x11maxFileNameLength\x124\n" +
  4058. "\x16disable_chunk_deletion\x18\r \x01(\bR\x14disableChunkDeletion\x12\x12\n" +
  4059. "\x04worm\x18\x0e \x01(\bR\x04worm\x129\n" +
  4060. "\x19worm_grace_period_seconds\x18\x0f \x01(\x04R\x16wormGracePeriodSeconds\x12=\n" +
  4061. "\x1bworm_retention_time_seconds\x18\x10 \x01(\x04R\x18wormRetentionTimeSeconds\"Z\n" +
  4062. "&CacheRemoteObjectToLocalClusterRequest\x12\x1c\n" +
  4063. "\tdirectory\x18\x01 \x01(\tR\tdirectory\x12\x12\n" +
  4064. "\x04name\x18\x02 \x01(\tR\x04name\"P\n" +
  4065. "'CacheRemoteObjectToLocalClusterResponse\x12%\n" +
  4066. "\x05entry\x18\x01 \x01(\v2\x0f.filer_pb.EntryR\x05entry\"\x9b\x01\n" +
  4067. "\vLockRequest\x12\x12\n" +
  4068. "\x04name\x18\x01 \x01(\tR\x04name\x12&\n" +
  4069. "\x0fseconds_to_lock\x18\x02 \x01(\x03R\rsecondsToLock\x12\x1f\n" +
  4070. "\vrenew_token\x18\x03 \x01(\tR\n" +
  4071. "renewToken\x12\x19\n" +
  4072. "\bis_moved\x18\x04 \x01(\bR\aisMoved\x12\x14\n" +
  4073. "\x05owner\x18\x05 \x01(\tR\x05owner\"\x91\x01\n" +
  4074. "\fLockResponse\x12\x1f\n" +
  4075. "\vrenew_token\x18\x01 \x01(\tR\n" +
  4076. "renewToken\x12\x1d\n" +
  4077. "\n" +
  4078. "lock_owner\x18\x02 \x01(\tR\tlockOwner\x12+\n" +
  4079. "\x12lock_host_moved_to\x18\x03 \x01(\tR\x0flockHostMovedTo\x12\x14\n" +
  4080. "\x05error\x18\x04 \x01(\tR\x05error\"_\n" +
  4081. "\rUnlockRequest\x12\x12\n" +
  4082. "\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" +
  4083. "\vrenew_token\x18\x02 \x01(\tR\n" +
  4084. "renewToken\x12\x19\n" +
  4085. "\bis_moved\x18\x03 \x01(\bR\aisMoved\"A\n" +
  4086. "\x0eUnlockResponse\x12\x14\n" +
  4087. "\x05error\x18\x01 \x01(\tR\x05error\x12\x19\n" +
  4088. "\bmoved_to\x18\x02 \x01(\tR\amovedTo\"E\n" +
  4089. "\x14FindLockOwnerRequest\x12\x12\n" +
  4090. "\x04name\x18\x01 \x01(\tR\x04name\x12\x19\n" +
  4091. "\bis_moved\x18\x02 \x01(\bR\aisMoved\"-\n" +
  4092. "\x15FindLockOwnerResponse\x12\x14\n" +
  4093. "\x05owner\x18\x01 \x01(\tR\x05owner\"u\n" +
  4094. "\x04Lock\x12\x12\n" +
  4095. "\x04name\x18\x01 \x01(\tR\x04name\x12\x1f\n" +
  4096. "\vrenew_token\x18\x02 \x01(\tR\n" +
  4097. "renewToken\x12\"\n" +
  4098. "\rexpired_at_ns\x18\x03 \x01(\x03R\vexpiredAtNs\x12\x14\n" +
  4099. "\x05owner\x18\x04 \x01(\tR\x05owner\"<\n" +
  4100. "\x14TransferLocksRequest\x12$\n" +
  4101. "\x05locks\x18\x01 \x03(\v2\x0e.filer_pb.LockR\x05locks\"\x17\n" +
  4102. "\x15TransferLocksResponse*7\n" +
  4103. "\aSSEType\x12\b\n" +
  4104. "\x04NONE\x10\x00\x12\t\n" +
  4105. "\x05SSE_C\x10\x01\x12\v\n" +
  4106. "\aSSE_KMS\x10\x02\x12\n" +
  4107. "\n" +
  4108. "\x06SSE_S3\x10\x032\xf7\x10\n" +
  4109. "\fSeaweedFiler\x12g\n" +
  4110. "\x14LookupDirectoryEntry\x12%.filer_pb.LookupDirectoryEntryRequest\x1a&.filer_pb.LookupDirectoryEntryResponse\"\x00\x12N\n" +
  4111. "\vListEntries\x12\x1c.filer_pb.ListEntriesRequest\x1a\x1d.filer_pb.ListEntriesResponse\"\x000\x01\x12L\n" +
  4112. "\vCreateEntry\x12\x1c.filer_pb.CreateEntryRequest\x1a\x1d.filer_pb.CreateEntryResponse\"\x00\x12L\n" +
  4113. "\vUpdateEntry\x12\x1c.filer_pb.UpdateEntryRequest\x1a\x1d.filer_pb.UpdateEntryResponse\"\x00\x12R\n" +
  4114. "\rAppendToEntry\x12\x1e.filer_pb.AppendToEntryRequest\x1a\x1f.filer_pb.AppendToEntryResponse\"\x00\x12L\n" +
  4115. "\vDeleteEntry\x12\x1c.filer_pb.DeleteEntryRequest\x1a\x1d.filer_pb.DeleteEntryResponse\"\x00\x12^\n" +
  4116. "\x11AtomicRenameEntry\x12\".filer_pb.AtomicRenameEntryRequest\x1a#.filer_pb.AtomicRenameEntryResponse\"\x00\x12`\n" +
  4117. "\x11StreamRenameEntry\x12\".filer_pb.StreamRenameEntryRequest\x1a#.filer_pb.StreamRenameEntryResponse\"\x000\x01\x12O\n" +
  4118. "\fAssignVolume\x12\x1d.filer_pb.AssignVolumeRequest\x1a\x1e.filer_pb.AssignVolumeResponse\"\x00\x12O\n" +
  4119. "\fLookupVolume\x12\x1d.filer_pb.LookupVolumeRequest\x1a\x1e.filer_pb.LookupVolumeResponse\"\x00\x12U\n" +
  4120. "\x0eCollectionList\x12\x1f.filer_pb.CollectionListRequest\x1a .filer_pb.CollectionListResponse\"\x00\x12[\n" +
  4121. "\x10DeleteCollection\x12!.filer_pb.DeleteCollectionRequest\x1a\".filer_pb.DeleteCollectionResponse\"\x00\x12I\n" +
  4122. "\n" +
  4123. "Statistics\x12\x1b.filer_pb.StatisticsRequest\x1a\x1c.filer_pb.StatisticsResponse\"\x00\x127\n" +
  4124. "\x04Ping\x12\x15.filer_pb.PingRequest\x1a\x16.filer_pb.PingResponse\"\x00\x12j\n" +
  4125. "\x15GetFilerConfiguration\x12&.filer_pb.GetFilerConfigurationRequest\x1a'.filer_pb.GetFilerConfigurationResponse\"\x00\x12f\n" +
  4126. "\x13TraverseBfsMetadata\x12$.filer_pb.TraverseBfsMetadataRequest\x1a%.filer_pb.TraverseBfsMetadataResponse\"\x000\x01\x12`\n" +
  4127. "\x11SubscribeMetadata\x12\".filer_pb.SubscribeMetadataRequest\x1a#.filer_pb.SubscribeMetadataResponse\"\x000\x01\x12e\n" +
  4128. "\x16SubscribeLocalMetadata\x12\".filer_pb.SubscribeMetadataRequest\x1a#.filer_pb.SubscribeMetadataResponse\"\x000\x01\x12:\n" +
  4129. "\x05KvGet\x12\x16.filer_pb.KvGetRequest\x1a\x17.filer_pb.KvGetResponse\"\x00\x12:\n" +
  4130. "\x05KvPut\x12\x16.filer_pb.KvPutRequest\x1a\x17.filer_pb.KvPutResponse\"\x00\x12\x88\x01\n" +
  4131. "\x1fCacheRemoteObjectToLocalCluster\x120.filer_pb.CacheRemoteObjectToLocalClusterRequest\x1a1.filer_pb.CacheRemoteObjectToLocalClusterResponse\"\x00\x12B\n" +
  4132. "\x0fDistributedLock\x12\x15.filer_pb.LockRequest\x1a\x16.filer_pb.LockResponse\"\x00\x12H\n" +
  4133. "\x11DistributedUnlock\x12\x17.filer_pb.UnlockRequest\x1a\x18.filer_pb.UnlockResponse\"\x00\x12R\n" +
  4134. "\rFindLockOwner\x12\x1e.filer_pb.FindLockOwnerRequest\x1a\x1f.filer_pb.FindLockOwnerResponse\"\x00\x12R\n" +
  4135. "\rTransferLocks\x12\x1e.filer_pb.TransferLocksRequest\x1a\x1f.filer_pb.TransferLocksResponse\"\x00BO\n" +
  4136. "\x10seaweedfs.clientB\n" +
  4137. "FilerProtoZ/github.com/seaweedfs/seaweedfs/weed/pb/filer_pbb\x06proto3"
  4138. var (
  4139. file_filer_proto_rawDescOnce sync.Once
  4140. file_filer_proto_rawDescData []byte
  4141. )
  4142. func file_filer_proto_rawDescGZIP() []byte {
  4143. file_filer_proto_rawDescOnce.Do(func() {
  4144. file_filer_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_filer_proto_rawDesc), len(file_filer_proto_rawDesc)))
  4145. })
  4146. return file_filer_proto_rawDescData
  4147. }
  4148. var file_filer_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  4149. var file_filer_proto_msgTypes = make([]protoimpl.MessageInfo, 70)
  4150. var file_filer_proto_goTypes = []any{
  4151. (SSEType)(0), // 0: filer_pb.SSEType
  4152. (*LookupDirectoryEntryRequest)(nil), // 1: filer_pb.LookupDirectoryEntryRequest
  4153. (*LookupDirectoryEntryResponse)(nil), // 2: filer_pb.LookupDirectoryEntryResponse
  4154. (*ListEntriesRequest)(nil), // 3: filer_pb.ListEntriesRequest
  4155. (*ListEntriesResponse)(nil), // 4: filer_pb.ListEntriesResponse
  4156. (*RemoteEntry)(nil), // 5: filer_pb.RemoteEntry
  4157. (*Entry)(nil), // 6: filer_pb.Entry
  4158. (*FullEntry)(nil), // 7: filer_pb.FullEntry
  4159. (*EventNotification)(nil), // 8: filer_pb.EventNotification
  4160. (*FileChunk)(nil), // 9: filer_pb.FileChunk
  4161. (*FileChunkManifest)(nil), // 10: filer_pb.FileChunkManifest
  4162. (*FileId)(nil), // 11: filer_pb.FileId
  4163. (*FuseAttributes)(nil), // 12: filer_pb.FuseAttributes
  4164. (*CreateEntryRequest)(nil), // 13: filer_pb.CreateEntryRequest
  4165. (*CreateEntryResponse)(nil), // 14: filer_pb.CreateEntryResponse
  4166. (*UpdateEntryRequest)(nil), // 15: filer_pb.UpdateEntryRequest
  4167. (*UpdateEntryResponse)(nil), // 16: filer_pb.UpdateEntryResponse
  4168. (*AppendToEntryRequest)(nil), // 17: filer_pb.AppendToEntryRequest
  4169. (*AppendToEntryResponse)(nil), // 18: filer_pb.AppendToEntryResponse
  4170. (*DeleteEntryRequest)(nil), // 19: filer_pb.DeleteEntryRequest
  4171. (*DeleteEntryResponse)(nil), // 20: filer_pb.DeleteEntryResponse
  4172. (*AtomicRenameEntryRequest)(nil), // 21: filer_pb.AtomicRenameEntryRequest
  4173. (*AtomicRenameEntryResponse)(nil), // 22: filer_pb.AtomicRenameEntryResponse
  4174. (*StreamRenameEntryRequest)(nil), // 23: filer_pb.StreamRenameEntryRequest
  4175. (*StreamRenameEntryResponse)(nil), // 24: filer_pb.StreamRenameEntryResponse
  4176. (*AssignVolumeRequest)(nil), // 25: filer_pb.AssignVolumeRequest
  4177. (*AssignVolumeResponse)(nil), // 26: filer_pb.AssignVolumeResponse
  4178. (*LookupVolumeRequest)(nil), // 27: filer_pb.LookupVolumeRequest
  4179. (*Locations)(nil), // 28: filer_pb.Locations
  4180. (*Location)(nil), // 29: filer_pb.Location
  4181. (*LookupVolumeResponse)(nil), // 30: filer_pb.LookupVolumeResponse
  4182. (*Collection)(nil), // 31: filer_pb.Collection
  4183. (*CollectionListRequest)(nil), // 32: filer_pb.CollectionListRequest
  4184. (*CollectionListResponse)(nil), // 33: filer_pb.CollectionListResponse
  4185. (*DeleteCollectionRequest)(nil), // 34: filer_pb.DeleteCollectionRequest
  4186. (*DeleteCollectionResponse)(nil), // 35: filer_pb.DeleteCollectionResponse
  4187. (*StatisticsRequest)(nil), // 36: filer_pb.StatisticsRequest
  4188. (*StatisticsResponse)(nil), // 37: filer_pb.StatisticsResponse
  4189. (*PingRequest)(nil), // 38: filer_pb.PingRequest
  4190. (*PingResponse)(nil), // 39: filer_pb.PingResponse
  4191. (*GetFilerConfigurationRequest)(nil), // 40: filer_pb.GetFilerConfigurationRequest
  4192. (*GetFilerConfigurationResponse)(nil), // 41: filer_pb.GetFilerConfigurationResponse
  4193. (*SubscribeMetadataRequest)(nil), // 42: filer_pb.SubscribeMetadataRequest
  4194. (*SubscribeMetadataResponse)(nil), // 43: filer_pb.SubscribeMetadataResponse
  4195. (*TraverseBfsMetadataRequest)(nil), // 44: filer_pb.TraverseBfsMetadataRequest
  4196. (*TraverseBfsMetadataResponse)(nil), // 45: filer_pb.TraverseBfsMetadataResponse
  4197. (*LogEntry)(nil), // 46: filer_pb.LogEntry
  4198. (*KeepConnectedRequest)(nil), // 47: filer_pb.KeepConnectedRequest
  4199. (*KeepConnectedResponse)(nil), // 48: filer_pb.KeepConnectedResponse
  4200. (*LocateBrokerRequest)(nil), // 49: filer_pb.LocateBrokerRequest
  4201. (*LocateBrokerResponse)(nil), // 50: filer_pb.LocateBrokerResponse
  4202. (*KvGetRequest)(nil), // 51: filer_pb.KvGetRequest
  4203. (*KvGetResponse)(nil), // 52: filer_pb.KvGetResponse
  4204. (*KvPutRequest)(nil), // 53: filer_pb.KvPutRequest
  4205. (*KvPutResponse)(nil), // 54: filer_pb.KvPutResponse
  4206. (*FilerConf)(nil), // 55: filer_pb.FilerConf
  4207. (*CacheRemoteObjectToLocalClusterRequest)(nil), // 56: filer_pb.CacheRemoteObjectToLocalClusterRequest
  4208. (*CacheRemoteObjectToLocalClusterResponse)(nil), // 57: filer_pb.CacheRemoteObjectToLocalClusterResponse
  4209. (*LockRequest)(nil), // 58: filer_pb.LockRequest
  4210. (*LockResponse)(nil), // 59: filer_pb.LockResponse
  4211. (*UnlockRequest)(nil), // 60: filer_pb.UnlockRequest
  4212. (*UnlockResponse)(nil), // 61: filer_pb.UnlockResponse
  4213. (*FindLockOwnerRequest)(nil), // 62: filer_pb.FindLockOwnerRequest
  4214. (*FindLockOwnerResponse)(nil), // 63: filer_pb.FindLockOwnerResponse
  4215. (*Lock)(nil), // 64: filer_pb.Lock
  4216. (*TransferLocksRequest)(nil), // 65: filer_pb.TransferLocksRequest
  4217. (*TransferLocksResponse)(nil), // 66: filer_pb.TransferLocksResponse
  4218. nil, // 67: filer_pb.Entry.ExtendedEntry
  4219. nil, // 68: filer_pb.LookupVolumeResponse.LocationsMapEntry
  4220. (*LocateBrokerResponse_Resource)(nil), // 69: filer_pb.LocateBrokerResponse.Resource
  4221. (*FilerConf_PathConf)(nil), // 70: filer_pb.FilerConf.PathConf
  4222. }
  4223. var file_filer_proto_depIdxs = []int32{
  4224. 6, // 0: filer_pb.LookupDirectoryEntryResponse.entry:type_name -> filer_pb.Entry
  4225. 6, // 1: filer_pb.ListEntriesResponse.entry:type_name -> filer_pb.Entry
  4226. 9, // 2: filer_pb.Entry.chunks:type_name -> filer_pb.FileChunk
  4227. 12, // 3: filer_pb.Entry.attributes:type_name -> filer_pb.FuseAttributes
  4228. 67, // 4: filer_pb.Entry.extended:type_name -> filer_pb.Entry.ExtendedEntry
  4229. 5, // 5: filer_pb.Entry.remote_entry:type_name -> filer_pb.RemoteEntry
  4230. 6, // 6: filer_pb.FullEntry.entry:type_name -> filer_pb.Entry
  4231. 6, // 7: filer_pb.EventNotification.old_entry:type_name -> filer_pb.Entry
  4232. 6, // 8: filer_pb.EventNotification.new_entry:type_name -> filer_pb.Entry
  4233. 11, // 9: filer_pb.FileChunk.fid:type_name -> filer_pb.FileId
  4234. 11, // 10: filer_pb.FileChunk.source_fid:type_name -> filer_pb.FileId
  4235. 0, // 11: filer_pb.FileChunk.sse_type:type_name -> filer_pb.SSEType
  4236. 9, // 12: filer_pb.FileChunkManifest.chunks:type_name -> filer_pb.FileChunk
  4237. 6, // 13: filer_pb.CreateEntryRequest.entry:type_name -> filer_pb.Entry
  4238. 6, // 14: filer_pb.UpdateEntryRequest.entry:type_name -> filer_pb.Entry
  4239. 9, // 15: filer_pb.AppendToEntryRequest.chunks:type_name -> filer_pb.FileChunk
  4240. 8, // 16: filer_pb.StreamRenameEntryResponse.event_notification:type_name -> filer_pb.EventNotification
  4241. 29, // 17: filer_pb.AssignVolumeResponse.location:type_name -> filer_pb.Location
  4242. 29, // 18: filer_pb.Locations.locations:type_name -> filer_pb.Location
  4243. 68, // 19: filer_pb.LookupVolumeResponse.locations_map:type_name -> filer_pb.LookupVolumeResponse.LocationsMapEntry
  4244. 31, // 20: filer_pb.CollectionListResponse.collections:type_name -> filer_pb.Collection
  4245. 8, // 21: filer_pb.SubscribeMetadataResponse.event_notification:type_name -> filer_pb.EventNotification
  4246. 6, // 22: filer_pb.TraverseBfsMetadataResponse.entry:type_name -> filer_pb.Entry
  4247. 69, // 23: filer_pb.LocateBrokerResponse.resources:type_name -> filer_pb.LocateBrokerResponse.Resource
  4248. 70, // 24: filer_pb.FilerConf.locations:type_name -> filer_pb.FilerConf.PathConf
  4249. 6, // 25: filer_pb.CacheRemoteObjectToLocalClusterResponse.entry:type_name -> filer_pb.Entry
  4250. 64, // 26: filer_pb.TransferLocksRequest.locks:type_name -> filer_pb.Lock
  4251. 28, // 27: filer_pb.LookupVolumeResponse.LocationsMapEntry.value:type_name -> filer_pb.Locations
  4252. 1, // 28: filer_pb.SeaweedFiler.LookupDirectoryEntry:input_type -> filer_pb.LookupDirectoryEntryRequest
  4253. 3, // 29: filer_pb.SeaweedFiler.ListEntries:input_type -> filer_pb.ListEntriesRequest
  4254. 13, // 30: filer_pb.SeaweedFiler.CreateEntry:input_type -> filer_pb.CreateEntryRequest
  4255. 15, // 31: filer_pb.SeaweedFiler.UpdateEntry:input_type -> filer_pb.UpdateEntryRequest
  4256. 17, // 32: filer_pb.SeaweedFiler.AppendToEntry:input_type -> filer_pb.AppendToEntryRequest
  4257. 19, // 33: filer_pb.SeaweedFiler.DeleteEntry:input_type -> filer_pb.DeleteEntryRequest
  4258. 21, // 34: filer_pb.SeaweedFiler.AtomicRenameEntry:input_type -> filer_pb.AtomicRenameEntryRequest
  4259. 23, // 35: filer_pb.SeaweedFiler.StreamRenameEntry:input_type -> filer_pb.StreamRenameEntryRequest
  4260. 25, // 36: filer_pb.SeaweedFiler.AssignVolume:input_type -> filer_pb.AssignVolumeRequest
  4261. 27, // 37: filer_pb.SeaweedFiler.LookupVolume:input_type -> filer_pb.LookupVolumeRequest
  4262. 32, // 38: filer_pb.SeaweedFiler.CollectionList:input_type -> filer_pb.CollectionListRequest
  4263. 34, // 39: filer_pb.SeaweedFiler.DeleteCollection:input_type -> filer_pb.DeleteCollectionRequest
  4264. 36, // 40: filer_pb.SeaweedFiler.Statistics:input_type -> filer_pb.StatisticsRequest
  4265. 38, // 41: filer_pb.SeaweedFiler.Ping:input_type -> filer_pb.PingRequest
  4266. 40, // 42: filer_pb.SeaweedFiler.GetFilerConfiguration:input_type -> filer_pb.GetFilerConfigurationRequest
  4267. 44, // 43: filer_pb.SeaweedFiler.TraverseBfsMetadata:input_type -> filer_pb.TraverseBfsMetadataRequest
  4268. 42, // 44: filer_pb.SeaweedFiler.SubscribeMetadata:input_type -> filer_pb.SubscribeMetadataRequest
  4269. 42, // 45: filer_pb.SeaweedFiler.SubscribeLocalMetadata:input_type -> filer_pb.SubscribeMetadataRequest
  4270. 51, // 46: filer_pb.SeaweedFiler.KvGet:input_type -> filer_pb.KvGetRequest
  4271. 53, // 47: filer_pb.SeaweedFiler.KvPut:input_type -> filer_pb.KvPutRequest
  4272. 56, // 48: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:input_type -> filer_pb.CacheRemoteObjectToLocalClusterRequest
  4273. 58, // 49: filer_pb.SeaweedFiler.DistributedLock:input_type -> filer_pb.LockRequest
  4274. 60, // 50: filer_pb.SeaweedFiler.DistributedUnlock:input_type -> filer_pb.UnlockRequest
  4275. 62, // 51: filer_pb.SeaweedFiler.FindLockOwner:input_type -> filer_pb.FindLockOwnerRequest
  4276. 65, // 52: filer_pb.SeaweedFiler.TransferLocks:input_type -> filer_pb.TransferLocksRequest
  4277. 2, // 53: filer_pb.SeaweedFiler.LookupDirectoryEntry:output_type -> filer_pb.LookupDirectoryEntryResponse
  4278. 4, // 54: filer_pb.SeaweedFiler.ListEntries:output_type -> filer_pb.ListEntriesResponse
  4279. 14, // 55: filer_pb.SeaweedFiler.CreateEntry:output_type -> filer_pb.CreateEntryResponse
  4280. 16, // 56: filer_pb.SeaweedFiler.UpdateEntry:output_type -> filer_pb.UpdateEntryResponse
  4281. 18, // 57: filer_pb.SeaweedFiler.AppendToEntry:output_type -> filer_pb.AppendToEntryResponse
  4282. 20, // 58: filer_pb.SeaweedFiler.DeleteEntry:output_type -> filer_pb.DeleteEntryResponse
  4283. 22, // 59: filer_pb.SeaweedFiler.AtomicRenameEntry:output_type -> filer_pb.AtomicRenameEntryResponse
  4284. 24, // 60: filer_pb.SeaweedFiler.StreamRenameEntry:output_type -> filer_pb.StreamRenameEntryResponse
  4285. 26, // 61: filer_pb.SeaweedFiler.AssignVolume:output_type -> filer_pb.AssignVolumeResponse
  4286. 30, // 62: filer_pb.SeaweedFiler.LookupVolume:output_type -> filer_pb.LookupVolumeResponse
  4287. 33, // 63: filer_pb.SeaweedFiler.CollectionList:output_type -> filer_pb.CollectionListResponse
  4288. 35, // 64: filer_pb.SeaweedFiler.DeleteCollection:output_type -> filer_pb.DeleteCollectionResponse
  4289. 37, // 65: filer_pb.SeaweedFiler.Statistics:output_type -> filer_pb.StatisticsResponse
  4290. 39, // 66: filer_pb.SeaweedFiler.Ping:output_type -> filer_pb.PingResponse
  4291. 41, // 67: filer_pb.SeaweedFiler.GetFilerConfiguration:output_type -> filer_pb.GetFilerConfigurationResponse
  4292. 45, // 68: filer_pb.SeaweedFiler.TraverseBfsMetadata:output_type -> filer_pb.TraverseBfsMetadataResponse
  4293. 43, // 69: filer_pb.SeaweedFiler.SubscribeMetadata:output_type -> filer_pb.SubscribeMetadataResponse
  4294. 43, // 70: filer_pb.SeaweedFiler.SubscribeLocalMetadata:output_type -> filer_pb.SubscribeMetadataResponse
  4295. 52, // 71: filer_pb.SeaweedFiler.KvGet:output_type -> filer_pb.KvGetResponse
  4296. 54, // 72: filer_pb.SeaweedFiler.KvPut:output_type -> filer_pb.KvPutResponse
  4297. 57, // 73: filer_pb.SeaweedFiler.CacheRemoteObjectToLocalCluster:output_type -> filer_pb.CacheRemoteObjectToLocalClusterResponse
  4298. 59, // 74: filer_pb.SeaweedFiler.DistributedLock:output_type -> filer_pb.LockResponse
  4299. 61, // 75: filer_pb.SeaweedFiler.DistributedUnlock:output_type -> filer_pb.UnlockResponse
  4300. 63, // 76: filer_pb.SeaweedFiler.FindLockOwner:output_type -> filer_pb.FindLockOwnerResponse
  4301. 66, // 77: filer_pb.SeaweedFiler.TransferLocks:output_type -> filer_pb.TransferLocksResponse
  4302. 53, // [53:78] is the sub-list for method output_type
  4303. 28, // [28:53] is the sub-list for method input_type
  4304. 28, // [28:28] is the sub-list for extension type_name
  4305. 28, // [28:28] is the sub-list for extension extendee
  4306. 0, // [0:28] is the sub-list for field type_name
  4307. }
  4308. func init() { file_filer_proto_init() }
  4309. func file_filer_proto_init() {
  4310. if File_filer_proto != nil {
  4311. return
  4312. }
  4313. type x struct{}
  4314. out := protoimpl.TypeBuilder{
  4315. File: protoimpl.DescBuilder{
  4316. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  4317. RawDescriptor: unsafe.Slice(unsafe.StringData(file_filer_proto_rawDesc), len(file_filer_proto_rawDesc)),
  4318. NumEnums: 1,
  4319. NumMessages: 70,
  4320. NumExtensions: 0,
  4321. NumServices: 1,
  4322. },
  4323. GoTypes: file_filer_proto_goTypes,
  4324. DependencyIndexes: file_filer_proto_depIdxs,
  4325. EnumInfos: file_filer_proto_enumTypes,
  4326. MessageInfos: file_filer_proto_msgTypes,
  4327. }.Build()
  4328. File_filer_proto = out.File
  4329. file_filer_proto_goTypes = nil
  4330. file_filer_proto_depIdxs = nil
  4331. }