test.pb.go 95 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: test.proto
  3. package testpb
  4. import (
  5. proto "github.com/golang/protobuf/proto"
  6. protoreflect "github.com/golang/protobuf/v2/reflect/protoreflect"
  7. prototype "github.com/golang/protobuf/v2/reflect/prototype"
  8. protoimpl "github.com/golang/protobuf/v2/runtime/protoimpl"
  9. )
  10. // This is a compile-time assertion to ensure that this generated file
  11. // is compatible with the proto package it is being compiled against.
  12. // A compilation error at this line likely means your copy of the
  13. // proto package needs to be updated.
  14. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  15. type TestAllTypes_NestedEnum int32
  16. const (
  17. TestAllTypes_FOO TestAllTypes_NestedEnum = 0
  18. TestAllTypes_BAR TestAllTypes_NestedEnum = 1
  19. TestAllTypes_BAZ TestAllTypes_NestedEnum = 2
  20. TestAllTypes_NEG TestAllTypes_NestedEnum = -1
  21. )
  22. type xxx_TestAllTypes_NestedEnum TestAllTypes_NestedEnum
  23. func (e TestAllTypes_NestedEnum) ProtoReflect() protoreflect.Enum {
  24. return (xxx_TestAllTypes_NestedEnum)(e)
  25. }
  26. func (e xxx_TestAllTypes_NestedEnum) Type() protoreflect.EnumType {
  27. return xxx_Test_ProtoFile_EnumTypes[0]
  28. }
  29. func (e xxx_TestAllTypes_NestedEnum) Number() protoreflect.EnumNumber {
  30. return protoreflect.EnumNumber(e)
  31. }
  32. var TestAllTypes_NestedEnum_name = map[int32]string{
  33. 0: "FOO",
  34. 1: "BAR",
  35. 2: "BAZ",
  36. -1: "NEG",
  37. }
  38. var TestAllTypes_NestedEnum_value = map[string]int32{
  39. "FOO": 0,
  40. "BAR": 1,
  41. "BAZ": 2,
  42. "NEG": -1,
  43. }
  44. func (x TestAllTypes_NestedEnum) Enum() *TestAllTypes_NestedEnum {
  45. p := new(TestAllTypes_NestedEnum)
  46. *p = x
  47. return p
  48. }
  49. func (x TestAllTypes_NestedEnum) String() string {
  50. return proto.EnumName(TestAllTypes_NestedEnum_name, int32(x))
  51. }
  52. func (x *TestAllTypes_NestedEnum) UnmarshalJSON(data []byte) error {
  53. value, err := proto.UnmarshalJSONEnum(TestAllTypes_NestedEnum_value, data, "TestAllTypes_NestedEnum")
  54. if err != nil {
  55. return err
  56. }
  57. *x = TestAllTypes_NestedEnum(value)
  58. return nil
  59. }
  60. func (TestAllTypes_NestedEnum) EnumDescriptor() ([]byte, []int) {
  61. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0}
  62. }
  63. type TestAllTypes struct {
  64. OptionalInt32 *int32 `protobuf:"varint,1,opt,name=optional_int32,json=optionalInt32" json:"optional_int32,omitempty"`
  65. OptionalInt64 *int64 `protobuf:"varint,2,opt,name=optional_int64,json=optionalInt64" json:"optional_int64,omitempty"`
  66. OptionalUint32 *uint32 `protobuf:"varint,3,opt,name=optional_uint32,json=optionalUint32" json:"optional_uint32,omitempty"`
  67. OptionalUint64 *uint64 `protobuf:"varint,4,opt,name=optional_uint64,json=optionalUint64" json:"optional_uint64,omitempty"`
  68. OptionalSint32 *int32 `protobuf:"zigzag32,5,opt,name=optional_sint32,json=optionalSint32" json:"optional_sint32,omitempty"`
  69. OptionalSint64 *int64 `protobuf:"zigzag64,6,opt,name=optional_sint64,json=optionalSint64" json:"optional_sint64,omitempty"`
  70. OptionalFixed32 *uint32 `protobuf:"fixed32,7,opt,name=optional_fixed32,json=optionalFixed32" json:"optional_fixed32,omitempty"`
  71. OptionalFixed64 *uint64 `protobuf:"fixed64,8,opt,name=optional_fixed64,json=optionalFixed64" json:"optional_fixed64,omitempty"`
  72. OptionalSfixed32 *int32 `protobuf:"fixed32,9,opt,name=optional_sfixed32,json=optionalSfixed32" json:"optional_sfixed32,omitempty"`
  73. OptionalSfixed64 *int64 `protobuf:"fixed64,10,opt,name=optional_sfixed64,json=optionalSfixed64" json:"optional_sfixed64,omitempty"`
  74. OptionalFloat *float32 `protobuf:"fixed32,11,opt,name=optional_float,json=optionalFloat" json:"optional_float,omitempty"`
  75. OptionalDouble *float64 `protobuf:"fixed64,12,opt,name=optional_double,json=optionalDouble" json:"optional_double,omitempty"`
  76. OptionalBool *bool `protobuf:"varint,13,opt,name=optional_bool,json=optionalBool" json:"optional_bool,omitempty"`
  77. OptionalString *string `protobuf:"bytes,14,opt,name=optional_string,json=optionalString" json:"optional_string,omitempty"`
  78. OptionalBytes []byte `protobuf:"bytes,15,opt,name=optional_bytes,json=optionalBytes" json:"optional_bytes,omitempty"`
  79. Optionalgroup *TestAllTypes_OptionalGroup `protobuf:"group,16,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
  80. OptionalNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,18,opt,name=optional_nested_message,json=optionalNestedMessage" json:"optional_nested_message,omitempty"`
  81. OptionalNestedEnum *TestAllTypes_NestedEnum `protobuf:"varint,21,opt,name=optional_nested_enum,json=optionalNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"optional_nested_enum,omitempty"`
  82. RepeatedInt32 []int32 `protobuf:"varint,31,rep,name=repeated_int32,json=repeatedInt32" json:"repeated_int32,omitempty"`
  83. RepeatedInt64 []int64 `protobuf:"varint,32,rep,name=repeated_int64,json=repeatedInt64" json:"repeated_int64,omitempty"`
  84. RepeatedUint32 []uint32 `protobuf:"varint,33,rep,name=repeated_uint32,json=repeatedUint32" json:"repeated_uint32,omitempty"`
  85. RepeatedUint64 []uint64 `protobuf:"varint,34,rep,name=repeated_uint64,json=repeatedUint64" json:"repeated_uint64,omitempty"`
  86. RepeatedSint32 []int32 `protobuf:"zigzag32,35,rep,name=repeated_sint32,json=repeatedSint32" json:"repeated_sint32,omitempty"`
  87. RepeatedSint64 []int64 `protobuf:"zigzag64,36,rep,name=repeated_sint64,json=repeatedSint64" json:"repeated_sint64,omitempty"`
  88. RepeatedFixed32 []uint32 `protobuf:"fixed32,37,rep,name=repeated_fixed32,json=repeatedFixed32" json:"repeated_fixed32,omitempty"`
  89. RepeatedFixed64 []uint64 `protobuf:"fixed64,38,rep,name=repeated_fixed64,json=repeatedFixed64" json:"repeated_fixed64,omitempty"`
  90. RepeatedSfixed32 []int32 `protobuf:"fixed32,39,rep,name=repeated_sfixed32,json=repeatedSfixed32" json:"repeated_sfixed32,omitempty"`
  91. RepeatedSfixed64 []int64 `protobuf:"fixed64,40,rep,name=repeated_sfixed64,json=repeatedSfixed64" json:"repeated_sfixed64,omitempty"`
  92. RepeatedFloat []float32 `protobuf:"fixed32,41,rep,name=repeated_float,json=repeatedFloat" json:"repeated_float,omitempty"`
  93. RepeatedDouble []float64 `protobuf:"fixed64,42,rep,name=repeated_double,json=repeatedDouble" json:"repeated_double,omitempty"`
  94. RepeatedBool []bool `protobuf:"varint,43,rep,name=repeated_bool,json=repeatedBool" json:"repeated_bool,omitempty"`
  95. RepeatedString []string `protobuf:"bytes,44,rep,name=repeated_string,json=repeatedString" json:"repeated_string,omitempty"`
  96. RepeatedBytes [][]byte `protobuf:"bytes,45,rep,name=repeated_bytes,json=repeatedBytes" json:"repeated_bytes,omitempty"`
  97. Repeatedgroup []*TestAllTypes_RepeatedGroup `protobuf:"group,46,rep,name=RepeatedGroup,json=repeatedgroup" json:"repeatedgroup,omitempty"`
  98. RepeatedNestedMessage []*TestAllTypes_NestedMessage `protobuf:"bytes,48,rep,name=repeated_nested_message,json=repeatedNestedMessage" json:"repeated_nested_message,omitempty"`
  99. RepeatedNestedEnum []TestAllTypes_NestedEnum `protobuf:"varint,51,rep,name=repeated_nested_enum,json=repeatedNestedEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum" json:"repeated_nested_enum,omitempty"`
  100. MapInt32Int32 map[int32]int32 `protobuf:"bytes,56,rep,name=map_int32_int32,json=mapInt32Int32" json:"map_int32_int32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  101. MapInt64Int64 map[int64]int64 `protobuf:"bytes,57,rep,name=map_int64_int64,json=mapInt64Int64" json:"map_int64_int64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  102. MapUint32Uint32 map[uint32]uint32 `protobuf:"bytes,58,rep,name=map_uint32_uint32,json=mapUint32Uint32" json:"map_uint32_uint32,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  103. MapUint64Uint64 map[uint64]uint64 `protobuf:"bytes,59,rep,name=map_uint64_uint64,json=mapUint64Uint64" json:"map_uint64_uint64,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  104. MapSint32Sint32 map[int32]int32 `protobuf:"bytes,60,rep,name=map_sint32_sint32,json=mapSint32Sint32" json:"map_sint32_sint32,omitempty" protobuf_key:"zigzag32,1,opt,name=key" protobuf_val:"zigzag32,2,opt,name=value"`
  105. MapSint64Sint64 map[int64]int64 `protobuf:"bytes,61,rep,name=map_sint64_sint64,json=mapSint64Sint64" json:"map_sint64_sint64,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"zigzag64,2,opt,name=value"`
  106. MapFixed32Fixed32 map[uint32]uint32 `protobuf:"bytes,62,rep,name=map_fixed32_fixed32,json=mapFixed32Fixed32" json:"map_fixed32_fixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
  107. MapFixed64Fixed64 map[uint64]uint64 `protobuf:"bytes,63,rep,name=map_fixed64_fixed64,json=mapFixed64Fixed64" json:"map_fixed64_fixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
  108. MapSfixed32Sfixed32 map[int32]int32 `protobuf:"bytes,64,rep,name=map_sfixed32_sfixed32,json=mapSfixed32Sfixed32" json:"map_sfixed32_sfixed32,omitempty" protobuf_key:"fixed32,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
  109. MapSfixed64Sfixed64 map[int64]int64 `protobuf:"bytes,65,rep,name=map_sfixed64_sfixed64,json=mapSfixed64Sfixed64" json:"map_sfixed64_sfixed64,omitempty" protobuf_key:"fixed64,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
  110. MapInt32Float map[int32]float32 `protobuf:"bytes,66,rep,name=map_int32_float,json=mapInt32Float" json:"map_int32_float,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed32,2,opt,name=value"`
  111. MapInt32Double map[int32]float64 `protobuf:"bytes,67,rep,name=map_int32_double,json=mapInt32Double" json:"map_int32_double,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
  112. MapBoolBool map[bool]bool `protobuf:"bytes,68,rep,name=map_bool_bool,json=mapBoolBool" json:"map_bool_bool,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  113. MapStringString map[string]string `protobuf:"bytes,69,rep,name=map_string_string,json=mapStringString" json:"map_string_string,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  114. MapStringBytes map[string][]byte `protobuf:"bytes,70,rep,name=map_string_bytes,json=mapStringBytes" json:"map_string_bytes,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  115. MapStringNestedMessage map[string]*TestAllTypes_NestedMessage `protobuf:"bytes,71,rep,name=map_string_nested_message,json=mapStringNestedMessage" json:"map_string_nested_message,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
  116. MapStringNestedEnum map[string]TestAllTypes_NestedEnum `protobuf:"bytes,73,rep,name=map_string_nested_enum,json=mapStringNestedEnum" json:"map_string_nested_enum,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value,enum=goproto.proto.test.TestAllTypes_NestedEnum"`
  117. // Types that are valid to be assigned to OneofField:
  118. // *TestAllTypes_OneofUint32
  119. // *TestAllTypes_OneofNestedMessage
  120. // *TestAllTypes_OneofString
  121. // *TestAllTypes_OneofBytes
  122. // *TestAllTypes_OneofBool
  123. // *TestAllTypes_OneofUint64
  124. // *TestAllTypes_OneofFloat
  125. // *TestAllTypes_OneofDouble
  126. // *TestAllTypes_OneofEnum
  127. OneofField isTestAllTypes_OneofField `protobuf_oneof:"oneof_field"`
  128. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  129. XXX_unrecognized []byte `json:"-"`
  130. XXX_sizecache int32 `json:"-"`
  131. }
  132. type xxx_TestAllTypes struct{ m *TestAllTypes }
  133. func (m *TestAllTypes) ProtoReflect() protoreflect.Message {
  134. return xxx_TestAllTypes{m}
  135. }
  136. func (m xxx_TestAllTypes) Type() protoreflect.MessageType {
  137. return xxx_Test_ProtoFile_MessageTypes[0].Type
  138. }
  139. func (m xxx_TestAllTypes) KnownFields() protoreflect.KnownFields {
  140. return xxx_Test_ProtoFile_MessageTypes[0].KnownFieldsOf(m.m)
  141. }
  142. func (m xxx_TestAllTypes) UnknownFields() protoreflect.UnknownFields {
  143. return xxx_Test_ProtoFile_MessageTypes[0].UnknownFieldsOf(m.m)
  144. }
  145. func (m xxx_TestAllTypes) Interface() protoreflect.ProtoMessage {
  146. return m.m
  147. }
  148. func (m *TestAllTypes) Reset() { *m = TestAllTypes{} }
  149. func (m *TestAllTypes) String() string { return proto.CompactTextString(m) }
  150. func (*TestAllTypes) ProtoMessage() {}
  151. func (*TestAllTypes) Descriptor() ([]byte, []int) {
  152. return fileDescriptor_c161fcfdc0c3ff1e, []int{0}
  153. }
  154. func (m *TestAllTypes) XXX_Unmarshal(b []byte) error {
  155. return xxx_messageInfo_TestAllTypes.Unmarshal(m, b)
  156. }
  157. func (m *TestAllTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  158. return xxx_messageInfo_TestAllTypes.Marshal(b, m, deterministic)
  159. }
  160. func (m *TestAllTypes) XXX_Merge(src proto.Message) {
  161. xxx_messageInfo_TestAllTypes.Merge(m, src)
  162. }
  163. func (m *TestAllTypes) XXX_Size() int {
  164. return xxx_messageInfo_TestAllTypes.Size(m)
  165. }
  166. func (m *TestAllTypes) XXX_DiscardUnknown() {
  167. xxx_messageInfo_TestAllTypes.DiscardUnknown(m)
  168. }
  169. var xxx_messageInfo_TestAllTypes proto.InternalMessageInfo
  170. func (m *TestAllTypes) GetOptionalInt32() int32 {
  171. if m != nil && m.OptionalInt32 != nil {
  172. return *m.OptionalInt32
  173. }
  174. return 0
  175. }
  176. func (m *TestAllTypes) GetOptionalInt64() int64 {
  177. if m != nil && m.OptionalInt64 != nil {
  178. return *m.OptionalInt64
  179. }
  180. return 0
  181. }
  182. func (m *TestAllTypes) GetOptionalUint32() uint32 {
  183. if m != nil && m.OptionalUint32 != nil {
  184. return *m.OptionalUint32
  185. }
  186. return 0
  187. }
  188. func (m *TestAllTypes) GetOptionalUint64() uint64 {
  189. if m != nil && m.OptionalUint64 != nil {
  190. return *m.OptionalUint64
  191. }
  192. return 0
  193. }
  194. func (m *TestAllTypes) GetOptionalSint32() int32 {
  195. if m != nil && m.OptionalSint32 != nil {
  196. return *m.OptionalSint32
  197. }
  198. return 0
  199. }
  200. func (m *TestAllTypes) GetOptionalSint64() int64 {
  201. if m != nil && m.OptionalSint64 != nil {
  202. return *m.OptionalSint64
  203. }
  204. return 0
  205. }
  206. func (m *TestAllTypes) GetOptionalFixed32() uint32 {
  207. if m != nil && m.OptionalFixed32 != nil {
  208. return *m.OptionalFixed32
  209. }
  210. return 0
  211. }
  212. func (m *TestAllTypes) GetOptionalFixed64() uint64 {
  213. if m != nil && m.OptionalFixed64 != nil {
  214. return *m.OptionalFixed64
  215. }
  216. return 0
  217. }
  218. func (m *TestAllTypes) GetOptionalSfixed32() int32 {
  219. if m != nil && m.OptionalSfixed32 != nil {
  220. return *m.OptionalSfixed32
  221. }
  222. return 0
  223. }
  224. func (m *TestAllTypes) GetOptionalSfixed64() int64 {
  225. if m != nil && m.OptionalSfixed64 != nil {
  226. return *m.OptionalSfixed64
  227. }
  228. return 0
  229. }
  230. func (m *TestAllTypes) GetOptionalFloat() float32 {
  231. if m != nil && m.OptionalFloat != nil {
  232. return *m.OptionalFloat
  233. }
  234. return 0
  235. }
  236. func (m *TestAllTypes) GetOptionalDouble() float64 {
  237. if m != nil && m.OptionalDouble != nil {
  238. return *m.OptionalDouble
  239. }
  240. return 0
  241. }
  242. func (m *TestAllTypes) GetOptionalBool() bool {
  243. if m != nil && m.OptionalBool != nil {
  244. return *m.OptionalBool
  245. }
  246. return false
  247. }
  248. func (m *TestAllTypes) GetOptionalString() string {
  249. if m != nil && m.OptionalString != nil {
  250. return *m.OptionalString
  251. }
  252. return ""
  253. }
  254. func (m *TestAllTypes) GetOptionalBytes() []byte {
  255. if m != nil {
  256. return m.OptionalBytes
  257. }
  258. return nil
  259. }
  260. func (m *TestAllTypes) GetOptionalgroup() *TestAllTypes_OptionalGroup {
  261. if m != nil {
  262. return m.Optionalgroup
  263. }
  264. return nil
  265. }
  266. func (m *TestAllTypes) GetOptionalNestedMessage() *TestAllTypes_NestedMessage {
  267. if m != nil {
  268. return m.OptionalNestedMessage
  269. }
  270. return nil
  271. }
  272. func (m *TestAllTypes) GetOptionalNestedEnum() TestAllTypes_NestedEnum {
  273. if m != nil && m.OptionalNestedEnum != nil {
  274. return *m.OptionalNestedEnum
  275. }
  276. return TestAllTypes_FOO
  277. }
  278. func (m *TestAllTypes) GetRepeatedInt32() []int32 {
  279. if m != nil {
  280. return m.RepeatedInt32
  281. }
  282. return nil
  283. }
  284. func (m *TestAllTypes) GetRepeatedInt64() []int64 {
  285. if m != nil {
  286. return m.RepeatedInt64
  287. }
  288. return nil
  289. }
  290. func (m *TestAllTypes) GetRepeatedUint32() []uint32 {
  291. if m != nil {
  292. return m.RepeatedUint32
  293. }
  294. return nil
  295. }
  296. func (m *TestAllTypes) GetRepeatedUint64() []uint64 {
  297. if m != nil {
  298. return m.RepeatedUint64
  299. }
  300. return nil
  301. }
  302. func (m *TestAllTypes) GetRepeatedSint32() []int32 {
  303. if m != nil {
  304. return m.RepeatedSint32
  305. }
  306. return nil
  307. }
  308. func (m *TestAllTypes) GetRepeatedSint64() []int64 {
  309. if m != nil {
  310. return m.RepeatedSint64
  311. }
  312. return nil
  313. }
  314. func (m *TestAllTypes) GetRepeatedFixed32() []uint32 {
  315. if m != nil {
  316. return m.RepeatedFixed32
  317. }
  318. return nil
  319. }
  320. func (m *TestAllTypes) GetRepeatedFixed64() []uint64 {
  321. if m != nil {
  322. return m.RepeatedFixed64
  323. }
  324. return nil
  325. }
  326. func (m *TestAllTypes) GetRepeatedSfixed32() []int32 {
  327. if m != nil {
  328. return m.RepeatedSfixed32
  329. }
  330. return nil
  331. }
  332. func (m *TestAllTypes) GetRepeatedSfixed64() []int64 {
  333. if m != nil {
  334. return m.RepeatedSfixed64
  335. }
  336. return nil
  337. }
  338. func (m *TestAllTypes) GetRepeatedFloat() []float32 {
  339. if m != nil {
  340. return m.RepeatedFloat
  341. }
  342. return nil
  343. }
  344. func (m *TestAllTypes) GetRepeatedDouble() []float64 {
  345. if m != nil {
  346. return m.RepeatedDouble
  347. }
  348. return nil
  349. }
  350. func (m *TestAllTypes) GetRepeatedBool() []bool {
  351. if m != nil {
  352. return m.RepeatedBool
  353. }
  354. return nil
  355. }
  356. func (m *TestAllTypes) GetRepeatedString() []string {
  357. if m != nil {
  358. return m.RepeatedString
  359. }
  360. return nil
  361. }
  362. func (m *TestAllTypes) GetRepeatedBytes() [][]byte {
  363. if m != nil {
  364. return m.RepeatedBytes
  365. }
  366. return nil
  367. }
  368. func (m *TestAllTypes) GetRepeatedgroup() []*TestAllTypes_RepeatedGroup {
  369. if m != nil {
  370. return m.Repeatedgroup
  371. }
  372. return nil
  373. }
  374. func (m *TestAllTypes) GetRepeatedNestedMessage() []*TestAllTypes_NestedMessage {
  375. if m != nil {
  376. return m.RepeatedNestedMessage
  377. }
  378. return nil
  379. }
  380. func (m *TestAllTypes) GetRepeatedNestedEnum() []TestAllTypes_NestedEnum {
  381. if m != nil {
  382. return m.RepeatedNestedEnum
  383. }
  384. return nil
  385. }
  386. func (m *TestAllTypes) GetMapInt32Int32() map[int32]int32 {
  387. if m != nil {
  388. return m.MapInt32Int32
  389. }
  390. return nil
  391. }
  392. func (m *TestAllTypes) GetMapInt64Int64() map[int64]int64 {
  393. if m != nil {
  394. return m.MapInt64Int64
  395. }
  396. return nil
  397. }
  398. func (m *TestAllTypes) GetMapUint32Uint32() map[uint32]uint32 {
  399. if m != nil {
  400. return m.MapUint32Uint32
  401. }
  402. return nil
  403. }
  404. func (m *TestAllTypes) GetMapUint64Uint64() map[uint64]uint64 {
  405. if m != nil {
  406. return m.MapUint64Uint64
  407. }
  408. return nil
  409. }
  410. func (m *TestAllTypes) GetMapSint32Sint32() map[int32]int32 {
  411. if m != nil {
  412. return m.MapSint32Sint32
  413. }
  414. return nil
  415. }
  416. func (m *TestAllTypes) GetMapSint64Sint64() map[int64]int64 {
  417. if m != nil {
  418. return m.MapSint64Sint64
  419. }
  420. return nil
  421. }
  422. func (m *TestAllTypes) GetMapFixed32Fixed32() map[uint32]uint32 {
  423. if m != nil {
  424. return m.MapFixed32Fixed32
  425. }
  426. return nil
  427. }
  428. func (m *TestAllTypes) GetMapFixed64Fixed64() map[uint64]uint64 {
  429. if m != nil {
  430. return m.MapFixed64Fixed64
  431. }
  432. return nil
  433. }
  434. func (m *TestAllTypes) GetMapSfixed32Sfixed32() map[int32]int32 {
  435. if m != nil {
  436. return m.MapSfixed32Sfixed32
  437. }
  438. return nil
  439. }
  440. func (m *TestAllTypes) GetMapSfixed64Sfixed64() map[int64]int64 {
  441. if m != nil {
  442. return m.MapSfixed64Sfixed64
  443. }
  444. return nil
  445. }
  446. func (m *TestAllTypes) GetMapInt32Float() map[int32]float32 {
  447. if m != nil {
  448. return m.MapInt32Float
  449. }
  450. return nil
  451. }
  452. func (m *TestAllTypes) GetMapInt32Double() map[int32]float64 {
  453. if m != nil {
  454. return m.MapInt32Double
  455. }
  456. return nil
  457. }
  458. func (m *TestAllTypes) GetMapBoolBool() map[bool]bool {
  459. if m != nil {
  460. return m.MapBoolBool
  461. }
  462. return nil
  463. }
  464. func (m *TestAllTypes) GetMapStringString() map[string]string {
  465. if m != nil {
  466. return m.MapStringString
  467. }
  468. return nil
  469. }
  470. func (m *TestAllTypes) GetMapStringBytes() map[string][]byte {
  471. if m != nil {
  472. return m.MapStringBytes
  473. }
  474. return nil
  475. }
  476. func (m *TestAllTypes) GetMapStringNestedMessage() map[string]*TestAllTypes_NestedMessage {
  477. if m != nil {
  478. return m.MapStringNestedMessage
  479. }
  480. return nil
  481. }
  482. func (m *TestAllTypes) GetMapStringNestedEnum() map[string]TestAllTypes_NestedEnum {
  483. if m != nil {
  484. return m.MapStringNestedEnum
  485. }
  486. return nil
  487. }
  488. type isTestAllTypes_OneofField interface {
  489. isTestAllTypes_OneofField()
  490. }
  491. type TestAllTypes_OneofUint32 struct {
  492. OneofUint32 uint32 `protobuf:"varint,111,opt,name=oneof_uint32,json=oneofUint32,oneof"`
  493. }
  494. type TestAllTypes_OneofNestedMessage struct {
  495. OneofNestedMessage *TestAllTypes_NestedMessage `protobuf:"bytes,112,opt,name=oneof_nested_message,json=oneofNestedMessage,oneof"`
  496. }
  497. type TestAllTypes_OneofString struct {
  498. OneofString string `protobuf:"bytes,113,opt,name=oneof_string,json=oneofString,oneof"`
  499. }
  500. type TestAllTypes_OneofBytes struct {
  501. OneofBytes []byte `protobuf:"bytes,114,opt,name=oneof_bytes,json=oneofBytes,oneof"`
  502. }
  503. type TestAllTypes_OneofBool struct {
  504. OneofBool bool `protobuf:"varint,115,opt,name=oneof_bool,json=oneofBool,oneof"`
  505. }
  506. type TestAllTypes_OneofUint64 struct {
  507. OneofUint64 uint64 `protobuf:"varint,116,opt,name=oneof_uint64,json=oneofUint64,oneof"`
  508. }
  509. type TestAllTypes_OneofFloat struct {
  510. OneofFloat float32 `protobuf:"fixed32,117,opt,name=oneof_float,json=oneofFloat,oneof"`
  511. }
  512. type TestAllTypes_OneofDouble struct {
  513. OneofDouble float64 `protobuf:"fixed64,118,opt,name=oneof_double,json=oneofDouble,oneof"`
  514. }
  515. type TestAllTypes_OneofEnum struct {
  516. OneofEnum TestAllTypes_NestedEnum `protobuf:"varint,119,opt,name=oneof_enum,json=oneofEnum,enum=goproto.proto.test.TestAllTypes_NestedEnum,oneof"`
  517. }
  518. func (*TestAllTypes_OneofUint32) isTestAllTypes_OneofField() {}
  519. func (*TestAllTypes_OneofNestedMessage) isTestAllTypes_OneofField() {}
  520. func (*TestAllTypes_OneofString) isTestAllTypes_OneofField() {}
  521. func (*TestAllTypes_OneofBytes) isTestAllTypes_OneofField() {}
  522. func (*TestAllTypes_OneofBool) isTestAllTypes_OneofField() {}
  523. func (*TestAllTypes_OneofUint64) isTestAllTypes_OneofField() {}
  524. func (*TestAllTypes_OneofFloat) isTestAllTypes_OneofField() {}
  525. func (*TestAllTypes_OneofDouble) isTestAllTypes_OneofField() {}
  526. func (*TestAllTypes_OneofEnum) isTestAllTypes_OneofField() {}
  527. func (m *TestAllTypes) GetOneofField() isTestAllTypes_OneofField {
  528. if m != nil {
  529. return m.OneofField
  530. }
  531. return nil
  532. }
  533. func (m *TestAllTypes) GetOneofUint32() uint32 {
  534. if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint32); ok {
  535. return x.OneofUint32
  536. }
  537. return 0
  538. }
  539. func (m *TestAllTypes) GetOneofNestedMessage() *TestAllTypes_NestedMessage {
  540. if x, ok := m.GetOneofField().(*TestAllTypes_OneofNestedMessage); ok {
  541. return x.OneofNestedMessage
  542. }
  543. return nil
  544. }
  545. func (m *TestAllTypes) GetOneofString() string {
  546. if x, ok := m.GetOneofField().(*TestAllTypes_OneofString); ok {
  547. return x.OneofString
  548. }
  549. return ""
  550. }
  551. func (m *TestAllTypes) GetOneofBytes() []byte {
  552. if x, ok := m.GetOneofField().(*TestAllTypes_OneofBytes); ok {
  553. return x.OneofBytes
  554. }
  555. return nil
  556. }
  557. func (m *TestAllTypes) GetOneofBool() bool {
  558. if x, ok := m.GetOneofField().(*TestAllTypes_OneofBool); ok {
  559. return x.OneofBool
  560. }
  561. return false
  562. }
  563. func (m *TestAllTypes) GetOneofUint64() uint64 {
  564. if x, ok := m.GetOneofField().(*TestAllTypes_OneofUint64); ok {
  565. return x.OneofUint64
  566. }
  567. return 0
  568. }
  569. func (m *TestAllTypes) GetOneofFloat() float32 {
  570. if x, ok := m.GetOneofField().(*TestAllTypes_OneofFloat); ok {
  571. return x.OneofFloat
  572. }
  573. return 0
  574. }
  575. func (m *TestAllTypes) GetOneofDouble() float64 {
  576. if x, ok := m.GetOneofField().(*TestAllTypes_OneofDouble); ok {
  577. return x.OneofDouble
  578. }
  579. return 0
  580. }
  581. func (m *TestAllTypes) GetOneofEnum() TestAllTypes_NestedEnum {
  582. if x, ok := m.GetOneofField().(*TestAllTypes_OneofEnum); ok {
  583. return x.OneofEnum
  584. }
  585. return TestAllTypes_FOO
  586. }
  587. // XXX_OneofWrappers is for the internal use of the proto package.
  588. func (*TestAllTypes) XXX_OneofWrappers() []interface{} {
  589. return []interface{}{
  590. (*TestAllTypes_OneofUint32)(nil),
  591. (*TestAllTypes_OneofNestedMessage)(nil),
  592. (*TestAllTypes_OneofString)(nil),
  593. (*TestAllTypes_OneofBytes)(nil),
  594. (*TestAllTypes_OneofBool)(nil),
  595. (*TestAllTypes_OneofUint64)(nil),
  596. (*TestAllTypes_OneofFloat)(nil),
  597. (*TestAllTypes_OneofDouble)(nil),
  598. (*TestAllTypes_OneofEnum)(nil),
  599. }
  600. }
  601. type TestAllExtensions struct {
  602. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  603. proto.XXX_InternalExtensions `json:"-"`
  604. XXX_unrecognized []byte `json:"-"`
  605. XXX_sizecache int32 `json:"-"`
  606. }
  607. type xxx_TestAllExtensions struct{ m *TestAllExtensions }
  608. func (m *TestAllExtensions) ProtoReflect() protoreflect.Message {
  609. return xxx_TestAllExtensions{m}
  610. }
  611. func (m xxx_TestAllExtensions) Type() protoreflect.MessageType {
  612. return xxx_Test_ProtoFile_MessageTypes[1].Type
  613. }
  614. func (m xxx_TestAllExtensions) KnownFields() protoreflect.KnownFields {
  615. return xxx_Test_ProtoFile_MessageTypes[1].KnownFieldsOf(m.m)
  616. }
  617. func (m xxx_TestAllExtensions) UnknownFields() protoreflect.UnknownFields {
  618. return xxx_Test_ProtoFile_MessageTypes[1].UnknownFieldsOf(m.m)
  619. }
  620. func (m xxx_TestAllExtensions) Interface() protoreflect.ProtoMessage {
  621. return m.m
  622. }
  623. func (m *TestAllExtensions) Reset() { *m = TestAllExtensions{} }
  624. func (m *TestAllExtensions) String() string { return proto.CompactTextString(m) }
  625. func (*TestAllExtensions) ProtoMessage() {}
  626. func (*TestAllExtensions) Descriptor() ([]byte, []int) {
  627. return fileDescriptor_c161fcfdc0c3ff1e, []int{1}
  628. }
  629. var extRange_TestAllExtensions = []proto.ExtensionRange{
  630. {Start: 1, End: 536870911},
  631. }
  632. func (*TestAllExtensions) ExtensionRangeArray() []proto.ExtensionRange {
  633. return extRange_TestAllExtensions
  634. }
  635. func (m *TestAllExtensions) XXX_Unmarshal(b []byte) error {
  636. return xxx_messageInfo_TestAllExtensions.Unmarshal(m, b)
  637. }
  638. func (m *TestAllExtensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  639. return xxx_messageInfo_TestAllExtensions.Marshal(b, m, deterministic)
  640. }
  641. func (m *TestAllExtensions) XXX_Merge(src proto.Message) {
  642. xxx_messageInfo_TestAllExtensions.Merge(m, src)
  643. }
  644. func (m *TestAllExtensions) XXX_Size() int {
  645. return xxx_messageInfo_TestAllExtensions.Size(m)
  646. }
  647. func (m *TestAllExtensions) XXX_DiscardUnknown() {
  648. xxx_messageInfo_TestAllExtensions.DiscardUnknown(m)
  649. }
  650. var xxx_messageInfo_TestAllExtensions proto.InternalMessageInfo
  651. type OptionalGroupExtension struct {
  652. A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
  653. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  654. XXX_unrecognized []byte `json:"-"`
  655. XXX_sizecache int32 `json:"-"`
  656. }
  657. type xxx_OptionalGroupExtension struct{ m *OptionalGroupExtension }
  658. func (m *OptionalGroupExtension) ProtoReflect() protoreflect.Message {
  659. return xxx_OptionalGroupExtension{m}
  660. }
  661. func (m xxx_OptionalGroupExtension) Type() protoreflect.MessageType {
  662. return xxx_Test_ProtoFile_MessageTypes[2].Type
  663. }
  664. func (m xxx_OptionalGroupExtension) KnownFields() protoreflect.KnownFields {
  665. return xxx_Test_ProtoFile_MessageTypes[2].KnownFieldsOf(m.m)
  666. }
  667. func (m xxx_OptionalGroupExtension) UnknownFields() protoreflect.UnknownFields {
  668. return xxx_Test_ProtoFile_MessageTypes[2].UnknownFieldsOf(m.m)
  669. }
  670. func (m xxx_OptionalGroupExtension) Interface() protoreflect.ProtoMessage {
  671. return m.m
  672. }
  673. func (m *OptionalGroupExtension) Reset() { *m = OptionalGroupExtension{} }
  674. func (m *OptionalGroupExtension) String() string { return proto.CompactTextString(m) }
  675. func (*OptionalGroupExtension) ProtoMessage() {}
  676. func (*OptionalGroupExtension) Descriptor() ([]byte, []int) {
  677. return fileDescriptor_c161fcfdc0c3ff1e, []int{2}
  678. }
  679. func (m *OptionalGroupExtension) XXX_Unmarshal(b []byte) error {
  680. return xxx_messageInfo_OptionalGroupExtension.Unmarshal(m, b)
  681. }
  682. func (m *OptionalGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  683. return xxx_messageInfo_OptionalGroupExtension.Marshal(b, m, deterministic)
  684. }
  685. func (m *OptionalGroupExtension) XXX_Merge(src proto.Message) {
  686. xxx_messageInfo_OptionalGroupExtension.Merge(m, src)
  687. }
  688. func (m *OptionalGroupExtension) XXX_Size() int {
  689. return xxx_messageInfo_OptionalGroupExtension.Size(m)
  690. }
  691. func (m *OptionalGroupExtension) XXX_DiscardUnknown() {
  692. xxx_messageInfo_OptionalGroupExtension.DiscardUnknown(m)
  693. }
  694. var xxx_messageInfo_OptionalGroupExtension proto.InternalMessageInfo
  695. func (m *OptionalGroupExtension) GetA() int32 {
  696. if m != nil && m.A != nil {
  697. return *m.A
  698. }
  699. return 0
  700. }
  701. type RepeatedGroupExtension struct {
  702. A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
  703. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  704. XXX_unrecognized []byte `json:"-"`
  705. XXX_sizecache int32 `json:"-"`
  706. }
  707. type xxx_RepeatedGroupExtension struct{ m *RepeatedGroupExtension }
  708. func (m *RepeatedGroupExtension) ProtoReflect() protoreflect.Message {
  709. return xxx_RepeatedGroupExtension{m}
  710. }
  711. func (m xxx_RepeatedGroupExtension) Type() protoreflect.MessageType {
  712. return xxx_Test_ProtoFile_MessageTypes[3].Type
  713. }
  714. func (m xxx_RepeatedGroupExtension) KnownFields() protoreflect.KnownFields {
  715. return xxx_Test_ProtoFile_MessageTypes[3].KnownFieldsOf(m.m)
  716. }
  717. func (m xxx_RepeatedGroupExtension) UnknownFields() protoreflect.UnknownFields {
  718. return xxx_Test_ProtoFile_MessageTypes[3].UnknownFieldsOf(m.m)
  719. }
  720. func (m xxx_RepeatedGroupExtension) Interface() protoreflect.ProtoMessage {
  721. return m.m
  722. }
  723. func (m *RepeatedGroupExtension) Reset() { *m = RepeatedGroupExtension{} }
  724. func (m *RepeatedGroupExtension) String() string { return proto.CompactTextString(m) }
  725. func (*RepeatedGroupExtension) ProtoMessage() {}
  726. func (*RepeatedGroupExtension) Descriptor() ([]byte, []int) {
  727. return fileDescriptor_c161fcfdc0c3ff1e, []int{3}
  728. }
  729. func (m *RepeatedGroupExtension) XXX_Unmarshal(b []byte) error {
  730. return xxx_messageInfo_RepeatedGroupExtension.Unmarshal(m, b)
  731. }
  732. func (m *RepeatedGroupExtension) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  733. return xxx_messageInfo_RepeatedGroupExtension.Marshal(b, m, deterministic)
  734. }
  735. func (m *RepeatedGroupExtension) XXX_Merge(src proto.Message) {
  736. xxx_messageInfo_RepeatedGroupExtension.Merge(m, src)
  737. }
  738. func (m *RepeatedGroupExtension) XXX_Size() int {
  739. return xxx_messageInfo_RepeatedGroupExtension.Size(m)
  740. }
  741. func (m *RepeatedGroupExtension) XXX_DiscardUnknown() {
  742. xxx_messageInfo_RepeatedGroupExtension.DiscardUnknown(m)
  743. }
  744. var xxx_messageInfo_RepeatedGroupExtension proto.InternalMessageInfo
  745. func (m *RepeatedGroupExtension) GetA() int32 {
  746. if m != nil && m.A != nil {
  747. return *m.A
  748. }
  749. return 0
  750. }
  751. type TestAllTypes_NestedMessage struct {
  752. A *int32 `protobuf:"varint,1,opt,name=a" json:"a,omitempty"`
  753. Corecursive *TestAllTypes `protobuf:"bytes,2,opt,name=corecursive" json:"corecursive,omitempty"`
  754. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  755. XXX_unrecognized []byte `json:"-"`
  756. XXX_sizecache int32 `json:"-"`
  757. }
  758. type xxx_TestAllTypes_NestedMessage struct{ m *TestAllTypes_NestedMessage }
  759. func (m *TestAllTypes_NestedMessage) ProtoReflect() protoreflect.Message {
  760. return xxx_TestAllTypes_NestedMessage{m}
  761. }
  762. func (m xxx_TestAllTypes_NestedMessage) Type() protoreflect.MessageType {
  763. return xxx_Test_ProtoFile_MessageTypes[4].Type
  764. }
  765. func (m xxx_TestAllTypes_NestedMessage) KnownFields() protoreflect.KnownFields {
  766. return xxx_Test_ProtoFile_MessageTypes[4].KnownFieldsOf(m.m)
  767. }
  768. func (m xxx_TestAllTypes_NestedMessage) UnknownFields() protoreflect.UnknownFields {
  769. return xxx_Test_ProtoFile_MessageTypes[4].UnknownFieldsOf(m.m)
  770. }
  771. func (m xxx_TestAllTypes_NestedMessage) Interface() protoreflect.ProtoMessage {
  772. return m.m
  773. }
  774. func (m *TestAllTypes_NestedMessage) Reset() { *m = TestAllTypes_NestedMessage{} }
  775. func (m *TestAllTypes_NestedMessage) String() string { return proto.CompactTextString(m) }
  776. func (*TestAllTypes_NestedMessage) ProtoMessage() {}
  777. func (*TestAllTypes_NestedMessage) Descriptor() ([]byte, []int) {
  778. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 0}
  779. }
  780. func (m *TestAllTypes_NestedMessage) XXX_Unmarshal(b []byte) error {
  781. return xxx_messageInfo_TestAllTypes_NestedMessage.Unmarshal(m, b)
  782. }
  783. func (m *TestAllTypes_NestedMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  784. return xxx_messageInfo_TestAllTypes_NestedMessage.Marshal(b, m, deterministic)
  785. }
  786. func (m *TestAllTypes_NestedMessage) XXX_Merge(src proto.Message) {
  787. xxx_messageInfo_TestAllTypes_NestedMessage.Merge(m, src)
  788. }
  789. func (m *TestAllTypes_NestedMessage) XXX_Size() int {
  790. return xxx_messageInfo_TestAllTypes_NestedMessage.Size(m)
  791. }
  792. func (m *TestAllTypes_NestedMessage) XXX_DiscardUnknown() {
  793. xxx_messageInfo_TestAllTypes_NestedMessage.DiscardUnknown(m)
  794. }
  795. var xxx_messageInfo_TestAllTypes_NestedMessage proto.InternalMessageInfo
  796. func (m *TestAllTypes_NestedMessage) GetA() int32 {
  797. if m != nil && m.A != nil {
  798. return *m.A
  799. }
  800. return 0
  801. }
  802. func (m *TestAllTypes_NestedMessage) GetCorecursive() *TestAllTypes {
  803. if m != nil {
  804. return m.Corecursive
  805. }
  806. return nil
  807. }
  808. type TestAllTypes_OptionalGroup struct {
  809. A *int32 `protobuf:"varint,17,opt,name=a" json:"a,omitempty"`
  810. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  811. XXX_unrecognized []byte `json:"-"`
  812. XXX_sizecache int32 `json:"-"`
  813. }
  814. type xxx_TestAllTypes_OptionalGroup struct{ m *TestAllTypes_OptionalGroup }
  815. func (m *TestAllTypes_OptionalGroup) ProtoReflect() protoreflect.Message {
  816. return xxx_TestAllTypes_OptionalGroup{m}
  817. }
  818. func (m xxx_TestAllTypes_OptionalGroup) Type() protoreflect.MessageType {
  819. return xxx_Test_ProtoFile_MessageTypes[5].Type
  820. }
  821. func (m xxx_TestAllTypes_OptionalGroup) KnownFields() protoreflect.KnownFields {
  822. return xxx_Test_ProtoFile_MessageTypes[5].KnownFieldsOf(m.m)
  823. }
  824. func (m xxx_TestAllTypes_OptionalGroup) UnknownFields() protoreflect.UnknownFields {
  825. return xxx_Test_ProtoFile_MessageTypes[5].UnknownFieldsOf(m.m)
  826. }
  827. func (m xxx_TestAllTypes_OptionalGroup) Interface() protoreflect.ProtoMessage {
  828. return m.m
  829. }
  830. func (m *TestAllTypes_OptionalGroup) Reset() { *m = TestAllTypes_OptionalGroup{} }
  831. func (m *TestAllTypes_OptionalGroup) String() string { return proto.CompactTextString(m) }
  832. func (*TestAllTypes_OptionalGroup) ProtoMessage() {}
  833. func (*TestAllTypes_OptionalGroup) Descriptor() ([]byte, []int) {
  834. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 1}
  835. }
  836. func (m *TestAllTypes_OptionalGroup) XXX_Unmarshal(b []byte) error {
  837. return xxx_messageInfo_TestAllTypes_OptionalGroup.Unmarshal(m, b)
  838. }
  839. func (m *TestAllTypes_OptionalGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  840. return xxx_messageInfo_TestAllTypes_OptionalGroup.Marshal(b, m, deterministic)
  841. }
  842. func (m *TestAllTypes_OptionalGroup) XXX_Merge(src proto.Message) {
  843. xxx_messageInfo_TestAllTypes_OptionalGroup.Merge(m, src)
  844. }
  845. func (m *TestAllTypes_OptionalGroup) XXX_Size() int {
  846. return xxx_messageInfo_TestAllTypes_OptionalGroup.Size(m)
  847. }
  848. func (m *TestAllTypes_OptionalGroup) XXX_DiscardUnknown() {
  849. xxx_messageInfo_TestAllTypes_OptionalGroup.DiscardUnknown(m)
  850. }
  851. var xxx_messageInfo_TestAllTypes_OptionalGroup proto.InternalMessageInfo
  852. func (m *TestAllTypes_OptionalGroup) GetA() int32 {
  853. if m != nil && m.A != nil {
  854. return *m.A
  855. }
  856. return 0
  857. }
  858. type TestAllTypes_RepeatedGroup struct {
  859. A *int32 `protobuf:"varint,47,opt,name=a" json:"a,omitempty"`
  860. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  861. XXX_unrecognized []byte `json:"-"`
  862. XXX_sizecache int32 `json:"-"`
  863. }
  864. type xxx_TestAllTypes_RepeatedGroup struct{ m *TestAllTypes_RepeatedGroup }
  865. func (m *TestAllTypes_RepeatedGroup) ProtoReflect() protoreflect.Message {
  866. return xxx_TestAllTypes_RepeatedGroup{m}
  867. }
  868. func (m xxx_TestAllTypes_RepeatedGroup) Type() protoreflect.MessageType {
  869. return xxx_Test_ProtoFile_MessageTypes[6].Type
  870. }
  871. func (m xxx_TestAllTypes_RepeatedGroup) KnownFields() protoreflect.KnownFields {
  872. return xxx_Test_ProtoFile_MessageTypes[6].KnownFieldsOf(m.m)
  873. }
  874. func (m xxx_TestAllTypes_RepeatedGroup) UnknownFields() protoreflect.UnknownFields {
  875. return xxx_Test_ProtoFile_MessageTypes[6].UnknownFieldsOf(m.m)
  876. }
  877. func (m xxx_TestAllTypes_RepeatedGroup) Interface() protoreflect.ProtoMessage {
  878. return m.m
  879. }
  880. func (m *TestAllTypes_RepeatedGroup) Reset() { *m = TestAllTypes_RepeatedGroup{} }
  881. func (m *TestAllTypes_RepeatedGroup) String() string { return proto.CompactTextString(m) }
  882. func (*TestAllTypes_RepeatedGroup) ProtoMessage() {}
  883. func (*TestAllTypes_RepeatedGroup) Descriptor() ([]byte, []int) {
  884. return fileDescriptor_c161fcfdc0c3ff1e, []int{0, 2}
  885. }
  886. func (m *TestAllTypes_RepeatedGroup) XXX_Unmarshal(b []byte) error {
  887. return xxx_messageInfo_TestAllTypes_RepeatedGroup.Unmarshal(m, b)
  888. }
  889. func (m *TestAllTypes_RepeatedGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  890. return xxx_messageInfo_TestAllTypes_RepeatedGroup.Marshal(b, m, deterministic)
  891. }
  892. func (m *TestAllTypes_RepeatedGroup) XXX_Merge(src proto.Message) {
  893. xxx_messageInfo_TestAllTypes_RepeatedGroup.Merge(m, src)
  894. }
  895. func (m *TestAllTypes_RepeatedGroup) XXX_Size() int {
  896. return xxx_messageInfo_TestAllTypes_RepeatedGroup.Size(m)
  897. }
  898. func (m *TestAllTypes_RepeatedGroup) XXX_DiscardUnknown() {
  899. xxx_messageInfo_TestAllTypes_RepeatedGroup.DiscardUnknown(m)
  900. }
  901. var xxx_messageInfo_TestAllTypes_RepeatedGroup proto.InternalMessageInfo
  902. func (m *TestAllTypes_RepeatedGroup) GetA() int32 {
  903. if m != nil && m.A != nil {
  904. return *m.A
  905. }
  906. return 0
  907. }
  908. var E_OptionalInt32Extension = &proto.ExtensionDesc{
  909. ExtendedType: (*TestAllExtensions)(nil),
  910. ExtensionType: (*int32)(nil),
  911. Field: 1,
  912. Name: "goproto.proto.test.optional_int32_extension",
  913. Tag: "varint,1,opt,name=optional_int32_extension",
  914. Filename: "test.proto",
  915. }
  916. var E_OptionalInt64Extension = &proto.ExtensionDesc{
  917. ExtendedType: (*TestAllExtensions)(nil),
  918. ExtensionType: (*int64)(nil),
  919. Field: 2,
  920. Name: "goproto.proto.test.optional_int64_extension",
  921. Tag: "varint,2,opt,name=optional_int64_extension",
  922. Filename: "test.proto",
  923. }
  924. var E_OptionalUint32Extension = &proto.ExtensionDesc{
  925. ExtendedType: (*TestAllExtensions)(nil),
  926. ExtensionType: (*uint32)(nil),
  927. Field: 3,
  928. Name: "goproto.proto.test.optional_uint32_extension",
  929. Tag: "varint,3,opt,name=optional_uint32_extension",
  930. Filename: "test.proto",
  931. }
  932. var E_OptionalUint64Extension = &proto.ExtensionDesc{
  933. ExtendedType: (*TestAllExtensions)(nil),
  934. ExtensionType: (*uint64)(nil),
  935. Field: 4,
  936. Name: "goproto.proto.test.optional_uint64_extension",
  937. Tag: "varint,4,opt,name=optional_uint64_extension",
  938. Filename: "test.proto",
  939. }
  940. var E_OptionalSint32Extension = &proto.ExtensionDesc{
  941. ExtendedType: (*TestAllExtensions)(nil),
  942. ExtensionType: (*int32)(nil),
  943. Field: 5,
  944. Name: "goproto.proto.test.optional_sint32_extension",
  945. Tag: "zigzag32,5,opt,name=optional_sint32_extension",
  946. Filename: "test.proto",
  947. }
  948. var E_OptionalSint64Extension = &proto.ExtensionDesc{
  949. ExtendedType: (*TestAllExtensions)(nil),
  950. ExtensionType: (*int64)(nil),
  951. Field: 6,
  952. Name: "goproto.proto.test.optional_sint64_extension",
  953. Tag: "zigzag64,6,opt,name=optional_sint64_extension",
  954. Filename: "test.proto",
  955. }
  956. var E_OptionalFixed32Extension = &proto.ExtensionDesc{
  957. ExtendedType: (*TestAllExtensions)(nil),
  958. ExtensionType: (*uint32)(nil),
  959. Field: 7,
  960. Name: "goproto.proto.test.optional_fixed32_extension",
  961. Tag: "fixed32,7,opt,name=optional_fixed32_extension",
  962. Filename: "test.proto",
  963. }
  964. var E_OptionalFixed64Extension = &proto.ExtensionDesc{
  965. ExtendedType: (*TestAllExtensions)(nil),
  966. ExtensionType: (*uint64)(nil),
  967. Field: 8,
  968. Name: "goproto.proto.test.optional_fixed64_extension",
  969. Tag: "fixed64,8,opt,name=optional_fixed64_extension",
  970. Filename: "test.proto",
  971. }
  972. var E_OptionalSfixed32Extension = &proto.ExtensionDesc{
  973. ExtendedType: (*TestAllExtensions)(nil),
  974. ExtensionType: (*int32)(nil),
  975. Field: 9,
  976. Name: "goproto.proto.test.optional_sfixed32_extension",
  977. Tag: "fixed32,9,opt,name=optional_sfixed32_extension",
  978. Filename: "test.proto",
  979. }
  980. var E_OptionalSfixed64Extension = &proto.ExtensionDesc{
  981. ExtendedType: (*TestAllExtensions)(nil),
  982. ExtensionType: (*int64)(nil),
  983. Field: 10,
  984. Name: "goproto.proto.test.optional_sfixed64_extension",
  985. Tag: "fixed64,10,opt,name=optional_sfixed64_extension",
  986. Filename: "test.proto",
  987. }
  988. var E_OptionalFloatExtension = &proto.ExtensionDesc{
  989. ExtendedType: (*TestAllExtensions)(nil),
  990. ExtensionType: (*float32)(nil),
  991. Field: 11,
  992. Name: "goproto.proto.test.optional_float_extension",
  993. Tag: "fixed32,11,opt,name=optional_float_extension",
  994. Filename: "test.proto",
  995. }
  996. var E_OptionalDoubleExtension = &proto.ExtensionDesc{
  997. ExtendedType: (*TestAllExtensions)(nil),
  998. ExtensionType: (*float64)(nil),
  999. Field: 12,
  1000. Name: "goproto.proto.test.optional_double_extension",
  1001. Tag: "fixed64,12,opt,name=optional_double_extension",
  1002. Filename: "test.proto",
  1003. }
  1004. var E_OptionalBoolExtension = &proto.ExtensionDesc{
  1005. ExtendedType: (*TestAllExtensions)(nil),
  1006. ExtensionType: (*bool)(nil),
  1007. Field: 13,
  1008. Name: "goproto.proto.test.optional_bool_extension",
  1009. Tag: "varint,13,opt,name=optional_bool_extension",
  1010. Filename: "test.proto",
  1011. }
  1012. var E_OptionalStringExtension = &proto.ExtensionDesc{
  1013. ExtendedType: (*TestAllExtensions)(nil),
  1014. ExtensionType: (*string)(nil),
  1015. Field: 14,
  1016. Name: "goproto.proto.test.optional_string_extension",
  1017. Tag: "bytes,14,opt,name=optional_string_extension",
  1018. Filename: "test.proto",
  1019. }
  1020. var E_OptionalBytesExtension = &proto.ExtensionDesc{
  1021. ExtendedType: (*TestAllExtensions)(nil),
  1022. ExtensionType: ([]byte)(nil),
  1023. Field: 15,
  1024. Name: "goproto.proto.test.optional_bytes_extension",
  1025. Tag: "bytes,15,opt,name=optional_bytes_extension",
  1026. Filename: "test.proto",
  1027. }
  1028. var E_OptionalgroupExtension = &proto.ExtensionDesc{
  1029. ExtendedType: (*TestAllExtensions)(nil),
  1030. ExtensionType: (*OptionalGroupExtension)(nil),
  1031. Field: 16,
  1032. Name: "goproto.proto.test.optionalgroup_extension",
  1033. Tag: "group,16,opt,name=OptionalGroup_extension",
  1034. Filename: "test.proto",
  1035. }
  1036. var E_OptionalNestedMessageExtension = &proto.ExtensionDesc{
  1037. ExtendedType: (*TestAllExtensions)(nil),
  1038. ExtensionType: (*TestAllTypes_NestedMessage)(nil),
  1039. Field: 18,
  1040. Name: "goproto.proto.test.optional_nested_message_extension",
  1041. Tag: "bytes,18,opt,name=optional_nested_message_extension",
  1042. Filename: "test.proto",
  1043. }
  1044. var E_OptionalNestedEnumExtension = &proto.ExtensionDesc{
  1045. ExtendedType: (*TestAllExtensions)(nil),
  1046. ExtensionType: (*TestAllTypes_NestedEnum)(nil),
  1047. Field: 21,
  1048. Name: "goproto.proto.test.optional_nested_enum_extension",
  1049. Tag: "varint,21,opt,name=optional_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum",
  1050. Filename: "test.proto",
  1051. }
  1052. var E_RepeatedInt32Extension = &proto.ExtensionDesc{
  1053. ExtendedType: (*TestAllExtensions)(nil),
  1054. ExtensionType: ([]int32)(nil),
  1055. Field: 31,
  1056. Name: "goproto.proto.test.repeated_int32_extension",
  1057. Tag: "varint,31,rep,name=repeated_int32_extension",
  1058. Filename: "test.proto",
  1059. }
  1060. var E_RepeatedInt64Extension = &proto.ExtensionDesc{
  1061. ExtendedType: (*TestAllExtensions)(nil),
  1062. ExtensionType: ([]int64)(nil),
  1063. Field: 32,
  1064. Name: "goproto.proto.test.repeated_int64_extension",
  1065. Tag: "varint,32,rep,name=repeated_int64_extension",
  1066. Filename: "test.proto",
  1067. }
  1068. var E_RepeatedUint32Extension = &proto.ExtensionDesc{
  1069. ExtendedType: (*TestAllExtensions)(nil),
  1070. ExtensionType: ([]uint32)(nil),
  1071. Field: 33,
  1072. Name: "goproto.proto.test.repeated_uint32_extension",
  1073. Tag: "varint,33,rep,name=repeated_uint32_extension",
  1074. Filename: "test.proto",
  1075. }
  1076. var E_RepeatedUint64Extension = &proto.ExtensionDesc{
  1077. ExtendedType: (*TestAllExtensions)(nil),
  1078. ExtensionType: ([]uint64)(nil),
  1079. Field: 34,
  1080. Name: "goproto.proto.test.repeated_uint64_extension",
  1081. Tag: "varint,34,rep,name=repeated_uint64_extension",
  1082. Filename: "test.proto",
  1083. }
  1084. var E_RepeatedSint32Extension = &proto.ExtensionDesc{
  1085. ExtendedType: (*TestAllExtensions)(nil),
  1086. ExtensionType: ([]int32)(nil),
  1087. Field: 35,
  1088. Name: "goproto.proto.test.repeated_sint32_extension",
  1089. Tag: "zigzag32,35,rep,name=repeated_sint32_extension",
  1090. Filename: "test.proto",
  1091. }
  1092. var E_RepeatedSint64Extension = &proto.ExtensionDesc{
  1093. ExtendedType: (*TestAllExtensions)(nil),
  1094. ExtensionType: ([]int64)(nil),
  1095. Field: 36,
  1096. Name: "goproto.proto.test.repeated_sint64_extension",
  1097. Tag: "zigzag64,36,rep,name=repeated_sint64_extension",
  1098. Filename: "test.proto",
  1099. }
  1100. var E_RepeatedFixed32Extension = &proto.ExtensionDesc{
  1101. ExtendedType: (*TestAllExtensions)(nil),
  1102. ExtensionType: ([]uint32)(nil),
  1103. Field: 37,
  1104. Name: "goproto.proto.test.repeated_fixed32_extension",
  1105. Tag: "fixed32,37,rep,name=repeated_fixed32_extension",
  1106. Filename: "test.proto",
  1107. }
  1108. var E_RepeatedFixed64Extension = &proto.ExtensionDesc{
  1109. ExtendedType: (*TestAllExtensions)(nil),
  1110. ExtensionType: ([]uint64)(nil),
  1111. Field: 38,
  1112. Name: "goproto.proto.test.repeated_fixed64_extension",
  1113. Tag: "fixed64,38,rep,name=repeated_fixed64_extension",
  1114. Filename: "test.proto",
  1115. }
  1116. var E_RepeatedSfixed32Extension = &proto.ExtensionDesc{
  1117. ExtendedType: (*TestAllExtensions)(nil),
  1118. ExtensionType: ([]int32)(nil),
  1119. Field: 39,
  1120. Name: "goproto.proto.test.repeated_sfixed32_extension",
  1121. Tag: "fixed32,39,rep,name=repeated_sfixed32_extension",
  1122. Filename: "test.proto",
  1123. }
  1124. var E_RepeatedSfixed64Extension = &proto.ExtensionDesc{
  1125. ExtendedType: (*TestAllExtensions)(nil),
  1126. ExtensionType: ([]int64)(nil),
  1127. Field: 40,
  1128. Name: "goproto.proto.test.repeated_sfixed64_extension",
  1129. Tag: "fixed64,40,rep,name=repeated_sfixed64_extension",
  1130. Filename: "test.proto",
  1131. }
  1132. var E_RepeatedFloatExtension = &proto.ExtensionDesc{
  1133. ExtendedType: (*TestAllExtensions)(nil),
  1134. ExtensionType: ([]float32)(nil),
  1135. Field: 41,
  1136. Name: "goproto.proto.test.repeated_float_extension",
  1137. Tag: "fixed32,41,rep,name=repeated_float_extension",
  1138. Filename: "test.proto",
  1139. }
  1140. var E_RepeatedDoubleExtension = &proto.ExtensionDesc{
  1141. ExtendedType: (*TestAllExtensions)(nil),
  1142. ExtensionType: ([]float64)(nil),
  1143. Field: 42,
  1144. Name: "goproto.proto.test.repeated_double_extension",
  1145. Tag: "fixed64,42,rep,name=repeated_double_extension",
  1146. Filename: "test.proto",
  1147. }
  1148. var E_RepeatedBoolExtension = &proto.ExtensionDesc{
  1149. ExtendedType: (*TestAllExtensions)(nil),
  1150. ExtensionType: ([]bool)(nil),
  1151. Field: 43,
  1152. Name: "goproto.proto.test.repeated_bool_extension",
  1153. Tag: "varint,43,rep,name=repeated_bool_extension",
  1154. Filename: "test.proto",
  1155. }
  1156. var E_RepeatedStringExtension = &proto.ExtensionDesc{
  1157. ExtendedType: (*TestAllExtensions)(nil),
  1158. ExtensionType: ([]string)(nil),
  1159. Field: 44,
  1160. Name: "goproto.proto.test.repeated_string_extension",
  1161. Tag: "bytes,44,rep,name=repeated_string_extension",
  1162. Filename: "test.proto",
  1163. }
  1164. var E_RepeatedBytesExtension = &proto.ExtensionDesc{
  1165. ExtendedType: (*TestAllExtensions)(nil),
  1166. ExtensionType: ([][]byte)(nil),
  1167. Field: 45,
  1168. Name: "goproto.proto.test.repeated_bytes_extension",
  1169. Tag: "bytes,45,rep,name=repeated_bytes_extension",
  1170. Filename: "test.proto",
  1171. }
  1172. var E_RepeatedgroupExtension = &proto.ExtensionDesc{
  1173. ExtendedType: (*TestAllExtensions)(nil),
  1174. ExtensionType: ([]*RepeatedGroupExtension)(nil),
  1175. Field: 46,
  1176. Name: "goproto.proto.test.repeatedgroup_extension",
  1177. Tag: "group,46,rep,name=RepeatedGroup_extension",
  1178. Filename: "test.proto",
  1179. }
  1180. var E_RepeatedNestedMessageExtension = &proto.ExtensionDesc{
  1181. ExtendedType: (*TestAllExtensions)(nil),
  1182. ExtensionType: ([]*TestAllTypes_NestedMessage)(nil),
  1183. Field: 48,
  1184. Name: "goproto.proto.test.repeated_nested_message_extension",
  1185. Tag: "bytes,48,rep,name=repeated_nested_message_extension",
  1186. Filename: "test.proto",
  1187. }
  1188. var E_RepeatedNestedEnumExtension = &proto.ExtensionDesc{
  1189. ExtendedType: (*TestAllExtensions)(nil),
  1190. ExtensionType: ([]TestAllTypes_NestedEnum)(nil),
  1191. Field: 51,
  1192. Name: "goproto.proto.test.repeated_nested_enum_extension",
  1193. Tag: "varint,51,rep,name=repeated_nested_enum_extension,enum=goproto.proto.test.TestAllTypes_NestedEnum",
  1194. Filename: "test.proto",
  1195. }
  1196. func init() {
  1197. proto.RegisterFile("test.proto", fileDescriptor_c161fcfdc0c3ff1e)
  1198. proto.RegisterEnum("goproto.proto.test.TestAllTypes_NestedEnum", TestAllTypes_NestedEnum_name, TestAllTypes_NestedEnum_value)
  1199. proto.RegisterType((*TestAllTypes)(nil), "goproto.proto.test.TestAllTypes")
  1200. proto.RegisterMapType((map[bool]bool)(nil), "goproto.proto.test.TestAllTypes.MapBoolBoolEntry")
  1201. proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapFixed32Fixed32Entry")
  1202. proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapFixed64Fixed64Entry")
  1203. proto.RegisterMapType((map[int32]float64)(nil), "goproto.proto.test.TestAllTypes.MapInt32DoubleEntry")
  1204. proto.RegisterMapType((map[int32]float32)(nil), "goproto.proto.test.TestAllTypes.MapInt32FloatEntry")
  1205. proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapInt32Int32Entry")
  1206. proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapInt64Int64Entry")
  1207. proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSfixed32Sfixed32Entry")
  1208. proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSfixed64Sfixed64Entry")
  1209. proto.RegisterMapType((map[int32]int32)(nil), "goproto.proto.test.TestAllTypes.MapSint32Sint32Entry")
  1210. proto.RegisterMapType((map[int64]int64)(nil), "goproto.proto.test.TestAllTypes.MapSint64Sint64Entry")
  1211. proto.RegisterMapType((map[string][]byte)(nil), "goproto.proto.test.TestAllTypes.MapStringBytesEntry")
  1212. proto.RegisterMapType((map[string]TestAllTypes_NestedEnum)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedEnumEntry")
  1213. proto.RegisterMapType((map[string]*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.MapStringNestedMessageEntry")
  1214. proto.RegisterMapType((map[string]string)(nil), "goproto.proto.test.TestAllTypes.MapStringStringEntry")
  1215. proto.RegisterMapType((map[uint32]uint32)(nil), "goproto.proto.test.TestAllTypes.MapUint32Uint32Entry")
  1216. proto.RegisterMapType((map[uint64]uint64)(nil), "goproto.proto.test.TestAllTypes.MapUint64Uint64Entry")
  1217. proto.RegisterType((*TestAllExtensions)(nil), "goproto.proto.test.TestAllExtensions")
  1218. proto.RegisterType((*OptionalGroupExtension)(nil), "goproto.proto.test.OptionalGroup_extension")
  1219. proto.RegisterType((*RepeatedGroupExtension)(nil), "goproto.proto.test.RepeatedGroup_extension")
  1220. proto.RegisterType((*TestAllTypes_NestedMessage)(nil), "goproto.proto.test.TestAllTypes.NestedMessage")
  1221. proto.RegisterType((*TestAllTypes_OptionalGroup)(nil), "goproto.proto.test.TestAllTypes.OptionalGroup")
  1222. proto.RegisterType((*TestAllTypes_RepeatedGroup)(nil), "goproto.proto.test.TestAllTypes.RepeatedGroup")
  1223. proto.RegisterExtension(E_OptionalInt32Extension)
  1224. proto.RegisterExtension(E_OptionalInt64Extension)
  1225. proto.RegisterExtension(E_OptionalUint32Extension)
  1226. proto.RegisterExtension(E_OptionalUint64Extension)
  1227. proto.RegisterExtension(E_OptionalSint32Extension)
  1228. proto.RegisterExtension(E_OptionalSint64Extension)
  1229. proto.RegisterExtension(E_OptionalFixed32Extension)
  1230. proto.RegisterExtension(E_OptionalFixed64Extension)
  1231. proto.RegisterExtension(E_OptionalSfixed32Extension)
  1232. proto.RegisterExtension(E_OptionalSfixed64Extension)
  1233. proto.RegisterExtension(E_OptionalFloatExtension)
  1234. proto.RegisterExtension(E_OptionalDoubleExtension)
  1235. proto.RegisterExtension(E_OptionalBoolExtension)
  1236. proto.RegisterExtension(E_OptionalStringExtension)
  1237. proto.RegisterExtension(E_OptionalBytesExtension)
  1238. proto.RegisterExtension(E_OptionalgroupExtension)
  1239. proto.RegisterExtension(E_OptionalNestedMessageExtension)
  1240. proto.RegisterExtension(E_OptionalNestedEnumExtension)
  1241. proto.RegisterExtension(E_RepeatedInt32Extension)
  1242. proto.RegisterExtension(E_RepeatedInt64Extension)
  1243. proto.RegisterExtension(E_RepeatedUint32Extension)
  1244. proto.RegisterExtension(E_RepeatedUint64Extension)
  1245. proto.RegisterExtension(E_RepeatedSint32Extension)
  1246. proto.RegisterExtension(E_RepeatedSint64Extension)
  1247. proto.RegisterExtension(E_RepeatedFixed32Extension)
  1248. proto.RegisterExtension(E_RepeatedFixed64Extension)
  1249. proto.RegisterExtension(E_RepeatedSfixed32Extension)
  1250. proto.RegisterExtension(E_RepeatedSfixed64Extension)
  1251. proto.RegisterExtension(E_RepeatedFloatExtension)
  1252. proto.RegisterExtension(E_RepeatedDoubleExtension)
  1253. proto.RegisterExtension(E_RepeatedBoolExtension)
  1254. proto.RegisterExtension(E_RepeatedStringExtension)
  1255. proto.RegisterExtension(E_RepeatedBytesExtension)
  1256. proto.RegisterExtension(E_RepeatedgroupExtension)
  1257. proto.RegisterExtension(E_RepeatedNestedMessageExtension)
  1258. proto.RegisterExtension(E_RepeatedNestedEnumExtension)
  1259. }
  1260. var fileDescriptor_c161fcfdc0c3ff1e = []byte{
  1261. // 2008 bytes of a gzipped FileDescriptorProto
  1262. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x59, 0x6d, 0x53, 0xdb, 0xca,
  1263. 0x15, 0x46, 0x88, 0xd7, 0x05, 0x83, 0x51, 0xc0, 0x16, 0x61, 0x92, 0x6c, 0x48, 0xd3, 0x28, 0x24,
  1264. 0x35, 0x2d, 0xa8, 0x6a, 0x92, 0xa6, 0x69, 0x70, 0x81, 0x90, 0x99, 0x26, 0x99, 0x11, 0xc9, 0x97,
  1265. 0x74, 0x52, 0xc6, 0x80, 0x70, 0x3d, 0xb5, 0x2d, 0xd7, 0x2f, 0x24, 0x7c, 0xe3, 0x7b, 0x7f, 0xc0,
  1266. 0xfd, 0x7a, 0x7f, 0xd2, 0xfd, 0x47, 0xf7, 0xce, 0xee, 0xd1, 0xae, 0xf6, 0xac, 0xd7, 0x60, 0x29,
  1267. 0x33, 0x31, 0xf6, 0xd1, 0xd1, 0xf3, 0xec, 0xae, 0xf6, 0xd9, 0xa3, 0xdd, 0x87, 0x90, 0x7e, 0xd4,
  1268. 0xeb, 0x57, 0x3a, 0xdd, 0xb8, 0x1f, 0x3b, 0x4e, 0x3d, 0xe6, 0x5f, 0xe0, 0x67, 0x85, 0x5d, 0xd9,
  1269. 0xfc, 0x65, 0x8b, 0x2c, 0x7e, 0x8e, 0x7a, 0xfd, 0xbd, 0x66, 0xf3, 0xf3, 0x55, 0x27, 0xea, 0x39,
  1270. 0x8f, 0xc9, 0x52, 0xdc, 0xe9, 0x37, 0xe2, 0x76, 0xad, 0x79, 0xd2, 0x68, 0xf7, 0x77, 0x77, 0x5c,
  1271. 0x8b, 0x5a, 0xde, 0x74, 0x58, 0x10, 0xd1, 0xf7, 0x2c, 0xa8, 0xa7, 0x05, 0xbe, 0x3b, 0x49, 0x2d,
  1272. 0xcf, 0x46, 0x69, 0x81, 0xef, 0x3c, 0x21, 0xcb, 0x32, 0x6d, 0x00, 0x70, 0x36, 0xb5, 0xbc, 0x42,
  1273. 0x28, 0xef, 0xfe, 0xc2, 0xa3, 0x43, 0x89, 0x81, 0xef, 0x4e, 0x51, 0xcb, 0x9b, 0xc2, 0x89, 0x1a,
  1274. 0x62, 0x0f, 0x10, 0xa7, 0xa9, 0xe5, 0xad, 0xa4, 0x89, 0xc7, 0xc3, 0x88, 0x3d, 0x40, 0x9c, 0xa1,
  1275. 0x96, 0xe7, 0xe0, 0xc4, 0xc0, 0x77, 0x9e, 0x92, 0xa2, 0x4c, 0xbc, 0x68, 0xfc, 0x88, 0xce, 0x77,
  1276. 0x77, 0xdc, 0x59, 0x6a, 0x79, 0xb3, 0xa1, 0x04, 0x38, 0x84, 0xf0, 0x70, 0x6a, 0xe0, 0xbb, 0x73,
  1277. 0xd4, 0xf2, 0x66, 0xb4, 0xd4, 0xc0, 0x77, 0x9e, 0x91, 0x95, 0x94, 0x5e, 0xc0, 0xce, 0x53, 0xcb,
  1278. 0x5b, 0x0e, 0x25, 0xc6, 0x71, 0x12, 0x37, 0x24, 0x07, 0xbe, 0x4b, 0xa8, 0xe5, 0x15, 0xf5, 0xe4,
  1279. 0xc0, 0x47, 0x43, 0x7f, 0xd1, 0x8c, 0x6b, 0x7d, 0x77, 0x81, 0x5a, 0xde, 0x64, 0x3a, 0xf4, 0x87,
  1280. 0x2c, 0x88, 0xfa, 0x7f, 0x1e, 0x0f, 0x4e, 0x9b, 0x91, 0xbb, 0x48, 0x2d, 0xcf, 0x4a, 0xfb, 0xbf,
  1281. 0xcf, 0xa3, 0xce, 0x23, 0x22, 0xef, 0x3c, 0x39, 0x8d, 0xe3, 0xa6, 0x5b, 0xa0, 0x96, 0x37, 0x17,
  1282. 0x2e, 0x8a, 0x60, 0x35, 0x8e, 0x9b, 0x78, 0x34, 0xfb, 0xdd, 0x46, 0xbb, 0xee, 0x2e, 0x51, 0xcb,
  1283. 0x9b, 0x57, 0x46, 0x93, 0x47, 0x51, 0xeb, 0x4e, 0xaf, 0xfa, 0x51, 0xcf, 0x5d, 0xa6, 0x96, 0xb7,
  1284. 0x98, 0xb6, 0xae, 0xca, 0x82, 0xce, 0xe7, 0x94, 0xb4, 0xde, 0x8d, 0x07, 0x1d, 0xb7, 0x48, 0x2d,
  1285. 0x8f, 0xec, 0x54, 0x2a, 0xc3, 0x73, 0xb4, 0xa2, 0xce, 0xcf, 0xca, 0xa7, 0xe4, 0xae, 0x77, 0xec,
  1286. 0xae, 0x10, 0x83, 0x38, 0x17, 0xa4, 0x2c, 0xc9, 0xdb, 0x51, 0xaf, 0x1f, 0x9d, 0x9f, 0xb4, 0xa2,
  1287. 0x5e, 0xaf, 0x56, 0x8f, 0x5c, 0x87, 0x5a, 0xde, 0xc2, 0x18, 0xf8, 0x1f, 0xf9, 0x6d, 0x1f, 0xe0,
  1288. 0xae, 0x70, 0x4d, 0xc0, 0xa1, 0xb0, 0xf3, 0x8d, 0xac, 0xea, 0x3c, 0x51, 0x7b, 0xd0, 0x72, 0xd7,
  1289. 0xa8, 0xe5, 0x2d, 0xed, 0x3c, 0x1b, 0x93, 0xe4, 0xa0, 0x3d, 0x68, 0x85, 0x0e, 0x66, 0x60, 0x31,
  1290. 0x36, 0x86, 0xdd, 0xa8, 0x13, 0xd5, 0x18, 0x2e, 0x4c, 0xf1, 0x07, 0xd4, 0x66, 0x1a, 0x14, 0x51,
  1291. 0xa9, 0x41, 0x35, 0x2d, 0xf0, 0x5d, 0x4a, 0x6d, 0xa6, 0x41, 0x25, 0x0d, 0x14, 0x23, 0xd3, 0x12,
  1292. 0x0d, 0x3e, 0xa4, 0x36, 0xd3, 0xa0, 0x08, 0xa7, 0x1a, 0x44, 0x89, 0x81, 0xef, 0x6e, 0x52, 0x9b,
  1293. 0x69, 0x50, 0x4d, 0xd4, 0x10, 0x13, 0x0d, 0x3e, 0xa2, 0x36, 0xd3, 0xa0, 0x08, 0x1f, 0x0f, 0x23,
  1294. 0x26, 0x1a, 0xfc, 0x1d, 0xb5, 0x99, 0x06, 0xd5, 0x44, 0xd0, 0xa0, 0x4c, 0x14, 0x62, 0x79, 0x4c,
  1295. 0x6d, 0xa6, 0x41, 0x11, 0x57, 0x34, 0x88, 0x53, 0x03, 0xdf, 0xfd, 0x3d, 0xb5, 0x99, 0x06, 0x51,
  1296. 0x2a, 0x68, 0x30, 0xa5, 0x17, 0xb0, 0x4f, 0xa8, 0xcd, 0x34, 0x28, 0x1b, 0xa0, 0x68, 0x50, 0x4b,
  1297. 0x0e, 0x7c, 0xd7, 0xa3, 0x36, 0xd3, 0x20, 0x4e, 0x06, 0x0d, 0xa6, 0x8d, 0xe0, 0x1a, 0x7c, 0x4a,
  1298. 0x6d, 0xa6, 0x41, 0xd9, 0x04, 0xa1, 0x41, 0x99, 0x96, 0x68, 0x70, 0x8b, 0xda, 0x4c, 0x83, 0x22,
  1299. 0x9c, 0x6a, 0x50, 0x26, 0x72, 0x0d, 0x3e, 0xa3, 0x36, 0xd3, 0xa0, 0x08, 0x0a, 0x0d, 0xa6, 0x2d,
  1300. 0x04, 0x0d, 0x3e, 0xa7, 0x36, 0xd3, 0xa0, 0x6c, 0x9f, 0xd4, 0x60, 0x8a, 0xc6, 0x35, 0xf8, 0x07,
  1301. 0x6a, 0x33, 0x0d, 0x4a, 0x38, 0xa1, 0x41, 0x11, 0x00, 0x0d, 0x56, 0xa8, 0x3d, 0x96, 0x06, 0xc3,
  1302. 0xe4, 0xae, 0x44, 0x83, 0x08, 0x84, 0x69, 0x50, 0x92, 0x6b, 0x1a, 0xfc, 0x23, 0xb5, 0xf3, 0x68,
  1303. 0x50, 0xc0, 0x0d, 0x69, 0x50, 0xe7, 0xe1, 0x1a, 0xdc, 0xa5, 0x76, 0x66, 0x0d, 0x62, 0x06, 0xae,
  1304. 0xc1, 0x7f, 0x91, 0xe5, 0x56, 0xad, 0x03, 0xf2, 0x4b, 0x44, 0xf8, 0x82, 0x37, 0x7f, 0xf7, 0x56,
  1305. 0xe4, 0x0f, 0xb5, 0x0e, 0x17, 0x28, 0xff, 0x38, 0x68, 0xf7, 0xbb, 0x57, 0x61, 0xa1, 0xa5, 0xc6,
  1306. 0x14, 0xf0, 0xc0, 0x4f, 0xa4, 0xfb, 0x32, 0x13, 0x78, 0xe0, 0xf3, 0x0f, 0x04, 0x9e, 0xc4, 0x9c,
  1307. 0x1a, 0x59, 0x61, 0xe0, 0x20, 0x75, 0xa1, 0xf8, 0x57, 0x1c, 0xfe, 0xcf, 0xe3, 0xc0, 0xc3, 0x6a,
  1308. 0x00, 0x9f, 0x40, 0xc0, 0x1a, 0xab, 0x46, 0x55, 0x8a, 0xc0, 0x17, 0x6b, 0xc5, 0x5f, 0xb3, 0x51,
  1309. 0x04, 0x3e, 0x7c, 0x62, 0x0a, 0x11, 0x15, 0x14, 0xb0, 0xbc, 0x88, 0x55, 0xe6, 0xf5, 0xf8, 0x14,
  1310. 0xb0, 0x02, 0x1d, 0x6b, 0xbd, 0x50, 0xa3, 0x2a, 0x45, 0xe0, 0x8b, 0xf5, 0xe9, 0x6f, 0xd9, 0x28,
  1311. 0x02, 0xff, 0x58, 0xeb, 0x85, 0x1a, 0x75, 0xea, 0xe4, 0x0e, 0xa3, 0x48, 0xd6, 0x18, 0xb9, 0xb4,
  1312. 0xbd, 0xe1, 0x24, 0x7f, 0x19, 0x87, 0x24, 0x59, 0xf6, 0x92, 0x3f, 0x40, 0xc3, 0x9a, 0x8d, 0xe3,
  1313. 0x88, 0x28, 0xf0, 0xe5, 0xc2, 0xf8, 0xf7, 0x8c, 0x44, 0x81, 0x9f, 0xfc, 0xd1, 0x88, 0x64, 0xdc,
  1314. 0x69, 0x91, 0x35, 0x3e, 0x68, 0xa2, 0x4b, 0x72, 0x5d, 0x7d, 0xcb, 0xa9, 0x5e, 0x8e, 0x35, 0x70,
  1315. 0xc9, 0x3d, 0xe2, 0x2f, 0x90, 0xb1, 0x0e, 0xe8, 0x57, 0x30, 0x1d, 0x7b, 0x4a, 0xa2, 0x67, 0x7b,
  1316. 0x59, 0xe9, 0x02, 0x5f, 0xfc, 0xd5, 0xe9, 0xd2, 0x2b, 0x58, 0xf5, 0xb0, 0xb0, 0x57, 0x33, 0xaa,
  1317. 0x9e, 0xaf, 0xfc, 0x9a, 0xea, 0xa1, 0x1a, 0xfc, 0x9b, 0x14, 0x53, 0xf0, 0xa4, 0x1c, 0xfc, 0x83,
  1318. 0xa3, 0xfb, 0x63, 0xa3, 0x43, 0xbd, 0x00, 0xf8, 0xa5, 0x16, 0x0a, 0x3a, 0x5f, 0x08, 0x23, 0xe4,
  1319. 0xf5, 0x03, 0x8a, 0xc8, 0x3e, 0x07, 0xff, 0xd3, 0x38, 0xe0, 0xac, 0xc0, 0xb0, 0xff, 0x80, 0xbc,
  1320. 0xd0, 0x4a, 0x23, 0x52, 0x26, 0xbc, 0xb6, 0x88, 0xc2, 0x73, 0x90, 0x41, 0x26, 0xfc, 0x0e, 0xf8,
  1321. 0x54, 0x64, 0xa2, 0x44, 0xc5, 0xc8, 0x24, 0x14, 0x50, 0xb2, 0x0e, 0xc7, 0x1f, 0x19, 0x40, 0xe1,
  1322. 0x45, 0x2d, 0x1d, 0x19, 0x25, 0xe8, 0x7c, 0x27, 0xeb, 0x0a, 0xbe, 0x56, 0x95, 0xde, 0x71, 0xa2,
  1323. 0xd7, 0xe3, 0x13, 0xa1, 0x3a, 0x04, 0x84, 0xa5, 0x96, 0xf1, 0xa2, 0xd3, 0x26, 0xa5, 0x61, 0x62,
  1324. 0x5e, 0xa6, 0xde, 0x67, 0x98, 0xbf, 0x0a, 0x30, 0xab, 0x4d, 0xca, 0xfc, 0xd5, 0xae, 0x38, 0x8f,
  1325. 0xc8, 0x62, 0xdc, 0x8e, 0xe2, 0x0b, 0xb1, 0xec, 0xc7, 0x6c, 0xb3, 0x75, 0x34, 0x11, 0x2e, 0xf0,
  1326. 0x68, 0xb2, 0x7a, 0x9f, 0x92, 0x55, 0x48, 0xd2, 0x06, 0xa2, 0x93, 0xe7, 0x15, 0xf9, 0x68, 0x22,
  1327. 0x74, 0x38, 0x1a, 0xee, 0xb8, 0x6c, 0x48, 0x32, 0x5f, 0xfe, 0xc7, 0x36, 0x0b, 0xb2, 0x21, 0xc9,
  1328. 0x63, 0x7f, 0x48, 0xe0, 0x67, 0xf2, 0xc4, 0xbb, 0x6c, 0xa3, 0x70, 0x34, 0x11, 0x12, 0x1e, 0x84,
  1329. 0x27, 0xf7, 0x80, 0x90, 0x24, 0x85, 0x4d, 0xe8, 0x1e, 0xdb, 0x99, 0x1c, 0x4d, 0x84, 0xf3, 0x90,
  1330. 0xc1, 0x66, 0x27, 0xea, 0x71, 0xe0, 0xbb, 0x7d, 0xb6, 0x6b, 0x44, 0x3d, 0x0e, 0xfc, 0x94, 0x08,
  1331. 0x24, 0x3d, 0x60, 0xfb, 0x25, 0x49, 0x04, 0xe2, 0x94, 0x38, 0x89, 0x30, 0x2f, 0xd9, 0x5e, 0x49,
  1332. 0xe2, 0x24, 0x0a, 0xfb, 0xa7, 0x68, 0x0d, 0x7f, 0x84, 0xdf, 0x33, 0xbf, 0xed, 0xcb, 0xa6, 0xb3,
  1333. 0x1f, 0x77, 0x6b, 0xa4, 0x80, 0x07, 0x6d, 0x91, 0x58, 0xb5, 0x64, 0xbb, 0x6d, 0xd5, 0x9c, 0x2a,
  1334. 0x59, 0x38, 0x8b, 0xbb, 0xd1, 0xd9, 0xa0, 0xdb, 0x6b, 0x5c, 0x46, 0x7c, 0x7f, 0xbd, 0xb0, 0x43,
  1335. 0x6f, 0x63, 0x0b, 0xd5, 0x9b, 0xee, 0xde, 0x23, 0x05, 0xb4, 0x61, 0x02, 0x8a, 0x95, 0x84, 0x82,
  1336. 0x5d, 0x46, 0xef, 0x72, 0x70, 0x79, 0x5b, 0x5c, 0x7e, 0x4b, 0x9c, 0xe1, 0x77, 0x19, 0xa7, 0x48,
  1337. 0xec, 0xff, 0x46, 0x57, 0x49, 0x3b, 0xd9, 0x57, 0x67, 0x95, 0x4c, 0x5f, 0xd6, 0x9a, 0x03, 0x68,
  1338. 0xe3, 0x74, 0x08, 0x3f, 0x5e, 0x4d, 0xbe, 0xb0, 0x52, 0x04, 0xf5, 0x85, 0x45, 0x45, 0xb0, 0x0d,
  1339. 0x08, 0xb6, 0x8a, 0x50, 0x25, 0xab, 0xa6, 0x77, 0x12, 0x15, 0xa3, 0x60, 0xc0, 0x28, 0x98, 0x31,
  1340. 0xd0, 0x4b, 0x87, 0x8a, 0x31, 0x65, 0xc0, 0x98, 0x1a, 0xc6, 0x18, 0x7a, 0xab, 0x50, 0x31, 0x56,
  1341. 0x0c, 0x18, 0x2b, 0x66, 0x0c, 0xf4, 0xda, 0xa0, 0x62, 0x38, 0x06, 0x0c, 0x47, 0xc5, 0xd8, 0x27,
  1342. 0x25, 0xf3, 0x5b, 0x81, 0x8a, 0x32, 0x6b, 0x40, 0x99, 0x1d, 0x81, 0x82, 0x4b, 0xbe, 0x8a, 0x32,
  1343. 0x63, 0x40, 0x99, 0x51, 0x51, 0x0e, 0x89, 0x3b, 0xaa, 0x9a, 0xab, 0x38, 0xcb, 0x06, 0x9c, 0xe5,
  1344. 0x51, 0x38, 0x5a, 0x99, 0x56, 0x71, 0x8a, 0x06, 0x9c, 0xa2, 0x71, 0xb6, 0xa9, 0x55, 0xf8, 0xb6,
  1345. 0xf9, 0x3a, 0xa9, 0x22, 0xec, 0x91, 0x3b, 0x86, 0x4a, 0x7b, 0x1b, 0x84, 0xa5, 0x42, 0xbc, 0x21,
  1346. 0x45, 0xbd, 0x9e, 0xaa, 0xf7, 0xcf, 0x19, 0xee, 0x9f, 0x33, 0x4c, 0x12, 0xbd, 0x68, 0xaa, 0x18,
  1347. 0xf3, 0x06, 0x8c, 0xf9, 0xe1, 0x6e, 0xe8, 0x65, 0xf1, 0x36, 0x88, 0x45, 0x15, 0xe2, 0x8a, 0x6c,
  1348. 0xdc, 0x50, 0xf0, 0x0c, 0x50, 0xfb, 0x2a, 0x54, 0xf6, 0x5d, 0x9e, 0x42, 0xdd, 0x83, 0xe9, 0x60,
  1349. 0xaa, 0x7a, 0x06, 0xde, 0x3d, 0x95, 0x37, 0xe3, 0xc6, 0x2f, 0x25, 0xdd, 0x7c, 0x49, 0x88, 0x52,
  1350. 0x47, 0x67, 0x89, 0x7d, 0xf8, 0xe9, 0x53, 0x71, 0x82, 0x7d, 0xa9, 0xee, 0x85, 0x45, 0x0b, 0xbe,
  1351. 0x7c, 0x2d, 0x4e, 0xb2, 0x16, 0x7c, 0x3c, 0x78, 0x57, 0xfc, 0x55, 0xfc, 0xb3, 0xaa, 0x05, 0x59,
  1352. 0x5d, 0x1a, 0x51, 0xf3, 0x7c, 0xf3, 0x1e, 0x59, 0x49, 0xf8, 0x0e, 0x7e, 0xf4, 0xa3, 0x76, 0xaf,
  1353. 0x11, 0xb7, 0x7b, 0x5b, 0x73, 0x73, 0x56, 0xf1, 0xfa, 0xfa, 0xfa, 0x7a, 0x72, 0xf3, 0x09, 0x29,
  1354. 0xa3, 0x25, 0xf9, 0x24, 0x12, 0x59, 0x78, 0x71, 0x66, 0x89, 0x68, 0x71, 0xd6, 0x13, 0xc5, 0x32,
  1355. 0xfd, 0xea, 0x84, 0xb8, 0xf8, 0xc8, 0x56, 0xc9, 0x7c, 0x7c, 0xc3, 0x70, 0xa4, 0xcd, 0x4b, 0x66,
  1356. 0x76, 0x09, 0x9d, 0xf1, 0xca, 0xcb, 0x3a, 0x41, 0xe0, 0x67, 0x27, 0x80, 0x75, 0xbd, 0x84, 0x4e,
  1357. 0x87, 0x53, 0x82, 0x1a, 0x59, 0xd7, 0x8e, 0x89, 0xb3, 0x33, 0xc0, 0xb9, 0x72, 0x19, 0x9f, 0x2b,
  1358. 0x8f, 0xa6, 0xc8, 0xd3, 0x09, 0x38, 0x91, 0x2e, 0xe3, 0x13, 0x69, 0x33, 0x45, 0x2f, 0x67, 0x2f,
  1359. 0xe0, 0x2c, 0xbb, 0x8c, 0xcf, 0xb2, 0x47, 0x53, 0xe4, 0xe9, 0x05, 0x9c, 0x82, 0x97, 0xf1, 0x29,
  1360. 0x78, 0x4a, 0x71, 0x46, 0xee, 0xea, 0xc7, 0xe1, 0xd9, 0x39, 0xe0, 0xfc, 0xdc, 0xd5, 0xce, 0xcf,
  1361. 0x6f, 0x20, 0xc9, 0xd3, 0x11, 0x38, 0x79, 0x77, 0xb5, 0x93, 0xf7, 0x94, 0x24, 0x22, 0x1b, 0x43,
  1362. 0x47, 0xf0, 0xd9, 0x59, 0xe0, 0xcc, 0x7e, 0x5d, 0x3f, 0xb3, 0xbf, 0x89, 0x26, 0x4f, 0x67, 0xe0,
  1363. 0xb4, 0x7f, 0x5d, 0x3f, 0xed, 0x37, 0x8b, 0x90, 0xbf, 0xc6, 0x66, 0xe7, 0x00, 0x9f, 0xa0, 0x84,
  1364. 0x7c, 0x02, 0xf3, 0xdc, 0x82, 0x97, 0xe0, 0xec, 0x0c, 0xe0, 0x30, 0x94, 0xb1, 0xc3, 0x90, 0x52,
  1365. 0x7c, 0x53, 0xce, 0xe7, 0xf9, 0x36, 0x35, 0x33, 0x01, 0x78, 0x13, 0x6b, 0xaa, 0x37, 0x31, 0x42,
  1366. 0x1d, 0xb0, 0xe5, 0xca, 0x4c, 0x00, 0xae, 0x46, 0x19, 0xbb, 0x1a, 0xe6, 0xa7, 0xc0, 0x77, 0x2d,
  1367. 0xd9, 0x19, 0xc0, 0x0f, 0x29, 0x21, 0x3f, 0x24, 0x25, 0xf8, 0xbf, 0x95, 0x8e, 0x51, 0x5d, 0x5b,
  1368. 0xf6, 0xc7, 0x24, 0x00, 0x2b, 0xc5, 0x58, 0x08, 0x47, 0x54, 0x9e, 0xb4, 0x35, 0x9c, 0x32, 0x6d,
  1369. 0xcd, 0xcf, 0x16, 0x79, 0x38, 0xc2, 0x51, 0xc9, 0xde, 0xae, 0x7c, 0x16, 0xcc, 0x7d, 0xa3, 0x05,
  1370. 0x93, 0x36, 0xf1, 0x27, 0x8b, 0xdc, 0x37, 0x99, 0x31, 0xd9, 0xdb, 0x97, 0xc3, 0xbd, 0xd9, 0x18,
  1371. 0x76, 0x6f, 0xd0, 0x5c, 0xc1, 0x36, 0x4e, 0xf6, 0x26, 0x81, 0xef, 0x53, 0x42, 0xbe, 0xcf, 0x48,
  1372. 0x82, 0x3c, 0xcb, 0x0e, 0x38, 0x46, 0x25, 0xe4, 0x18, 0x21, 0x41, 0x69, 0xd6, 0x51, 0x76, 0x06,
  1373. 0xf0, 0x9a, 0xca, 0xd8, 0x6b, 0x1a, 0x4d, 0x91, 0xa7, 0x13, 0xe0, 0x52, 0x95, 0xb1, 0x4b, 0x65,
  1374. 0xa6, 0xc8, 0x5b, 0x97, 0xc1, 0xdf, 0x2a, 0x63, 0x7f, 0x6b, 0x34, 0x45, 0x9e, 0x5e, 0x80, 0x33,
  1375. 0x56, 0xc6, 0xce, 0x18, 0x2a, 0x99, 0xba, 0x45, 0x96, 0x9d, 0x03, 0x3c, 0x35, 0x57, 0xf3, 0xd4,
  1376. 0x6e, 0x20, 0xc9, 0xd3, 0x11, 0x70, 0xe3, 0x5c, 0xcd, 0x8d, 0x43, 0x05, 0x73, 0xc8, 0x96, 0xcb,
  1377. 0xce, 0x02, 0x3e, 0xde, 0xba, 0xee, 0xe3, 0xdd, 0x44, 0x93, 0xa7, 0x33, 0xe0, 0x00, 0xae, 0xeb,
  1378. 0x0e, 0xa0, 0x59, 0x84, 0x39, 0xeb, 0x32, 0x78, 0x87, 0x25, 0xe4, 0x1d, 0x9a, 0xe7, 0x56, 0xde,
  1379. 0xba, 0x0c, 0xae, 0x63, 0x19, 0xbb, 0x8e, 0xa8, 0x2e, 0x23, 0xfb, 0x31, 0x3b, 0x01, 0xf8, 0x95,
  1380. 0x6b, 0xaa, 0x5f, 0x39, 0x42, 0x1d, 0x39, 0xeb, 0x32, 0x38, 0x9d, 0x65, 0xec, 0x74, 0x9a, 0x9f,
  1381. 0x42, 0xce, 0xba, 0x0c, 0x1e, 0x69, 0x09, 0x79, 0xa4, 0xb8, 0x2e, 0x23, 0xa3, 0x33, 0x3b, 0x01,
  1382. 0xd8, 0xab, 0xc6, 0xfa, 0x32, 0x62, 0xa3, 0x97, 0xb6, 0xc6, 0x50, 0x97, 0x47, 0xb8, 0xac, 0xd9,
  1383. 0xdb, 0x95, 0xcf, 0x96, 0xbd, 0x6f, 0xb4, 0x65, 0x71, 0x5d, 0x36, 0x19, 0xb4, 0xd9, 0xdb, 0x97,
  1384. 0xc3, 0xd1, 0xdd, 0x18, 0x76, 0x74, 0x25, 0x60, 0xf5, 0xf9, 0xd7, 0xad, 0x7a, 0xa3, 0xff, 0x9f,
  1385. 0xc1, 0x69, 0xe5, 0x2c, 0x6e, 0x6d, 0xd7, 0xe3, 0x66, 0xad, 0x5d, 0xdf, 0xe6, 0xa0, 0xa7, 0x83,
  1386. 0x8b, 0xed, 0xcb, 0x1d, 0xf8, 0xbe, 0xcd, 0x08, 0x3a, 0xa7, 0xbf, 0x05, 0x00, 0x00, 0xff, 0xff,
  1387. 0x98, 0xed, 0x53, 0x5d, 0x42, 0x25, 0x00, 0x00,
  1388. }
  1389. func init() {
  1390. xxx_Test_ProtoFile_FileDesc.Messages = xxx_Test_ProtoFile_MessageDescs[0:4]
  1391. xxx_Test_ProtoFile_MessageDescs[0].Enums = xxx_Test_ProtoFile_EnumDescs[0:1]
  1392. xxx_Test_ProtoFile_MessageDescs[0].Messages = xxx_Test_ProtoFile_MessageDescs[4:24]
  1393. xxx_Test_ProtoFile_MessageDescs[0].Fields[15].MessageType = xxx_Test_ProtoFile_MessageTypes[5].Type
  1394. xxx_Test_ProtoFile_MessageDescs[0].Fields[16].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
  1395. xxx_Test_ProtoFile_MessageDescs[0].Fields[17].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
  1396. xxx_Test_ProtoFile_MessageDescs[0].Fields[33].MessageType = xxx_Test_ProtoFile_MessageTypes[6].Type
  1397. xxx_Test_ProtoFile_MessageDescs[0].Fields[34].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
  1398. xxx_Test_ProtoFile_MessageDescs[0].Fields[35].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
  1399. xxx_Test_ProtoFile_MessageDescs[0].Fields[36].MessageType = xxx_Test_ProtoFile_MessageDescs[7].Reference()
  1400. xxx_Test_ProtoFile_MessageDescs[0].Fields[37].MessageType = xxx_Test_ProtoFile_MessageDescs[8].Reference()
  1401. xxx_Test_ProtoFile_MessageDescs[0].Fields[38].MessageType = xxx_Test_ProtoFile_MessageDescs[9].Reference()
  1402. xxx_Test_ProtoFile_MessageDescs[0].Fields[39].MessageType = xxx_Test_ProtoFile_MessageDescs[10].Reference()
  1403. xxx_Test_ProtoFile_MessageDescs[0].Fields[40].MessageType = xxx_Test_ProtoFile_MessageDescs[11].Reference()
  1404. xxx_Test_ProtoFile_MessageDescs[0].Fields[41].MessageType = xxx_Test_ProtoFile_MessageDescs[12].Reference()
  1405. xxx_Test_ProtoFile_MessageDescs[0].Fields[42].MessageType = xxx_Test_ProtoFile_MessageDescs[13].Reference()
  1406. xxx_Test_ProtoFile_MessageDescs[0].Fields[43].MessageType = xxx_Test_ProtoFile_MessageDescs[14].Reference()
  1407. xxx_Test_ProtoFile_MessageDescs[0].Fields[44].MessageType = xxx_Test_ProtoFile_MessageDescs[15].Reference()
  1408. xxx_Test_ProtoFile_MessageDescs[0].Fields[45].MessageType = xxx_Test_ProtoFile_MessageDescs[16].Reference()
  1409. xxx_Test_ProtoFile_MessageDescs[0].Fields[46].MessageType = xxx_Test_ProtoFile_MessageDescs[17].Reference()
  1410. xxx_Test_ProtoFile_MessageDescs[0].Fields[47].MessageType = xxx_Test_ProtoFile_MessageDescs[18].Reference()
  1411. xxx_Test_ProtoFile_MessageDescs[0].Fields[48].MessageType = xxx_Test_ProtoFile_MessageDescs[19].Reference()
  1412. xxx_Test_ProtoFile_MessageDescs[0].Fields[49].MessageType = xxx_Test_ProtoFile_MessageDescs[20].Reference()
  1413. xxx_Test_ProtoFile_MessageDescs[0].Fields[50].MessageType = xxx_Test_ProtoFile_MessageDescs[21].Reference()
  1414. xxx_Test_ProtoFile_MessageDescs[0].Fields[51].MessageType = xxx_Test_ProtoFile_MessageDescs[22].Reference()
  1415. xxx_Test_ProtoFile_MessageDescs[0].Fields[52].MessageType = xxx_Test_ProtoFile_MessageDescs[23].Reference()
  1416. xxx_Test_ProtoFile_MessageDescs[0].Fields[54].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
  1417. xxx_Test_ProtoFile_MessageDescs[0].Fields[61].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
  1418. xxx_Test_ProtoFile_MessageDescs[4].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[0].Type
  1419. xxx_Test_ProtoFile_MessageDescs[22].Fields[1].MessageType = xxx_Test_ProtoFile_MessageTypes[4].Type
  1420. xxx_Test_ProtoFile_MessageDescs[23].Fields[1].EnumType = xxx_Test_ProtoFile_EnumTypes[0]
  1421. var err error
  1422. Test_ProtoFile, err = prototype.NewFile(&xxx_Test_ProtoFile_FileDesc)
  1423. if err != nil {
  1424. panic(err)
  1425. }
  1426. }
  1427. const _ = protoimpl.EnforceVersion(protoimpl.Version - 0)
  1428. var Test_ProtoFile protoreflect.FileDescriptor
  1429. var xxx_Test_ProtoFile_FileDesc = prototype.File{
  1430. Syntax: protoreflect.Proto2,
  1431. Path: "test.proto",
  1432. Package: "goproto.proto.test",
  1433. }
  1434. var xxx_Test_ProtoFile_EnumTypes = [1]protoreflect.EnumType{
  1435. prototype.GoEnum(
  1436. xxx_Test_ProtoFile_EnumDescs[0].Reference(),
  1437. func(_ protoreflect.EnumType, n protoreflect.EnumNumber) protoreflect.ProtoEnum {
  1438. return TestAllTypes_NestedEnum(n)
  1439. },
  1440. ),
  1441. }
  1442. var xxx_Test_ProtoFile_EnumDescs = [1]prototype.Enum{
  1443. {
  1444. Name: "NestedEnum",
  1445. Values: []prototype.EnumValue{
  1446. {Name: "FOO", Number: 0},
  1447. {Name: "BAR", Number: 1},
  1448. {Name: "BAZ", Number: 2},
  1449. {Name: "NEG", Number: -1},
  1450. },
  1451. },
  1452. }
  1453. var xxx_Test_ProtoFile_MessageTypes = [24]protoimpl.MessageType{
  1454. {Type: prototype.GoMessage(
  1455. xxx_Test_ProtoFile_MessageDescs[0].Reference(),
  1456. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  1457. return new(TestAllTypes)
  1458. },
  1459. )},
  1460. {Type: prototype.GoMessage(
  1461. xxx_Test_ProtoFile_MessageDescs[1].Reference(),
  1462. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  1463. return new(TestAllExtensions)
  1464. },
  1465. )},
  1466. {Type: prototype.GoMessage(
  1467. xxx_Test_ProtoFile_MessageDescs[2].Reference(),
  1468. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  1469. return new(OptionalGroupExtension)
  1470. },
  1471. )},
  1472. {Type: prototype.GoMessage(
  1473. xxx_Test_ProtoFile_MessageDescs[3].Reference(),
  1474. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  1475. return new(RepeatedGroupExtension)
  1476. },
  1477. )},
  1478. {Type: prototype.GoMessage(
  1479. xxx_Test_ProtoFile_MessageDescs[4].Reference(),
  1480. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  1481. return new(TestAllTypes_NestedMessage)
  1482. },
  1483. )},
  1484. {Type: prototype.GoMessage(
  1485. xxx_Test_ProtoFile_MessageDescs[5].Reference(),
  1486. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  1487. return new(TestAllTypes_OptionalGroup)
  1488. },
  1489. )},
  1490. {Type: prototype.GoMessage(
  1491. xxx_Test_ProtoFile_MessageDescs[6].Reference(),
  1492. func(protoreflect.MessageType) protoreflect.ProtoMessage {
  1493. return new(TestAllTypes_RepeatedGroup)
  1494. },
  1495. )},
  1496. { /* no message type for TestAllTypes_MapInt32Int32Entry */ },
  1497. { /* no message type for TestAllTypes_MapInt64Int64Entry */ },
  1498. { /* no message type for TestAllTypes_MapUint32Uint32Entry */ },
  1499. { /* no message type for TestAllTypes_MapUint64Uint64Entry */ },
  1500. { /* no message type for TestAllTypes_MapSint32Sint32Entry */ },
  1501. { /* no message type for TestAllTypes_MapSint64Sint64Entry */ },
  1502. { /* no message type for TestAllTypes_MapFixed32Fixed32Entry */ },
  1503. { /* no message type for TestAllTypes_MapFixed64Fixed64Entry */ },
  1504. { /* no message type for TestAllTypes_MapSfixed32Sfixed32Entry */ },
  1505. { /* no message type for TestAllTypes_MapSfixed64Sfixed64Entry */ },
  1506. { /* no message type for TestAllTypes_MapInt32FloatEntry */ },
  1507. { /* no message type for TestAllTypes_MapInt32DoubleEntry */ },
  1508. { /* no message type for TestAllTypes_MapBoolBoolEntry */ },
  1509. { /* no message type for TestAllTypes_MapStringStringEntry */ },
  1510. { /* no message type for TestAllTypes_MapStringBytesEntry */ },
  1511. { /* no message type for TestAllTypes_MapStringNestedMessageEntry */ },
  1512. { /* no message type for TestAllTypes_MapStringNestedEnumEntry */ },
  1513. }
  1514. var xxx_Test_ProtoFile_MessageDescs = [24]prototype.Message{
  1515. {
  1516. Name: "TestAllTypes",
  1517. Fields: []prototype.Field{
  1518. {
  1519. Name: "optional_int32",
  1520. Number: 1,
  1521. Cardinality: protoreflect.Optional,
  1522. Kind: protoreflect.Int32Kind,
  1523. JSONName: "optionalInt32",
  1524. IsPacked: prototype.False,
  1525. },
  1526. {
  1527. Name: "optional_int64",
  1528. Number: 2,
  1529. Cardinality: protoreflect.Optional,
  1530. Kind: protoreflect.Int64Kind,
  1531. JSONName: "optionalInt64",
  1532. IsPacked: prototype.False,
  1533. },
  1534. {
  1535. Name: "optional_uint32",
  1536. Number: 3,
  1537. Cardinality: protoreflect.Optional,
  1538. Kind: protoreflect.Uint32Kind,
  1539. JSONName: "optionalUint32",
  1540. IsPacked: prototype.False,
  1541. },
  1542. {
  1543. Name: "optional_uint64",
  1544. Number: 4,
  1545. Cardinality: protoreflect.Optional,
  1546. Kind: protoreflect.Uint64Kind,
  1547. JSONName: "optionalUint64",
  1548. IsPacked: prototype.False,
  1549. },
  1550. {
  1551. Name: "optional_sint32",
  1552. Number: 5,
  1553. Cardinality: protoreflect.Optional,
  1554. Kind: protoreflect.Sint32Kind,
  1555. JSONName: "optionalSint32",
  1556. IsPacked: prototype.False,
  1557. },
  1558. {
  1559. Name: "optional_sint64",
  1560. Number: 6,
  1561. Cardinality: protoreflect.Optional,
  1562. Kind: protoreflect.Sint64Kind,
  1563. JSONName: "optionalSint64",
  1564. IsPacked: prototype.False,
  1565. },
  1566. {
  1567. Name: "optional_fixed32",
  1568. Number: 7,
  1569. Cardinality: protoreflect.Optional,
  1570. Kind: protoreflect.Fixed32Kind,
  1571. JSONName: "optionalFixed32",
  1572. IsPacked: prototype.False,
  1573. },
  1574. {
  1575. Name: "optional_fixed64",
  1576. Number: 8,
  1577. Cardinality: protoreflect.Optional,
  1578. Kind: protoreflect.Fixed64Kind,
  1579. JSONName: "optionalFixed64",
  1580. IsPacked: prototype.False,
  1581. },
  1582. {
  1583. Name: "optional_sfixed32",
  1584. Number: 9,
  1585. Cardinality: protoreflect.Optional,
  1586. Kind: protoreflect.Sfixed32Kind,
  1587. JSONName: "optionalSfixed32",
  1588. IsPacked: prototype.False,
  1589. },
  1590. {
  1591. Name: "optional_sfixed64",
  1592. Number: 10,
  1593. Cardinality: protoreflect.Optional,
  1594. Kind: protoreflect.Sfixed64Kind,
  1595. JSONName: "optionalSfixed64",
  1596. IsPacked: prototype.False,
  1597. },
  1598. {
  1599. Name: "optional_float",
  1600. Number: 11,
  1601. Cardinality: protoreflect.Optional,
  1602. Kind: protoreflect.FloatKind,
  1603. JSONName: "optionalFloat",
  1604. IsPacked: prototype.False,
  1605. },
  1606. {
  1607. Name: "optional_double",
  1608. Number: 12,
  1609. Cardinality: protoreflect.Optional,
  1610. Kind: protoreflect.DoubleKind,
  1611. JSONName: "optionalDouble",
  1612. IsPacked: prototype.False,
  1613. },
  1614. {
  1615. Name: "optional_bool",
  1616. Number: 13,
  1617. Cardinality: protoreflect.Optional,
  1618. Kind: protoreflect.BoolKind,
  1619. JSONName: "optionalBool",
  1620. IsPacked: prototype.False,
  1621. },
  1622. {
  1623. Name: "optional_string",
  1624. Number: 14,
  1625. Cardinality: protoreflect.Optional,
  1626. Kind: protoreflect.StringKind,
  1627. JSONName: "optionalString",
  1628. IsPacked: prototype.False,
  1629. },
  1630. {
  1631. Name: "optional_bytes",
  1632. Number: 15,
  1633. Cardinality: protoreflect.Optional,
  1634. Kind: protoreflect.BytesKind,
  1635. JSONName: "optionalBytes",
  1636. IsPacked: prototype.False,
  1637. },
  1638. {
  1639. Name: "optionalgroup",
  1640. Number: 16,
  1641. Cardinality: protoreflect.Optional,
  1642. Kind: protoreflect.GroupKind,
  1643. JSONName: "optionalgroup",
  1644. IsPacked: prototype.False,
  1645. },
  1646. {
  1647. Name: "optional_nested_message",
  1648. Number: 18,
  1649. Cardinality: protoreflect.Optional,
  1650. Kind: protoreflect.MessageKind,
  1651. JSONName: "optionalNestedMessage",
  1652. IsPacked: prototype.False,
  1653. },
  1654. {
  1655. Name: "optional_nested_enum",
  1656. Number: 21,
  1657. Cardinality: protoreflect.Optional,
  1658. Kind: protoreflect.EnumKind,
  1659. JSONName: "optionalNestedEnum",
  1660. IsPacked: prototype.False,
  1661. },
  1662. {
  1663. Name: "repeated_int32",
  1664. Number: 31,
  1665. Cardinality: protoreflect.Repeated,
  1666. Kind: protoreflect.Int32Kind,
  1667. JSONName: "repeatedInt32",
  1668. IsPacked: prototype.False,
  1669. },
  1670. {
  1671. Name: "repeated_int64",
  1672. Number: 32,
  1673. Cardinality: protoreflect.Repeated,
  1674. Kind: protoreflect.Int64Kind,
  1675. JSONName: "repeatedInt64",
  1676. IsPacked: prototype.False,
  1677. },
  1678. {
  1679. Name: "repeated_uint32",
  1680. Number: 33,
  1681. Cardinality: protoreflect.Repeated,
  1682. Kind: protoreflect.Uint32Kind,
  1683. JSONName: "repeatedUint32",
  1684. IsPacked: prototype.False,
  1685. },
  1686. {
  1687. Name: "repeated_uint64",
  1688. Number: 34,
  1689. Cardinality: protoreflect.Repeated,
  1690. Kind: protoreflect.Uint64Kind,
  1691. JSONName: "repeatedUint64",
  1692. IsPacked: prototype.False,
  1693. },
  1694. {
  1695. Name: "repeated_sint32",
  1696. Number: 35,
  1697. Cardinality: protoreflect.Repeated,
  1698. Kind: protoreflect.Sint32Kind,
  1699. JSONName: "repeatedSint32",
  1700. IsPacked: prototype.False,
  1701. },
  1702. {
  1703. Name: "repeated_sint64",
  1704. Number: 36,
  1705. Cardinality: protoreflect.Repeated,
  1706. Kind: protoreflect.Sint64Kind,
  1707. JSONName: "repeatedSint64",
  1708. IsPacked: prototype.False,
  1709. },
  1710. {
  1711. Name: "repeated_fixed32",
  1712. Number: 37,
  1713. Cardinality: protoreflect.Repeated,
  1714. Kind: protoreflect.Fixed32Kind,
  1715. JSONName: "repeatedFixed32",
  1716. IsPacked: prototype.False,
  1717. },
  1718. {
  1719. Name: "repeated_fixed64",
  1720. Number: 38,
  1721. Cardinality: protoreflect.Repeated,
  1722. Kind: protoreflect.Fixed64Kind,
  1723. JSONName: "repeatedFixed64",
  1724. IsPacked: prototype.False,
  1725. },
  1726. {
  1727. Name: "repeated_sfixed32",
  1728. Number: 39,
  1729. Cardinality: protoreflect.Repeated,
  1730. Kind: protoreflect.Sfixed32Kind,
  1731. JSONName: "repeatedSfixed32",
  1732. IsPacked: prototype.False,
  1733. },
  1734. {
  1735. Name: "repeated_sfixed64",
  1736. Number: 40,
  1737. Cardinality: protoreflect.Repeated,
  1738. Kind: protoreflect.Sfixed64Kind,
  1739. JSONName: "repeatedSfixed64",
  1740. IsPacked: prototype.False,
  1741. },
  1742. {
  1743. Name: "repeated_float",
  1744. Number: 41,
  1745. Cardinality: protoreflect.Repeated,
  1746. Kind: protoreflect.FloatKind,
  1747. JSONName: "repeatedFloat",
  1748. IsPacked: prototype.False,
  1749. },
  1750. {
  1751. Name: "repeated_double",
  1752. Number: 42,
  1753. Cardinality: protoreflect.Repeated,
  1754. Kind: protoreflect.DoubleKind,
  1755. JSONName: "repeatedDouble",
  1756. IsPacked: prototype.False,
  1757. },
  1758. {
  1759. Name: "repeated_bool",
  1760. Number: 43,
  1761. Cardinality: protoreflect.Repeated,
  1762. Kind: protoreflect.BoolKind,
  1763. JSONName: "repeatedBool",
  1764. IsPacked: prototype.False,
  1765. },
  1766. {
  1767. Name: "repeated_string",
  1768. Number: 44,
  1769. Cardinality: protoreflect.Repeated,
  1770. Kind: protoreflect.StringKind,
  1771. JSONName: "repeatedString",
  1772. IsPacked: prototype.False,
  1773. },
  1774. {
  1775. Name: "repeated_bytes",
  1776. Number: 45,
  1777. Cardinality: protoreflect.Repeated,
  1778. Kind: protoreflect.BytesKind,
  1779. JSONName: "repeatedBytes",
  1780. IsPacked: prototype.False,
  1781. },
  1782. {
  1783. Name: "repeatedgroup",
  1784. Number: 46,
  1785. Cardinality: protoreflect.Repeated,
  1786. Kind: protoreflect.GroupKind,
  1787. JSONName: "repeatedgroup",
  1788. IsPacked: prototype.False,
  1789. },
  1790. {
  1791. Name: "repeated_nested_message",
  1792. Number: 48,
  1793. Cardinality: protoreflect.Repeated,
  1794. Kind: protoreflect.MessageKind,
  1795. JSONName: "repeatedNestedMessage",
  1796. IsPacked: prototype.False,
  1797. },
  1798. {
  1799. Name: "repeated_nested_enum",
  1800. Number: 51,
  1801. Cardinality: protoreflect.Repeated,
  1802. Kind: protoreflect.EnumKind,
  1803. JSONName: "repeatedNestedEnum",
  1804. IsPacked: prototype.False,
  1805. },
  1806. {
  1807. Name: "map_int32_int32",
  1808. Number: 56,
  1809. Cardinality: protoreflect.Repeated,
  1810. Kind: protoreflect.MessageKind,
  1811. JSONName: "mapInt32Int32",
  1812. IsPacked: prototype.False,
  1813. },
  1814. {
  1815. Name: "map_int64_int64",
  1816. Number: 57,
  1817. Cardinality: protoreflect.Repeated,
  1818. Kind: protoreflect.MessageKind,
  1819. JSONName: "mapInt64Int64",
  1820. IsPacked: prototype.False,
  1821. },
  1822. {
  1823. Name: "map_uint32_uint32",
  1824. Number: 58,
  1825. Cardinality: protoreflect.Repeated,
  1826. Kind: protoreflect.MessageKind,
  1827. JSONName: "mapUint32Uint32",
  1828. IsPacked: prototype.False,
  1829. },
  1830. {
  1831. Name: "map_uint64_uint64",
  1832. Number: 59,
  1833. Cardinality: protoreflect.Repeated,
  1834. Kind: protoreflect.MessageKind,
  1835. JSONName: "mapUint64Uint64",
  1836. IsPacked: prototype.False,
  1837. },
  1838. {
  1839. Name: "map_sint32_sint32",
  1840. Number: 60,
  1841. Cardinality: protoreflect.Repeated,
  1842. Kind: protoreflect.MessageKind,
  1843. JSONName: "mapSint32Sint32",
  1844. IsPacked: prototype.False,
  1845. },
  1846. {
  1847. Name: "map_sint64_sint64",
  1848. Number: 61,
  1849. Cardinality: protoreflect.Repeated,
  1850. Kind: protoreflect.MessageKind,
  1851. JSONName: "mapSint64Sint64",
  1852. IsPacked: prototype.False,
  1853. },
  1854. {
  1855. Name: "map_fixed32_fixed32",
  1856. Number: 62,
  1857. Cardinality: protoreflect.Repeated,
  1858. Kind: protoreflect.MessageKind,
  1859. JSONName: "mapFixed32Fixed32",
  1860. IsPacked: prototype.False,
  1861. },
  1862. {
  1863. Name: "map_fixed64_fixed64",
  1864. Number: 63,
  1865. Cardinality: protoreflect.Repeated,
  1866. Kind: protoreflect.MessageKind,
  1867. JSONName: "mapFixed64Fixed64",
  1868. IsPacked: prototype.False,
  1869. },
  1870. {
  1871. Name: "map_sfixed32_sfixed32",
  1872. Number: 64,
  1873. Cardinality: protoreflect.Repeated,
  1874. Kind: protoreflect.MessageKind,
  1875. JSONName: "mapSfixed32Sfixed32",
  1876. IsPacked: prototype.False,
  1877. },
  1878. {
  1879. Name: "map_sfixed64_sfixed64",
  1880. Number: 65,
  1881. Cardinality: protoreflect.Repeated,
  1882. Kind: protoreflect.MessageKind,
  1883. JSONName: "mapSfixed64Sfixed64",
  1884. IsPacked: prototype.False,
  1885. },
  1886. {
  1887. Name: "map_int32_float",
  1888. Number: 66,
  1889. Cardinality: protoreflect.Repeated,
  1890. Kind: protoreflect.MessageKind,
  1891. JSONName: "mapInt32Float",
  1892. IsPacked: prototype.False,
  1893. },
  1894. {
  1895. Name: "map_int32_double",
  1896. Number: 67,
  1897. Cardinality: protoreflect.Repeated,
  1898. Kind: protoreflect.MessageKind,
  1899. JSONName: "mapInt32Double",
  1900. IsPacked: prototype.False,
  1901. },
  1902. {
  1903. Name: "map_bool_bool",
  1904. Number: 68,
  1905. Cardinality: protoreflect.Repeated,
  1906. Kind: protoreflect.MessageKind,
  1907. JSONName: "mapBoolBool",
  1908. IsPacked: prototype.False,
  1909. },
  1910. {
  1911. Name: "map_string_string",
  1912. Number: 69,
  1913. Cardinality: protoreflect.Repeated,
  1914. Kind: protoreflect.MessageKind,
  1915. JSONName: "mapStringString",
  1916. IsPacked: prototype.False,
  1917. },
  1918. {
  1919. Name: "map_string_bytes",
  1920. Number: 70,
  1921. Cardinality: protoreflect.Repeated,
  1922. Kind: protoreflect.MessageKind,
  1923. JSONName: "mapStringBytes",
  1924. IsPacked: prototype.False,
  1925. },
  1926. {
  1927. Name: "map_string_nested_message",
  1928. Number: 71,
  1929. Cardinality: protoreflect.Repeated,
  1930. Kind: protoreflect.MessageKind,
  1931. JSONName: "mapStringNestedMessage",
  1932. IsPacked: prototype.False,
  1933. },
  1934. {
  1935. Name: "map_string_nested_enum",
  1936. Number: 73,
  1937. Cardinality: protoreflect.Repeated,
  1938. Kind: protoreflect.MessageKind,
  1939. JSONName: "mapStringNestedEnum",
  1940. IsPacked: prototype.False,
  1941. },
  1942. {
  1943. Name: "oneof_uint32",
  1944. Number: 111,
  1945. Cardinality: protoreflect.Optional,
  1946. Kind: protoreflect.Uint32Kind,
  1947. JSONName: "oneofUint32",
  1948. OneofName: "oneof_field",
  1949. IsPacked: prototype.False,
  1950. },
  1951. {
  1952. Name: "oneof_nested_message",
  1953. Number: 112,
  1954. Cardinality: protoreflect.Optional,
  1955. Kind: protoreflect.MessageKind,
  1956. JSONName: "oneofNestedMessage",
  1957. OneofName: "oneof_field",
  1958. IsPacked: prototype.False,
  1959. },
  1960. {
  1961. Name: "oneof_string",
  1962. Number: 113,
  1963. Cardinality: protoreflect.Optional,
  1964. Kind: protoreflect.StringKind,
  1965. JSONName: "oneofString",
  1966. OneofName: "oneof_field",
  1967. IsPacked: prototype.False,
  1968. },
  1969. {
  1970. Name: "oneof_bytes",
  1971. Number: 114,
  1972. Cardinality: protoreflect.Optional,
  1973. Kind: protoreflect.BytesKind,
  1974. JSONName: "oneofBytes",
  1975. OneofName: "oneof_field",
  1976. IsPacked: prototype.False,
  1977. },
  1978. {
  1979. Name: "oneof_bool",
  1980. Number: 115,
  1981. Cardinality: protoreflect.Optional,
  1982. Kind: protoreflect.BoolKind,
  1983. JSONName: "oneofBool",
  1984. OneofName: "oneof_field",
  1985. IsPacked: prototype.False,
  1986. },
  1987. {
  1988. Name: "oneof_uint64",
  1989. Number: 116,
  1990. Cardinality: protoreflect.Optional,
  1991. Kind: protoreflect.Uint64Kind,
  1992. JSONName: "oneofUint64",
  1993. OneofName: "oneof_field",
  1994. IsPacked: prototype.False,
  1995. },
  1996. {
  1997. Name: "oneof_float",
  1998. Number: 117,
  1999. Cardinality: protoreflect.Optional,
  2000. Kind: protoreflect.FloatKind,
  2001. JSONName: "oneofFloat",
  2002. OneofName: "oneof_field",
  2003. IsPacked: prototype.False,
  2004. },
  2005. {
  2006. Name: "oneof_double",
  2007. Number: 118,
  2008. Cardinality: protoreflect.Optional,
  2009. Kind: protoreflect.DoubleKind,
  2010. JSONName: "oneofDouble",
  2011. OneofName: "oneof_field",
  2012. IsPacked: prototype.False,
  2013. },
  2014. {
  2015. Name: "oneof_enum",
  2016. Number: 119,
  2017. Cardinality: protoreflect.Optional,
  2018. Kind: protoreflect.EnumKind,
  2019. JSONName: "oneofEnum",
  2020. OneofName: "oneof_field",
  2021. IsPacked: prototype.False,
  2022. },
  2023. },
  2024. Oneofs: []prototype.Oneof{
  2025. {Name: "oneof_field"},
  2026. },
  2027. },
  2028. {
  2029. Name: "TestAllExtensions",
  2030. ExtensionRanges: [][2]protoreflect.FieldNumber{{1, 536870912}},
  2031. },
  2032. {
  2033. Name: "OptionalGroup_extension",
  2034. Fields: []prototype.Field{
  2035. {
  2036. Name: "a",
  2037. Number: 17,
  2038. Cardinality: protoreflect.Optional,
  2039. Kind: protoreflect.Int32Kind,
  2040. JSONName: "a",
  2041. IsPacked: prototype.False,
  2042. },
  2043. },
  2044. },
  2045. {
  2046. Name: "RepeatedGroup_extension",
  2047. Fields: []prototype.Field{
  2048. {
  2049. Name: "a",
  2050. Number: 47,
  2051. Cardinality: protoreflect.Optional,
  2052. Kind: protoreflect.Int32Kind,
  2053. JSONName: "a",
  2054. IsPacked: prototype.False,
  2055. },
  2056. },
  2057. },
  2058. {
  2059. Name: "NestedMessage",
  2060. Fields: []prototype.Field{
  2061. {
  2062. Name: "a",
  2063. Number: 1,
  2064. Cardinality: protoreflect.Optional,
  2065. Kind: protoreflect.Int32Kind,
  2066. JSONName: "a",
  2067. IsPacked: prototype.False,
  2068. },
  2069. {
  2070. Name: "corecursive",
  2071. Number: 2,
  2072. Cardinality: protoreflect.Optional,
  2073. Kind: protoreflect.MessageKind,
  2074. JSONName: "corecursive",
  2075. IsPacked: prototype.False,
  2076. },
  2077. },
  2078. },
  2079. {
  2080. Name: "OptionalGroup",
  2081. Fields: []prototype.Field{
  2082. {
  2083. Name: "a",
  2084. Number: 17,
  2085. Cardinality: protoreflect.Optional,
  2086. Kind: protoreflect.Int32Kind,
  2087. JSONName: "a",
  2088. IsPacked: prototype.False,
  2089. },
  2090. },
  2091. },
  2092. {
  2093. Name: "RepeatedGroup",
  2094. Fields: []prototype.Field{
  2095. {
  2096. Name: "a",
  2097. Number: 47,
  2098. Cardinality: protoreflect.Optional,
  2099. Kind: protoreflect.Int32Kind,
  2100. JSONName: "a",
  2101. IsPacked: prototype.False,
  2102. },
  2103. },
  2104. },
  2105. {
  2106. Name: "MapInt32Int32Entry",
  2107. Fields: []prototype.Field{
  2108. {
  2109. Name: "key",
  2110. Number: 1,
  2111. Cardinality: protoreflect.Optional,
  2112. Kind: protoreflect.Int32Kind,
  2113. JSONName: "key",
  2114. IsPacked: prototype.False,
  2115. },
  2116. {
  2117. Name: "value",
  2118. Number: 2,
  2119. Cardinality: protoreflect.Optional,
  2120. Kind: protoreflect.Int32Kind,
  2121. JSONName: "value",
  2122. IsPacked: prototype.False,
  2123. },
  2124. },
  2125. IsMapEntry: true,
  2126. },
  2127. {
  2128. Name: "MapInt64Int64Entry",
  2129. Fields: []prototype.Field{
  2130. {
  2131. Name: "key",
  2132. Number: 1,
  2133. Cardinality: protoreflect.Optional,
  2134. Kind: protoreflect.Int64Kind,
  2135. JSONName: "key",
  2136. IsPacked: prototype.False,
  2137. },
  2138. {
  2139. Name: "value",
  2140. Number: 2,
  2141. Cardinality: protoreflect.Optional,
  2142. Kind: protoreflect.Int64Kind,
  2143. JSONName: "value",
  2144. IsPacked: prototype.False,
  2145. },
  2146. },
  2147. IsMapEntry: true,
  2148. },
  2149. {
  2150. Name: "MapUint32Uint32Entry",
  2151. Fields: []prototype.Field{
  2152. {
  2153. Name: "key",
  2154. Number: 1,
  2155. Cardinality: protoreflect.Optional,
  2156. Kind: protoreflect.Uint32Kind,
  2157. JSONName: "key",
  2158. IsPacked: prototype.False,
  2159. },
  2160. {
  2161. Name: "value",
  2162. Number: 2,
  2163. Cardinality: protoreflect.Optional,
  2164. Kind: protoreflect.Uint32Kind,
  2165. JSONName: "value",
  2166. IsPacked: prototype.False,
  2167. },
  2168. },
  2169. IsMapEntry: true,
  2170. },
  2171. {
  2172. Name: "MapUint64Uint64Entry",
  2173. Fields: []prototype.Field{
  2174. {
  2175. Name: "key",
  2176. Number: 1,
  2177. Cardinality: protoreflect.Optional,
  2178. Kind: protoreflect.Uint64Kind,
  2179. JSONName: "key",
  2180. IsPacked: prototype.False,
  2181. },
  2182. {
  2183. Name: "value",
  2184. Number: 2,
  2185. Cardinality: protoreflect.Optional,
  2186. Kind: protoreflect.Uint64Kind,
  2187. JSONName: "value",
  2188. IsPacked: prototype.False,
  2189. },
  2190. },
  2191. IsMapEntry: true,
  2192. },
  2193. {
  2194. Name: "MapSint32Sint32Entry",
  2195. Fields: []prototype.Field{
  2196. {
  2197. Name: "key",
  2198. Number: 1,
  2199. Cardinality: protoreflect.Optional,
  2200. Kind: protoreflect.Sint32Kind,
  2201. JSONName: "key",
  2202. IsPacked: prototype.False,
  2203. },
  2204. {
  2205. Name: "value",
  2206. Number: 2,
  2207. Cardinality: protoreflect.Optional,
  2208. Kind: protoreflect.Sint32Kind,
  2209. JSONName: "value",
  2210. IsPacked: prototype.False,
  2211. },
  2212. },
  2213. IsMapEntry: true,
  2214. },
  2215. {
  2216. Name: "MapSint64Sint64Entry",
  2217. Fields: []prototype.Field{
  2218. {
  2219. Name: "key",
  2220. Number: 1,
  2221. Cardinality: protoreflect.Optional,
  2222. Kind: protoreflect.Sint64Kind,
  2223. JSONName: "key",
  2224. IsPacked: prototype.False,
  2225. },
  2226. {
  2227. Name: "value",
  2228. Number: 2,
  2229. Cardinality: protoreflect.Optional,
  2230. Kind: protoreflect.Sint64Kind,
  2231. JSONName: "value",
  2232. IsPacked: prototype.False,
  2233. },
  2234. },
  2235. IsMapEntry: true,
  2236. },
  2237. {
  2238. Name: "MapFixed32Fixed32Entry",
  2239. Fields: []prototype.Field{
  2240. {
  2241. Name: "key",
  2242. Number: 1,
  2243. Cardinality: protoreflect.Optional,
  2244. Kind: protoreflect.Fixed32Kind,
  2245. JSONName: "key",
  2246. IsPacked: prototype.False,
  2247. },
  2248. {
  2249. Name: "value",
  2250. Number: 2,
  2251. Cardinality: protoreflect.Optional,
  2252. Kind: protoreflect.Fixed32Kind,
  2253. JSONName: "value",
  2254. IsPacked: prototype.False,
  2255. },
  2256. },
  2257. IsMapEntry: true,
  2258. },
  2259. {
  2260. Name: "MapFixed64Fixed64Entry",
  2261. Fields: []prototype.Field{
  2262. {
  2263. Name: "key",
  2264. Number: 1,
  2265. Cardinality: protoreflect.Optional,
  2266. Kind: protoreflect.Fixed64Kind,
  2267. JSONName: "key",
  2268. IsPacked: prototype.False,
  2269. },
  2270. {
  2271. Name: "value",
  2272. Number: 2,
  2273. Cardinality: protoreflect.Optional,
  2274. Kind: protoreflect.Fixed64Kind,
  2275. JSONName: "value",
  2276. IsPacked: prototype.False,
  2277. },
  2278. },
  2279. IsMapEntry: true,
  2280. },
  2281. {
  2282. Name: "MapSfixed32Sfixed32Entry",
  2283. Fields: []prototype.Field{
  2284. {
  2285. Name: "key",
  2286. Number: 1,
  2287. Cardinality: protoreflect.Optional,
  2288. Kind: protoreflect.Sfixed32Kind,
  2289. JSONName: "key",
  2290. IsPacked: prototype.False,
  2291. },
  2292. {
  2293. Name: "value",
  2294. Number: 2,
  2295. Cardinality: protoreflect.Optional,
  2296. Kind: protoreflect.Sfixed32Kind,
  2297. JSONName: "value",
  2298. IsPacked: prototype.False,
  2299. },
  2300. },
  2301. IsMapEntry: true,
  2302. },
  2303. {
  2304. Name: "MapSfixed64Sfixed64Entry",
  2305. Fields: []prototype.Field{
  2306. {
  2307. Name: "key",
  2308. Number: 1,
  2309. Cardinality: protoreflect.Optional,
  2310. Kind: protoreflect.Sfixed64Kind,
  2311. JSONName: "key",
  2312. IsPacked: prototype.False,
  2313. },
  2314. {
  2315. Name: "value",
  2316. Number: 2,
  2317. Cardinality: protoreflect.Optional,
  2318. Kind: protoreflect.Sfixed64Kind,
  2319. JSONName: "value",
  2320. IsPacked: prototype.False,
  2321. },
  2322. },
  2323. IsMapEntry: true,
  2324. },
  2325. {
  2326. Name: "MapInt32FloatEntry",
  2327. Fields: []prototype.Field{
  2328. {
  2329. Name: "key",
  2330. Number: 1,
  2331. Cardinality: protoreflect.Optional,
  2332. Kind: protoreflect.Int32Kind,
  2333. JSONName: "key",
  2334. IsPacked: prototype.False,
  2335. },
  2336. {
  2337. Name: "value",
  2338. Number: 2,
  2339. Cardinality: protoreflect.Optional,
  2340. Kind: protoreflect.FloatKind,
  2341. JSONName: "value",
  2342. IsPacked: prototype.False,
  2343. },
  2344. },
  2345. IsMapEntry: true,
  2346. },
  2347. {
  2348. Name: "MapInt32DoubleEntry",
  2349. Fields: []prototype.Field{
  2350. {
  2351. Name: "key",
  2352. Number: 1,
  2353. Cardinality: protoreflect.Optional,
  2354. Kind: protoreflect.Int32Kind,
  2355. JSONName: "key",
  2356. IsPacked: prototype.False,
  2357. },
  2358. {
  2359. Name: "value",
  2360. Number: 2,
  2361. Cardinality: protoreflect.Optional,
  2362. Kind: protoreflect.DoubleKind,
  2363. JSONName: "value",
  2364. IsPacked: prototype.False,
  2365. },
  2366. },
  2367. IsMapEntry: true,
  2368. },
  2369. {
  2370. Name: "MapBoolBoolEntry",
  2371. Fields: []prototype.Field{
  2372. {
  2373. Name: "key",
  2374. Number: 1,
  2375. Cardinality: protoreflect.Optional,
  2376. Kind: protoreflect.BoolKind,
  2377. JSONName: "key",
  2378. IsPacked: prototype.False,
  2379. },
  2380. {
  2381. Name: "value",
  2382. Number: 2,
  2383. Cardinality: protoreflect.Optional,
  2384. Kind: protoreflect.BoolKind,
  2385. JSONName: "value",
  2386. IsPacked: prototype.False,
  2387. },
  2388. },
  2389. IsMapEntry: true,
  2390. },
  2391. {
  2392. Name: "MapStringStringEntry",
  2393. Fields: []prototype.Field{
  2394. {
  2395. Name: "key",
  2396. Number: 1,
  2397. Cardinality: protoreflect.Optional,
  2398. Kind: protoreflect.StringKind,
  2399. JSONName: "key",
  2400. IsPacked: prototype.False,
  2401. },
  2402. {
  2403. Name: "value",
  2404. Number: 2,
  2405. Cardinality: protoreflect.Optional,
  2406. Kind: protoreflect.StringKind,
  2407. JSONName: "value",
  2408. IsPacked: prototype.False,
  2409. },
  2410. },
  2411. IsMapEntry: true,
  2412. },
  2413. {
  2414. Name: "MapStringBytesEntry",
  2415. Fields: []prototype.Field{
  2416. {
  2417. Name: "key",
  2418. Number: 1,
  2419. Cardinality: protoreflect.Optional,
  2420. Kind: protoreflect.StringKind,
  2421. JSONName: "key",
  2422. IsPacked: prototype.False,
  2423. },
  2424. {
  2425. Name: "value",
  2426. Number: 2,
  2427. Cardinality: protoreflect.Optional,
  2428. Kind: protoreflect.BytesKind,
  2429. JSONName: "value",
  2430. IsPacked: prototype.False,
  2431. },
  2432. },
  2433. IsMapEntry: true,
  2434. },
  2435. {
  2436. Name: "MapStringNestedMessageEntry",
  2437. Fields: []prototype.Field{
  2438. {
  2439. Name: "key",
  2440. Number: 1,
  2441. Cardinality: protoreflect.Optional,
  2442. Kind: protoreflect.StringKind,
  2443. JSONName: "key",
  2444. IsPacked: prototype.False,
  2445. },
  2446. {
  2447. Name: "value",
  2448. Number: 2,
  2449. Cardinality: protoreflect.Optional,
  2450. Kind: protoreflect.MessageKind,
  2451. JSONName: "value",
  2452. IsPacked: prototype.False,
  2453. },
  2454. },
  2455. IsMapEntry: true,
  2456. },
  2457. {
  2458. Name: "MapStringNestedEnumEntry",
  2459. Fields: []prototype.Field{
  2460. {
  2461. Name: "key",
  2462. Number: 1,
  2463. Cardinality: protoreflect.Optional,
  2464. Kind: protoreflect.StringKind,
  2465. JSONName: "key",
  2466. IsPacked: prototype.False,
  2467. },
  2468. {
  2469. Name: "value",
  2470. Number: 2,
  2471. Cardinality: protoreflect.Optional,
  2472. Kind: protoreflect.EnumKind,
  2473. JSONName: "value",
  2474. IsPacked: prototype.False,
  2475. },
  2476. },
  2477. IsMapEntry: true,
  2478. },
  2479. }