| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793 |
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // source: encoding/textpb/testprotos/pb2/test.proto
- package pb2
- import (
- proto "github.com/golang/protobuf/proto"
- any "github.com/golang/protobuf/ptypes/any"
- duration "github.com/golang/protobuf/ptypes/duration"
- empty "github.com/golang/protobuf/ptypes/empty"
- _struct "github.com/golang/protobuf/ptypes/struct"
- timestamp "github.com/golang/protobuf/ptypes/timestamp"
- wrappers "github.com/golang/protobuf/ptypes/wrappers"
- protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
- prototype "github.com/golang/protobuf/v2/reflect/prototype"
- protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
- )
- // This is a compile-time assertion to ensure that this generated file
- // is compatible with the proto package it is being compiled against.
- // A compilation error at this line likely means your copy of the
- // proto package needs to be updated.
- const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
- type Enum int32
- const (
- Enum_UNKNOWN Enum = 0
- Enum_FIRST Enum = 1
- Enum_SECOND Enum = 2
- Enum_TENTH Enum = 10
- )
- type xxx_Enum Enum
- func (e Enum) ProtoReflect() protoreflect.Enum {
- return (xxx_Enum)(e)
- }
- func (e xxx_Enum) Type() protoreflect.EnumType {
- return xxx_Test_ProtoFile_EnumTypes[0]
- }
- func (e xxx_Enum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(e)
- }
- var Enum_name = map[int32]string{
- 0: "UNKNOWN",
- 1: "FIRST",
- 2: "SECOND",
- 10: "TENTH",
- }
- var Enum_value = map[string]int32{
- "UNKNOWN": 0,
- "FIRST": 1,
- "SECOND": 2,
- "TENTH": 10,
- }
- func (x Enum) Enum() *Enum {
- p := new(Enum)
- *p = x
- return p
- }
- func (x Enum) String() string {
- return proto.EnumName(Enum_name, int32(x))
- }
- func (x *Enum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Enum_value, data, "Enum")
- if err != nil {
- return err
- }
- *x = Enum(value)
- return nil
- }
- func (Enum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{0}
- }
- type Enums_NestedEnum int32
- const (
- Enums_UNO Enums_NestedEnum = 1
- Enums_DOS Enums_NestedEnum = 2
- Enums_DIEZ Enums_NestedEnum = 10
- )
- type xxx_Enums_NestedEnum Enums_NestedEnum
- func (e Enums_NestedEnum) ProtoReflect() protoreflect.Enum {
- return (xxx_Enums_NestedEnum)(e)
- }
- func (e xxx_Enums_NestedEnum) Type() protoreflect.EnumType {
- return xxx_Test_ProtoFile_EnumTypes[1]
- }
- func (e xxx_Enums_NestedEnum) Number() protoreflect.EnumNumber {
- return protoreflect.EnumNumber(e)
- }
- var Enums_NestedEnum_name = map[int32]string{
- 1: "UNO",
- 2: "DOS",
- 10: "DIEZ",
- }
- var Enums_NestedEnum_value = map[string]int32{
- "UNO": 1,
- "DOS": 2,
- "DIEZ": 10,
- }
- func (x Enums_NestedEnum) Enum() *Enums_NestedEnum {
- p := new(Enums_NestedEnum)
- *p = x
- return p
- }
- func (x Enums_NestedEnum) String() string {
- return proto.EnumName(Enums_NestedEnum_name, int32(x))
- }
- func (x *Enums_NestedEnum) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Enums_NestedEnum_value, data, "Enums_NestedEnum")
- if err != nil {
- return err
- }
- *x = Enums_NestedEnum(value)
- return nil
- }
- func (Enums_NestedEnum) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{2, 0}
- }
- // Scalars contains optional scalar fields.
- type Scalars struct {
- OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
- OptInt32 *int32 `protobuf:"varint,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
- OptInt64 *int64 `protobuf:"varint,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
- OptUint32 *uint32 `protobuf:"varint,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
- OptUint64 *uint64 `protobuf:"varint,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
- OptSint32 *int32 `protobuf:"zigzag32,6,opt,name=opt_sint32,json=optSint32" json:"opt_sint32,omitempty"`
- OptSint64 *int64 `protobuf:"zigzag64,7,opt,name=opt_sint64,json=optSint64" json:"opt_sint64,omitempty"`
- OptFixed32 *uint32 `protobuf:"fixed32,8,opt,name=opt_fixed32,json=optFixed32" json:"opt_fixed32,omitempty"`
- OptFixed64 *uint64 `protobuf:"fixed64,9,opt,name=opt_fixed64,json=optFixed64" json:"opt_fixed64,omitempty"`
- OptSfixed32 *int32 `protobuf:"fixed32,10,opt,name=opt_sfixed32,json=optSfixed32" json:"opt_sfixed32,omitempty"`
- OptSfixed64 *int64 `protobuf:"fixed64,11,opt,name=opt_sfixed64,json=optSfixed64" json:"opt_sfixed64,omitempty"`
- OptFloat *float32 `protobuf:"fixed32,20,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
- OptDouble *float64 `protobuf:"fixed64,21,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
- OptBytes []byte `protobuf:"bytes,14,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
- OptString *string `protobuf:"bytes,13,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Scalars struct{ m *Scalars }
- func (m *Scalars) ProtoReflect() protoreflect.Message {
- return xxx_Scalars{m}
- }
- func (m xxx_Scalars) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[0].Type
- }
- func (m xxx_Scalars) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m)
- }
- func (m xxx_Scalars) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m)
- }
- func (m xxx_Scalars) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Scalars) Reset() { *m = Scalars{} }
- func (m *Scalars) String() string { return proto.CompactTextString(m) }
- func (*Scalars) ProtoMessage() {}
- func (*Scalars) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{0}
- }
- func (m *Scalars) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Scalars.Unmarshal(m, b)
- }
- func (m *Scalars) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Scalars.Marshal(b, m, deterministic)
- }
- func (m *Scalars) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Scalars.Merge(m, src)
- }
- func (m *Scalars) XXX_Size() int {
- return xxx_messageInfo_Scalars.Size(m)
- }
- func (m *Scalars) XXX_DiscardUnknown() {
- xxx_messageInfo_Scalars.DiscardUnknown(m)
- }
- var xxx_messageInfo_Scalars proto.InternalMessageInfo
- func (m *Scalars) GetOptBool() bool {
- if m != nil && m.OptBool != nil {
- return *m.OptBool
- }
- return false
- }
- func (m *Scalars) GetOptInt32() int32 {
- if m != nil && m.OptInt32 != nil {
- return *m.OptInt32
- }
- return 0
- }
- func (m *Scalars) GetOptInt64() int64 {
- if m != nil && m.OptInt64 != nil {
- return *m.OptInt64
- }
- return 0
- }
- func (m *Scalars) GetOptUint32() uint32 {
- if m != nil && m.OptUint32 != nil {
- return *m.OptUint32
- }
- return 0
- }
- func (m *Scalars) GetOptUint64() uint64 {
- if m != nil && m.OptUint64 != nil {
- return *m.OptUint64
- }
- return 0
- }
- func (m *Scalars) GetOptSint32() int32 {
- if m != nil && m.OptSint32 != nil {
- return *m.OptSint32
- }
- return 0
- }
- func (m *Scalars) GetOptSint64() int64 {
- if m != nil && m.OptSint64 != nil {
- return *m.OptSint64
- }
- return 0
- }
- func (m *Scalars) GetOptFixed32() uint32 {
- if m != nil && m.OptFixed32 != nil {
- return *m.OptFixed32
- }
- return 0
- }
- func (m *Scalars) GetOptFixed64() uint64 {
- if m != nil && m.OptFixed64 != nil {
- return *m.OptFixed64
- }
- return 0
- }
- func (m *Scalars) GetOptSfixed32() int32 {
- if m != nil && m.OptSfixed32 != nil {
- return *m.OptSfixed32
- }
- return 0
- }
- func (m *Scalars) GetOptSfixed64() int64 {
- if m != nil && m.OptSfixed64 != nil {
- return *m.OptSfixed64
- }
- return 0
- }
- func (m *Scalars) GetOptFloat() float32 {
- if m != nil && m.OptFloat != nil {
- return *m.OptFloat
- }
- return 0
- }
- func (m *Scalars) GetOptDouble() float64 {
- if m != nil && m.OptDouble != nil {
- return *m.OptDouble
- }
- return 0
- }
- func (m *Scalars) GetOptBytes() []byte {
- if m != nil {
- return m.OptBytes
- }
- return nil
- }
- func (m *Scalars) GetOptString() string {
- if m != nil && m.OptString != nil {
- return *m.OptString
- }
- return ""
- }
- // Message contains repeated fields.
- type Repeats struct {
- RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
- RptInt32 []int32 `protobuf:"varint,2,rep,name=rpt_int32,json=rptInt32" json:"rpt_int32,omitempty"`
- RptInt64 []int64 `protobuf:"varint,3,rep,name=rpt_int64,json=rptInt64" json:"rpt_int64,omitempty"`
- RptUint32 []uint32 `protobuf:"varint,4,rep,name=rpt_uint32,json=rptUint32" json:"rpt_uint32,omitempty"`
- RptUint64 []uint64 `protobuf:"varint,5,rep,name=rpt_uint64,json=rptUint64" json:"rpt_uint64,omitempty"`
- RptFloat []float32 `protobuf:"fixed32,6,rep,name=rpt_float,json=rptFloat" json:"rpt_float,omitempty"`
- RptDouble []float64 `protobuf:"fixed64,7,rep,name=rpt_double,json=rptDouble" json:"rpt_double,omitempty"`
- RptString []string `protobuf:"bytes,15,rep,name=rpt_string,json=rptString" json:"rpt_string,omitempty"`
- RptBytes [][]byte `protobuf:"bytes,14,rep,name=rpt_bytes,json=rptBytes" json:"rpt_bytes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Repeats struct{ m *Repeats }
- func (m *Repeats) ProtoReflect() protoreflect.Message {
- return xxx_Repeats{m}
- }
- func (m xxx_Repeats) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[1].Type
- }
- func (m xxx_Repeats) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[1].KnownFieldsOf(m.m)
- }
- func (m xxx_Repeats) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[1].UnknownFieldsOf(m.m)
- }
- func (m xxx_Repeats) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Repeats) Reset() { *m = Repeats{} }
- func (m *Repeats) String() string { return proto.CompactTextString(m) }
- func (*Repeats) ProtoMessage() {}
- func (*Repeats) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{1}
- }
- func (m *Repeats) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Repeats.Unmarshal(m, b)
- }
- func (m *Repeats) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Repeats.Marshal(b, m, deterministic)
- }
- func (m *Repeats) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Repeats.Merge(m, src)
- }
- func (m *Repeats) XXX_Size() int {
- return xxx_messageInfo_Repeats.Size(m)
- }
- func (m *Repeats) XXX_DiscardUnknown() {
- xxx_messageInfo_Repeats.DiscardUnknown(m)
- }
- var xxx_messageInfo_Repeats proto.InternalMessageInfo
- func (m *Repeats) GetRptBool() []bool {
- if m != nil {
- return m.RptBool
- }
- return nil
- }
- func (m *Repeats) GetRptInt32() []int32 {
- if m != nil {
- return m.RptInt32
- }
- return nil
- }
- func (m *Repeats) GetRptInt64() []int64 {
- if m != nil {
- return m.RptInt64
- }
- return nil
- }
- func (m *Repeats) GetRptUint32() []uint32 {
- if m != nil {
- return m.RptUint32
- }
- return nil
- }
- func (m *Repeats) GetRptUint64() []uint64 {
- if m != nil {
- return m.RptUint64
- }
- return nil
- }
- func (m *Repeats) GetRptFloat() []float32 {
- if m != nil {
- return m.RptFloat
- }
- return nil
- }
- func (m *Repeats) GetRptDouble() []float64 {
- if m != nil {
- return m.RptDouble
- }
- return nil
- }
- func (m *Repeats) GetRptString() []string {
- if m != nil {
- return m.RptString
- }
- return nil
- }
- func (m *Repeats) GetRptBytes() [][]byte {
- if m != nil {
- return m.RptBytes
- }
- return nil
- }
- // Message contains enum fields.
- type Enums struct {
- OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
- RptEnum []Enum `protobuf:"varint,2,rep,name=rpt_enum,json=rptEnum,enum=pb2.Enum" json:"rpt_enum,omitempty"`
- OptNestedEnum *Enums_NestedEnum `protobuf:"varint,3,opt,name=opt_nested_enum,json=optNestedEnum,enum=pb2.Enums_NestedEnum" json:"opt_nested_enum,omitempty"`
- RptNestedEnum []Enums_NestedEnum `protobuf:"varint,4,rep,name=rpt_nested_enum,json=rptNestedEnum,enum=pb2.Enums_NestedEnum" json:"rpt_nested_enum,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Enums struct{ m *Enums }
- func (m *Enums) ProtoReflect() protoreflect.Message {
- return xxx_Enums{m}
- }
- func (m xxx_Enums) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[2].Type
- }
- func (m xxx_Enums) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[2].KnownFieldsOf(m.m)
- }
- func (m xxx_Enums) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[2].UnknownFieldsOf(m.m)
- }
- func (m xxx_Enums) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Enums) Reset() { *m = Enums{} }
- func (m *Enums) String() string { return proto.CompactTextString(m) }
- func (*Enums) ProtoMessage() {}
- func (*Enums) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{2}
- }
- func (m *Enums) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Enums.Unmarshal(m, b)
- }
- func (m *Enums) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Enums.Marshal(b, m, deterministic)
- }
- func (m *Enums) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Enums.Merge(m, src)
- }
- func (m *Enums) XXX_Size() int {
- return xxx_messageInfo_Enums.Size(m)
- }
- func (m *Enums) XXX_DiscardUnknown() {
- xxx_messageInfo_Enums.DiscardUnknown(m)
- }
- var xxx_messageInfo_Enums proto.InternalMessageInfo
- func (m *Enums) GetOptEnum() Enum {
- if m != nil && m.OptEnum != nil {
- return *m.OptEnum
- }
- return Enum_UNKNOWN
- }
- func (m *Enums) GetRptEnum() []Enum {
- if m != nil {
- return m.RptEnum
- }
- return nil
- }
- func (m *Enums) GetOptNestedEnum() Enums_NestedEnum {
- if m != nil && m.OptNestedEnum != nil {
- return *m.OptNestedEnum
- }
- return Enums_UNO
- }
- func (m *Enums) GetRptNestedEnum() []Enums_NestedEnum {
- if m != nil {
- return m.RptNestedEnum
- }
- return nil
- }
- // Message contains message and group fields.
- type Nests struct {
- OptNested *Nested `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
- Optgroup *Nests_OptGroup `protobuf:"group,2,opt,name=OptGroup,json=optgroup" json:"optgroup,omitempty"`
- RptNested []*Nested `protobuf:"bytes,3,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
- Rptgroup []*Nests_RptGroup `protobuf:"group,4,rep,name=RptGroup,json=rptgroup" json:"rptgroup,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Nests struct{ m *Nests }
- func (m *Nests) ProtoReflect() protoreflect.Message {
- return xxx_Nests{m}
- }
- func (m xxx_Nests) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[3].Type
- }
- func (m xxx_Nests) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[3].KnownFieldsOf(m.m)
- }
- func (m xxx_Nests) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[3].UnknownFieldsOf(m.m)
- }
- func (m xxx_Nests) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Nests) Reset() { *m = Nests{} }
- func (m *Nests) String() string { return proto.CompactTextString(m) }
- func (*Nests) ProtoMessage() {}
- func (*Nests) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{3}
- }
- func (m *Nests) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Nests.Unmarshal(m, b)
- }
- func (m *Nests) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Nests.Marshal(b, m, deterministic)
- }
- func (m *Nests) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Nests.Merge(m, src)
- }
- func (m *Nests) XXX_Size() int {
- return xxx_messageInfo_Nests.Size(m)
- }
- func (m *Nests) XXX_DiscardUnknown() {
- xxx_messageInfo_Nests.DiscardUnknown(m)
- }
- var xxx_messageInfo_Nests proto.InternalMessageInfo
- func (m *Nests) GetOptNested() *Nested {
- if m != nil {
- return m.OptNested
- }
- return nil
- }
- func (m *Nests) GetOptgroup() *Nests_OptGroup {
- if m != nil {
- return m.Optgroup
- }
- return nil
- }
- func (m *Nests) GetRptNested() []*Nested {
- if m != nil {
- return m.RptNested
- }
- return nil
- }
- func (m *Nests) GetRptgroup() []*Nests_RptGroup {
- if m != nil {
- return m.Rptgroup
- }
- return nil
- }
- // Message type used as submessage.
- type Nested struct {
- OptString *string `protobuf:"bytes,1,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- OptNested *Nested `protobuf:"bytes,2,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Nested struct{ m *Nested }
- func (m *Nested) ProtoReflect() protoreflect.Message {
- return xxx_Nested{m}
- }
- func (m xxx_Nested) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[4].Type
- }
- func (m xxx_Nested) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[4].KnownFieldsOf(m.m)
- }
- func (m xxx_Nested) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[4].UnknownFieldsOf(m.m)
- }
- func (m xxx_Nested) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Nested) Reset() { *m = Nested{} }
- func (m *Nested) String() string { return proto.CompactTextString(m) }
- func (*Nested) ProtoMessage() {}
- func (*Nested) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{4}
- }
- func (m *Nested) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Nested.Unmarshal(m, b)
- }
- func (m *Nested) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Nested.Marshal(b, m, deterministic)
- }
- func (m *Nested) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Nested.Merge(m, src)
- }
- func (m *Nested) XXX_Size() int {
- return xxx_messageInfo_Nested.Size(m)
- }
- func (m *Nested) XXX_DiscardUnknown() {
- xxx_messageInfo_Nested.DiscardUnknown(m)
- }
- var xxx_messageInfo_Nested proto.InternalMessageInfo
- func (m *Nested) GetOptString() string {
- if m != nil && m.OptString != nil {
- return *m.OptString
- }
- return ""
- }
- func (m *Nested) GetOptNested() *Nested {
- if m != nil {
- return m.OptNested
- }
- return nil
- }
- // Message contains required fields.
- type Requireds struct {
- ReqBool *bool `protobuf:"varint,1,req,name=req_bool,json=reqBool" json:"req_bool,omitempty"`
- ReqFixed32 *uint32 `protobuf:"fixed32,2,req,name=req_fixed32,json=reqFixed32" json:"req_fixed32,omitempty"`
- ReqFixed64 *uint64 `protobuf:"fixed64,3,req,name=req_fixed64,json=reqFixed64" json:"req_fixed64,omitempty"`
- ReqSfixed32 *int32 `protobuf:"fixed32,4,req,name=req_sfixed32,json=reqSfixed32" json:"req_sfixed32,omitempty"`
- ReqSfixed64 *int64 `protobuf:"fixed64,5,req,name=req_sfixed64,json=reqSfixed64" json:"req_sfixed64,omitempty"`
- ReqFloat *float32 `protobuf:"fixed32,6,req,name=req_float,json=reqFloat" json:"req_float,omitempty"`
- ReqDouble *float64 `protobuf:"fixed64,7,req,name=req_double,json=reqDouble" json:"req_double,omitempty"`
- ReqString *string `protobuf:"bytes,8,req,name=req_string,json=reqString" json:"req_string,omitempty"`
- ReqBytes []byte `protobuf:"bytes,9,req,name=req_bytes,json=reqBytes" json:"req_bytes,omitempty"`
- ReqEnum *Enum `protobuf:"varint,10,req,name=req_enum,json=reqEnum,enum=pb2.Enum" json:"req_enum,omitempty"`
- ReqNested *Nested `protobuf:"bytes,11,req,name=req_nested,json=reqNested" json:"req_nested,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Requireds struct{ m *Requireds }
- func (m *Requireds) ProtoReflect() protoreflect.Message {
- return xxx_Requireds{m}
- }
- func (m xxx_Requireds) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[5].Type
- }
- func (m xxx_Requireds) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[5].KnownFieldsOf(m.m)
- }
- func (m xxx_Requireds) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[5].UnknownFieldsOf(m.m)
- }
- func (m xxx_Requireds) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Requireds) Reset() { *m = Requireds{} }
- func (m *Requireds) String() string { return proto.CompactTextString(m) }
- func (*Requireds) ProtoMessage() {}
- func (*Requireds) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{5}
- }
- func (m *Requireds) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Requireds.Unmarshal(m, b)
- }
- func (m *Requireds) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Requireds.Marshal(b, m, deterministic)
- }
- func (m *Requireds) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Requireds.Merge(m, src)
- }
- func (m *Requireds) XXX_Size() int {
- return xxx_messageInfo_Requireds.Size(m)
- }
- func (m *Requireds) XXX_DiscardUnknown() {
- xxx_messageInfo_Requireds.DiscardUnknown(m)
- }
- var xxx_messageInfo_Requireds proto.InternalMessageInfo
- func (m *Requireds) GetReqBool() bool {
- if m != nil && m.ReqBool != nil {
- return *m.ReqBool
- }
- return false
- }
- func (m *Requireds) GetReqFixed32() uint32 {
- if m != nil && m.ReqFixed32 != nil {
- return *m.ReqFixed32
- }
- return 0
- }
- func (m *Requireds) GetReqFixed64() uint64 {
- if m != nil && m.ReqFixed64 != nil {
- return *m.ReqFixed64
- }
- return 0
- }
- func (m *Requireds) GetReqSfixed32() int32 {
- if m != nil && m.ReqSfixed32 != nil {
- return *m.ReqSfixed32
- }
- return 0
- }
- func (m *Requireds) GetReqSfixed64() int64 {
- if m != nil && m.ReqSfixed64 != nil {
- return *m.ReqSfixed64
- }
- return 0
- }
- func (m *Requireds) GetReqFloat() float32 {
- if m != nil && m.ReqFloat != nil {
- return *m.ReqFloat
- }
- return 0
- }
- func (m *Requireds) GetReqDouble() float64 {
- if m != nil && m.ReqDouble != nil {
- return *m.ReqDouble
- }
- return 0
- }
- func (m *Requireds) GetReqString() string {
- if m != nil && m.ReqString != nil {
- return *m.ReqString
- }
- return ""
- }
- func (m *Requireds) GetReqBytes() []byte {
- if m != nil {
- return m.ReqBytes
- }
- return nil
- }
- func (m *Requireds) GetReqEnum() Enum {
- if m != nil && m.ReqEnum != nil {
- return *m.ReqEnum
- }
- return Enum_UNKNOWN
- }
- func (m *Requireds) GetReqNested() *Nested {
- if m != nil {
- return m.ReqNested
- }
- return nil
- }
- // Message contains both required and optional fields.
- type PartialRequired struct {
- ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
- OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_PartialRequired struct{ m *PartialRequired }
- func (m *PartialRequired) ProtoReflect() protoreflect.Message {
- return xxx_PartialRequired{m}
- }
- func (m xxx_PartialRequired) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[6].Type
- }
- func (m xxx_PartialRequired) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[6].KnownFieldsOf(m.m)
- }
- func (m xxx_PartialRequired) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[6].UnknownFieldsOf(m.m)
- }
- func (m xxx_PartialRequired) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *PartialRequired) Reset() { *m = PartialRequired{} }
- func (m *PartialRequired) String() string { return proto.CompactTextString(m) }
- func (*PartialRequired) ProtoMessage() {}
- func (*PartialRequired) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{6}
- }
- func (m *PartialRequired) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PartialRequired.Unmarshal(m, b)
- }
- func (m *PartialRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PartialRequired.Marshal(b, m, deterministic)
- }
- func (m *PartialRequired) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PartialRequired.Merge(m, src)
- }
- func (m *PartialRequired) XXX_Size() int {
- return xxx_messageInfo_PartialRequired.Size(m)
- }
- func (m *PartialRequired) XXX_DiscardUnknown() {
- xxx_messageInfo_PartialRequired.DiscardUnknown(m)
- }
- var xxx_messageInfo_PartialRequired proto.InternalMessageInfo
- func (m *PartialRequired) GetReqString() string {
- if m != nil && m.ReqString != nil {
- return *m.ReqString
- }
- return ""
- }
- func (m *PartialRequired) GetOptString() string {
- if m != nil && m.OptString != nil {
- return *m.OptString
- }
- return ""
- }
- // Message contains oneof field.
- type Oneofs struct {
- // Types that are valid to be assigned to Union:
- // *Oneofs_Str
- // *Oneofs_Msg
- Union isOneofs_Union `protobuf_oneof:"union"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Oneofs struct{ m *Oneofs }
- func (m *Oneofs) ProtoReflect() protoreflect.Message {
- return xxx_Oneofs{m}
- }
- func (m xxx_Oneofs) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[7].Type
- }
- func (m xxx_Oneofs) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[7].KnownFieldsOf(m.m)
- }
- func (m xxx_Oneofs) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[7].UnknownFieldsOf(m.m)
- }
- func (m xxx_Oneofs) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Oneofs) Reset() { *m = Oneofs{} }
- func (m *Oneofs) String() string { return proto.CompactTextString(m) }
- func (*Oneofs) ProtoMessage() {}
- func (*Oneofs) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{7}
- }
- func (m *Oneofs) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Oneofs.Unmarshal(m, b)
- }
- func (m *Oneofs) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Oneofs.Marshal(b, m, deterministic)
- }
- func (m *Oneofs) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Oneofs.Merge(m, src)
- }
- func (m *Oneofs) XXX_Size() int {
- return xxx_messageInfo_Oneofs.Size(m)
- }
- func (m *Oneofs) XXX_DiscardUnknown() {
- xxx_messageInfo_Oneofs.DiscardUnknown(m)
- }
- var xxx_messageInfo_Oneofs proto.InternalMessageInfo
- type isOneofs_Union interface {
- isOneofs_Union()
- }
- type Oneofs_Str struct {
- Str string `protobuf:"bytes,1,opt,name=str,oneof"`
- }
- type Oneofs_Msg struct {
- Msg *Nested `protobuf:"bytes,2,opt,name=msg,oneof"`
- }
- func (*Oneofs_Str) isOneofs_Union() {}
- func (*Oneofs_Msg) isOneofs_Union() {}
- func (m *Oneofs) GetUnion() isOneofs_Union {
- if m != nil {
- return m.Union
- }
- return nil
- }
- func (m *Oneofs) GetStr() string {
- if x, ok := m.GetUnion().(*Oneofs_Str); ok {
- return x.Str
- }
- return ""
- }
- func (m *Oneofs) GetMsg() *Nested {
- if x, ok := m.GetUnion().(*Oneofs_Msg); ok {
- return x.Msg
- }
- return nil
- }
- // XXX_OneofWrappers is for the internal use of the proto package.
- func (*Oneofs) XXX_OneofWrappers() []interface{} {
- return []interface{}{
- (*Oneofs_Str)(nil),
- (*Oneofs_Msg)(nil),
- }
- }
- // Message contains map fields.
- type Maps struct {
- Int32ToStr map[int32]string `protobuf:"bytes,1,rep,name=int32_to_str,json=int32ToStr" json:"int32_to_str,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- Sfixed64ToBool map[int64]bool `protobuf:"bytes,2,rep,name=sfixed64_to_bool,json=sfixed64ToBool" json:"sfixed64_to_bool,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- BoolToUint32 map[bool]uint32 `protobuf:"bytes,3,rep,name=bool_to_uint32,json=boolToUint32" json:"bool_to_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
- Uint64ToEnum map[uint64]Enum `protobuf:"bytes,4,rep,name=uint64_to_enum,json=uint64ToEnum" json:"uint64_to_enum,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=pb2.Enum"`
- StrToNested map[string]*Nested `protobuf:"bytes,5,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- StrToOneofs map[string]*Oneofs `protobuf:"bytes,6,rep,name=str_to_oneofs,json=strToOneofs" json:"str_to_oneofs,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Maps struct{ m *Maps }
- func (m *Maps) ProtoReflect() protoreflect.Message {
- return xxx_Maps{m}
- }
- func (m xxx_Maps) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[8].Type
- }
- func (m xxx_Maps) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[8].KnownFieldsOf(m.m)
- }
- func (m xxx_Maps) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[8].UnknownFieldsOf(m.m)
- }
- func (m xxx_Maps) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Maps) Reset() { *m = Maps{} }
- func (m *Maps) String() string { return proto.CompactTextString(m) }
- func (*Maps) ProtoMessage() {}
- func (*Maps) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{8}
- }
- func (m *Maps) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Maps.Unmarshal(m, b)
- }
- func (m *Maps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Maps.Marshal(b, m, deterministic)
- }
- func (m *Maps) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Maps.Merge(m, src)
- }
- func (m *Maps) XXX_Size() int {
- return xxx_messageInfo_Maps.Size(m)
- }
- func (m *Maps) XXX_DiscardUnknown() {
- xxx_messageInfo_Maps.DiscardUnknown(m)
- }
- var xxx_messageInfo_Maps proto.InternalMessageInfo
- func (m *Maps) GetInt32ToStr() map[int32]string {
- if m != nil {
- return m.Int32ToStr
- }
- return nil
- }
- func (m *Maps) GetSfixed64ToBool() map[int64]bool {
- if m != nil {
- return m.Sfixed64ToBool
- }
- return nil
- }
- func (m *Maps) GetBoolToUint32() map[bool]uint32 {
- if m != nil {
- return m.BoolToUint32
- }
- return nil
- }
- func (m *Maps) GetUint64ToEnum() map[uint64]Enum {
- if m != nil {
- return m.Uint64ToEnum
- }
- return nil
- }
- func (m *Maps) GetStrToNested() map[string]*Nested {
- if m != nil {
- return m.StrToNested
- }
- return nil
- }
- func (m *Maps) GetStrToOneofs() map[string]*Oneofs {
- if m != nil {
- return m.StrToOneofs
- }
- return nil
- }
- // Following messages are for testing required field nested in optional, repeated and map fields.
- type NestedWithRequired struct {
- ReqString *string `protobuf:"bytes,1,req,name=req_string,json=reqString" json:"req_string,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_NestedWithRequired struct{ m *NestedWithRequired }
- func (m *NestedWithRequired) ProtoReflect() protoreflect.Message {
- return xxx_NestedWithRequired{m}
- }
- func (m xxx_NestedWithRequired) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[9].Type
- }
- func (m xxx_NestedWithRequired) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[9].KnownFieldsOf(m.m)
- }
- func (m xxx_NestedWithRequired) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[9].UnknownFieldsOf(m.m)
- }
- func (m xxx_NestedWithRequired) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *NestedWithRequired) Reset() { *m = NestedWithRequired{} }
- func (m *NestedWithRequired) String() string { return proto.CompactTextString(m) }
- func (*NestedWithRequired) ProtoMessage() {}
- func (*NestedWithRequired) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{9}
- }
- func (m *NestedWithRequired) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_NestedWithRequired.Unmarshal(m, b)
- }
- func (m *NestedWithRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_NestedWithRequired.Marshal(b, m, deterministic)
- }
- func (m *NestedWithRequired) XXX_Merge(src proto.Message) {
- xxx_messageInfo_NestedWithRequired.Merge(m, src)
- }
- func (m *NestedWithRequired) XXX_Size() int {
- return xxx_messageInfo_NestedWithRequired.Size(m)
- }
- func (m *NestedWithRequired) XXX_DiscardUnknown() {
- xxx_messageInfo_NestedWithRequired.DiscardUnknown(m)
- }
- var xxx_messageInfo_NestedWithRequired proto.InternalMessageInfo
- func (m *NestedWithRequired) GetReqString() string {
- if m != nil && m.ReqString != nil {
- return *m.ReqString
- }
- return ""
- }
- type IndirectRequired struct {
- OptNested *NestedWithRequired `protobuf:"bytes,1,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
- RptNested []*NestedWithRequired `protobuf:"bytes,2,rep,name=rpt_nested,json=rptNested" json:"rpt_nested,omitempty"`
- StrToNested map[string]*NestedWithRequired `protobuf:"bytes,3,rep,name=str_to_nested,json=strToNested" json:"str_to_nested,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_IndirectRequired struct{ m *IndirectRequired }
- func (m *IndirectRequired) ProtoReflect() protoreflect.Message {
- return xxx_IndirectRequired{m}
- }
- func (m xxx_IndirectRequired) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[10].Type
- }
- func (m xxx_IndirectRequired) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[10].KnownFieldsOf(m.m)
- }
- func (m xxx_IndirectRequired) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[10].UnknownFieldsOf(m.m)
- }
- func (m xxx_IndirectRequired) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *IndirectRequired) Reset() { *m = IndirectRequired{} }
- func (m *IndirectRequired) String() string { return proto.CompactTextString(m) }
- func (*IndirectRequired) ProtoMessage() {}
- func (*IndirectRequired) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{10}
- }
- func (m *IndirectRequired) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndirectRequired.Unmarshal(m, b)
- }
- func (m *IndirectRequired) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndirectRequired.Marshal(b, m, deterministic)
- }
- func (m *IndirectRequired) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndirectRequired.Merge(m, src)
- }
- func (m *IndirectRequired) XXX_Size() int {
- return xxx_messageInfo_IndirectRequired.Size(m)
- }
- func (m *IndirectRequired) XXX_DiscardUnknown() {
- xxx_messageInfo_IndirectRequired.DiscardUnknown(m)
- }
- var xxx_messageInfo_IndirectRequired proto.InternalMessageInfo
- func (m *IndirectRequired) GetOptNested() *NestedWithRequired {
- if m != nil {
- return m.OptNested
- }
- return nil
- }
- func (m *IndirectRequired) GetRptNested() []*NestedWithRequired {
- if m != nil {
- return m.RptNested
- }
- return nil
- }
- func (m *IndirectRequired) GetStrToNested() map[string]*NestedWithRequired {
- if m != nil {
- return m.StrToNested
- }
- return nil
- }
- // Message contains well-known type fields.
- type KnownTypes struct {
- OptBool *wrappers.BoolValue `protobuf:"bytes,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
- OptInt32 *wrappers.Int32Value `protobuf:"bytes,2,opt,name=opt_int32,json=optInt32" json:"opt_int32,omitempty"`
- OptInt64 *wrappers.Int64Value `protobuf:"bytes,3,opt,name=opt_int64,json=optInt64" json:"opt_int64,omitempty"`
- OptUint32 *wrappers.UInt32Value `protobuf:"bytes,4,opt,name=opt_uint32,json=optUint32" json:"opt_uint32,omitempty"`
- OptUint64 *wrappers.UInt64Value `protobuf:"bytes,5,opt,name=opt_uint64,json=optUint64" json:"opt_uint64,omitempty"`
- OptFloat *wrappers.FloatValue `protobuf:"bytes,6,opt,name=opt_float,json=optFloat" json:"opt_float,omitempty"`
- OptDouble *wrappers.DoubleValue `protobuf:"bytes,7,opt,name=opt_double,json=optDouble" json:"opt_double,omitempty"`
- OptString *wrappers.StringValue `protobuf:"bytes,8,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- OptBytes *wrappers.BytesValue `protobuf:"bytes,9,opt,name=opt_bytes,json=optBytes" json:"opt_bytes,omitempty"`
- OptDuration *duration.Duration `protobuf:"bytes,20,opt,name=opt_duration,json=optDuration" json:"opt_duration,omitempty"`
- OptTimestamp *timestamp.Timestamp `protobuf:"bytes,21,opt,name=opt_timestamp,json=optTimestamp" json:"opt_timestamp,omitempty"`
- OptStruct *_struct.Struct `protobuf:"bytes,25,opt,name=opt_struct,json=optStruct" json:"opt_struct,omitempty"`
- OptList *_struct.ListValue `protobuf:"bytes,26,opt,name=opt_list,json=optList" json:"opt_list,omitempty"`
- OptValue *_struct.Value `protobuf:"bytes,27,opt,name=opt_value,json=optValue" json:"opt_value,omitempty"`
- OptEmpty *empty.Empty `protobuf:"bytes,30,opt,name=opt_empty,json=optEmpty" json:"opt_empty,omitempty"`
- OptAny *any.Any `protobuf:"bytes,32,opt,name=opt_any,json=optAny" json:"opt_any,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_KnownTypes struct{ m *KnownTypes }
- func (m *KnownTypes) ProtoReflect() protoreflect.Message {
- return xxx_KnownTypes{m}
- }
- func (m xxx_KnownTypes) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[11].Type
- }
- func (m xxx_KnownTypes) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[11].KnownFieldsOf(m.m)
- }
- func (m xxx_KnownTypes) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[11].UnknownFieldsOf(m.m)
- }
- func (m xxx_KnownTypes) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *KnownTypes) Reset() { *m = KnownTypes{} }
- func (m *KnownTypes) String() string { return proto.CompactTextString(m) }
- func (*KnownTypes) ProtoMessage() {}
- func (*KnownTypes) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{11}
- }
- func (m *KnownTypes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_KnownTypes.Unmarshal(m, b)
- }
- func (m *KnownTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_KnownTypes.Marshal(b, m, deterministic)
- }
- func (m *KnownTypes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_KnownTypes.Merge(m, src)
- }
- func (m *KnownTypes) XXX_Size() int {
- return xxx_messageInfo_KnownTypes.Size(m)
- }
- func (m *KnownTypes) XXX_DiscardUnknown() {
- xxx_messageInfo_KnownTypes.DiscardUnknown(m)
- }
- var xxx_messageInfo_KnownTypes proto.InternalMessageInfo
- func (m *KnownTypes) GetOptBool() *wrappers.BoolValue {
- if m != nil {
- return m.OptBool
- }
- return nil
- }
- func (m *KnownTypes) GetOptInt32() *wrappers.Int32Value {
- if m != nil {
- return m.OptInt32
- }
- return nil
- }
- func (m *KnownTypes) GetOptInt64() *wrappers.Int64Value {
- if m != nil {
- return m.OptInt64
- }
- return nil
- }
- func (m *KnownTypes) GetOptUint32() *wrappers.UInt32Value {
- if m != nil {
- return m.OptUint32
- }
- return nil
- }
- func (m *KnownTypes) GetOptUint64() *wrappers.UInt64Value {
- if m != nil {
- return m.OptUint64
- }
- return nil
- }
- func (m *KnownTypes) GetOptFloat() *wrappers.FloatValue {
- if m != nil {
- return m.OptFloat
- }
- return nil
- }
- func (m *KnownTypes) GetOptDouble() *wrappers.DoubleValue {
- if m != nil {
- return m.OptDouble
- }
- return nil
- }
- func (m *KnownTypes) GetOptString() *wrappers.StringValue {
- if m != nil {
- return m.OptString
- }
- return nil
- }
- func (m *KnownTypes) GetOptBytes() *wrappers.BytesValue {
- if m != nil {
- return m.OptBytes
- }
- return nil
- }
- func (m *KnownTypes) GetOptDuration() *duration.Duration {
- if m != nil {
- return m.OptDuration
- }
- return nil
- }
- func (m *KnownTypes) GetOptTimestamp() *timestamp.Timestamp {
- if m != nil {
- return m.OptTimestamp
- }
- return nil
- }
- func (m *KnownTypes) GetOptStruct() *_struct.Struct {
- if m != nil {
- return m.OptStruct
- }
- return nil
- }
- func (m *KnownTypes) GetOptList() *_struct.ListValue {
- if m != nil {
- return m.OptList
- }
- return nil
- }
- func (m *KnownTypes) GetOptValue() *_struct.Value {
- if m != nil {
- return m.OptValue
- }
- return nil
- }
- func (m *KnownTypes) GetOptEmpty() *empty.Empty {
- if m != nil {
- return m.OptEmpty
- }
- return nil
- }
- func (m *KnownTypes) GetOptAny() *any.Any {
- if m != nil {
- return m.OptAny
- }
- return nil
- }
- type Nests_OptGroup struct {
- OptBool *bool `protobuf:"varint,1,opt,name=opt_bool,json=optBool" json:"opt_bool,omitempty"`
- OptString *string `protobuf:"bytes,2,opt,name=opt_string,json=optString" json:"opt_string,omitempty"`
- OptNested *Nested `protobuf:"bytes,3,opt,name=opt_nested,json=optNested" json:"opt_nested,omitempty"`
- Optnestedgroup *Nests_OptGroup_OptNestedGroup `protobuf:"group,4,opt,name=OptNestedGroup,json=optnestedgroup" json:"optnestedgroup,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Nests_OptGroup struct{ m *Nests_OptGroup }
- func (m *Nests_OptGroup) ProtoReflect() protoreflect.Message {
- return xxx_Nests_OptGroup{m}
- }
- func (m xxx_Nests_OptGroup) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[12].Type
- }
- func (m xxx_Nests_OptGroup) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[12].KnownFieldsOf(m.m)
- }
- func (m xxx_Nests_OptGroup) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[12].UnknownFieldsOf(m.m)
- }
- func (m xxx_Nests_OptGroup) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Nests_OptGroup) Reset() { *m = Nests_OptGroup{} }
- func (m *Nests_OptGroup) String() string { return proto.CompactTextString(m) }
- func (*Nests_OptGroup) ProtoMessage() {}
- func (*Nests_OptGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0}
- }
- func (m *Nests_OptGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Nests_OptGroup.Unmarshal(m, b)
- }
- func (m *Nests_OptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Nests_OptGroup.Marshal(b, m, deterministic)
- }
- func (m *Nests_OptGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Nests_OptGroup.Merge(m, src)
- }
- func (m *Nests_OptGroup) XXX_Size() int {
- return xxx_messageInfo_Nests_OptGroup.Size(m)
- }
- func (m *Nests_OptGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Nests_OptGroup.DiscardUnknown(m)
- }
- var xxx_messageInfo_Nests_OptGroup proto.InternalMessageInfo
- func (m *Nests_OptGroup) GetOptBool() bool {
- if m != nil && m.OptBool != nil {
- return *m.OptBool
- }
- return false
- }
- func (m *Nests_OptGroup) GetOptString() string {
- if m != nil && m.OptString != nil {
- return *m.OptString
- }
- return ""
- }
- func (m *Nests_OptGroup) GetOptNested() *Nested {
- if m != nil {
- return m.OptNested
- }
- return nil
- }
- func (m *Nests_OptGroup) GetOptnestedgroup() *Nests_OptGroup_OptNestedGroup {
- if m != nil {
- return m.Optnestedgroup
- }
- return nil
- }
- type Nests_RptGroup struct {
- RptBool []bool `protobuf:"varint,1,rep,name=rpt_bool,json=rptBool" json:"rpt_bool,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Nests_RptGroup struct{ m *Nests_RptGroup }
- func (m *Nests_RptGroup) ProtoReflect() protoreflect.Message {
- return xxx_Nests_RptGroup{m}
- }
- func (m xxx_Nests_RptGroup) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[13].Type
- }
- func (m xxx_Nests_RptGroup) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[13].KnownFieldsOf(m.m)
- }
- func (m xxx_Nests_RptGroup) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[13].UnknownFieldsOf(m.m)
- }
- func (m xxx_Nests_RptGroup) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Nests_RptGroup) Reset() { *m = Nests_RptGroup{} }
- func (m *Nests_RptGroup) String() string { return proto.CompactTextString(m) }
- func (*Nests_RptGroup) ProtoMessage() {}
- func (*Nests_RptGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{3, 1}
- }
- func (m *Nests_RptGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Nests_RptGroup.Unmarshal(m, b)
- }
- func (m *Nests_RptGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Nests_RptGroup.Marshal(b, m, deterministic)
- }
- func (m *Nests_RptGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Nests_RptGroup.Merge(m, src)
- }
- func (m *Nests_RptGroup) XXX_Size() int {
- return xxx_messageInfo_Nests_RptGroup.Size(m)
- }
- func (m *Nests_RptGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Nests_RptGroup.DiscardUnknown(m)
- }
- var xxx_messageInfo_Nests_RptGroup proto.InternalMessageInfo
- func (m *Nests_RptGroup) GetRptBool() []bool {
- if m != nil {
- return m.RptBool
- }
- return nil
- }
- type Nests_OptGroup_OptNestedGroup struct {
- OptEnum *Enum `protobuf:"varint,1,opt,name=opt_enum,json=optEnum,enum=pb2.Enum" json:"opt_enum,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
- }
- type xxx_Nests_OptGroup_OptNestedGroup struct {
- m *Nests_OptGroup_OptNestedGroup
- }
- func (m *Nests_OptGroup_OptNestedGroup) ProtoReflect() protoreflect.Message {
- return xxx_Nests_OptGroup_OptNestedGroup{m}
- }
- func (m xxx_Nests_OptGroup_OptNestedGroup) Type() protoreflect.MessageType {
- return xxx_Test_ProtoFile_MessageTypes[14].Type
- }
- func (m xxx_Nests_OptGroup_OptNestedGroup) KnownFields() protoreflect.KnownFields {
- return xxx_Test_ProtoFile_MessageTypes[14].KnownFieldsOf(m.m)
- }
- func (m xxx_Nests_OptGroup_OptNestedGroup) UnknownFields() protoreflect.UnknownFields {
- return xxx_Test_ProtoFile_MessageTypes[14].UnknownFieldsOf(m.m)
- }
- func (m xxx_Nests_OptGroup_OptNestedGroup) Interface() protoreflect.ProtoMessage {
- return m.m
- }
- func (m *Nests_OptGroup_OptNestedGroup) Reset() { *m = Nests_OptGroup_OptNestedGroup{} }
- func (m *Nests_OptGroup_OptNestedGroup) String() string { return proto.CompactTextString(m) }
- func (*Nests_OptGroup_OptNestedGroup) ProtoMessage() {}
- func (*Nests_OptGroup_OptNestedGroup) Descriptor() ([]byte, []int) {
- return fileDescriptor_c8d7acc1bcec9a72, []int{3, 0, 0}
- }
- func (m *Nests_OptGroup_OptNestedGroup) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Unmarshal(m, b)
- }
- func (m *Nests_OptGroup_OptNestedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Marshal(b, m, deterministic)
- }
- func (m *Nests_OptGroup_OptNestedGroup) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Merge(m, src)
- }
- func (m *Nests_OptGroup_OptNestedGroup) XXX_Size() int {
- return xxx_messageInfo_Nests_OptGroup_OptNestedGroup.Size(m)
- }
- func (m *Nests_OptGroup_OptNestedGroup) XXX_DiscardUnknown() {
- xxx_messageInfo_Nests_OptGroup_OptNestedGroup.DiscardUnknown(m)
- }
- var xxx_messageInfo_Nests_OptGroup_OptNestedGroup proto.InternalMessageInfo
- func (m *Nests_OptGroup_OptNestedGroup) GetOptEnum() Enum {
- if m != nil && m.OptEnum != nil {
- return *m.OptEnum
- }
- return Enum_UNKNOWN
- }
- func init() {
- proto.RegisterFile("encoding/textpb/testprotos/pb2/test.proto", fileDescriptor_c8d7acc1bcec9a72)
- proto.RegisterEnum("pb2.Enum", Enum_name, Enum_value)
- proto.RegisterEnum("pb2.Enums_NestedEnum", Enums_NestedEnum_name, Enums_NestedEnum_value)
- proto.RegisterType((*Scalars)(nil), "pb2.Scalars")
- proto.RegisterType((*Repeats)(nil), "pb2.Repeats")
- proto.RegisterType((*Enums)(nil), "pb2.Enums")
- proto.RegisterType((*Nests)(nil), "pb2.Nests")
- proto.RegisterType((*Nested)(nil), "pb2.Nested")
- proto.RegisterType((*Requireds)(nil), "pb2.Requireds")
- proto.RegisterType((*PartialRequired)(nil), "pb2.PartialRequired")
- proto.RegisterType((*Oneofs)(nil), "pb2.Oneofs")
- proto.RegisterType((*Maps)(nil), "pb2.Maps")
- proto.RegisterMapType((map[bool]uint32)(nil), "pb2.Maps.BoolToUint32Entry")
- proto.RegisterMapType((map[int32]string)(nil), "pb2.Maps.Int32ToStrEntry")
- proto.RegisterMapType((map[int64]bool)(nil), "pb2.Maps.Sfixed64ToBoolEntry")
- proto.RegisterMapType((map[string]*Nested)(nil), "pb2.Maps.StrToNestedEntry")
- proto.RegisterMapType((map[string]*Oneofs)(nil), "pb2.Maps.StrToOneofsEntry")
- proto.RegisterMapType((map[uint64]Enum)(nil), "pb2.Maps.Uint64ToEnumEntry")
- proto.RegisterType((*NestedWithRequired)(nil), "pb2.NestedWithRequired")
- proto.RegisterType((*IndirectRequired)(nil), "pb2.IndirectRequired")
- proto.RegisterMapType((map[string]*NestedWithRequired)(nil), "pb2.IndirectRequired.StrToNestedEntry")
- proto.RegisterType((*KnownTypes)(nil), "pb2.KnownTypes")
- proto.RegisterType((*Nests_OptGroup)(nil), "pb2.Nests.OptGroup")
- proto.RegisterType((*Nests_RptGroup)(nil), "pb2.Nests.RptGroup")
- proto.RegisterType((*Nests_OptGroup_OptNestedGroup)(nil), "pb2.Nests.OptGroup.OptNestedGroup")
- }
- var fileDescriptor_c8d7acc1bcec9a72 = []byte{
- // 1629 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x58,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0x51, 0x60, 0x2f, 0x79, 0x75, 0x78, 0xc5, 0xe4, 0x83, 0xc3,
- 0x2b, 0x26, 0x23, 0x79, 0xe2, 0x06, 0xac, 0x56, 0x5f, 0x71, 0xe6, 0xff, 0xdd, 0x80, 0x25, 0x91,
- 0x0c, 0x2b, 0x73, 0x57, 0xd8, 0x49, 0xa4, 0xd1, 0x36, 0xc7, 0xfd, 0x63, 0x01, 0x97, 0x98, 0x88,
- 0x7f, 0x49, 0x10, 0xff, 0x03, 0xa3, 0xf6, 0x78, 0x05, 0xe8, 0x18, 0xa4, 0x1c, 0xc4, 0xbf, 0xcc,
- 0xe7, 0x08, 0x0e, 0xbd, 0x1c, 0x78, 0xf3, 0x9a, 0xc5, 0x21, 0xf7, 0x17, 0x20, 0x07, 0xde, 0xdc,
- 0x29, 0x10, 0x9f, 0x1d, 0x78, 0xf3, 0x67, 0x2f, 0x50, 0x8e, 0x37, 0xce, 0x0a, 0x2a, 0x5e, 0x9c,
- 0x7d, 0x38, 0x3b, 0xff, 0x78, 0x56, 0xbd, 0x63, 0x96, 0x51, 0xfe, 0xe4, 0xd4, 0xe9, 0xf5, 0xab,
- 0x9a, 0x89, 0x50, 0xa1, 0x77, 0xfc, 0xbf, 0xf3, 0xb3, 0xa3, 0xaa, 0x0e, 0xdb, 0xfd, 0xe3, 0xb3,
- 0xfe, 0xbb, 0x2a, 0x3a, 0x7c, 0xfd, 0xe9, 0xe5, 0xd8, 0x65, 0x9f, 0xc3, 0x61, 0xf3, 0x8a, 0x4c,
- 0x5b, 0x63, 0x32, 0x19, 0x78, 0xe3, 0xe4, 0x6f, 0x8f, 0x2f, 0xed, 0xd6, 0xcd, 0x7f, 0xe8, 0xfc,
- 0x1d, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x1a, 0x6e, 0x85, 0xf1, 0x11, 0x00, 0x00,
- }
- func init() {
- xxx_Test_ProtoFile_FileDesc.Enums = xxx_Test_ProtoFile_EnumDescs[0:1]
- xxx_Test_ProtoFile_FileDesc.Messages = xxx_Test_ProtoFile_MessageDescs[0:12]
- xxx_Test_ProtoFile_MessageDescs[2].Enums = xxx_Test_ProtoFile_EnumDescs[1:2]
- xxx_Test_ProtoFile_MessageDescs[3].Messages = xxx_Test_ProtoFile_MessageDescs[12:14]
- xxx_Test_ProtoFile_MessageDescs[8].Messages = xxx_Test_ProtoFile_MessageDescs[15:21]
- xxx_Test_ProtoFile_MessageDescs[10].Messages = xxx_Test_ProtoFile_MessageDescs[21:22]
- xxx_Test_ProtoFile_MessageDescs[12].Messages = xxx_Test_ProtoFile_MessageDescs[14:15]
- xxx_Test_ProtoFile_MessageDescs[2].Fields[0].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
- xxx_Test_ProtoFile_MessageDescs[2].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
- xxx_Test_ProtoFile_MessageDescs[2].Fields[2].EnumType = xxx_Test_ProtoFile_EnumTypes[1]
- xxx_Test_ProtoFile_MessageDescs[2].Fields[3].EnumType = xxx_Test_ProtoFile_EnumTypes[1]
- xxx_Test_ProtoFile_MessageDescs[3].Fields[0].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
- xxx_Test_ProtoFile_MessageDescs[3].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[12].Type
- xxx_Test_ProtoFile_MessageDescs[3].Fields[2].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
- xxx_Test_ProtoFile_MessageDescs[3].Fields[3].MessageType = xxx_Test_ProtoFile_MessageTypes[13].Type
- xxx_Test_ProtoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
- xxx_Test_ProtoFile_MessageDescs[5].Fields[9].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
- xxx_Test_ProtoFile_MessageDescs[5].Fields[10].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
- xxx_Test_ProtoFile_MessageDescs[7].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
- xxx_Test_ProtoFile_MessageDescs[8].Fields[0].MessageType = xxx_Test_ProtoFile_MessageDescs[15].Reference()
- xxx_Test_ProtoFile_MessageDescs[8].Fields[1].MessageType = xxx_Test_ProtoFile_MessageDescs[16].Reference()
- xxx_Test_ProtoFile_MessageDescs[8].Fields[2].MessageType = xxx_Test_ProtoFile_MessageDescs[17].Reference()
- xxx_Test_ProtoFile_MessageDescs[8].Fields[3].MessageType = xxx_Test_ProtoFile_MessageDescs[18].Reference()
- xxx_Test_ProtoFile_MessageDescs[8].Fields[4].MessageType = xxx_Test_ProtoFile_MessageDescs[19].Reference()
- xxx_Test_ProtoFile_MessageDescs[8].Fields[5].MessageType = xxx_Test_ProtoFile_MessageDescs[20].Reference()
- xxx_Test_ProtoFile_MessageDescs[10].Fields[0].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type
- xxx_Test_ProtoFile_MessageDescs[10].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type
- xxx_Test_ProtoFile_MessageDescs[10].Fields[2].MessageType = xxx_Test_ProtoFile_MessageDescs[21].Reference()
- xxx_Test_ProtoFile_MessageDescs[11].Fields[0].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BoolValue)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[1].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int32Value)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[2].MessageType = protoimpl.X.MessageTypeOf((*wrappers.Int64Value)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[3].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt32Value)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[4].MessageType = protoimpl.X.MessageTypeOf((*wrappers.UInt64Value)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[5].MessageType = protoimpl.X.MessageTypeOf((*wrappers.FloatValue)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[6].MessageType = protoimpl.X.MessageTypeOf((*wrappers.DoubleValue)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[7].MessageType = protoimpl.X.MessageTypeOf((*wrappers.StringValue)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[8].MessageType = protoimpl.X.MessageTypeOf((*wrappers.BytesValue)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[9].MessageType = protoimpl.X.MessageTypeOf((*duration.Duration)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[10].MessageType = protoimpl.X.MessageTypeOf((*timestamp.Timestamp)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[11].MessageType = protoimpl.X.MessageTypeOf((*_struct.Struct)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[12].MessageType = protoimpl.X.MessageTypeOf((*_struct.ListValue)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[13].MessageType = protoimpl.X.MessageTypeOf((*_struct.Value)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[14].MessageType = protoimpl.X.MessageTypeOf((*empty.Empty)(nil))
- xxx_Test_ProtoFile_MessageDescs[11].Fields[15].MessageType = protoimpl.X.MessageTypeOf((*any.Any)(nil))
- xxx_Test_ProtoFile_MessageDescs[12].Fields[2].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
- xxx_Test_ProtoFile_MessageDescs[12].Fields[3].MessageType = xxx_Test_ProtoFile_MessageTypes[14].Type
- xxx_Test_ProtoFile_MessageDescs[14].Fields[0].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
- xxx_Test_ProtoFile_MessageDescs[18].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
- xxx_Test_ProtoFile_MessageDescs[19].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
- xxx_Test_ProtoFile_MessageDescs[20].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[7].Type
- xxx_Test_ProtoFile_MessageDescs[21].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[9].Type
- var err error
- Test_ProtoFile, err = prototype.NewFile(&xxx_Test_ProtoFile_FileDesc)
- if err != nil {
- panic(err)
- }
- }
- const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
- var Test_ProtoFile protoreflect.FileDescriptor
- var xxx_Test_ProtoFile_FileDesc = prototype.File{
- Syntax: protoreflect.Proto2,
- Path: "encoding/textpb/testprotos/pb2/test.proto",
- Package: "pb2",
- Imports: []protoreflect.FileImport{
- {FileDescriptor: prototype.PlaceholderFile("google/protobuf/any.proto", "google.protobuf")},
- {FileDescriptor: prototype.PlaceholderFile("google/protobuf/empty.proto", "google.protobuf")},
- {FileDescriptor: prototype.PlaceholderFile("google/protobuf/duration.proto", "google.protobuf")},
- {FileDescriptor: prototype.PlaceholderFile("google/protobuf/struct.proto", "google.protobuf")},
- {FileDescriptor: prototype.PlaceholderFile("google/protobuf/timestamp.proto", "google.protobuf")},
- {FileDescriptor: prototype.PlaceholderFile("google/protobuf/wrappers.proto", "google.protobuf")},
- },
- }
- var xxx_Test_ProtoFile_EnumTypes = [2]protoreflect.EnumType{
- prototype.GoEnum(
- xxx_Test_ProtoFile_EnumDescs[0].Reference(),
- func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
- return Enum(n)
- },
- ),
- prototype.GoEnum(
- xxx_Test_ProtoFile_EnumDescs[1].Reference(),
- func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
- return Enums_NestedEnum(n)
- },
- ),
- }
- var xxx_Test_ProtoFile_EnumDescs = [2]prototype.Enum{
- {
- Name: "Enum",
- Values: []prototype.EnumValue{
- {Name: "UNKNOWN", Number: 0},
- {Name: "FIRST", Number: 1},
- {Name: "SECOND", Number: 2},
- {Name: "TENTH", Number: 10},
- },
- },
- {
- Name: "NestedEnum",
- Values: []prototype.EnumValue{
- {Name: "UNO", Number: 1},
- {Name: "DOS", Number: 2},
- {Name: "DIEZ", Number: 10},
- },
- },
- }
- var xxx_Test_ProtoFile_MessageTypes = [22]protoimpl.MessageType{
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[0].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Scalars)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[1].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Repeats)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[2].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Enums)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[3].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Nests)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[4].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Nested)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[5].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Requireds)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[6].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(PartialRequired)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[7].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Oneofs)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[8].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Maps)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[9].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(NestedWithRequired)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[10].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(IndirectRequired)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[11].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(KnownTypes)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[12].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Nests_OptGroup)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[13].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Nests_RptGroup)
- },
- )},
- {Type: prototype.GoMessage(
- xxx_Test_ProtoFile_MessageDescs[14].Reference(),
- func(protoreflect.MessageType) protoreflect.ProtoMessage {
- return new(Nests_OptGroup_OptNestedGroup)
- },
- )},
- { /* no message type for Maps_Int32ToStrEntry */ },
- { /* no message type for Maps_Sfixed64ToBoolEntry */ },
- { /* no message type for Maps_BoolToUint32Entry */ },
- { /* no message type for Maps_Uint64ToEnumEntry */ },
- { /* no message type for Maps_StrToNestedEntry */ },
- { /* no message type for Maps_StrToOneofsEntry */ },
- { /* no message type for IndirectRequired_StrToNestedEntry */ },
- }
- var xxx_Test_ProtoFile_MessageDescs = [22]prototype.Message{
- {
- Name: "Scalars",
- Fields: []prototype.Field{
- {
- Name: "opt_bool",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.BoolKind,
- JSONName: "optBool",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_int32",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Int32Kind,
- JSONName: "optInt32",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_int64",
- Number: 3,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Int64Kind,
- JSONName: "optInt64",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_uint32",
- Number: 4,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Uint32Kind,
- JSONName: "optUint32",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_uint64",
- Number: 5,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Uint64Kind,
- JSONName: "optUint64",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_sint32",
- Number: 6,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Sint32Kind,
- JSONName: "optSint32",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_sint64",
- Number: 7,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Sint64Kind,
- JSONName: "optSint64",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_fixed32",
- Number: 8,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Fixed32Kind,
- JSONName: "optFixed32",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_fixed64",
- Number: 9,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Fixed64Kind,
- JSONName: "optFixed64",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_sfixed32",
- Number: 10,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Sfixed32Kind,
- JSONName: "optSfixed32",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_sfixed64",
- Number: 11,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Sfixed64Kind,
- JSONName: "optSfixed64",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_float",
- Number: 20,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.FloatKind,
- JSONName: "optFloat",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_double",
- Number: 21,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.DoubleKind,
- JSONName: "optDouble",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_bytes",
- Number: 14,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.BytesKind,
- JSONName: "optBytes",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_string",
- Number: 13,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "optString",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "Repeats",
- Fields: []prototype.Field{
- {
- Name: "rpt_bool",
- Number: 1,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.BoolKind,
- JSONName: "rptBool",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_int32",
- Number: 2,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.Int32Kind,
- JSONName: "rptInt32",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_int64",
- Number: 3,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.Int64Kind,
- JSONName: "rptInt64",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_uint32",
- Number: 4,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.Uint32Kind,
- JSONName: "rptUint32",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_uint64",
- Number: 5,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.Uint64Kind,
- JSONName: "rptUint64",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_float",
- Number: 6,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.FloatKind,
- JSONName: "rptFloat",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_double",
- Number: 7,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.DoubleKind,
- JSONName: "rptDouble",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_string",
- Number: 15,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.StringKind,
- JSONName: "rptString",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_bytes",
- Number: 14,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.BytesKind,
- JSONName: "rptBytes",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "Enums",
- Fields: []prototype.Field{
- {
- Name: "opt_enum",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.EnumKind,
- JSONName: "optEnum",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_enum",
- Number: 2,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.EnumKind,
- JSONName: "rptEnum",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_nested_enum",
- Number: 3,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.EnumKind,
- JSONName: "optNestedEnum",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_nested_enum",
- Number: 4,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.EnumKind,
- JSONName: "rptNestedEnum",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "Nests",
- Fields: []prototype.Field{
- {
- Name: "opt_nested",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optNested",
- IsPacked: prototype.False,
- },
- {
- Name: "optgroup",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.GroupKind,
- JSONName: "optgroup",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_nested",
- Number: 3,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "rptNested",
- IsPacked: prototype.False,
- },
- {
- Name: "rptgroup",
- Number: 4,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.GroupKind,
- JSONName: "rptgroup",
- IsPacked: prototype.False,
- },
- },
- ReservedNames: []protoreflect.Name{"reserved_field"},
- },
- {
- Name: "Nested",
- Fields: []prototype.Field{
- {
- Name: "opt_string",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "optString",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_nested",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optNested",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "Requireds",
- Fields: []prototype.Field{
- {
- Name: "req_bool",
- Number: 1,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.BoolKind,
- JSONName: "reqBool",
- IsPacked: prototype.False,
- },
- {
- Name: "req_fixed32",
- Number: 2,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.Fixed32Kind,
- JSONName: "reqFixed32",
- IsPacked: prototype.False,
- },
- {
- Name: "req_fixed64",
- Number: 3,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.Fixed64Kind,
- JSONName: "reqFixed64",
- IsPacked: prototype.False,
- },
- {
- Name: "req_sfixed32",
- Number: 4,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.Sfixed32Kind,
- JSONName: "reqSfixed32",
- IsPacked: prototype.False,
- },
- {
- Name: "req_sfixed64",
- Number: 5,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.Sfixed64Kind,
- JSONName: "reqSfixed64",
- IsPacked: prototype.False,
- },
- {
- Name: "req_float",
- Number: 6,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.FloatKind,
- JSONName: "reqFloat",
- IsPacked: prototype.False,
- },
- {
- Name: "req_double",
- Number: 7,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.DoubleKind,
- JSONName: "reqDouble",
- IsPacked: prototype.False,
- },
- {
- Name: "req_string",
- Number: 8,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.StringKind,
- JSONName: "reqString",
- IsPacked: prototype.False,
- },
- {
- Name: "req_bytes",
- Number: 9,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.BytesKind,
- JSONName: "reqBytes",
- IsPacked: prototype.False,
- },
- {
- Name: "req_enum",
- Number: 10,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.EnumKind,
- JSONName: "reqEnum",
- IsPacked: prototype.False,
- },
- {
- Name: "req_nested",
- Number: 11,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.MessageKind,
- JSONName: "reqNested",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "PartialRequired",
- Fields: []prototype.Field{
- {
- Name: "req_string",
- Number: 1,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.StringKind,
- JSONName: "reqString",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_string",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "optString",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "Oneofs",
- Fields: []prototype.Field{
- {
- Name: "str",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "str",
- OneofName: "union",
- IsPacked: prototype.False,
- },
- {
- Name: "msg",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "msg",
- OneofName: "union",
- IsPacked: prototype.False,
- },
- },
- Oneofs: []prototype.Oneof{
- {Name: "union"},
- },
- },
- {
- Name: "Maps",
- Fields: []prototype.Field{
- {
- Name: "int32_to_str",
- Number: 1,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "int32ToStr",
- IsPacked: prototype.False,
- },
- {
- Name: "sfixed64_to_bool",
- Number: 2,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "sfixed64ToBool",
- IsPacked: prototype.False,
- },
- {
- Name: "bool_to_uint32",
- Number: 3,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "boolToUint32",
- IsPacked: prototype.False,
- },
- {
- Name: "uint64_to_enum",
- Number: 4,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "uint64ToEnum",
- IsPacked: prototype.False,
- },
- {
- Name: "str_to_nested",
- Number: 5,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "strToNested",
- IsPacked: prototype.False,
- },
- {
- Name: "str_to_oneofs",
- Number: 6,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "strToOneofs",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "NestedWithRequired",
- Fields: []prototype.Field{
- {
- Name: "req_string",
- Number: 1,
- Cardinality: protoreflect.Required,
- Kind: protoreflect.StringKind,
- JSONName: "reqString",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "IndirectRequired",
- Fields: []prototype.Field{
- {
- Name: "opt_nested",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optNested",
- IsPacked: prototype.False,
- },
- {
- Name: "rpt_nested",
- Number: 2,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "rptNested",
- IsPacked: prototype.False,
- },
- {
- Name: "str_to_nested",
- Number: 3,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.MessageKind,
- JSONName: "strToNested",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "KnownTypes",
- Fields: []prototype.Field{
- {
- Name: "opt_bool",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optBool",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_int32",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optInt32",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_int64",
- Number: 3,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optInt64",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_uint32",
- Number: 4,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optUint32",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_uint64",
- Number: 5,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optUint64",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_float",
- Number: 6,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optFloat",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_double",
- Number: 7,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optDouble",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_string",
- Number: 8,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optString",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_bytes",
- Number: 9,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optBytes",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_duration",
- Number: 20,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optDuration",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_timestamp",
- Number: 21,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optTimestamp",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_struct",
- Number: 25,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optStruct",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_list",
- Number: 26,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optList",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_value",
- Number: 27,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optValue",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_empty",
- Number: 30,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optEmpty",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_any",
- Number: 32,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optAny",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "OptGroup",
- Fields: []prototype.Field{
- {
- Name: "opt_bool",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.BoolKind,
- JSONName: "optBool",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_string",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "optString",
- IsPacked: prototype.False,
- },
- {
- Name: "opt_nested",
- Number: 3,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "optNested",
- IsPacked: prototype.False,
- },
- {
- Name: "optnestedgroup",
- Number: 4,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.GroupKind,
- JSONName: "optnestedgroup",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "RptGroup",
- Fields: []prototype.Field{
- {
- Name: "rpt_bool",
- Number: 1,
- Cardinality: protoreflect.Repeated,
- Kind: protoreflect.BoolKind,
- JSONName: "rptBool",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "OptNestedGroup",
- Fields: []prototype.Field{
- {
- Name: "opt_enum",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.EnumKind,
- JSONName: "optEnum",
- IsPacked: prototype.False,
- },
- },
- },
- {
- Name: "Int32ToStrEntry",
- Fields: []prototype.Field{
- {
- Name: "key",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Int32Kind,
- JSONName: "key",
- IsPacked: prototype.False,
- },
- {
- Name: "value",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "value",
- IsPacked: prototype.False,
- },
- },
- IsMapEntry: true,
- },
- {
- Name: "Sfixed64ToBoolEntry",
- Fields: []prototype.Field{
- {
- Name: "key",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Sfixed64Kind,
- JSONName: "key",
- IsPacked: prototype.False,
- },
- {
- Name: "value",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.BoolKind,
- JSONName: "value",
- IsPacked: prototype.False,
- },
- },
- IsMapEntry: true,
- },
- {
- Name: "BoolToUint32Entry",
- Fields: []prototype.Field{
- {
- Name: "key",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.BoolKind,
- JSONName: "key",
- IsPacked: prototype.False,
- },
- {
- Name: "value",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Uint32Kind,
- JSONName: "value",
- IsPacked: prototype.False,
- },
- },
- IsMapEntry: true,
- },
- {
- Name: "Uint64ToEnumEntry",
- Fields: []prototype.Field{
- {
- Name: "key",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.Uint64Kind,
- JSONName: "key",
- IsPacked: prototype.False,
- },
- {
- Name: "value",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.EnumKind,
- JSONName: "value",
- IsPacked: prototype.False,
- },
- },
- IsMapEntry: true,
- },
- {
- Name: "StrToNestedEntry",
- Fields: []prototype.Field{
- {
- Name: "key",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "key",
- IsPacked: prototype.False,
- },
- {
- Name: "value",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "value",
- IsPacked: prototype.False,
- },
- },
- IsMapEntry: true,
- },
- {
- Name: "StrToOneofsEntry",
- Fields: []prototype.Field{
- {
- Name: "key",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "key",
- IsPacked: prototype.False,
- },
- {
- Name: "value",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "value",
- IsPacked: prototype.False,
- },
- },
- IsMapEntry: true,
- },
- {
- Name: "StrToNestedEntry",
- Fields: []prototype.Field{
- {
- Name: "key",
- Number: 1,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.StringKind,
- JSONName: "key",
- IsPacked: prototype.False,
- },
- {
- Name: "value",
- Number: 2,
- Cardinality: protoreflect.Optional,
- Kind: protoreflect.MessageKind,
- JSONName: "value",
- IsPacked: prototype.False,
- },
- },
- IsMapEntry: true,
- },
- }
|