123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.26.0
- // protoc v3.15.5
- // source: validate/validate.proto
- package validate
- import (
- protoreflect "google.golang.org/protobuf/reflect/protoreflect"
- protoimpl "google.golang.org/protobuf/runtime/protoimpl"
- descriptorpb "google.golang.org/protobuf/types/descriptorpb"
- durationpb "google.golang.org/protobuf/types/known/durationpb"
- timestamppb "google.golang.org/protobuf/types/known/timestamppb"
- reflect "reflect"
- sync "sync"
- )
- const (
- // Verify that this generated code is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
- // Verify that runtime/protoimpl is sufficiently up-to-date.
- _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
- )
- // WellKnownRegex contain some well-known patterns.
- type KnownRegex int32
- const (
- KnownRegex_UNKNOWN KnownRegex = 0
- // HTTP header name as defined by RFC 7230.
- KnownRegex_HTTP_HEADER_NAME KnownRegex = 1
- // HTTP header value as defined by RFC 7230.
- KnownRegex_HTTP_HEADER_VALUE KnownRegex = 2
- )
- // Enum value maps for KnownRegex.
- var (
- KnownRegex_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "HTTP_HEADER_NAME",
- 2: "HTTP_HEADER_VALUE",
- }
- KnownRegex_value = map[string]int32{
- "UNKNOWN": 0,
- "HTTP_HEADER_NAME": 1,
- "HTTP_HEADER_VALUE": 2,
- }
- )
- func (x KnownRegex) Enum() *KnownRegex {
- p := new(KnownRegex)
- *p = x
- return p
- }
- func (x KnownRegex) String() string {
- return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
- }
- func (KnownRegex) Descriptor() protoreflect.EnumDescriptor {
- return file_validate_validate_proto_enumTypes[0].Descriptor()
- }
- func (KnownRegex) Type() protoreflect.EnumType {
- return &file_validate_validate_proto_enumTypes[0]
- }
- func (x KnownRegex) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(x)
- }
- // Deprecated: Do not use.
- func (x *KnownRegex) UnmarshalJSON(b []byte) error {
- num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
- if err != nil {
- return err
- }
- *x = KnownRegex(num)
- return nil
- }
- // Deprecated: Use KnownRegex.Descriptor instead.
- func (KnownRegex) EnumDescriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{0}
- }
- // FieldRules encapsulates the rules for each type of field. Depending on the
- // field, the correct set should be used to ensure proper validations.
- type FieldRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- Message *MessageRules `protobuf:"bytes,17,opt,name=message" json:"message,omitempty"`
- // Types that are assignable to Type:
- // *FieldRules_Float
- // *FieldRules_Double
- // *FieldRules_Int32
- // *FieldRules_Int64
- // *FieldRules_Uint32
- // *FieldRules_Uint64
- // *FieldRules_Sint32
- // *FieldRules_Sint64
- // *FieldRules_Fixed32
- // *FieldRules_Fixed64
- // *FieldRules_Sfixed32
- // *FieldRules_Sfixed64
- // *FieldRules_Bool
- // *FieldRules_String_
- // *FieldRules_Bytes
- // *FieldRules_Enum
- // *FieldRules_Repeated
- // *FieldRules_Map
- // *FieldRules_Any
- // *FieldRules_Duration
- // *FieldRules_Timestamp
- Type isFieldRules_Type `protobuf_oneof:"type"`
- }
- func (x *FieldRules) Reset() {
- *x = FieldRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FieldRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FieldRules) ProtoMessage() {}
- func (x *FieldRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[0]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FieldRules.ProtoReflect.Descriptor instead.
- func (*FieldRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{0}
- }
- func (x *FieldRules) GetMessage() *MessageRules {
- if x != nil {
- return x.Message
- }
- return nil
- }
- func (m *FieldRules) GetType() isFieldRules_Type {
- if m != nil {
- return m.Type
- }
- return nil
- }
- func (x *FieldRules) GetFloat() *FloatRules {
- if x, ok := x.GetType().(*FieldRules_Float); ok {
- return x.Float
- }
- return nil
- }
- func (x *FieldRules) GetDouble() *DoubleRules {
- if x, ok := x.GetType().(*FieldRules_Double); ok {
- return x.Double
- }
- return nil
- }
- func (x *FieldRules) GetInt32() *Int32Rules {
- if x, ok := x.GetType().(*FieldRules_Int32); ok {
- return x.Int32
- }
- return nil
- }
- func (x *FieldRules) GetInt64() *Int64Rules {
- if x, ok := x.GetType().(*FieldRules_Int64); ok {
- return x.Int64
- }
- return nil
- }
- func (x *FieldRules) GetUint32() *UInt32Rules {
- if x, ok := x.GetType().(*FieldRules_Uint32); ok {
- return x.Uint32
- }
- return nil
- }
- func (x *FieldRules) GetUint64() *UInt64Rules {
- if x, ok := x.GetType().(*FieldRules_Uint64); ok {
- return x.Uint64
- }
- return nil
- }
- func (x *FieldRules) GetSint32() *SInt32Rules {
- if x, ok := x.GetType().(*FieldRules_Sint32); ok {
- return x.Sint32
- }
- return nil
- }
- func (x *FieldRules) GetSint64() *SInt64Rules {
- if x, ok := x.GetType().(*FieldRules_Sint64); ok {
- return x.Sint64
- }
- return nil
- }
- func (x *FieldRules) GetFixed32() *Fixed32Rules {
- if x, ok := x.GetType().(*FieldRules_Fixed32); ok {
- return x.Fixed32
- }
- return nil
- }
- func (x *FieldRules) GetFixed64() *Fixed64Rules {
- if x, ok := x.GetType().(*FieldRules_Fixed64); ok {
- return x.Fixed64
- }
- return nil
- }
- func (x *FieldRules) GetSfixed32() *SFixed32Rules {
- if x, ok := x.GetType().(*FieldRules_Sfixed32); ok {
- return x.Sfixed32
- }
- return nil
- }
- func (x *FieldRules) GetSfixed64() *SFixed64Rules {
- if x, ok := x.GetType().(*FieldRules_Sfixed64); ok {
- return x.Sfixed64
- }
- return nil
- }
- func (x *FieldRules) GetBool() *BoolRules {
- if x, ok := x.GetType().(*FieldRules_Bool); ok {
- return x.Bool
- }
- return nil
- }
- func (x *FieldRules) GetString_() *StringRules {
- if x, ok := x.GetType().(*FieldRules_String_); ok {
- return x.String_
- }
- return nil
- }
- func (x *FieldRules) GetBytes() *BytesRules {
- if x, ok := x.GetType().(*FieldRules_Bytes); ok {
- return x.Bytes
- }
- return nil
- }
- func (x *FieldRules) GetEnum() *EnumRules {
- if x, ok := x.GetType().(*FieldRules_Enum); ok {
- return x.Enum
- }
- return nil
- }
- func (x *FieldRules) GetRepeated() *RepeatedRules {
- if x, ok := x.GetType().(*FieldRules_Repeated); ok {
- return x.Repeated
- }
- return nil
- }
- func (x *FieldRules) GetMap() *MapRules {
- if x, ok := x.GetType().(*FieldRules_Map); ok {
- return x.Map
- }
- return nil
- }
- func (x *FieldRules) GetAny() *AnyRules {
- if x, ok := x.GetType().(*FieldRules_Any); ok {
- return x.Any
- }
- return nil
- }
- func (x *FieldRules) GetDuration() *DurationRules {
- if x, ok := x.GetType().(*FieldRules_Duration); ok {
- return x.Duration
- }
- return nil
- }
- func (x *FieldRules) GetTimestamp() *TimestampRules {
- if x, ok := x.GetType().(*FieldRules_Timestamp); ok {
- return x.Timestamp
- }
- return nil
- }
- type isFieldRules_Type interface {
- isFieldRules_Type()
- }
- type FieldRules_Float struct {
- // Scalar Field Types
- Float *FloatRules `protobuf:"bytes,1,opt,name=float,oneof"`
- }
- type FieldRules_Double struct {
- Double *DoubleRules `protobuf:"bytes,2,opt,name=double,oneof"`
- }
- type FieldRules_Int32 struct {
- Int32 *Int32Rules `protobuf:"bytes,3,opt,name=int32,oneof"`
- }
- type FieldRules_Int64 struct {
- Int64 *Int64Rules `protobuf:"bytes,4,opt,name=int64,oneof"`
- }
- type FieldRules_Uint32 struct {
- Uint32 *UInt32Rules `protobuf:"bytes,5,opt,name=uint32,oneof"`
- }
- type FieldRules_Uint64 struct {
- Uint64 *UInt64Rules `protobuf:"bytes,6,opt,name=uint64,oneof"`
- }
- type FieldRules_Sint32 struct {
- Sint32 *SInt32Rules `protobuf:"bytes,7,opt,name=sint32,oneof"`
- }
- type FieldRules_Sint64 struct {
- Sint64 *SInt64Rules `protobuf:"bytes,8,opt,name=sint64,oneof"`
- }
- type FieldRules_Fixed32 struct {
- Fixed32 *Fixed32Rules `protobuf:"bytes,9,opt,name=fixed32,oneof"`
- }
- type FieldRules_Fixed64 struct {
- Fixed64 *Fixed64Rules `protobuf:"bytes,10,opt,name=fixed64,oneof"`
- }
- type FieldRules_Sfixed32 struct {
- Sfixed32 *SFixed32Rules `protobuf:"bytes,11,opt,name=sfixed32,oneof"`
- }
- type FieldRules_Sfixed64 struct {
- Sfixed64 *SFixed64Rules `protobuf:"bytes,12,opt,name=sfixed64,oneof"`
- }
- type FieldRules_Bool struct {
- Bool *BoolRules `protobuf:"bytes,13,opt,name=bool,oneof"`
- }
- type FieldRules_String_ struct {
- String_ *StringRules `protobuf:"bytes,14,opt,name=string,oneof"`
- }
- type FieldRules_Bytes struct {
- Bytes *BytesRules `protobuf:"bytes,15,opt,name=bytes,oneof"`
- }
- type FieldRules_Enum struct {
- // Complex Field Types
- Enum *EnumRules `protobuf:"bytes,16,opt,name=enum,oneof"`
- }
- type FieldRules_Repeated struct {
- Repeated *RepeatedRules `protobuf:"bytes,18,opt,name=repeated,oneof"`
- }
- type FieldRules_Map struct {
- Map *MapRules `protobuf:"bytes,19,opt,name=map,oneof"`
- }
- type FieldRules_Any struct {
- // Well-Known Field Types
- Any *AnyRules `protobuf:"bytes,20,opt,name=any,oneof"`
- }
- type FieldRules_Duration struct {
- Duration *DurationRules `protobuf:"bytes,21,opt,name=duration,oneof"`
- }
- type FieldRules_Timestamp struct {
- Timestamp *TimestampRules `protobuf:"bytes,22,opt,name=timestamp,oneof"`
- }
- func (*FieldRules_Float) isFieldRules_Type() {}
- func (*FieldRules_Double) isFieldRules_Type() {}
- func (*FieldRules_Int32) isFieldRules_Type() {}
- func (*FieldRules_Int64) isFieldRules_Type() {}
- func (*FieldRules_Uint32) isFieldRules_Type() {}
- func (*FieldRules_Uint64) isFieldRules_Type() {}
- func (*FieldRules_Sint32) isFieldRules_Type() {}
- func (*FieldRules_Sint64) isFieldRules_Type() {}
- func (*FieldRules_Fixed32) isFieldRules_Type() {}
- func (*FieldRules_Fixed64) isFieldRules_Type() {}
- func (*FieldRules_Sfixed32) isFieldRules_Type() {}
- func (*FieldRules_Sfixed64) isFieldRules_Type() {}
- func (*FieldRules_Bool) isFieldRules_Type() {}
- func (*FieldRules_String_) isFieldRules_Type() {}
- func (*FieldRules_Bytes) isFieldRules_Type() {}
- func (*FieldRules_Enum) isFieldRules_Type() {}
- func (*FieldRules_Repeated) isFieldRules_Type() {}
- func (*FieldRules_Map) isFieldRules_Type() {}
- func (*FieldRules_Any) isFieldRules_Type() {}
- func (*FieldRules_Duration) isFieldRules_Type() {}
- func (*FieldRules_Timestamp) isFieldRules_Type() {}
- // FloatRules describes the constraints applied to `float` values
- type FloatRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *float32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *float32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *float32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *float32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *float32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []float32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []float32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *FloatRules) Reset() {
- *x = FloatRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[1]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *FloatRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*FloatRules) ProtoMessage() {}
- func (x *FloatRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[1]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use FloatRules.ProtoReflect.Descriptor instead.
- func (*FloatRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{1}
- }
- func (x *FloatRules) GetConst() float32 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *FloatRules) GetLt() float32 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *FloatRules) GetLte() float32 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *FloatRules) GetGt() float32 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *FloatRules) GetGte() float32 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *FloatRules) GetIn() []float32 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *FloatRules) GetNotIn() []float32 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *FloatRules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // DoubleRules describes the constraints applied to `double` values
- type DoubleRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *float64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *float64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *float64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *float64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *float64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []float64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []float64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *DoubleRules) Reset() {
- *x = DoubleRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[2]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DoubleRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DoubleRules) ProtoMessage() {}
- func (x *DoubleRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[2]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DoubleRules.ProtoReflect.Descriptor instead.
- func (*DoubleRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{2}
- }
- func (x *DoubleRules) GetConst() float64 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *DoubleRules) GetLt() float64 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *DoubleRules) GetLte() float64 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *DoubleRules) GetGt() float64 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *DoubleRules) GetGte() float64 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *DoubleRules) GetIn() []float64 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *DoubleRules) GetNotIn() []float64 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *DoubleRules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // Int32Rules describes the constraints applied to `int32` values
- type Int32Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *int32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *int32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *int32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *int32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []int32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []int32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *Int32Rules) Reset() {
- *x = Int32Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[3]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Int32Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Int32Rules) ProtoMessage() {}
- func (x *Int32Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[3]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Int32Rules.ProtoReflect.Descriptor instead.
- func (*Int32Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{3}
- }
- func (x *Int32Rules) GetConst() int32 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *Int32Rules) GetLt() int32 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *Int32Rules) GetLte() int32 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *Int32Rules) GetGt() int32 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *Int32Rules) GetGte() int32 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *Int32Rules) GetIn() []int32 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *Int32Rules) GetNotIn() []int32 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *Int32Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // Int64Rules describes the constraints applied to `int64` values
- type Int64Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *int64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *int64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *int64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *int64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *int64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []int64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []int64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *Int64Rules) Reset() {
- *x = Int64Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[4]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Int64Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Int64Rules) ProtoMessage() {}
- func (x *Int64Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[4]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Int64Rules.ProtoReflect.Descriptor instead.
- func (*Int64Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{4}
- }
- func (x *Int64Rules) GetConst() int64 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *Int64Rules) GetLt() int64 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *Int64Rules) GetLte() int64 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *Int64Rules) GetGt() int64 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *Int64Rules) GetGte() int64 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *Int64Rules) GetIn() []int64 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *Int64Rules) GetNotIn() []int64 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *Int64Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // UInt32Rules describes the constraints applied to `uint32` values
- type UInt32Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *uint32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *uint32 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *uint32 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *uint32 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *uint32 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []uint32 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []uint32 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *UInt32Rules) Reset() {
- *x = UInt32Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[5]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UInt32Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UInt32Rules) ProtoMessage() {}
- func (x *UInt32Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[5]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UInt32Rules.ProtoReflect.Descriptor instead.
- func (*UInt32Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{5}
- }
- func (x *UInt32Rules) GetConst() uint32 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *UInt32Rules) GetLt() uint32 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *UInt32Rules) GetLte() uint32 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *UInt32Rules) GetGt() uint32 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *UInt32Rules) GetGte() uint32 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *UInt32Rules) GetIn() []uint32 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *UInt32Rules) GetNotIn() []uint32 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *UInt32Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // UInt64Rules describes the constraints applied to `uint64` values
- type UInt64Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *uint64 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *uint64 `protobuf:"varint,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *uint64 `protobuf:"varint,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *uint64 `protobuf:"varint,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *uint64 `protobuf:"varint,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []uint64 `protobuf:"varint,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []uint64 `protobuf:"varint,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *UInt64Rules) Reset() {
- *x = UInt64Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[6]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *UInt64Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UInt64Rules) ProtoMessage() {}
- func (x *UInt64Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[6]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use UInt64Rules.ProtoReflect.Descriptor instead.
- func (*UInt64Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{6}
- }
- func (x *UInt64Rules) GetConst() uint64 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *UInt64Rules) GetLt() uint64 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *UInt64Rules) GetLte() uint64 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *UInt64Rules) GetGt() uint64 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *UInt64Rules) GetGte() uint64 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *UInt64Rules) GetIn() []uint64 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *UInt64Rules) GetNotIn() []uint64 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *UInt64Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // SInt32Rules describes the constraints applied to `sint32` values
- type SInt32Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *int32 `protobuf:"zigzag32,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *int32 `protobuf:"zigzag32,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *int32 `protobuf:"zigzag32,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *int32 `protobuf:"zigzag32,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *int32 `protobuf:"zigzag32,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []int32 `protobuf:"zigzag32,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []int32 `protobuf:"zigzag32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *SInt32Rules) Reset() {
- *x = SInt32Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[7]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SInt32Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SInt32Rules) ProtoMessage() {}
- func (x *SInt32Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[7]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SInt32Rules.ProtoReflect.Descriptor instead.
- func (*SInt32Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{7}
- }
- func (x *SInt32Rules) GetConst() int32 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *SInt32Rules) GetLt() int32 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *SInt32Rules) GetLte() int32 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *SInt32Rules) GetGt() int32 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *SInt32Rules) GetGte() int32 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *SInt32Rules) GetIn() []int32 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *SInt32Rules) GetNotIn() []int32 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *SInt32Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // SInt64Rules describes the constraints applied to `sint64` values
- type SInt64Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *int64 `protobuf:"zigzag64,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *int64 `protobuf:"zigzag64,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *int64 `protobuf:"zigzag64,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *int64 `protobuf:"zigzag64,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *int64 `protobuf:"zigzag64,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []int64 `protobuf:"zigzag64,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []int64 `protobuf:"zigzag64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *SInt64Rules) Reset() {
- *x = SInt64Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[8]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SInt64Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SInt64Rules) ProtoMessage() {}
- func (x *SInt64Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[8]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SInt64Rules.ProtoReflect.Descriptor instead.
- func (*SInt64Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{8}
- }
- func (x *SInt64Rules) GetConst() int64 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *SInt64Rules) GetLt() int64 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *SInt64Rules) GetLte() int64 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *SInt64Rules) GetGt() int64 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *SInt64Rules) GetGte() int64 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *SInt64Rules) GetIn() []int64 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *SInt64Rules) GetNotIn() []int64 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *SInt64Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // Fixed32Rules describes the constraints applied to `fixed32` values
- type Fixed32Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *uint32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *uint32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *uint32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *uint32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *uint32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []uint32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []uint32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *Fixed32Rules) Reset() {
- *x = Fixed32Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[9]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Fixed32Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Fixed32Rules) ProtoMessage() {}
- func (x *Fixed32Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[9]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Fixed32Rules.ProtoReflect.Descriptor instead.
- func (*Fixed32Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{9}
- }
- func (x *Fixed32Rules) GetConst() uint32 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *Fixed32Rules) GetLt() uint32 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *Fixed32Rules) GetLte() uint32 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *Fixed32Rules) GetGt() uint32 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *Fixed32Rules) GetGte() uint32 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *Fixed32Rules) GetIn() []uint32 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *Fixed32Rules) GetNotIn() []uint32 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *Fixed32Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // Fixed64Rules describes the constraints applied to `fixed64` values
- type Fixed64Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *uint64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *uint64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *uint64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *uint64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *uint64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []uint64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []uint64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *Fixed64Rules) Reset() {
- *x = Fixed64Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[10]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *Fixed64Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*Fixed64Rules) ProtoMessage() {}
- func (x *Fixed64Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[10]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use Fixed64Rules.ProtoReflect.Descriptor instead.
- func (*Fixed64Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{10}
- }
- func (x *Fixed64Rules) GetConst() uint64 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *Fixed64Rules) GetLt() uint64 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *Fixed64Rules) GetLte() uint64 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *Fixed64Rules) GetGt() uint64 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *Fixed64Rules) GetGte() uint64 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *Fixed64Rules) GetIn() []uint64 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *Fixed64Rules) GetNotIn() []uint64 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *Fixed64Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // SFixed32Rules describes the constraints applied to `sfixed32` values
- type SFixed32Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *int32 `protobuf:"fixed32,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *int32 `protobuf:"fixed32,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *int32 `protobuf:"fixed32,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *int32 `protobuf:"fixed32,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *int32 `protobuf:"fixed32,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []int32 `protobuf:"fixed32,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []int32 `protobuf:"fixed32,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *SFixed32Rules) Reset() {
- *x = SFixed32Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[11]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SFixed32Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SFixed32Rules) ProtoMessage() {}
- func (x *SFixed32Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[11]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SFixed32Rules.ProtoReflect.Descriptor instead.
- func (*SFixed32Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{11}
- }
- func (x *SFixed32Rules) GetConst() int32 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *SFixed32Rules) GetLt() int32 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *SFixed32Rules) GetLte() int32 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *SFixed32Rules) GetGt() int32 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *SFixed32Rules) GetGte() int32 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *SFixed32Rules) GetIn() []int32 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *SFixed32Rules) GetNotIn() []int32 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *SFixed32Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // SFixed64Rules describes the constraints applied to `sfixed64` values
- type SFixed64Rules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *int64 `protobuf:"fixed64,1,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *int64 `protobuf:"fixed64,2,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than or equal to the
- // specified value, inclusive
- Lte *int64 `protobuf:"fixed64,3,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive. If the value of Gt is larger than a specified Lt or Lte, the
- // range is reversed.
- Gt *int64 `protobuf:"fixed64,4,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than or equal to the
- // specified value, inclusive. If the value of Gte is larger than a
- // specified Lt or Lte, the range is reversed.
- Gte *int64 `protobuf:"fixed64,5,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []int64 `protobuf:"fixed64,6,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []int64 `protobuf:"fixed64,7,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,8,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *SFixed64Rules) Reset() {
- *x = SFixed64Rules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[12]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *SFixed64Rules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*SFixed64Rules) ProtoMessage() {}
- func (x *SFixed64Rules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[12]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use SFixed64Rules.ProtoReflect.Descriptor instead.
- func (*SFixed64Rules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{12}
- }
- func (x *SFixed64Rules) GetConst() int64 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *SFixed64Rules) GetLt() int64 {
- if x != nil && x.Lt != nil {
- return *x.Lt
- }
- return 0
- }
- func (x *SFixed64Rules) GetLte() int64 {
- if x != nil && x.Lte != nil {
- return *x.Lte
- }
- return 0
- }
- func (x *SFixed64Rules) GetGt() int64 {
- if x != nil && x.Gt != nil {
- return *x.Gt
- }
- return 0
- }
- func (x *SFixed64Rules) GetGte() int64 {
- if x != nil && x.Gte != nil {
- return *x.Gte
- }
- return 0
- }
- func (x *SFixed64Rules) GetIn() []int64 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *SFixed64Rules) GetNotIn() []int64 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (x *SFixed64Rules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // BoolRules describes the constraints applied to `bool` values
- type BoolRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *bool `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
- }
- func (x *BoolRules) Reset() {
- *x = BoolRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[13]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *BoolRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BoolRules) ProtoMessage() {}
- func (x *BoolRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[13]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BoolRules.ProtoReflect.Descriptor instead.
- func (*BoolRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{13}
- }
- func (x *BoolRules) GetConst() bool {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return false
- }
- // StringRules describe the constraints applied to `string` values
- type StringRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *string `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"`
- // Len specifies that this field must be the specified number of
- // characters (Unicode code points). Note that the number of
- // characters may differ from the number of bytes in the string.
- Len *uint64 `protobuf:"varint,19,opt,name=len" json:"len,omitempty"`
- // MinLen specifies that this field must be the specified number of
- // characters (Unicode code points) at a minimum. Note that the number of
- // characters may differ from the number of bytes in the string.
- MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"`
- // MaxLen specifies that this field must be the specified number of
- // characters (Unicode code points) at a maximum. Note that the number of
- // characters may differ from the number of bytes in the string.
- MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"`
- // LenBytes specifies that this field must be the specified number of bytes
- // at a minimum
- LenBytes *uint64 `protobuf:"varint,20,opt,name=len_bytes,json=lenBytes" json:"len_bytes,omitempty"`
- // MinBytes specifies that this field must be the specified number of bytes
- // at a minimum
- MinBytes *uint64 `protobuf:"varint,4,opt,name=min_bytes,json=minBytes" json:"min_bytes,omitempty"`
- // MaxBytes specifies that this field must be the specified number of bytes
- // at a maximum
- MaxBytes *uint64 `protobuf:"varint,5,opt,name=max_bytes,json=maxBytes" json:"max_bytes,omitempty"`
- // Pattern specifes that this field must match against the specified
- // regular expression (RE2 syntax). The included expression should elide
- // any delimiters.
- Pattern *string `protobuf:"bytes,6,opt,name=pattern" json:"pattern,omitempty"`
- // Prefix specifies that this field must have the specified substring at
- // the beginning of the string.
- Prefix *string `protobuf:"bytes,7,opt,name=prefix" json:"prefix,omitempty"`
- // Suffix specifies that this field must have the specified substring at
- // the end of the string.
- Suffix *string `protobuf:"bytes,8,opt,name=suffix" json:"suffix,omitempty"`
- // Contains specifies that this field must have the specified substring
- // anywhere in the string.
- Contains *string `protobuf:"bytes,9,opt,name=contains" json:"contains,omitempty"`
- // NotContains specifies that this field cannot have the specified substring
- // anywhere in the string.
- NotContains *string `protobuf:"bytes,23,opt,name=not_contains,json=notContains" json:"not_contains,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []string `protobuf:"bytes,10,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []string `protobuf:"bytes,11,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // WellKnown rules provide advanced constraints against common string
- // patterns
- //
- // Types that are assignable to WellKnown:
- // *StringRules_Email
- // *StringRules_Hostname
- // *StringRules_Ip
- // *StringRules_Ipv4
- // *StringRules_Ipv6
- // *StringRules_Uri
- // *StringRules_UriRef
- // *StringRules_Address
- // *StringRules_Uuid
- // *StringRules_WellKnownRegex
- WellKnown isStringRules_WellKnown `protobuf_oneof:"well_known"`
- // This applies to regexes HTTP_HEADER_NAME and HTTP_HEADER_VALUE to enable
- // strict header validation.
- // By default, this is true, and HTTP header validations are RFC-compliant.
- // Setting to false will enable a looser validations that only disallows
- // \r\n\0 characters, which can be used to bypass header matching rules.
- Strict *bool `protobuf:"varint,25,opt,name=strict,def=1" json:"strict,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,26,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- // Default values for StringRules fields.
- const (
- Default_StringRules_Strict = bool(true)
- )
- func (x *StringRules) Reset() {
- *x = StringRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[14]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *StringRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*StringRules) ProtoMessage() {}
- func (x *StringRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[14]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use StringRules.ProtoReflect.Descriptor instead.
- func (*StringRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{14}
- }
- func (x *StringRules) GetConst() string {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return ""
- }
- func (x *StringRules) GetLen() uint64 {
- if x != nil && x.Len != nil {
- return *x.Len
- }
- return 0
- }
- func (x *StringRules) GetMinLen() uint64 {
- if x != nil && x.MinLen != nil {
- return *x.MinLen
- }
- return 0
- }
- func (x *StringRules) GetMaxLen() uint64 {
- if x != nil && x.MaxLen != nil {
- return *x.MaxLen
- }
- return 0
- }
- func (x *StringRules) GetLenBytes() uint64 {
- if x != nil && x.LenBytes != nil {
- return *x.LenBytes
- }
- return 0
- }
- func (x *StringRules) GetMinBytes() uint64 {
- if x != nil && x.MinBytes != nil {
- return *x.MinBytes
- }
- return 0
- }
- func (x *StringRules) GetMaxBytes() uint64 {
- if x != nil && x.MaxBytes != nil {
- return *x.MaxBytes
- }
- return 0
- }
- func (x *StringRules) GetPattern() string {
- if x != nil && x.Pattern != nil {
- return *x.Pattern
- }
- return ""
- }
- func (x *StringRules) GetPrefix() string {
- if x != nil && x.Prefix != nil {
- return *x.Prefix
- }
- return ""
- }
- func (x *StringRules) GetSuffix() string {
- if x != nil && x.Suffix != nil {
- return *x.Suffix
- }
- return ""
- }
- func (x *StringRules) GetContains() string {
- if x != nil && x.Contains != nil {
- return *x.Contains
- }
- return ""
- }
- func (x *StringRules) GetNotContains() string {
- if x != nil && x.NotContains != nil {
- return *x.NotContains
- }
- return ""
- }
- func (x *StringRules) GetIn() []string {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *StringRules) GetNotIn() []string {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (m *StringRules) GetWellKnown() isStringRules_WellKnown {
- if m != nil {
- return m.WellKnown
- }
- return nil
- }
- func (x *StringRules) GetEmail() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Email); ok {
- return x.Email
- }
- return false
- }
- func (x *StringRules) GetHostname() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Hostname); ok {
- return x.Hostname
- }
- return false
- }
- func (x *StringRules) GetIp() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Ip); ok {
- return x.Ip
- }
- return false
- }
- func (x *StringRules) GetIpv4() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Ipv4); ok {
- return x.Ipv4
- }
- return false
- }
- func (x *StringRules) GetIpv6() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Ipv6); ok {
- return x.Ipv6
- }
- return false
- }
- func (x *StringRules) GetUri() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Uri); ok {
- return x.Uri
- }
- return false
- }
- func (x *StringRules) GetUriRef() bool {
- if x, ok := x.GetWellKnown().(*StringRules_UriRef); ok {
- return x.UriRef
- }
- return false
- }
- func (x *StringRules) GetAddress() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Address); ok {
- return x.Address
- }
- return false
- }
- func (x *StringRules) GetUuid() bool {
- if x, ok := x.GetWellKnown().(*StringRules_Uuid); ok {
- return x.Uuid
- }
- return false
- }
- func (x *StringRules) GetWellKnownRegex() KnownRegex {
- if x, ok := x.GetWellKnown().(*StringRules_WellKnownRegex); ok {
- return x.WellKnownRegex
- }
- return KnownRegex_UNKNOWN
- }
- func (x *StringRules) GetStrict() bool {
- if x != nil && x.Strict != nil {
- return *x.Strict
- }
- return Default_StringRules_Strict
- }
- func (x *StringRules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- type isStringRules_WellKnown interface {
- isStringRules_WellKnown()
- }
- type StringRules_Email struct {
- // Email specifies that the field must be a valid email address as
- // defined by RFC 5322
- Email bool `protobuf:"varint,12,opt,name=email,oneof"`
- }
- type StringRules_Hostname struct {
- // Hostname specifies that the field must be a valid hostname as
- // defined by RFC 1034. This constraint does not support
- // internationalized domain names (IDNs).
- Hostname bool `protobuf:"varint,13,opt,name=hostname,oneof"`
- }
- type StringRules_Ip struct {
- // Ip specifies that the field must be a valid IP (v4 or v6) address.
- // Valid IPv6 addresses should not include surrounding square brackets.
- Ip bool `protobuf:"varint,14,opt,name=ip,oneof"`
- }
- type StringRules_Ipv4 struct {
- // Ipv4 specifies that the field must be a valid IPv4 address.
- Ipv4 bool `protobuf:"varint,15,opt,name=ipv4,oneof"`
- }
- type StringRules_Ipv6 struct {
- // Ipv6 specifies that the field must be a valid IPv6 address. Valid
- // IPv6 addresses should not include surrounding square brackets.
- Ipv6 bool `protobuf:"varint,16,opt,name=ipv6,oneof"`
- }
- type StringRules_Uri struct {
- // Uri specifies that the field must be a valid, absolute URI as defined
- // by RFC 3986
- Uri bool `protobuf:"varint,17,opt,name=uri,oneof"`
- }
- type StringRules_UriRef struct {
- // UriRef specifies that the field must be a valid URI as defined by RFC
- // 3986 and may be relative or absolute.
- UriRef bool `protobuf:"varint,18,opt,name=uri_ref,json=uriRef,oneof"`
- }
- type StringRules_Address struct {
- // Address specifies that the field must be either a valid hostname as
- // defined by RFC 1034 (which does not support internationalized domain
- // names or IDNs), or it can be a valid IP (v4 or v6).
- Address bool `protobuf:"varint,21,opt,name=address,oneof"`
- }
- type StringRules_Uuid struct {
- // Uuid specifies that the field must be a valid UUID as defined by
- // RFC 4122
- Uuid bool `protobuf:"varint,22,opt,name=uuid,oneof"`
- }
- type StringRules_WellKnownRegex struct {
- // WellKnownRegex specifies a common well known pattern defined as a regex.
- WellKnownRegex KnownRegex `protobuf:"varint,24,opt,name=well_known_regex,json=wellKnownRegex,enum=validate.KnownRegex,oneof"`
- }
- func (*StringRules_Email) isStringRules_WellKnown() {}
- func (*StringRules_Hostname) isStringRules_WellKnown() {}
- func (*StringRules_Ip) isStringRules_WellKnown() {}
- func (*StringRules_Ipv4) isStringRules_WellKnown() {}
- func (*StringRules_Ipv6) isStringRules_WellKnown() {}
- func (*StringRules_Uri) isStringRules_WellKnown() {}
- func (*StringRules_UriRef) isStringRules_WellKnown() {}
- func (*StringRules_Address) isStringRules_WellKnown() {}
- func (*StringRules_Uuid) isStringRules_WellKnown() {}
- func (*StringRules_WellKnownRegex) isStringRules_WellKnown() {}
- // BytesRules describe the constraints applied to `bytes` values
- type BytesRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const []byte `protobuf:"bytes,1,opt,name=const" json:"const,omitempty"`
- // Len specifies that this field must be the specified number of bytes
- Len *uint64 `protobuf:"varint,13,opt,name=len" json:"len,omitempty"`
- // MinLen specifies that this field must be the specified number of bytes
- // at a minimum
- MinLen *uint64 `protobuf:"varint,2,opt,name=min_len,json=minLen" json:"min_len,omitempty"`
- // MaxLen specifies that this field must be the specified number of bytes
- // at a maximum
- MaxLen *uint64 `protobuf:"varint,3,opt,name=max_len,json=maxLen" json:"max_len,omitempty"`
- // Pattern specifes that this field must match against the specified
- // regular expression (RE2 syntax). The included expression should elide
- // any delimiters.
- Pattern *string `protobuf:"bytes,4,opt,name=pattern" json:"pattern,omitempty"`
- // Prefix specifies that this field must have the specified bytes at the
- // beginning of the string.
- Prefix []byte `protobuf:"bytes,5,opt,name=prefix" json:"prefix,omitempty"`
- // Suffix specifies that this field must have the specified bytes at the
- // end of the string.
- Suffix []byte `protobuf:"bytes,6,opt,name=suffix" json:"suffix,omitempty"`
- // Contains specifies that this field must have the specified bytes
- // anywhere in the string.
- Contains []byte `protobuf:"bytes,7,opt,name=contains" json:"contains,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In [][]byte `protobuf:"bytes,8,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn [][]byte `protobuf:"bytes,9,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- // WellKnown rules provide advanced constraints against common byte
- // patterns
- //
- // Types that are assignable to WellKnown:
- // *BytesRules_Ip
- // *BytesRules_Ipv4
- // *BytesRules_Ipv6
- WellKnown isBytesRules_WellKnown `protobuf_oneof:"well_known"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,14,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *BytesRules) Reset() {
- *x = BytesRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[15]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *BytesRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*BytesRules) ProtoMessage() {}
- func (x *BytesRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[15]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use BytesRules.ProtoReflect.Descriptor instead.
- func (*BytesRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{15}
- }
- func (x *BytesRules) GetConst() []byte {
- if x != nil {
- return x.Const
- }
- return nil
- }
- func (x *BytesRules) GetLen() uint64 {
- if x != nil && x.Len != nil {
- return *x.Len
- }
- return 0
- }
- func (x *BytesRules) GetMinLen() uint64 {
- if x != nil && x.MinLen != nil {
- return *x.MinLen
- }
- return 0
- }
- func (x *BytesRules) GetMaxLen() uint64 {
- if x != nil && x.MaxLen != nil {
- return *x.MaxLen
- }
- return 0
- }
- func (x *BytesRules) GetPattern() string {
- if x != nil && x.Pattern != nil {
- return *x.Pattern
- }
- return ""
- }
- func (x *BytesRules) GetPrefix() []byte {
- if x != nil {
- return x.Prefix
- }
- return nil
- }
- func (x *BytesRules) GetSuffix() []byte {
- if x != nil {
- return x.Suffix
- }
- return nil
- }
- func (x *BytesRules) GetContains() []byte {
- if x != nil {
- return x.Contains
- }
- return nil
- }
- func (x *BytesRules) GetIn() [][]byte {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *BytesRules) GetNotIn() [][]byte {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- func (m *BytesRules) GetWellKnown() isBytesRules_WellKnown {
- if m != nil {
- return m.WellKnown
- }
- return nil
- }
- func (x *BytesRules) GetIp() bool {
- if x, ok := x.GetWellKnown().(*BytesRules_Ip); ok {
- return x.Ip
- }
- return false
- }
- func (x *BytesRules) GetIpv4() bool {
- if x, ok := x.GetWellKnown().(*BytesRules_Ipv4); ok {
- return x.Ipv4
- }
- return false
- }
- func (x *BytesRules) GetIpv6() bool {
- if x, ok := x.GetWellKnown().(*BytesRules_Ipv6); ok {
- return x.Ipv6
- }
- return false
- }
- func (x *BytesRules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- type isBytesRules_WellKnown interface {
- isBytesRules_WellKnown()
- }
- type BytesRules_Ip struct {
- // Ip specifies that the field must be a valid IP (v4 or v6) address in
- // byte format
- Ip bool `protobuf:"varint,10,opt,name=ip,oneof"`
- }
- type BytesRules_Ipv4 struct {
- // Ipv4 specifies that the field must be a valid IPv4 address in byte
- // format
- Ipv4 bool `protobuf:"varint,11,opt,name=ipv4,oneof"`
- }
- type BytesRules_Ipv6 struct {
- // Ipv6 specifies that the field must be a valid IPv6 address in byte
- // format
- Ipv6 bool `protobuf:"varint,12,opt,name=ipv6,oneof"`
- }
- func (*BytesRules_Ip) isBytesRules_WellKnown() {}
- func (*BytesRules_Ipv4) isBytesRules_WellKnown() {}
- func (*BytesRules_Ipv6) isBytesRules_WellKnown() {}
- // EnumRules describe the constraints applied to enum values
- type EnumRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Const specifies that this field must be exactly the specified value
- Const *int32 `protobuf:"varint,1,opt,name=const" json:"const,omitempty"`
- // DefinedOnly specifies that this field must be only one of the defined
- // values for this enum, failing on any undefined value.
- DefinedOnly *bool `protobuf:"varint,2,opt,name=defined_only,json=definedOnly" json:"defined_only,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []int32 `protobuf:"varint,3,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []int32 `protobuf:"varint,4,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- }
- func (x *EnumRules) Reset() {
- *x = EnumRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[16]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *EnumRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*EnumRules) ProtoMessage() {}
- func (x *EnumRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[16]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use EnumRules.ProtoReflect.Descriptor instead.
- func (*EnumRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{16}
- }
- func (x *EnumRules) GetConst() int32 {
- if x != nil && x.Const != nil {
- return *x.Const
- }
- return 0
- }
- func (x *EnumRules) GetDefinedOnly() bool {
- if x != nil && x.DefinedOnly != nil {
- return *x.DefinedOnly
- }
- return false
- }
- func (x *EnumRules) GetIn() []int32 {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *EnumRules) GetNotIn() []int32 {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- // MessageRules describe the constraints applied to embedded message values.
- // For message-type fields, validation is performed recursively.
- type MessageRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Skip specifies that the validation rules of this field should not be
- // evaluated
- Skip *bool `protobuf:"varint,1,opt,name=skip" json:"skip,omitempty"`
- // Required specifies that this field must be set
- Required *bool `protobuf:"varint,2,opt,name=required" json:"required,omitempty"`
- }
- func (x *MessageRules) Reset() {
- *x = MessageRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[17]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MessageRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MessageRules) ProtoMessage() {}
- func (x *MessageRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[17]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MessageRules.ProtoReflect.Descriptor instead.
- func (*MessageRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{17}
- }
- func (x *MessageRules) GetSkip() bool {
- if x != nil && x.Skip != nil {
- return *x.Skip
- }
- return false
- }
- func (x *MessageRules) GetRequired() bool {
- if x != nil && x.Required != nil {
- return *x.Required
- }
- return false
- }
- // RepeatedRules describe the constraints applied to `repeated` values
- type RepeatedRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // MinItems specifies that this field must have the specified number of
- // items at a minimum
- MinItems *uint64 `protobuf:"varint,1,opt,name=min_items,json=minItems" json:"min_items,omitempty"`
- // MaxItems specifies that this field must have the specified number of
- // items at a maximum
- MaxItems *uint64 `protobuf:"varint,2,opt,name=max_items,json=maxItems" json:"max_items,omitempty"`
- // Unique specifies that all elements in this field must be unique. This
- // contraint is only applicable to scalar and enum types (messages are not
- // supported).
- Unique *bool `protobuf:"varint,3,opt,name=unique" json:"unique,omitempty"`
- // Items specifies the contraints to be applied to each item in the field.
- // Repeated message fields will still execute validation against each item
- // unless skip is specified here.
- Items *FieldRules `protobuf:"bytes,4,opt,name=items" json:"items,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,5,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *RepeatedRules) Reset() {
- *x = RepeatedRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[18]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *RepeatedRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*RepeatedRules) ProtoMessage() {}
- func (x *RepeatedRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[18]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use RepeatedRules.ProtoReflect.Descriptor instead.
- func (*RepeatedRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{18}
- }
- func (x *RepeatedRules) GetMinItems() uint64 {
- if x != nil && x.MinItems != nil {
- return *x.MinItems
- }
- return 0
- }
- func (x *RepeatedRules) GetMaxItems() uint64 {
- if x != nil && x.MaxItems != nil {
- return *x.MaxItems
- }
- return 0
- }
- func (x *RepeatedRules) GetUnique() bool {
- if x != nil && x.Unique != nil {
- return *x.Unique
- }
- return false
- }
- func (x *RepeatedRules) GetItems() *FieldRules {
- if x != nil {
- return x.Items
- }
- return nil
- }
- func (x *RepeatedRules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // MapRules describe the constraints applied to `map` values
- type MapRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // MinPairs specifies that this field must have the specified number of
- // KVs at a minimum
- MinPairs *uint64 `protobuf:"varint,1,opt,name=min_pairs,json=minPairs" json:"min_pairs,omitempty"`
- // MaxPairs specifies that this field must have the specified number of
- // KVs at a maximum
- MaxPairs *uint64 `protobuf:"varint,2,opt,name=max_pairs,json=maxPairs" json:"max_pairs,omitempty"`
- // NoSparse specifies values in this field cannot be unset. This only
- // applies to map's with message value types.
- NoSparse *bool `protobuf:"varint,3,opt,name=no_sparse,json=noSparse" json:"no_sparse,omitempty"`
- // Keys specifies the constraints to be applied to each key in the field.
- Keys *FieldRules `protobuf:"bytes,4,opt,name=keys" json:"keys,omitempty"`
- // Values specifies the constraints to be applied to the value of each key
- // in the field. Message values will still have their validations evaluated
- // unless skip is specified here.
- Values *FieldRules `protobuf:"bytes,5,opt,name=values" json:"values,omitempty"`
- // IgnoreEmpty specifies that the validation rules of this field should be
- // evaluated only if the field is not empty
- IgnoreEmpty *bool `protobuf:"varint,6,opt,name=ignore_empty,json=ignoreEmpty" json:"ignore_empty,omitempty"`
- }
- func (x *MapRules) Reset() {
- *x = MapRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[19]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *MapRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*MapRules) ProtoMessage() {}
- func (x *MapRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[19]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use MapRules.ProtoReflect.Descriptor instead.
- func (*MapRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{19}
- }
- func (x *MapRules) GetMinPairs() uint64 {
- if x != nil && x.MinPairs != nil {
- return *x.MinPairs
- }
- return 0
- }
- func (x *MapRules) GetMaxPairs() uint64 {
- if x != nil && x.MaxPairs != nil {
- return *x.MaxPairs
- }
- return 0
- }
- func (x *MapRules) GetNoSparse() bool {
- if x != nil && x.NoSparse != nil {
- return *x.NoSparse
- }
- return false
- }
- func (x *MapRules) GetKeys() *FieldRules {
- if x != nil {
- return x.Keys
- }
- return nil
- }
- func (x *MapRules) GetValues() *FieldRules {
- if x != nil {
- return x.Values
- }
- return nil
- }
- func (x *MapRules) GetIgnoreEmpty() bool {
- if x != nil && x.IgnoreEmpty != nil {
- return *x.IgnoreEmpty
- }
- return false
- }
- // AnyRules describe constraints applied exclusively to the
- // `google.protobuf.Any` well-known type
- type AnyRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Required specifies that this field must be set
- Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
- // In specifies that this field's `type_url` must be equal to one of the
- // specified values.
- In []string `protobuf:"bytes,2,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field's `type_url` must not be equal to any of
- // the specified values.
- NotIn []string `protobuf:"bytes,3,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- }
- func (x *AnyRules) Reset() {
- *x = AnyRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[20]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *AnyRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*AnyRules) ProtoMessage() {}
- func (x *AnyRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[20]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use AnyRules.ProtoReflect.Descriptor instead.
- func (*AnyRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{20}
- }
- func (x *AnyRules) GetRequired() bool {
- if x != nil && x.Required != nil {
- return *x.Required
- }
- return false
- }
- func (x *AnyRules) GetIn() []string {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *AnyRules) GetNotIn() []string {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- // DurationRules describe the constraints applied exclusively to the
- // `google.protobuf.Duration` well-known type
- type DurationRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Required specifies that this field must be set
- Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
- // Const specifies that this field must be exactly the specified value
- Const *durationpb.Duration `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *durationpb.Duration `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // inclusive
- Lte *durationpb.Duration `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive
- Gt *durationpb.Duration `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than the specified value,
- // inclusive
- Gte *durationpb.Duration `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"`
- // In specifies that this field must be equal to one of the specified
- // values
- In []*durationpb.Duration `protobuf:"bytes,7,rep,name=in" json:"in,omitempty"`
- // NotIn specifies that this field cannot be equal to one of the specified
- // values
- NotIn []*durationpb.Duration `protobuf:"bytes,8,rep,name=not_in,json=notIn" json:"not_in,omitempty"`
- }
- func (x *DurationRules) Reset() {
- *x = DurationRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[21]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *DurationRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*DurationRules) ProtoMessage() {}
- func (x *DurationRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[21]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use DurationRules.ProtoReflect.Descriptor instead.
- func (*DurationRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{21}
- }
- func (x *DurationRules) GetRequired() bool {
- if x != nil && x.Required != nil {
- return *x.Required
- }
- return false
- }
- func (x *DurationRules) GetConst() *durationpb.Duration {
- if x != nil {
- return x.Const
- }
- return nil
- }
- func (x *DurationRules) GetLt() *durationpb.Duration {
- if x != nil {
- return x.Lt
- }
- return nil
- }
- func (x *DurationRules) GetLte() *durationpb.Duration {
- if x != nil {
- return x.Lte
- }
- return nil
- }
- func (x *DurationRules) GetGt() *durationpb.Duration {
- if x != nil {
- return x.Gt
- }
- return nil
- }
- func (x *DurationRules) GetGte() *durationpb.Duration {
- if x != nil {
- return x.Gte
- }
- return nil
- }
- func (x *DurationRules) GetIn() []*durationpb.Duration {
- if x != nil {
- return x.In
- }
- return nil
- }
- func (x *DurationRules) GetNotIn() []*durationpb.Duration {
- if x != nil {
- return x.NotIn
- }
- return nil
- }
- // TimestampRules describe the constraints applied exclusively to the
- // `google.protobuf.Timestamp` well-known type
- type TimestampRules struct {
- state protoimpl.MessageState
- sizeCache protoimpl.SizeCache
- unknownFields protoimpl.UnknownFields
- // Required specifies that this field must be set
- Required *bool `protobuf:"varint,1,opt,name=required" json:"required,omitempty"`
- // Const specifies that this field must be exactly the specified value
- Const *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=const" json:"const,omitempty"`
- // Lt specifies that this field must be less than the specified value,
- // exclusive
- Lt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=lt" json:"lt,omitempty"`
- // Lte specifies that this field must be less than the specified value,
- // inclusive
- Lte *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=lte" json:"lte,omitempty"`
- // Gt specifies that this field must be greater than the specified value,
- // exclusive
- Gt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=gt" json:"gt,omitempty"`
- // Gte specifies that this field must be greater than the specified value,
- // inclusive
- Gte *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=gte" json:"gte,omitempty"`
- // LtNow specifies that this must be less than the current time. LtNow
- // can only be used with the Within rule.
- LtNow *bool `protobuf:"varint,7,opt,name=lt_now,json=ltNow" json:"lt_now,omitempty"`
- // GtNow specifies that this must be greater than the current time. GtNow
- // can only be used with the Within rule.
- GtNow *bool `protobuf:"varint,8,opt,name=gt_now,json=gtNow" json:"gt_now,omitempty"`
- // Within specifies that this field must be within this duration of the
- // current time. This constraint can be used alone or with the LtNow and
- // GtNow rules.
- Within *durationpb.Duration `protobuf:"bytes,9,opt,name=within" json:"within,omitempty"`
- }
- func (x *TimestampRules) Reset() {
- *x = TimestampRules{}
- if protoimpl.UnsafeEnabled {
- mi := &file_validate_validate_proto_msgTypes[22]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- }
- func (x *TimestampRules) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*TimestampRules) ProtoMessage() {}
- func (x *TimestampRules) ProtoReflect() protoreflect.Message {
- mi := &file_validate_validate_proto_msgTypes[22]
- if protoimpl.UnsafeEnabled && x != nil {
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- if ms.LoadMessageInfo() == nil {
- ms.StoreMessageInfo(mi)
- }
- return ms
- }
- return mi.MessageOf(x)
- }
- // Deprecated: Use TimestampRules.ProtoReflect.Descriptor instead.
- func (*TimestampRules) Descriptor() ([]byte, []int) {
- return file_validate_validate_proto_rawDescGZIP(), []int{22}
- }
- func (x *TimestampRules) GetRequired() bool {
- if x != nil && x.Required != nil {
- return *x.Required
- }
- return false
- }
- func (x *TimestampRules) GetConst() *timestamppb.Timestamp {
- if x != nil {
- return x.Const
- }
- return nil
- }
- func (x *TimestampRules) GetLt() *timestamppb.Timestamp {
- if x != nil {
- return x.Lt
- }
- return nil
- }
- func (x *TimestampRules) GetLte() *timestamppb.Timestamp {
- if x != nil {
- return x.Lte
- }
- return nil
- }
- func (x *TimestampRules) GetGt() *timestamppb.Timestamp {
- if x != nil {
- return x.Gt
- }
- return nil
- }
- func (x *TimestampRules) GetGte() *timestamppb.Timestamp {
- if x != nil {
- return x.Gte
- }
- return nil
- }
- func (x *TimestampRules) GetLtNow() bool {
- if x != nil && x.LtNow != nil {
- return *x.LtNow
- }
- return false
- }
- func (x *TimestampRules) GetGtNow() bool {
- if x != nil && x.GtNow != nil {
- return *x.GtNow
- }
- return false
- }
- func (x *TimestampRules) GetWithin() *durationpb.Duration {
- if x != nil {
- return x.Within
- }
- return nil
- }
- var file_validate_validate_proto_extTypes = []protoimpl.ExtensionInfo{
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 1071,
- Name: "validate.disabled",
- Tag: "varint,1071,opt,name=disabled",
- Filename: "validate/validate.proto",
- },
- {
- ExtendedType: (*descriptorpb.MessageOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 1072,
- Name: "validate.ignored",
- Tag: "varint,1072,opt,name=ignored",
- Filename: "validate/validate.proto",
- },
- {
- ExtendedType: (*descriptorpb.OneofOptions)(nil),
- ExtensionType: (*bool)(nil),
- Field: 1071,
- Name: "validate.required",
- Tag: "varint,1071,opt,name=required",
- Filename: "validate/validate.proto",
- },
- {
- ExtendedType: (*descriptorpb.FieldOptions)(nil),
- ExtensionType: (*FieldRules)(nil),
- Field: 1071,
- Name: "validate.rules",
- Tag: "bytes,1071,opt,name=rules",
- Filename: "validate/validate.proto",
- },
- }
- // Extension fields to descriptorpb.MessageOptions.
- var (
- // Disabled nullifies any validation rules for this message, including any
- // message fields associated with it that do support validation.
- //
- // optional bool disabled = 1071;
- E_Disabled = &file_validate_validate_proto_extTypes[0]
- // Ignore skips generation of validation methods for this message.
- //
- // optional bool ignored = 1072;
- E_Ignored = &file_validate_validate_proto_extTypes[1]
- )
- // Extension fields to descriptorpb.OneofOptions.
- var (
- // Required ensures that exactly one the field options in a oneof is set;
- // validation fails if no fields in the oneof are set.
- //
- // optional bool required = 1071;
- E_Required = &file_validate_validate_proto_extTypes[2]
- )
- // Extension fields to descriptorpb.FieldOptions.
- var (
- // Rules specify the validations to be performed on this field. By default,
- // no validation is performed against a field.
- //
- // optional validate.FieldRules rules = 1071;
- E_Rules = &file_validate_validate_proto_extTypes[3]
- )
- var File_validate_validate_proto protoreflect.FileDescriptor
- var file_validate_validate_proto_rawDesc = []byte{
- 0x0a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64,
- 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x76, 0x61, 0x6c, 0x69, 0x64,
- 0x61, 0x74, 0x65, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
- 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc8, 0x08, 0x0a, 0x0a, 0x46, 0x69, 0x65, 0x6c, 0x64,
- 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
- 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
- 0x65, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x07,
- 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x66, 0x6c, 0x6f, 0x61, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74,
- 0x65, 0x2e, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x05,
- 0x66, 0x6c, 0x6f, 0x61, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x18,
- 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x06,
- 0x64, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x12, 0x2c, 0x0a, 0x05, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2e, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x05, 0x69,
- 0x6e, 0x74, 0x33, 0x32, 0x12, 0x2c, 0x0a, 0x05, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x49,
- 0x6e, 0x74, 0x36, 0x34, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x05, 0x69, 0x6e, 0x74,
- 0x36, 0x34, 0x12, 0x2f, 0x0a, 0x06, 0x75, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x05, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x55, 0x49,
- 0x6e, 0x74, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x06, 0x75, 0x69, 0x6e,
- 0x74, 0x33, 0x32, 0x12, 0x2f, 0x0a, 0x06, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18, 0x06, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x55,
- 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x06, 0x75, 0x69,
- 0x6e, 0x74, 0x36, 0x34, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x69, 0x6e, 0x74, 0x33, 0x32, 0x18, 0x07,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
- 0x53, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x06, 0x73,
- 0x69, 0x6e, 0x74, 0x33, 0x32, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2e, 0x53, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x06,
- 0x73, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x12, 0x32, 0x0a, 0x07, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33,
- 0x32, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48,
- 0x00, 0x52, 0x07, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x32, 0x0a, 0x07, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x36, 0x34, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x76, 0x61,
- 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x52, 0x75,
- 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x07, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x35,
- 0x0a, 0x08, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x17, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x46, 0x69, 0x78,
- 0x65, 0x64, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x08, 0x73, 0x66, 0x69,
- 0x78, 0x65, 0x64, 0x33, 0x32, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36,
- 0x34, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2e, 0x53, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x52, 0x75, 0x6c, 0x65, 0x73,
- 0x48, 0x00, 0x52, 0x08, 0x73, 0x66, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x12, 0x29, 0x0a, 0x04,
- 0x62, 0x6f, 0x6f, 0x6c, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48,
- 0x00, 0x52, 0x04, 0x62, 0x6f, 0x6f, 0x6c, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e,
- 0x67, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00,
- 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x2c, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65,
- 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52,
- 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x29, 0x0a, 0x04, 0x65, 0x6e, 0x75, 0x6d, 0x18, 0x10,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e,
- 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x04, 0x65, 0x6e, 0x75,
- 0x6d, 0x12, 0x35, 0x0a, 0x08, 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x12, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x52,
- 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x08,
- 0x72, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x26, 0x0a, 0x03, 0x6d, 0x61, 0x70, 0x18,
- 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2e, 0x4d, 0x61, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x03, 0x6d, 0x61, 0x70,
- 0x12, 0x26, 0x0a, 0x03, 0x61, 0x6e, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e,
- 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x75, 0x6c, 0x65,
- 0x73, 0x48, 0x00, 0x52, 0x03, 0x61, 0x6e, 0x79, 0x12, 0x35, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61,
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x76, 0x61, 0x6c,
- 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,
- 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
- 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x16, 0x20, 0x01,
- 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09,
- 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70,
- 0x65, 0x22, 0xb0, 0x01, 0x0a, 0x0a, 0x46, 0x6c, 0x6f, 0x61, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x73,
- 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52,
- 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x02, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x02, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x02, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e,
- 0x18, 0x06, 0x20, 0x03, 0x28, 0x02, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f,
- 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x02, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49,
- 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74,
- 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45,
- 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb1, 0x01, 0x0a, 0x0b, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 0x52,
- 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x01, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02,
- 0x67, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03,
- 0x67, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x01, 0x52, 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x01, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15,
- 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x01, 0x52, 0x05,
- 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f,
- 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e,
- 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb0, 0x01, 0x0a, 0x0a, 0x49, 0x6e, 0x74,
- 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a,
- 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a,
- 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12,
- 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x67, 0x74, 0x12,
- 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x67, 0x74,
- 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x69,
- 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28,
- 0x05, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f,
- 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b,
- 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb0, 0x01, 0x0a, 0x0a,
- 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
- 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74,
- 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x6c, 0x74,
- 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x6c,
- 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02,
- 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52,
- 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x03,
- 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07,
- 0x20, 0x03, 0x28, 0x03, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69,
- 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb1,
- 0x01, 0x0a, 0x0b, 0x55, 0x49, 0x6e, 0x74, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14,
- 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x63,
- 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d,
- 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
- 0x0d, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04, 0x20, 0x01,
- 0x28, 0x0d, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x05, 0x20,
- 0x01, 0x28, 0x0d, 0x52, 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06,
- 0x20, 0x03, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f,
- 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0d, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12,
- 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18,
- 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70,
- 0x74, 0x79, 0x22, 0xb1, 0x01, 0x0a, 0x0b, 0x55, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x75, 0x6c,
- 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
- 0x04, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02,
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18,
- 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74,
- 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74,
- 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02,
- 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x04, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06,
- 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x04, 0x52, 0x05, 0x6e, 0x6f,
- 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d,
- 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72,
- 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb1, 0x01, 0x0a, 0x0b, 0x53, 0x49, 0x6e, 0x74, 0x33,
- 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x11, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
- 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03,
- 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x11, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e,
- 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x11, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10,
- 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x11, 0x52, 0x03, 0x67, 0x74, 0x65,
- 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x11, 0x52, 0x02, 0x69, 0x6e,
- 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x11,
- 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72,
- 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69,
- 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb1, 0x01, 0x0a, 0x0b, 0x53,
- 0x49, 0x6e, 0x74, 0x36, 0x34, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
- 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x12, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74,
- 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x12, 0x52, 0x02, 0x6c, 0x74,
- 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52, 0x03, 0x6c,
- 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x12, 0x52, 0x02,
- 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x12, 0x52,
- 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x12,
- 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07,
- 0x20, 0x03, 0x28, 0x12, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69,
- 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb2,
- 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12,
- 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x07, 0x52, 0x05,
- 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28,
- 0x07, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01,
- 0x28, 0x07, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x07, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x07, 0x52, 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18,
- 0x06, 0x20, 0x03, 0x28, 0x07, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74,
- 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x07, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e,
- 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79,
- 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x22, 0xb2, 0x01, 0x0a, 0x0c, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x52,
- 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x06, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x06, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74,
- 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x06, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02,
- 0x67, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x06, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03,
- 0x67, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x06, 0x52, 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e,
- 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x06, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15,
- 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x06, 0x52, 0x05,
- 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f,
- 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e,
- 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb3, 0x01, 0x0a, 0x0d, 0x53, 0x46, 0x69,
- 0x78, 0x65, 0x64, 0x33, 0x32, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
- 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74,
- 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x02, 0x6c, 0x74,
- 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x03, 0x6c,
- 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x02,
- 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0f, 0x52,
- 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0f,
- 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07,
- 0x20, 0x03, 0x28, 0x0f, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69,
- 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28,
- 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0xb3,
- 0x01, 0x0a, 0x0d, 0x53, 0x46, 0x69, 0x78, 0x65, 0x64, 0x36, 0x34, 0x52, 0x75, 0x6c, 0x65, 0x73,
- 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x10, 0x52,
- 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x10, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x74, 0x65, 0x18, 0x03, 0x20,
- 0x01, 0x28, 0x10, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x04,
- 0x20, 0x01, 0x28, 0x10, 0x52, 0x02, 0x67, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18,
- 0x05, 0x20, 0x01, 0x28, 0x10, 0x52, 0x03, 0x67, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e,
- 0x18, 0x06, 0x20, 0x03, 0x28, 0x10, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f,
- 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x10, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49,
- 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74,
- 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45,
- 0x6d, 0x70, 0x74, 0x79, 0x22, 0x21, 0x0a, 0x09, 0x42, 0x6f, 0x6f, 0x6c, 0x52, 0x75, 0x6c, 0x65,
- 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x22, 0xd4, 0x05, 0x0a, 0x0b, 0x53, 0x74, 0x72, 0x69,
- 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74,
- 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x10, 0x0a,
- 0x03, 0x6c, 0x65, 0x6e, 0x18, 0x13, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6c, 0x65, 0x6e, 0x12,
- 0x17, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x06, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f,
- 0x6c, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x61, 0x78, 0x4c, 0x65,
- 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6c, 0x65, 0x6e, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x14,
- 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6c, 0x65, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1b,
- 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28,
- 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d,
- 0x61, 0x78, 0x5f, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08,
- 0x6d, 0x61, 0x78, 0x42, 0x79, 0x74, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74,
- 0x65, 0x72, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65,
- 0x72, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x09, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75,
- 0x66, 0x66, 0x69, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66,
- 0x69, 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x09,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x21,
- 0x0a, 0x0c, 0x6e, 0x6f, 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x17,
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6e, 0x6f, 0x74, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
- 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x69,
- 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x0b, 0x20, 0x03, 0x28,
- 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x16, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69,
- 0x6c, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
- 0x12, 0x1c, 0x0a, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x01,
- 0x28, 0x08, 0x48, 0x00, 0x52, 0x08, 0x68, 0x6f, 0x73, 0x74, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10,
- 0x0a, 0x02, 0x69, 0x70, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x02, 0x69, 0x70,
- 0x12, 0x14, 0x0a, 0x04, 0x69, 0x70, 0x76, 0x34, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00,
- 0x52, 0x04, 0x69, 0x70, 0x76, 0x34, 0x12, 0x14, 0x0a, 0x04, 0x69, 0x70, 0x76, 0x36, 0x18, 0x10,
- 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x69, 0x70, 0x76, 0x36, 0x12, 0x12, 0x0a, 0x03,
- 0x75, 0x72, 0x69, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x03, 0x75, 0x72, 0x69,
- 0x12, 0x19, 0x0a, 0x07, 0x75, 0x72, 0x69, 0x5f, 0x72, 0x65, 0x66, 0x18, 0x12, 0x20, 0x01, 0x28,
- 0x08, 0x48, 0x00, 0x52, 0x06, 0x75, 0x72, 0x69, 0x52, 0x65, 0x66, 0x12, 0x1a, 0x0a, 0x07, 0x61,
- 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x07,
- 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x04, 0x75, 0x75, 0x69, 0x64, 0x18,
- 0x16, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x75, 0x75, 0x69, 0x64, 0x12, 0x40, 0x0a,
- 0x10, 0x77, 0x65, 0x6c, 0x6c, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x5f, 0x72, 0x65, 0x67, 0x65,
- 0x78, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
- 0x74, 0x65, 0x2e, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x67, 0x65, 0x78, 0x48, 0x00, 0x52,
- 0x0e, 0x77, 0x65, 0x6c, 0x6c, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x67, 0x65, 0x78, 0x12,
- 0x1c, 0x0a, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x08, 0x3a,
- 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x06, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x12, 0x21, 0x0a,
- 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18, 0x1a, 0x20,
- 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70, 0x74, 0x79,
- 0x42, 0x0c, 0x0a, 0x0a, 0x77, 0x65, 0x6c, 0x6c, 0x5f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x22, 0xe2,
- 0x02, 0x0a, 0x0a, 0x42, 0x79, 0x74, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x14, 0x0a,
- 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x63, 0x6f,
- 0x6e, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6c, 0x65, 0x6e, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x03, 0x6c, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x6e,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x12, 0x17,
- 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52,
- 0x06, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65,
- 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72,
- 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0c, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66,
- 0x66, 0x69, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69,
- 0x78, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x18, 0x07, 0x20,
- 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x0e, 0x0a,
- 0x02, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a,
- 0x06, 0x6e, 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x05, 0x6e,
- 0x6f, 0x74, 0x49, 0x6e, 0x12, 0x10, 0x0a, 0x02, 0x69, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08,
- 0x48, 0x00, 0x52, 0x02, 0x69, 0x70, 0x12, 0x14, 0x0a, 0x04, 0x69, 0x70, 0x76, 0x34, 0x18, 0x0b,
- 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x69, 0x70, 0x76, 0x34, 0x12, 0x14, 0x0a, 0x04,
- 0x69, 0x70, 0x76, 0x36, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x04, 0x69, 0x70,
- 0x76, 0x36, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70,
- 0x74, 0x79, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65,
- 0x45, 0x6d, 0x70, 0x74, 0x79, 0x42, 0x0c, 0x0a, 0x0a, 0x77, 0x65, 0x6c, 0x6c, 0x5f, 0x6b, 0x6e,
- 0x6f, 0x77, 0x6e, 0x22, 0x6b, 0x0a, 0x09, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x75, 0x6c, 0x65, 0x73,
- 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
- 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65,
- 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x65,
- 0x66, 0x69, 0x6e, 0x65, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e, 0x18,
- 0x03, 0x20, 0x03, 0x28, 0x05, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f, 0x74,
- 0x5f, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x03, 0x28, 0x05, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e,
- 0x22, 0x3e, 0x0a, 0x0c, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x75, 0x6c, 0x65, 0x73,
- 0x12, 0x12, 0x0a, 0x04, 0x73, 0x6b, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04,
- 0x73, 0x6b, 0x69, 0x70, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
- 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64,
- 0x22, 0xb0, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x70, 0x65, 0x61, 0x74, 0x65, 0x64, 0x52, 0x75, 0x6c,
- 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12,
- 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01,
- 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x16, 0x0a, 0x06,
- 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x75, 0x6e,
- 0x69, 0x71, 0x75, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20,
- 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x46,
- 0x69, 0x65, 0x6c, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
- 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79,
- 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d,
- 0x70, 0x74, 0x79, 0x22, 0xdc, 0x01, 0x0a, 0x08, 0x4d, 0x61, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x73,
- 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x1b, 0x0a,
- 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x70, 0x61, 0x69, 0x72, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04,
- 0x52, 0x08, 0x6d, 0x61, 0x78, 0x50, 0x61, 0x69, 0x72, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6e, 0x6f,
- 0x5f, 0x73, 0x70, 0x61, 0x72, 0x73, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x6e,
- 0x6f, 0x53, 0x70, 0x61, 0x72, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x6b, 0x65, 0x79, 0x73, 0x18,
- 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x04, 0x6b, 0x65, 0x79,
- 0x73, 0x12, 0x2c, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x65,
- 0x6c, 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12,
- 0x21, 0x0a, 0x0c, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x18,
- 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x45, 0x6d, 0x70,
- 0x74, 0x79, 0x22, 0x4d, 0x0a, 0x08, 0x41, 0x6e, 0x79, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1a,
- 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08,
- 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x6e,
- 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x15, 0x0a, 0x06, 0x6e, 0x6f,
- 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49,
- 0x6e, 0x22, 0xe9, 0x02, 0x0a, 0x0d, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x75,
- 0x6c, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18,
- 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12,
- 0x2f, 0x0a, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
- 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
- 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74,
- 0x12, 0x29, 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x6c,
- 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
- 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74,
- 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x29, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
- 0x02, 0x67, 0x74, 0x12, 0x2b, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x03, 0x67, 0x74, 0x65,
- 0x12, 0x29, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
- 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44,
- 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x02, 0x69, 0x6e, 0x12, 0x30, 0x0a, 0x06, 0x6e,
- 0x6f, 0x74, 0x5f, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75,
- 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x6e, 0x6f, 0x74, 0x49, 0x6e, 0x22, 0xf3, 0x02,
- 0x0a, 0x0e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x75, 0x6c, 0x65, 0x73,
- 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x30, 0x0a, 0x05,
- 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
- 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69,
- 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x05, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x12, 0x2a,
- 0x0a, 0x02, 0x6c, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
- 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x02, 0x6c, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x6c, 0x74,
- 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
- 0x61, 0x6d, 0x70, 0x52, 0x03, 0x6c, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x02, 0x67, 0x74, 0x18, 0x05,
- 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
- 0x52, 0x02, 0x67, 0x74, 0x12, 0x2c, 0x0a, 0x03, 0x67, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
- 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x03, 0x67,
- 0x74, 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6c, 0x74, 0x5f, 0x6e, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01,
- 0x28, 0x08, 0x52, 0x05, 0x6c, 0x74, 0x4e, 0x6f, 0x77, 0x12, 0x15, 0x0a, 0x06, 0x67, 0x74, 0x5f,
- 0x6e, 0x6f, 0x77, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x67, 0x74, 0x4e, 0x6f, 0x77,
- 0x12, 0x31, 0x0a, 0x06, 0x77, 0x69, 0x74, 0x68, 0x69, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
- 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x77, 0x69, 0x74,
- 0x68, 0x69, 0x6e, 0x2a, 0x46, 0x0a, 0x0a, 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x52, 0x65, 0x67, 0x65,
- 0x78, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14,
- 0x0a, 0x10, 0x48, 0x54, 0x54, 0x50, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x5f, 0x4e, 0x41,
- 0x4d, 0x45, 0x10, 0x01, 0x12, 0x15, 0x0a, 0x11, 0x48, 0x54, 0x54, 0x50, 0x5f, 0x48, 0x45, 0x41,
- 0x44, 0x45, 0x52, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x02, 0x3a, 0x3c, 0x0a, 0x08, 0x64,
- 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
- 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
- 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xaf, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52,
- 0x08, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x3a, 0x3a, 0x0a, 0x07, 0x69, 0x67, 0x6e,
- 0x6f, 0x72, 0x65, 0x64, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
- 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70,
- 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xb0, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x67,
- 0x6e, 0x6f, 0x72, 0x65, 0x64, 0x3a, 0x3a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
- 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
- 0x18, 0xaf, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65,
- 0x64, 0x3a, 0x4a, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
- 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
- 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xaf, 0x08, 0x20, 0x01, 0x28, 0x0b,
- 0x32, 0x14, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x46, 0x69, 0x65, 0x6c,
- 0x64, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x50, 0x0a,
- 0x1a, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x70,
- 0x67, 0x76, 0x2e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x5a, 0x32, 0x67, 0x69, 0x74,
- 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f,
- 0x78, 0x79, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x76, 0x61,
- 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65,
- }
- var (
- file_validate_validate_proto_rawDescOnce sync.Once
- file_validate_validate_proto_rawDescData = file_validate_validate_proto_rawDesc
- )
- func file_validate_validate_proto_rawDescGZIP() []byte {
- file_validate_validate_proto_rawDescOnce.Do(func() {
- file_validate_validate_proto_rawDescData = protoimpl.X.CompressGZIP(file_validate_validate_proto_rawDescData)
- })
- return file_validate_validate_proto_rawDescData
- }
- var file_validate_validate_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
- var file_validate_validate_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
- var file_validate_validate_proto_goTypes = []interface{}{
- (KnownRegex)(0), // 0: validate.KnownRegex
- (*FieldRules)(nil), // 1: validate.FieldRules
- (*FloatRules)(nil), // 2: validate.FloatRules
- (*DoubleRules)(nil), // 3: validate.DoubleRules
- (*Int32Rules)(nil), // 4: validate.Int32Rules
- (*Int64Rules)(nil), // 5: validate.Int64Rules
- (*UInt32Rules)(nil), // 6: validate.UInt32Rules
- (*UInt64Rules)(nil), // 7: validate.UInt64Rules
- (*SInt32Rules)(nil), // 8: validate.SInt32Rules
- (*SInt64Rules)(nil), // 9: validate.SInt64Rules
- (*Fixed32Rules)(nil), // 10: validate.Fixed32Rules
- (*Fixed64Rules)(nil), // 11: validate.Fixed64Rules
- (*SFixed32Rules)(nil), // 12: validate.SFixed32Rules
- (*SFixed64Rules)(nil), // 13: validate.SFixed64Rules
- (*BoolRules)(nil), // 14: validate.BoolRules
- (*StringRules)(nil), // 15: validate.StringRules
- (*BytesRules)(nil), // 16: validate.BytesRules
- (*EnumRules)(nil), // 17: validate.EnumRules
- (*MessageRules)(nil), // 18: validate.MessageRules
- (*RepeatedRules)(nil), // 19: validate.RepeatedRules
- (*MapRules)(nil), // 20: validate.MapRules
- (*AnyRules)(nil), // 21: validate.AnyRules
- (*DurationRules)(nil), // 22: validate.DurationRules
- (*TimestampRules)(nil), // 23: validate.TimestampRules
- (*durationpb.Duration)(nil), // 24: google.protobuf.Duration
- (*timestamppb.Timestamp)(nil), // 25: google.protobuf.Timestamp
- (*descriptorpb.MessageOptions)(nil), // 26: google.protobuf.MessageOptions
- (*descriptorpb.OneofOptions)(nil), // 27: google.protobuf.OneofOptions
- (*descriptorpb.FieldOptions)(nil), // 28: google.protobuf.FieldOptions
- }
- var file_validate_validate_proto_depIdxs = []int32{
- 18, // 0: validate.FieldRules.message:type_name -> validate.MessageRules
- 2, // 1: validate.FieldRules.float:type_name -> validate.FloatRules
- 3, // 2: validate.FieldRules.double:type_name -> validate.DoubleRules
- 4, // 3: validate.FieldRules.int32:type_name -> validate.Int32Rules
- 5, // 4: validate.FieldRules.int64:type_name -> validate.Int64Rules
- 6, // 5: validate.FieldRules.uint32:type_name -> validate.UInt32Rules
- 7, // 6: validate.FieldRules.uint64:type_name -> validate.UInt64Rules
- 8, // 7: validate.FieldRules.sint32:type_name -> validate.SInt32Rules
- 9, // 8: validate.FieldRules.sint64:type_name -> validate.SInt64Rules
- 10, // 9: validate.FieldRules.fixed32:type_name -> validate.Fixed32Rules
- 11, // 10: validate.FieldRules.fixed64:type_name -> validate.Fixed64Rules
- 12, // 11: validate.FieldRules.sfixed32:type_name -> validate.SFixed32Rules
- 13, // 12: validate.FieldRules.sfixed64:type_name -> validate.SFixed64Rules
- 14, // 13: validate.FieldRules.bool:type_name -> validate.BoolRules
- 15, // 14: validate.FieldRules.string:type_name -> validate.StringRules
- 16, // 15: validate.FieldRules.bytes:type_name -> validate.BytesRules
- 17, // 16: validate.FieldRules.enum:type_name -> validate.EnumRules
- 19, // 17: validate.FieldRules.repeated:type_name -> validate.RepeatedRules
- 20, // 18: validate.FieldRules.map:type_name -> validate.MapRules
- 21, // 19: validate.FieldRules.any:type_name -> validate.AnyRules
- 22, // 20: validate.FieldRules.duration:type_name -> validate.DurationRules
- 23, // 21: validate.FieldRules.timestamp:type_name -> validate.TimestampRules
- 0, // 22: validate.StringRules.well_known_regex:type_name -> validate.KnownRegex
- 1, // 23: validate.RepeatedRules.items:type_name -> validate.FieldRules
- 1, // 24: validate.MapRules.keys:type_name -> validate.FieldRules
- 1, // 25: validate.MapRules.values:type_name -> validate.FieldRules
- 24, // 26: validate.DurationRules.const:type_name -> google.protobuf.Duration
- 24, // 27: validate.DurationRules.lt:type_name -> google.protobuf.Duration
- 24, // 28: validate.DurationRules.lte:type_name -> google.protobuf.Duration
- 24, // 29: validate.DurationRules.gt:type_name -> google.protobuf.Duration
- 24, // 30: validate.DurationRules.gte:type_name -> google.protobuf.Duration
- 24, // 31: validate.DurationRules.in:type_name -> google.protobuf.Duration
- 24, // 32: validate.DurationRules.not_in:type_name -> google.protobuf.Duration
- 25, // 33: validate.TimestampRules.const:type_name -> google.protobuf.Timestamp
- 25, // 34: validate.TimestampRules.lt:type_name -> google.protobuf.Timestamp
- 25, // 35: validate.TimestampRules.lte:type_name -> google.protobuf.Timestamp
- 25, // 36: validate.TimestampRules.gt:type_name -> google.protobuf.Timestamp
- 25, // 37: validate.TimestampRules.gte:type_name -> google.protobuf.Timestamp
- 24, // 38: validate.TimestampRules.within:type_name -> google.protobuf.Duration
- 26, // 39: validate.disabled:extendee -> google.protobuf.MessageOptions
- 26, // 40: validate.ignored:extendee -> google.protobuf.MessageOptions
- 27, // 41: validate.required:extendee -> google.protobuf.OneofOptions
- 28, // 42: validate.rules:extendee -> google.protobuf.FieldOptions
- 1, // 43: validate.rules:type_name -> validate.FieldRules
- 44, // [44:44] is the sub-list for method output_type
- 44, // [44:44] is the sub-list for method input_type
- 43, // [43:44] is the sub-list for extension type_name
- 39, // [39:43] is the sub-list for extension extendee
- 0, // [0:39] is the sub-list for field type_name
- }
- func init() { file_validate_validate_proto_init() }
- func file_validate_validate_proto_init() {
- if File_validate_validate_proto != nil {
- return
- }
- if !protoimpl.UnsafeEnabled {
- file_validate_validate_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FieldRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*FloatRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DoubleRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int32Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Int64Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UInt32Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*UInt64Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SInt32Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SInt64Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Fixed32Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*Fixed64Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SFixed32Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*SFixed64Rules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BoolRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*StringRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*BytesRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*EnumRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MessageRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*RepeatedRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*MapRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*AnyRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*DurationRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- file_validate_validate_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
- switch v := v.(*TimestampRules); i {
- case 0:
- return &v.state
- case 1:
- return &v.sizeCache
- case 2:
- return &v.unknownFields
- default:
- return nil
- }
- }
- }
- file_validate_validate_proto_msgTypes[0].OneofWrappers = []interface{}{
- (*FieldRules_Float)(nil),
- (*FieldRules_Double)(nil),
- (*FieldRules_Int32)(nil),
- (*FieldRules_Int64)(nil),
- (*FieldRules_Uint32)(nil),
- (*FieldRules_Uint64)(nil),
- (*FieldRules_Sint32)(nil),
- (*FieldRules_Sint64)(nil),
- (*FieldRules_Fixed32)(nil),
- (*FieldRules_Fixed64)(nil),
- (*FieldRules_Sfixed32)(nil),
- (*FieldRules_Sfixed64)(nil),
- (*FieldRules_Bool)(nil),
- (*FieldRules_String_)(nil),
- (*FieldRules_Bytes)(nil),
- (*FieldRules_Enum)(nil),
- (*FieldRules_Repeated)(nil),
- (*FieldRules_Map)(nil),
- (*FieldRules_Any)(nil),
- (*FieldRules_Duration)(nil),
- (*FieldRules_Timestamp)(nil),
- }
- file_validate_validate_proto_msgTypes[14].OneofWrappers = []interface{}{
- (*StringRules_Email)(nil),
- (*StringRules_Hostname)(nil),
- (*StringRules_Ip)(nil),
- (*StringRules_Ipv4)(nil),
- (*StringRules_Ipv6)(nil),
- (*StringRules_Uri)(nil),
- (*StringRules_UriRef)(nil),
- (*StringRules_Address)(nil),
- (*StringRules_Uuid)(nil),
- (*StringRules_WellKnownRegex)(nil),
- }
- file_validate_validate_proto_msgTypes[15].OneofWrappers = []interface{}{
- (*BytesRules_Ip)(nil),
- (*BytesRules_Ipv4)(nil),
- (*BytesRules_Ipv6)(nil),
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: file_validate_validate_proto_rawDesc,
- NumEnums: 1,
- NumMessages: 23,
- NumExtensions: 4,
- NumServices: 0,
- },
- GoTypes: file_validate_validate_proto_goTypes,
- DependencyIndexes: file_validate_validate_proto_depIdxs,
- EnumInfos: file_validate_validate_proto_enumTypes,
- MessageInfos: file_validate_validate_proto_msgTypes,
- ExtensionInfos: file_validate_validate_proto_extTypes,
- }.Build()
- File_validate_validate_proto = out.File
- file_validate_validate_proto_rawDesc = nil
- file_validate_validate_proto_goTypes = nil
- file_validate_validate_proto_depIdxs = nil
- }
|