example.pb.go 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539
  1. // Code generated by protoc-gen-gogo.
  2. // source: example.proto
  3. // DO NOT EDIT!
  4. /*
  5. Package test is a generated protocol buffer package.
  6. It is generated from these files:
  7. example.proto
  8. It has these top-level messages:
  9. A
  10. B
  11. C
  12. U
  13. E
  14. R
  15. CastType
  16. */
  17. package test
  18. import proto "github.com/gogo/protobuf/proto"
  19. import fmt "fmt"
  20. import math "math"
  21. import _ "github.com/gogo/protobuf/gogoproto"
  22. import github_com_gogo_protobuf_test "github.com/gogo/protobuf/test"
  23. import github_com_gogo_protobuf_test_custom "github.com/gogo/protobuf/test/custom"
  24. import github_com_gogo_protobuf_protoc_gen_gogo_descriptor "github.com/gogo/protobuf/protoc-gen-gogo/descriptor"
  25. import github_com_gogo_protobuf_proto "github.com/gogo/protobuf/proto"
  26. import compress_gzip "compress/gzip"
  27. import bytes "bytes"
  28. import io_ioutil "io/ioutil"
  29. import strings "strings"
  30. import sort "sort"
  31. import strconv "strconv"
  32. import reflect "reflect"
  33. import io "io"
  34. // Reference imports to suppress errors if they are not otherwise used.
  35. var _ = proto.Marshal
  36. var _ = fmt.Errorf
  37. var _ = math.Inf
  38. // This is a compile-time assertion to ensure that this generated file
  39. // is compatible with the proto package it is being compiled against.
  40. // A compilation error at this line likely means your copy of the
  41. // proto package needs to be updated.
  42. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  43. type A struct {
  44. Description string `protobuf:"bytes,1,opt,name=Description" json:"Description"`
  45. Number int64 `protobuf:"varint,2,opt,name=Number" json:"Number"`
  46. Id github_com_gogo_protobuf_test.Uuid `protobuf:"bytes,3,opt,name=Id,customtype=github.com/gogo/protobuf/test.Uuid" json:"Id"`
  47. XXX_unrecognized []byte `json:"-"`
  48. }
  49. func (m *A) Reset() { *m = A{} }
  50. func (*A) ProtoMessage() {}
  51. func (*A) Descriptor() ([]byte, []int) { return fileDescriptorExample, []int{0} }
  52. type B struct {
  53. A `protobuf:"bytes,1,opt,name=A,embedded=A" json:"A"`
  54. G []github_com_gogo_protobuf_test_custom.Uint128 `protobuf:"bytes,2,rep,name=G,customtype=github.com/gogo/protobuf/test/custom.Uint128" json:"G"`
  55. XXX_unrecognized []byte `json:"-"`
  56. }
  57. func (m *B) Reset() { *m = B{} }
  58. func (*B) ProtoMessage() {}
  59. func (*B) Descriptor() ([]byte, []int) { return fileDescriptorExample, []int{1} }
  60. type C struct {
  61. MySize *int64 `protobuf:"varint,1,opt,name=size" json:"size,omitempty"`
  62. XXX_unrecognized []byte `json:"-"`
  63. }
  64. func (m *C) Reset() { *m = C{} }
  65. func (*C) ProtoMessage() {}
  66. func (*C) Descriptor() ([]byte, []int) { return fileDescriptorExample, []int{2} }
  67. func (m *C) GetMySize() int64 {
  68. if m != nil && m.MySize != nil {
  69. return *m.MySize
  70. }
  71. return 0
  72. }
  73. type U struct {
  74. A *A `protobuf:"bytes,1,opt,name=A" json:"A,omitempty"`
  75. B *B `protobuf:"bytes,2,opt,name=B" json:"B,omitempty"`
  76. XXX_unrecognized []byte `json:"-"`
  77. }
  78. func (m *U) Reset() { *m = U{} }
  79. func (*U) ProtoMessage() {}
  80. func (*U) Descriptor() ([]byte, []int) { return fileDescriptorExample, []int{3} }
  81. func (m *U) GetA() *A {
  82. if m != nil {
  83. return m.A
  84. }
  85. return nil
  86. }
  87. func (m *U) GetB() *B {
  88. if m != nil {
  89. return m.B
  90. }
  91. return nil
  92. }
  93. type E struct {
  94. XXX_extensions []byte `protobuf:"bytes,0,opt" json:"-"`
  95. XXX_unrecognized []byte `json:"-"`
  96. }
  97. func (m *E) Reset() { *m = E{} }
  98. func (*E) ProtoMessage() {}
  99. func (*E) Descriptor() ([]byte, []int) { return fileDescriptorExample, []int{4} }
  100. var extRange_E = []proto.ExtensionRange{
  101. {Start: 1, End: 536870911},
  102. }
  103. func (*E) ExtensionRangeArray() []proto.ExtensionRange {
  104. return extRange_E
  105. }
  106. func (m *E) GetExtensions() *[]byte {
  107. if m.XXX_extensions == nil {
  108. m.XXX_extensions = make([]byte, 0)
  109. }
  110. return &m.XXX_extensions
  111. }
  112. type R struct {
  113. Recognized *uint32 `protobuf:"varint,1,opt,name=recognized" json:"recognized,omitempty"`
  114. }
  115. func (m *R) Reset() { *m = R{} }
  116. func (*R) ProtoMessage() {}
  117. func (*R) Descriptor() ([]byte, []int) { return fileDescriptorExample, []int{5} }
  118. func (m *R) GetRecognized() uint32 {
  119. if m != nil && m.Recognized != nil {
  120. return *m.Recognized
  121. }
  122. return 0
  123. }
  124. type CastType struct {
  125. Int32 *int32 `protobuf:"varint,1,opt,name=Int32,casttype=int32" json:"Int32,omitempty"`
  126. XXX_unrecognized []byte `json:"-"`
  127. }
  128. func (m *CastType) Reset() { *m = CastType{} }
  129. func (*CastType) ProtoMessage() {}
  130. func (*CastType) Descriptor() ([]byte, []int) { return fileDescriptorExample, []int{6} }
  131. func (m *CastType) GetInt32() int32 {
  132. if m != nil && m.Int32 != nil {
  133. return *m.Int32
  134. }
  135. return 0
  136. }
  137. func init() {
  138. proto.RegisterType((*A)(nil), "test.A")
  139. proto.RegisterType((*B)(nil), "test.B")
  140. proto.RegisterType((*C)(nil), "test.C")
  141. proto.RegisterType((*U)(nil), "test.U")
  142. proto.RegisterType((*E)(nil), "test.E")
  143. proto.RegisterType((*R)(nil), "test.R")
  144. proto.RegisterType((*CastType)(nil), "test.CastType")
  145. }
  146. func (this *B) Description() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
  147. return ExampleDescription()
  148. }
  149. func ExampleDescription() (desc *github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet) {
  150. d := &github_com_gogo_protobuf_protoc_gen_gogo_descriptor.FileDescriptorSet{}
  151. var gzipped = []byte{
  152. // 3663 bytes of a gzipped FileDescriptorSet
  153. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xcc, 0x5a, 0x6b, 0x6c, 0x23, 0xd7,
  154. 0x75, 0xde, 0xe1, 0x43, 0x22, 0x0f, 0x29, 0x6a, 0x74, 0xa5, 0x5d, 0x73, 0x65, 0x5b, 0xda, 0xa5,
  155. 0xed, 0x58, 0x5e, 0x3b, 0xda, 0x54, 0xde, 0x5d, 0xaf, 0x67, 0x9b, 0x18, 0x24, 0x45, 0x33, 0x34,
  156. 0xf4, 0xea, 0x50, 0x4c, 0xec, 0xe4, 0xc7, 0x60, 0x34, 0x73, 0x49, 0xcd, 0xee, 0x70, 0x86, 0x9d,
  157. 0x19, 0xae, 0x57, 0xfb, 0x6b, 0x03, 0xf7, 0x15, 0x04, 0x6d, 0xfa, 0x02, 0x9a, 0x38, 0x4e, 0xe2,
  158. 0x04, 0x68, 0xed, 0xa6, 0xcf, 0xf4, 0x85, 0xa2, 0x7f, 0x9a, 0x3f, 0x69, 0xfd, 0xab, 0x70, 0xfe,
  159. 0x15, 0x45, 0xb1, 0x88, 0x17, 0x06, 0xfa, 0x4a, 0x5b, 0xb7, 0x35, 0xd0, 0xa2, 0xfe, 0x53, 0xdc,
  160. 0xd7, 0x70, 0xf8, 0xd0, 0x0e, 0x15, 0x20, 0x71, 0x7f, 0x49, 0xf7, 0xdc, 0xf3, 0x7d, 0x73, 0xee,
  161. 0xb9, 0xe7, 0x9e, 0x73, 0xe6, 0x0e, 0xe1, 0x73, 0x97, 0xe0, 0x5c, 0xc7, 0x75, 0x3b, 0x36, 0xbe,
  162. 0xd8, 0xf3, 0xdc, 0xc0, 0x3d, 0xe8, 0xb7, 0x2f, 0x9a, 0xd8, 0x37, 0x3c, 0xab, 0x17, 0xb8, 0xde,
  163. 0x3a, 0x95, 0xa1, 0x79, 0xa6, 0xb1, 0x2e, 0x34, 0x4a, 0xdb, 0xb0, 0xf0, 0xbc, 0x65, 0xe3, 0xcd,
  164. 0x50, 0xb1, 0x89, 0x03, 0x74, 0x15, 0x52, 0x6d, 0xcb, 0xc6, 0x45, 0xe9, 0x5c, 0x72, 0x2d, 0xb7,
  165. 0xf1, 0xe8, 0xfa, 0x08, 0x68, 0x7d, 0x18, 0xb1, 0x47, 0xc4, 0x2a, 0x45, 0x94, 0xde, 0x4d, 0xc1,
  166. 0xe2, 0x84, 0x59, 0x84, 0x20, 0xe5, 0xe8, 0x5d, 0xc2, 0x28, 0xad, 0x65, 0x55, 0xfa, 0x3f, 0x2a,
  167. 0xc2, 0x6c, 0x4f, 0x37, 0x6e, 0xe8, 0x1d, 0x5c, 0x4c, 0x50, 0xb1, 0x18, 0xa2, 0x15, 0x00, 0x13,
  168. 0xf7, 0xb0, 0x63, 0x62, 0xc7, 0x38, 0x2a, 0x26, 0xcf, 0x25, 0xd7, 0xb2, 0x6a, 0x44, 0x82, 0x9e,
  169. 0x84, 0x85, 0x5e, 0xff, 0xc0, 0xb6, 0x0c, 0x2d, 0xa2, 0x06, 0xe7, 0x92, 0x6b, 0x69, 0x55, 0x66,
  170. 0x13, 0x9b, 0x03, 0xe5, 0xc7, 0x61, 0xfe, 0x65, 0xac, 0xdf, 0x88, 0xaa, 0xe6, 0xa8, 0x6a, 0x81,
  171. 0x88, 0x23, 0x8a, 0x55, 0xc8, 0x77, 0xb1, 0xef, 0xeb, 0x1d, 0xac, 0x05, 0x47, 0x3d, 0x5c, 0x4c,
  172. 0xd1, 0xd5, 0x9f, 0x1b, 0x5b, 0xfd, 0xe8, 0xca, 0x73, 0x1c, 0xb5, 0x7f, 0xd4, 0xc3, 0xa8, 0x0c,
  173. 0x59, 0xec, 0xf4, 0xbb, 0x8c, 0x21, 0x7d, 0x8c, 0xff, 0x6a, 0x4e, 0xbf, 0x3b, 0xca, 0x92, 0x21,
  174. 0x30, 0x4e, 0x31, 0xeb, 0x63, 0xef, 0xa6, 0x65, 0xe0, 0xe2, 0x0c, 0x25, 0x78, 0x7c, 0x8c, 0xa0,
  175. 0xc9, 0xe6, 0x47, 0x39, 0x04, 0x0e, 0x55, 0x21, 0x8b, 0x6f, 0x05, 0xd8, 0xf1, 0x2d, 0xd7, 0x29,
  176. 0xce, 0x52, 0x92, 0xc7, 0x26, 0xec, 0x22, 0xb6, 0xcd, 0x51, 0x8a, 0x01, 0x0e, 0x5d, 0x81, 0x59,
  177. 0xb7, 0x17, 0x58, 0xae, 0xe3, 0x17, 0x33, 0xe7, 0xa4, 0xb5, 0xdc, 0xc6, 0x43, 0x13, 0x03, 0x61,
  178. 0x97, 0xe9, 0xa8, 0x42, 0x19, 0x35, 0x40, 0xf6, 0xdd, 0xbe, 0x67, 0x60, 0xcd, 0x70, 0x4d, 0xac,
  179. 0x59, 0x4e, 0xdb, 0x2d, 0x66, 0x29, 0xc1, 0xea, 0xf8, 0x42, 0xa8, 0x62, 0xd5, 0x35, 0x71, 0xc3,
  180. 0x69, 0xbb, 0x6a, 0xc1, 0x1f, 0x1a, 0xa3, 0x33, 0x30, 0xe3, 0x1f, 0x39, 0x81, 0x7e, 0xab, 0x98,
  181. 0xa7, 0x11, 0xc2, 0x47, 0xa5, 0xff, 0x4e, 0xc3, 0xfc, 0x34, 0x21, 0x76, 0x0d, 0xd2, 0x6d, 0xb2,
  182. 0xca, 0x62, 0xe2, 0x24, 0x3e, 0x60, 0x98, 0x61, 0x27, 0xce, 0xfc, 0x90, 0x4e, 0x2c, 0x43, 0xce,
  183. 0xc1, 0x7e, 0x80, 0x4d, 0x16, 0x11, 0xc9, 0x29, 0x63, 0x0a, 0x18, 0x68, 0x3c, 0xa4, 0x52, 0x3f,
  184. 0x54, 0x48, 0xbd, 0x08, 0xf3, 0xa1, 0x49, 0x9a, 0xa7, 0x3b, 0x1d, 0x11, 0x9b, 0x17, 0xe3, 0x2c,
  185. 0x59, 0xaf, 0x09, 0x9c, 0x4a, 0x60, 0x6a, 0x01, 0x0f, 0x8d, 0xd1, 0x26, 0x80, 0xeb, 0x60, 0xb7,
  186. 0xad, 0x99, 0xd8, 0xb0, 0x8b, 0x99, 0x63, 0xbc, 0xb4, 0x4b, 0x54, 0xc6, 0xbc, 0xe4, 0x32, 0xa9,
  187. 0x61, 0xa3, 0x67, 0x07, 0xa1, 0x36, 0x7b, 0x4c, 0xa4, 0x6c, 0xb3, 0x43, 0x36, 0x16, 0x6d, 0x2d,
  188. 0x28, 0x78, 0x98, 0xc4, 0x3d, 0x36, 0xf9, 0xca, 0xb2, 0xd4, 0x88, 0xf5, 0xd8, 0x95, 0xa9, 0x1c,
  189. 0xc6, 0x16, 0x36, 0xe7, 0x45, 0x87, 0xe8, 0x11, 0x08, 0x05, 0x1a, 0x0d, 0x2b, 0xa0, 0x59, 0x28,
  190. 0x2f, 0x84, 0x3b, 0x7a, 0x17, 0x2f, 0x5f, 0x85, 0xc2, 0xb0, 0x7b, 0xd0, 0x12, 0xa4, 0xfd, 0x40,
  191. 0xf7, 0x02, 0x1a, 0x85, 0x69, 0x95, 0x0d, 0x90, 0x0c, 0x49, 0xec, 0x98, 0x34, 0xcb, 0xa5, 0x55,
  192. 0xf2, 0xef, 0xf2, 0x33, 0x30, 0x37, 0xf4, 0xf8, 0x69, 0x81, 0xa5, 0x2f, 0xcd, 0xc0, 0xd2, 0xa4,
  193. 0x98, 0x9b, 0x18, 0xfe, 0x67, 0x60, 0xc6, 0xe9, 0x77, 0x0f, 0xb0, 0x57, 0x4c, 0x52, 0x06, 0x3e,
  194. 0x42, 0x65, 0x48, 0xdb, 0xfa, 0x01, 0xb6, 0x8b, 0xa9, 0x73, 0xd2, 0x5a, 0x61, 0xe3, 0xc9, 0xa9,
  195. 0xa2, 0x7a, 0x7d, 0x8b, 0x40, 0x54, 0x86, 0x44, 0x9f, 0x80, 0x14, 0x4f, 0x71, 0x84, 0xe1, 0xc2,
  196. 0x74, 0x0c, 0x24, 0x16, 0x55, 0x8a, 0x43, 0x0f, 0x42, 0x96, 0xfc, 0x65, 0xbe, 0x9d, 0xa1, 0x36,
  197. 0x67, 0x88, 0x80, 0xf8, 0x15, 0x2d, 0x43, 0x86, 0x86, 0x99, 0x89, 0x45, 0x69, 0x08, 0xc7, 0x64,
  198. 0x63, 0x4c, 0xdc, 0xd6, 0xfb, 0x76, 0xa0, 0xdd, 0xd4, 0xed, 0x3e, 0xa6, 0x01, 0x93, 0x55, 0xf3,
  199. 0x5c, 0xf8, 0x29, 0x22, 0x43, 0xab, 0x90, 0x63, 0x51, 0x69, 0x39, 0x26, 0xbe, 0x45, 0xb3, 0x4f,
  200. 0x5a, 0x65, 0x81, 0xda, 0x20, 0x12, 0xf2, 0xf8, 0xeb, 0xbe, 0xeb, 0x88, 0xad, 0xa5, 0x8f, 0x20,
  201. 0x02, 0xfa, 0xf8, 0x67, 0x46, 0x13, 0xdf, 0xc3, 0x93, 0x97, 0x37, 0x1a, 0x8b, 0xa5, 0x3f, 0x4b,
  202. 0x40, 0x8a, 0x9e, 0xb7, 0x79, 0xc8, 0xed, 0xbf, 0xb4, 0x57, 0xd3, 0x36, 0x77, 0x5b, 0x95, 0xad,
  203. 0x9a, 0x2c, 0xa1, 0x02, 0x00, 0x15, 0x3c, 0xbf, 0xb5, 0x5b, 0xde, 0x97, 0x13, 0xe1, 0xb8, 0xb1,
  204. 0xb3, 0x7f, 0xe5, 0x92, 0x9c, 0x0c, 0x01, 0x2d, 0x26, 0x48, 0x45, 0x15, 0x9e, 0xde, 0x90, 0xd3,
  205. 0x48, 0x86, 0x3c, 0x23, 0x68, 0xbc, 0x58, 0xdb, 0xbc, 0x72, 0x49, 0x9e, 0x19, 0x96, 0x3c, 0xbd,
  206. 0x21, 0xcf, 0xa2, 0x39, 0xc8, 0x52, 0x49, 0x65, 0x77, 0x77, 0x4b, 0xce, 0x84, 0x9c, 0xcd, 0x7d,
  207. 0xb5, 0xb1, 0x53, 0x97, 0xb3, 0x21, 0x67, 0x5d, 0xdd, 0x6d, 0xed, 0xc9, 0x10, 0x32, 0x6c, 0xd7,
  208. 0x9a, 0xcd, 0x72, 0xbd, 0x26, 0xe7, 0x42, 0x8d, 0xca, 0x4b, 0xfb, 0xb5, 0xa6, 0x9c, 0x1f, 0x32,
  209. 0xeb, 0xe9, 0x0d, 0x79, 0x2e, 0x7c, 0x44, 0x6d, 0xa7, 0xb5, 0x2d, 0x17, 0xd0, 0x02, 0xcc, 0xb1,
  210. 0x47, 0x08, 0x23, 0xe6, 0x47, 0x44, 0x57, 0x2e, 0xc9, 0xf2, 0xc0, 0x10, 0xc6, 0xb2, 0x30, 0x24,
  211. 0xb8, 0x72, 0x49, 0x46, 0xa5, 0x2a, 0xa4, 0x69, 0x74, 0x21, 0x04, 0x85, 0xad, 0x72, 0xa5, 0xb6,
  212. 0xa5, 0xed, 0xee, 0xed, 0x37, 0x76, 0x77, 0xca, 0x5b, 0xb2, 0x34, 0x90, 0xa9, 0xb5, 0x9f, 0x6a,
  213. 0x35, 0xd4, 0xda, 0xa6, 0x9c, 0x88, 0xca, 0xf6, 0x6a, 0xe5, 0xfd, 0xda, 0xa6, 0x9c, 0x2c, 0x19,
  214. 0xb0, 0x34, 0x29, 0xcf, 0x4c, 0x3c, 0x19, 0x91, 0x2d, 0x4e, 0x1c, 0xb3, 0xc5, 0x94, 0x6b, 0x6c,
  215. 0x8b, 0xbf, 0x29, 0xc1, 0xe2, 0x84, 0x5c, 0x3b, 0xf1, 0x21, 0xcf, 0x41, 0x9a, 0x85, 0x28, 0xab,
  216. 0x3e, 0x4f, 0x4c, 0x4c, 0xda, 0x34, 0x60, 0xc7, 0x2a, 0x10, 0xc5, 0x45, 0x2b, 0x70, 0xf2, 0x98,
  217. 0x0a, 0x4c, 0x28, 0xc6, 0x8c, 0x7c, 0x45, 0x82, 0xe2, 0x71, 0xdc, 0x31, 0x89, 0x22, 0x31, 0x94,
  218. 0x28, 0xae, 0x8d, 0x1a, 0x70, 0xfe, 0xf8, 0x35, 0x8c, 0x59, 0xf1, 0x86, 0x04, 0x67, 0x26, 0x37,
  219. 0x2a, 0x13, 0x6d, 0xf8, 0x04, 0xcc, 0x74, 0x71, 0x70, 0xe8, 0x8a, 0x62, 0xfd, 0x91, 0x09, 0x25,
  220. 0x80, 0x4c, 0x8f, 0xfa, 0x8a, 0xa3, 0xa2, 0x35, 0x24, 0x79, 0x5c, 0xb7, 0xc1, 0xac, 0x19, 0xb3,
  221. 0xf4, 0xf3, 0x09, 0x38, 0x3d, 0x91, 0x7c, 0xa2, 0xa1, 0x0f, 0x03, 0x58, 0x4e, 0xaf, 0x1f, 0xb0,
  222. 0x82, 0xcc, 0xf2, 0x53, 0x96, 0x4a, 0xe8, 0xd9, 0x27, 0xb9, 0xa7, 0x1f, 0x84, 0xf3, 0x49, 0x3a,
  223. 0x0f, 0x4c, 0x44, 0x15, 0xae, 0x0e, 0x0c, 0x4d, 0x51, 0x43, 0x57, 0x8e, 0x59, 0xe9, 0x58, 0xad,
  224. 0xfb, 0x18, 0xc8, 0x86, 0x6d, 0x61, 0x27, 0xd0, 0xfc, 0xc0, 0xc3, 0x7a, 0xd7, 0x72, 0x3a, 0x34,
  225. 0x01, 0x67, 0x94, 0x74, 0x5b, 0xb7, 0x7d, 0xac, 0xce, 0xb3, 0xe9, 0xa6, 0x98, 0x25, 0x08, 0x5a,
  226. 0x65, 0xbc, 0x08, 0x62, 0x66, 0x08, 0xc1, 0xa6, 0x43, 0x44, 0xe9, 0x0b, 0xb3, 0x90, 0x8b, 0xb4,
  227. 0x75, 0xe8, 0x3c, 0xe4, 0xaf, 0xeb, 0x37, 0x75, 0x4d, 0xb4, 0xea, 0xcc, 0x13, 0x39, 0x22, 0xdb,
  228. 0xe3, 0xed, 0xfa, 0xc7, 0x60, 0x89, 0xaa, 0xb8, 0xfd, 0x00, 0x7b, 0x9a, 0x61, 0xeb, 0xbe, 0x4f,
  229. 0x9d, 0x96, 0xa1, 0xaa, 0x88, 0xcc, 0xed, 0x92, 0xa9, 0xaa, 0x98, 0x41, 0x97, 0x61, 0x91, 0x22,
  230. 0xba, 0x7d, 0x3b, 0xb0, 0x7a, 0x36, 0xd6, 0xc8, 0xcb, 0x83, 0x4f, 0x13, 0x71, 0x68, 0xd9, 0x02,
  231. 0xd1, 0xd8, 0xe6, 0x0a, 0xc4, 0x22, 0x1f, 0xd5, 0xe1, 0x61, 0x0a, 0xeb, 0x60, 0x07, 0x7b, 0x7a,
  232. 0x80, 0x35, 0xfc, 0xd3, 0x7d, 0xdd, 0xf6, 0x35, 0xdd, 0x31, 0xb5, 0x43, 0xdd, 0x3f, 0x2c, 0x2e,
  233. 0x45, 0x09, 0xce, 0x12, 0xdd, 0x3a, 0x57, 0xad, 0x51, 0xcd, 0xb2, 0x63, 0x7e, 0x52, 0xf7, 0x0f,
  234. 0x91, 0x02, 0x67, 0x28, 0x91, 0x1f, 0x78, 0x96, 0xd3, 0xd1, 0x8c, 0x43, 0x6c, 0xdc, 0xd0, 0xfa,
  235. 0x41, 0xfb, 0x6a, 0xf1, 0xc1, 0x28, 0x03, 0x35, 0xb2, 0x49, 0x75, 0xaa, 0x44, 0xa5, 0x15, 0xb4,
  236. 0xaf, 0xa2, 0x26, 0xe4, 0xc9, 0x7e, 0x74, 0xad, 0xdb, 0x58, 0x6b, 0xbb, 0x1e, 0x2d, 0x2e, 0x85,
  237. 0x09, 0x87, 0x3b, 0xe2, 0xc4, 0xf5, 0x5d, 0x0e, 0xd8, 0x76, 0x4d, 0xac, 0xa4, 0x9b, 0x7b, 0xb5,
  238. 0xda, 0xa6, 0x9a, 0x13, 0x2c, 0xcf, 0xbb, 0x1e, 0x89, 0xa9, 0x8e, 0x1b, 0xfa, 0x38, 0xc7, 0x62,
  239. 0xaa, 0xe3, 0x0a, 0x0f, 0x5f, 0x86, 0x45, 0xc3, 0x60, 0xcb, 0xb6, 0x0c, 0x8d, 0x77, 0xf9, 0x7e,
  240. 0x51, 0x1e, 0xf2, 0x97, 0x61, 0xd4, 0x99, 0x02, 0x0f, 0x73, 0x1f, 0x3d, 0x0b, 0xa7, 0x07, 0xfe,
  241. 0x8a, 0x02, 0x17, 0xc6, 0x56, 0x39, 0x0a, 0xbd, 0x0c, 0x8b, 0xbd, 0xa3, 0x71, 0x20, 0x1a, 0x7a,
  242. 0x62, 0xef, 0x68, 0x14, 0xf6, 0x18, 0x7d, 0x73, 0xf3, 0xb0, 0xa1, 0x07, 0xd8, 0x2c, 0x3e, 0x10,
  243. 0xd5, 0x8e, 0x4c, 0xa0, 0x8b, 0x20, 0x1b, 0x86, 0x86, 0x1d, 0xfd, 0xc0, 0xc6, 0x9a, 0xee, 0x61,
  244. 0x47, 0xf7, 0x8b, 0xab, 0x51, 0xe5, 0x82, 0x61, 0xd4, 0xe8, 0x6c, 0x99, 0x4e, 0xa2, 0x0b, 0xb0,
  245. 0xe0, 0x1e, 0x5c, 0x37, 0x58, 0x70, 0x69, 0x3d, 0x0f, 0xb7, 0xad, 0x5b, 0xc5, 0x47, 0xa9, 0x9b,
  246. 0xe6, 0xc9, 0x04, 0x0d, 0xad, 0x3d, 0x2a, 0x46, 0x4f, 0x80, 0x6c, 0xf8, 0x87, 0xba, 0xd7, 0xa3,
  247. 0xd5, 0xdd, 0xef, 0xe9, 0x06, 0x2e, 0x3e, 0xc6, 0x54, 0x99, 0x7c, 0x47, 0x88, 0xd1, 0x8b, 0xb0,
  248. 0xd4, 0x77, 0x2c, 0x27, 0xc0, 0x5e, 0xcf, 0xc3, 0xa4, 0x49, 0x67, 0x27, 0xad, 0xf8, 0x0f, 0xb3,
  249. 0xc7, 0xb4, 0xd9, 0xad, 0xa8, 0x36, 0xdb, 0x5d, 0x75, 0xb1, 0x3f, 0x2e, 0x2c, 0x29, 0x90, 0x8f,
  250. 0x6e, 0x3a, 0xca, 0x02, 0xdb, 0x76, 0x59, 0x22, 0x35, 0xb4, 0xba, 0xbb, 0x49, 0xaa, 0xdf, 0x67,
  251. 0x6a, 0x72, 0x82, 0x54, 0xe1, 0xad, 0xc6, 0x7e, 0x4d, 0x53, 0x5b, 0x3b, 0xfb, 0x8d, 0xed, 0x9a,
  252. 0x9c, 0xbc, 0x90, 0xcd, 0xfc, 0xe3, 0xac, 0x7c, 0xe7, 0xce, 0x9d, 0x3b, 0x89, 0xd2, 0x77, 0x13,
  253. 0x50, 0x18, 0xee, 0x7c, 0xd1, 0x4f, 0xc2, 0x03, 0xe2, 0x35, 0xd5, 0xc7, 0x81, 0xf6, 0xb2, 0xe5,
  254. 0xd1, 0x38, 0xec, 0xea, 0xac, 0x77, 0x0c, 0x5d, 0xb8, 0xc4, 0xb5, 0x9a, 0x38, 0xf8, 0xb4, 0xe5,
  255. 0x91, 0x28, 0xeb, 0xea, 0x01, 0xda, 0x82, 0x55, 0xc7, 0xd5, 0xfc, 0x40, 0x77, 0x4c, 0xdd, 0x33,
  256. 0xb5, 0xc1, 0x05, 0x81, 0xa6, 0x1b, 0x06, 0xf6, 0x7d, 0x97, 0x95, 0x80, 0x90, 0xe5, 0x21, 0xc7,
  257. 0x6d, 0x72, 0xe5, 0x41, 0x6e, 0x2c, 0x73, 0xd5, 0x91, 0xed, 0x4e, 0x1e, 0xb7, 0xdd, 0x0f, 0x42,
  258. 0xb6, 0xab, 0xf7, 0x34, 0xec, 0x04, 0xde, 0x11, 0xed, 0xd7, 0x32, 0x6a, 0xa6, 0xab, 0xf7, 0x6a,
  259. 0x64, 0xfc, 0xa3, 0xdb, 0x83, 0xa8, 0x1f, 0xff, 0x3e, 0x09, 0xf9, 0x68, 0xcf, 0x46, 0x5a, 0x60,
  260. 0x83, 0xe6, 0x67, 0x89, 0x1e, 0xdf, 0x47, 0xee, 0xdb, 0xe1, 0xad, 0x57, 0x49, 0xe2, 0x56, 0x66,
  261. 0x58, 0x27, 0xa5, 0x32, 0x24, 0x29, 0x9a, 0xe4, 0xc0, 0x62, 0xd6, 0x9f, 0x67, 0x54, 0x3e, 0x42,
  262. 0x75, 0x98, 0xb9, 0xee, 0x53, 0xee, 0x19, 0xca, 0xfd, 0xe8, 0xfd, 0xb9, 0x5f, 0x68, 0x52, 0xf2,
  263. 0xec, 0x0b, 0x4d, 0x6d, 0x67, 0x57, 0xdd, 0x2e, 0x6f, 0xa9, 0x1c, 0x8e, 0xce, 0x42, 0xca, 0xd6,
  264. 0x6f, 0x1f, 0x0d, 0xa7, 0x78, 0x2a, 0x9a, 0xd6, 0xf1, 0x67, 0x21, 0xf5, 0x32, 0xd6, 0x6f, 0x0c,
  265. 0x27, 0x56, 0x2a, 0xfa, 0x11, 0x86, 0xfe, 0x45, 0x48, 0x53, 0x7f, 0x21, 0x00, 0xee, 0x31, 0xf9,
  266. 0x14, 0xca, 0x40, 0xaa, 0xba, 0xab, 0x92, 0xf0, 0x97, 0x21, 0xcf, 0xa4, 0xda, 0x5e, 0xa3, 0x56,
  267. 0xad, 0xc9, 0x89, 0xd2, 0x65, 0x98, 0x61, 0x4e, 0x20, 0x47, 0x23, 0x74, 0x83, 0x7c, 0x8a, 0x0f,
  268. 0x39, 0x87, 0x24, 0x66, 0x5b, 0xdb, 0x95, 0x9a, 0x2a, 0x27, 0xa2, 0xdb, 0xeb, 0x43, 0x3e, 0xda,
  269. 0xae, 0xfd, 0x78, 0x62, 0xea, 0x2f, 0x24, 0xc8, 0x45, 0xda, 0x2f, 0x52, 0xf8, 0x75, 0xdb, 0x76,
  270. 0x5f, 0xd6, 0x74, 0xdb, 0xd2, 0x7d, 0x1e, 0x14, 0x40, 0x45, 0x65, 0x22, 0x99, 0x76, 0xd3, 0x7e,
  271. 0x2c, 0xc6, 0x7f, 0x4d, 0x02, 0x79, 0xb4, 0x75, 0x1b, 0x31, 0x50, 0xfa, 0x50, 0x0d, 0x7c, 0x4d,
  272. 0x82, 0xc2, 0x70, 0xbf, 0x36, 0x62, 0xde, 0xf9, 0x0f, 0xd5, 0xbc, 0xaf, 0x48, 0x30, 0x37, 0xd4,
  273. 0xa5, 0xfd, 0xbf, 0xb2, 0xee, 0xd5, 0x24, 0x2c, 0x4e, 0xc0, 0xa1, 0x32, 0x6f, 0x67, 0x59, 0x87,
  274. 0xfd, 0xd1, 0x69, 0x9e, 0xb5, 0x4e, 0xaa, 0xe5, 0x9e, 0xee, 0x05, 0xbc, 0xfb, 0x7d, 0x02, 0x64,
  275. 0xcb, 0xc4, 0x4e, 0x60, 0xb5, 0x2d, 0xec, 0xf1, 0x57, 0x70, 0xd6, 0xe3, 0xce, 0x0f, 0xe4, 0xec,
  276. 0x2d, 0xfc, 0x29, 0x40, 0x3d, 0xd7, 0xb7, 0x02, 0xeb, 0x26, 0xd6, 0x2c, 0x47, 0xbc, 0xaf, 0x93,
  277. 0x9e, 0x37, 0xa5, 0xca, 0x62, 0xa6, 0xe1, 0x04, 0xa1, 0xb6, 0x83, 0x3b, 0xfa, 0x88, 0x36, 0xc9,
  278. 0x7d, 0x49, 0x55, 0x16, 0x33, 0xa1, 0xf6, 0x79, 0xc8, 0x9b, 0x6e, 0x9f, 0xb4, 0x0f, 0x4c, 0x8f,
  279. 0xa4, 0x5a, 0x49, 0xcd, 0x31, 0x59, 0xa8, 0xc2, 0xfb, 0xbb, 0xc1, 0x45, 0x41, 0x5e, 0xcd, 0x31,
  280. 0x19, 0x53, 0x79, 0x1c, 0xe6, 0xf5, 0x4e, 0xc7, 0x23, 0xe4, 0x82, 0x88, 0x35, 0xad, 0x85, 0x50,
  281. 0x4c, 0x15, 0x97, 0x5f, 0x80, 0x8c, 0xf0, 0x03, 0xa9, 0x66, 0xc4, 0x13, 0x5a, 0x8f, 0x5d, 0xd7,
  282. 0x24, 0xd6, 0xb2, 0x6a, 0xc6, 0x11, 0x93, 0xe7, 0x21, 0x6f, 0xf9, 0xda, 0xe0, 0xde, 0x30, 0x71,
  283. 0x2e, 0xb1, 0x96, 0x51, 0x73, 0x96, 0x1f, 0x5e, 0x14, 0x95, 0xde, 0x48, 0x40, 0x61, 0xf8, 0xde,
  284. 0x13, 0x6d, 0x42, 0xc6, 0x76, 0x0d, 0x9d, 0x06, 0x02, 0xbb, 0x74, 0x5f, 0x8b, 0xb9, 0x2a, 0x5d,
  285. 0xdf, 0xe2, 0xfa, 0x6a, 0x88, 0x5c, 0xfe, 0x1b, 0x09, 0x32, 0x42, 0x8c, 0xce, 0x40, 0xaa, 0xa7,
  286. 0x07, 0x87, 0x94, 0x2e, 0x5d, 0x49, 0xc8, 0x92, 0x4a, 0xc7, 0x44, 0xee, 0xf7, 0x74, 0x87, 0x86,
  287. 0x00, 0x97, 0x93, 0x31, 0xd9, 0x57, 0x1b, 0xeb, 0x26, 0x6d, 0x87, 0xdd, 0x6e, 0x17, 0x3b, 0x81,
  288. 0x2f, 0xf6, 0x95, 0xcb, 0xab, 0x5c, 0x8c, 0x9e, 0x84, 0x85, 0xc0, 0xd3, 0x2d, 0x7b, 0x48, 0x37,
  289. 0x45, 0x75, 0x65, 0x31, 0x11, 0x2a, 0x2b, 0x70, 0x56, 0xf0, 0x9a, 0x38, 0xd0, 0x8d, 0x43, 0x6c,
  290. 0x0e, 0x40, 0x33, 0xf4, 0x52, 0xed, 0x01, 0xae, 0xb0, 0xc9, 0xe7, 0x05, 0xb6, 0xf4, 0x3d, 0x09,
  291. 0x16, 0x44, 0x03, 0x6f, 0x86, 0xce, 0xda, 0x06, 0xd0, 0x1d, 0xc7, 0x0d, 0xa2, 0xee, 0x1a, 0x0f,
  292. 0xe5, 0x31, 0xdc, 0x7a, 0x39, 0x04, 0xa9, 0x11, 0x82, 0xe5, 0x2e, 0xc0, 0x60, 0xe6, 0x58, 0xb7,
  293. 0xad, 0x42, 0x8e, 0x5f, 0x6a, 0xd3, 0x2f, 0x23, 0xec, 0xad, 0x0f, 0x98, 0x88, 0x74, 0xfa, 0x68,
  294. 0x09, 0xd2, 0x07, 0xb8, 0x63, 0x39, 0xfc, 0xaa, 0x8d, 0x0d, 0xc4, 0x05, 0x5e, 0x2a, 0xbc, 0xc0,
  295. 0xab, 0x7c, 0x16, 0x16, 0x0d, 0xb7, 0x3b, 0x6a, 0x6e, 0x45, 0x1e, 0x79, 0xf3, 0xf4, 0x3f, 0x29,
  296. 0x7d, 0x06, 0x06, 0xdd, 0xd9, 0xeb, 0x92, 0xf4, 0xcd, 0x44, 0xb2, 0xbe, 0x57, 0xf9, 0x56, 0x62,
  297. 0xb9, 0xce, 0xa0, 0x7b, 0x62, 0xa5, 0x2a, 0x6e, 0xdb, 0xd8, 0x20, 0xd6, 0xc3, 0xd7, 0x1f, 0x85,
  298. 0x8f, 0x76, 0xac, 0xe0, 0xb0, 0x7f, 0xb0, 0x6e, 0xb8, 0xdd, 0x8b, 0x1d, 0xb7, 0xe3, 0x0e, 0x3e,
  299. 0x06, 0x91, 0x11, 0x1d, 0xd0, 0xff, 0xf8, 0x07, 0xa1, 0x6c, 0x28, 0x5d, 0x8e, 0xfd, 0x7a, 0xa4,
  300. 0xec, 0xc0, 0x22, 0x57, 0xd6, 0xe8, 0x8d, 0x34, 0xeb, 0xc3, 0xd1, 0x7d, 0x6f, 0x25, 0x8a, 0xdf,
  301. 0x7e, 0x97, 0x56, 0x3a, 0x75, 0x81, 0x43, 0xc9, 0x1c, 0xeb, 0xd4, 0x15, 0x15, 0x4e, 0x0f, 0xf1,
  302. 0xb1, 0xa3, 0x89, 0xbd, 0x18, 0xc6, 0xef, 0x72, 0xc6, 0xc5, 0x08, 0x63, 0x93, 0x43, 0x95, 0x2a,
  303. 0xcc, 0x9d, 0x84, 0xeb, 0xaf, 0x38, 0x57, 0x1e, 0x47, 0x49, 0xea, 0x30, 0x4f, 0x49, 0x8c, 0xbe,
  304. 0x1f, 0xb8, 0x5d, 0x9a, 0xf7, 0xee, 0x4f, 0xf3, 0xd7, 0xef, 0xb2, 0xb3, 0x52, 0x20, 0xb0, 0x6a,
  305. 0x88, 0x52, 0x3e, 0x05, 0x4b, 0x44, 0x42, 0x53, 0x4b, 0x94, 0x2d, 0xfe, 0x1e, 0xa5, 0xf8, 0xbd,
  306. 0x57, 0xd8, 0x91, 0x5a, 0x0c, 0x09, 0x22, 0xbc, 0x91, 0x9d, 0xe8, 0xe0, 0x20, 0xc0, 0x9e, 0xaf,
  307. 0xe9, 0xb6, 0x8d, 0xee, 0xfb, 0x85, 0xa6, 0xf8, 0xe5, 0x1f, 0x0c, 0xef, 0x44, 0x9d, 0x21, 0xcb,
  308. 0xb6, 0xad, 0xb4, 0xe0, 0x81, 0x09, 0x3b, 0x3b, 0x05, 0xe7, 0xab, 0x9c, 0x73, 0x69, 0x6c, 0x77,
  309. 0x09, 0xed, 0x1e, 0x08, 0x79, 0xb8, 0x1f, 0x53, 0x70, 0x7e, 0x85, 0x73, 0x22, 0x8e, 0x15, 0xdb,
  310. 0x42, 0x18, 0x5f, 0x80, 0x85, 0x9b, 0xd8, 0x3b, 0x70, 0x7d, 0xfe, 0xf2, 0x3f, 0x05, 0xdd, 0x6b,
  311. 0x9c, 0x6e, 0x9e, 0x03, 0xe9, 0x55, 0x00, 0xe1, 0x7a, 0x16, 0x32, 0x6d, 0xdd, 0xc0, 0x53, 0x50,
  312. 0x7c, 0x95, 0x53, 0xcc, 0x12, 0x7d, 0x02, 0x2d, 0x43, 0xbe, 0xe3, 0xf2, 0xea, 0x12, 0x0f, 0xff,
  313. 0x1a, 0x87, 0xe7, 0x04, 0x86, 0x53, 0xf4, 0xdc, 0x5e, 0xdf, 0x26, 0xa5, 0x27, 0x9e, 0xe2, 0xeb,
  314. 0x82, 0x42, 0x60, 0x38, 0xc5, 0x09, 0xdc, 0xfa, 0xba, 0xa0, 0xf0, 0x23, 0xfe, 0x7c, 0x0e, 0x72,
  315. 0xae, 0x63, 0x1f, 0xb9, 0xce, 0x34, 0x46, 0x7c, 0x83, 0x33, 0x00, 0x87, 0x10, 0x82, 0x6b, 0x90,
  316. 0x9d, 0x76, 0x23, 0x7e, 0x93, 0xc3, 0x33, 0x58, 0xec, 0x40, 0x1d, 0xe6, 0x45, 0x92, 0xb1, 0x5c,
  317. 0x67, 0x0a, 0x8a, 0xdf, 0xe2, 0x14, 0x85, 0x08, 0x8c, 0x2f, 0x23, 0xc0, 0x7e, 0xd0, 0xc1, 0xd3,
  318. 0x90, 0xbc, 0x21, 0x96, 0xc1, 0x21, 0xdc, 0x95, 0x07, 0xd8, 0x31, 0x0e, 0xa7, 0x63, 0x78, 0x53,
  319. 0xb8, 0x52, 0x60, 0x08, 0x45, 0x15, 0xe6, 0xba, 0xba, 0xe7, 0x1f, 0xea, 0xf6, 0x54, 0xdb, 0xf1,
  320. 0xdb, 0x9c, 0x23, 0x1f, 0x82, 0xb8, 0x47, 0xfa, 0xce, 0x49, 0x68, 0xbe, 0x25, 0x3c, 0x12, 0x81,
  321. 0xf1, 0xa3, 0xe7, 0x07, 0xf4, 0x7e, 0xe5, 0x24, 0x6c, 0xbf, 0x23, 0x8e, 0x1e, 0xc3, 0x6e, 0x47,
  322. 0x19, 0xaf, 0x41, 0xd6, 0xb7, 0x6e, 0x4f, 0x45, 0xf3, 0xbb, 0x62, 0xa7, 0x29, 0x80, 0x80, 0x5f,
  323. 0x82, 0xb3, 0x13, 0x53, 0xfd, 0x14, 0x64, 0xbf, 0xc7, 0xc9, 0xce, 0x4c, 0x48, 0xf7, 0x3c, 0x25,
  324. 0x9c, 0x94, 0xf2, 0xf7, 0x45, 0x4a, 0xc0, 0x23, 0x5c, 0x7b, 0xa4, 0x3b, 0xf7, 0xf5, 0xf6, 0xc9,
  325. 0xbc, 0xf6, 0x07, 0xc2, 0x6b, 0x0c, 0x3b, 0xe4, 0xb5, 0x7d, 0x38, 0xc3, 0x19, 0x4f, 0xb6, 0xaf,
  326. 0x7f, 0x28, 0x12, 0x2b, 0x43, 0xb7, 0x86, 0x77, 0xf7, 0xb3, 0xb0, 0x1c, 0xba, 0x53, 0x34, 0x96,
  327. 0xbe, 0xd6, 0xd5, 0x7b, 0x53, 0x30, 0x7f, 0x9b, 0x33, 0x8b, 0x8c, 0x1f, 0x76, 0xa6, 0xfe, 0xb6,
  328. 0xde, 0x23, 0xe4, 0x2f, 0x42, 0x51, 0x90, 0xf7, 0x1d, 0x0f, 0x1b, 0x6e, 0xc7, 0xb1, 0x6e, 0x63,
  329. 0x73, 0x0a, 0xea, 0x3f, 0x1a, 0xd9, 0xaa, 0x56, 0x04, 0x4e, 0x98, 0x1b, 0x20, 0x87, 0xfd, 0x86,
  330. 0x66, 0x75, 0x7b, 0xae, 0x17, 0xc4, 0x30, 0xfe, 0xb1, 0xd8, 0xa9, 0x10, 0xd7, 0xa0, 0x30, 0xa5,
  331. 0x06, 0x05, 0x3a, 0x9c, 0x36, 0x24, 0xff, 0x84, 0x13, 0xcd, 0x0d, 0x50, 0x3c, 0x71, 0x18, 0x6e,
  332. 0xb7, 0xa7, 0x7b, 0xd3, 0xe4, 0xbf, 0x3f, 0x15, 0x89, 0x83, 0x43, 0x58, 0xf4, 0xcd, 0x8f, 0x54,
  333. 0x62, 0x14, 0xf7, 0xf1, 0xba, 0xf8, 0xb9, 0xf7, 0xf9, 0x99, 0x1d, 0x2e, 0xc4, 0xca, 0x16, 0x71,
  334. 0xcf, 0x70, 0xb9, 0x8c, 0x27, 0x7b, 0xe5, 0xfd, 0xd0, 0x43, 0x43, 0xd5, 0x52, 0x79, 0x1e, 0xe6,
  335. 0x86, 0x4a, 0x65, 0x3c, 0xd5, 0xcf, 0x70, 0xaa, 0x7c, 0xb4, 0x52, 0x2a, 0x97, 0x21, 0x45, 0xca,
  336. 0x5e, 0x3c, 0xfc, 0x67, 0x39, 0x9c, 0xaa, 0x2b, 0x1f, 0x87, 0x8c, 0x28, 0x77, 0xf1, 0xd0, 0x9f,
  337. 0xe3, 0xd0, 0x10, 0x42, 0xe0, 0xa2, 0xd4, 0xc5, 0xc3, 0x7f, 0x5e, 0xc0, 0x05, 0x84, 0xc0, 0xa7,
  338. 0x77, 0xe1, 0x77, 0xbe, 0x90, 0xe2, 0xe9, 0x4a, 0xf8, 0xee, 0x1a, 0xcc, 0xf2, 0x1a, 0x17, 0x8f,
  339. 0xfe, 0x3c, 0x7f, 0xb8, 0x40, 0x28, 0xcf, 0x40, 0x7a, 0x4a, 0x87, 0xff, 0x22, 0x87, 0x32, 0x7d,
  340. 0xa5, 0x0a, 0xb9, 0x48, 0x5d, 0x8b, 0x87, 0xff, 0x12, 0x87, 0x47, 0x51, 0xc4, 0x74, 0x5e, 0xd7,
  341. 0xe2, 0x09, 0xbe, 0x28, 0x4c, 0xe7, 0x08, 0xe2, 0x36, 0x51, 0xd2, 0xe2, 0xd1, 0xbf, 0x2c, 0xbc,
  342. 0x2e, 0x20, 0xca, 0x73, 0x90, 0x0d, 0xd3, 0x54, 0x3c, 0xfe, 0x57, 0x38, 0x7e, 0x80, 0x21, 0x1e,
  343. 0x88, 0xa4, 0xc9, 0x78, 0x8a, 0x5f, 0x15, 0x1e, 0x88, 0xa0, 0xc8, 0x31, 0x1a, 0x2d, 0x7d, 0xf1,
  344. 0x4c, 0xbf, 0x26, 0x8e, 0xd1, 0x48, 0xe5, 0x23, 0xbb, 0x49, 0xb3, 0x45, 0x3c, 0xc5, 0xaf, 0x8b,
  345. 0xdd, 0xa4, 0xfa, 0xc4, 0x8c, 0xd1, 0x5a, 0x12, 0xcf, 0xf1, 0x1b, 0xc2, 0x8c, 0x91, 0x52, 0xa2,
  346. 0xec, 0x01, 0x1a, 0xaf, 0x23, 0xf1, 0x7c, 0x5f, 0xe2, 0x7c, 0x0b, 0x63, 0x65, 0x44, 0xf9, 0x34,
  347. 0x9c, 0x99, 0x5c, 0x43, 0xe2, 0x59, 0xbf, 0xfc, 0xfe, 0x48, 0xd7, 0x1f, 0x2d, 0x21, 0xca, 0xfe,
  348. 0xa0, 0xeb, 0x8f, 0xd6, 0x8f, 0x78, 0xda, 0x57, 0xdf, 0x1f, 0x7e, 0xb1, 0x8b, 0x96, 0x0f, 0xa5,
  349. 0x0c, 0x30, 0x48, 0xdd, 0xf1, 0x5c, 0xaf, 0x71, 0xae, 0x08, 0x88, 0x1c, 0x0d, 0x9e, 0xb9, 0xe3,
  350. 0xf1, 0x5f, 0x15, 0x47, 0x83, 0x23, 0x94, 0x6b, 0x90, 0x71, 0xfa, 0xb6, 0x4d, 0x82, 0x03, 0xdd,
  351. 0xff, 0x07, 0x21, 0xc5, 0x7f, 0xfa, 0x80, 0x1f, 0x0c, 0x01, 0x50, 0x2e, 0x43, 0x1a, 0x77, 0x0f,
  352. 0xb0, 0x19, 0x87, 0xfc, 0xe7, 0x0f, 0x44, 0x42, 0x20, 0xda, 0xca, 0x73, 0x00, 0xec, 0xa5, 0x91,
  353. 0x7e, 0x0f, 0x88, 0xc1, 0xfe, 0xcb, 0x07, 0xfc, 0x5b, 0xf3, 0x00, 0x32, 0x20, 0x60, 0x5f, 0xae,
  354. 0xef, 0x4f, 0xf0, 0x83, 0x61, 0x02, 0xfa, 0xa2, 0xf9, 0x2c, 0xcc, 0x5e, 0xf7, 0x5d, 0x27, 0xd0,
  355. 0x3b, 0x71, 0xe8, 0x7f, 0xe5, 0x68, 0xa1, 0x4f, 0x1c, 0xd6, 0x75, 0x3d, 0x1c, 0xe8, 0x1d, 0x3f,
  356. 0x0e, 0xfb, 0x6f, 0x1c, 0x1b, 0x02, 0x08, 0xd8, 0xd0, 0xfd, 0x60, 0x9a, 0x75, 0xff, 0xbb, 0x00,
  357. 0x0b, 0x00, 0x31, 0x9a, 0xfc, 0x7f, 0x03, 0x1f, 0xc5, 0x61, 0xdf, 0x13, 0x46, 0x73, 0x7d, 0xe5,
  358. 0xe3, 0x90, 0x25, 0xff, 0xb2, 0xdf, 0x5f, 0xc4, 0x80, 0xff, 0x83, 0x83, 0x07, 0x08, 0xf2, 0x64,
  359. 0x3f, 0x30, 0x03, 0x2b, 0xde, 0xd9, 0xff, 0xc9, 0x77, 0x5a, 0xe8, 0x2b, 0x65, 0xc8, 0xf9, 0x81,
  360. 0x69, 0xf6, 0x3d, 0x76, 0x11, 0x15, 0x03, 0xff, 0xaf, 0x0f, 0xc2, 0x97, 0xb9, 0x10, 0x53, 0x39,
  361. 0x3f, 0xf9, 0x6e, 0x09, 0xea, 0x6e, 0xdd, 0x65, 0xb7, 0x4a, 0xf0, 0x97, 0x29, 0x98, 0xc3, 0xb7,
  362. 0xf4, 0x6e, 0x4f, 0x28, 0xa0, 0x14, 0xc9, 0xfd, 0xcb, 0x27, 0xbb, 0x36, 0x2a, 0x7d, 0x51, 0x02,
  363. 0xa9, 0x8c, 0x3e, 0x02, 0xb9, 0xcd, 0x41, 0xe5, 0x61, 0x3f, 0x0d, 0xa8, 0xa4, 0xde, 0xba, 0xbb,
  364. 0x7a, 0x4a, 0x8d, 0x4e, 0xa0, 0x87, 0x60, 0x66, 0x67, 0xf0, 0xf3, 0x92, 0x24, 0x57, 0xe1, 0x32,
  365. 0xa4, 0x40, 0xa2, 0xc1, 0x3e, 0x87, 0xe4, 0x2b, 0x17, 0xc8, 0xcc, 0xdf, 0xdd, 0x5d, 0x2d, 0x1d,
  366. 0x6b, 0x0e, 0xb1, 0x76, 0xbd, 0xd5, 0xb7, 0x4c, 0x35, 0xd1, 0x30, 0x95, 0xcc, 0x2f, 0xbc, 0xbe,
  367. 0x7a, 0xea, 0xcd, 0xd7, 0x57, 0xa5, 0x92, 0x03, 0x52, 0x05, 0xad, 0x82, 0x54, 0xa6, 0x66, 0xe4,
  368. 0x36, 0x66, 0xd7, 0xa9, 0x66, 0xb9, 0x92, 0x21, 0x94, 0x6f, 0xdf, 0x5d, 0x95, 0x54, 0xa9, 0x8c,
  369. 0x2a, 0x20, 0xd5, 0xe9, 0xd5, 0x67, 0xbe, 0x72, 0x89, 0x3f, 0xea, 0xa9, 0xfb, 0x3e, 0xea, 0x22,
  370. 0x3b, 0x0b, 0xeb, 0x2d, 0xcb, 0x09, 0x7e, 0x62, 0xe3, 0xaa, 0x2a, 0xd5, 0x95, 0xd4, 0x7b, 0xe4,
  371. 0x79, 0x8f, 0x80, 0x54, 0x45, 0x2b, 0x90, 0x22, 0x99, 0x85, 0x3e, 0x32, 0x59, 0x81, 0x7b, 0x77,
  372. 0x57, 0x67, 0xb6, 0x8f, 0x9a, 0xd6, 0x6d, 0xac, 0x52, 0x79, 0xe9, 0x19, 0x90, 0x5a, 0xe8, 0xf4,
  373. 0xb8, 0x51, 0xc4, 0x94, 0xd3, 0x20, 0x55, 0xf8, 0x8f, 0x8f, 0xb8, 0xb8, 0xa2, 0x4a, 0x15, 0x25,
  374. 0xf5, 0x16, 0x61, 0x5f, 0x04, 0xa9, 0x76, 0x21, 0x93, 0x91, 0xd8, 0x7d, 0xbe, 0x92, 0x7a, 0xeb,
  375. 0x1b, 0xab, 0xa7, 0x4a, 0x4f, 0x80, 0xa4, 0xa2, 0x15, 0x80, 0x41, 0x52, 0xa4, 0xb4, 0x73, 0x6a,
  376. 0x44, 0xa2, 0xa4, 0xde, 0x26, 0xaa, 0x4f, 0x42, 0xa6, 0xaa, 0xfb, 0xe2, 0x07, 0x29, 0xe9, 0x86,
  377. 0x13, 0x3c, 0xbd, 0xc1, 0xad, 0xcc, 0xfe, 0xef, 0xdd, 0xd5, 0xb4, 0x45, 0x04, 0x2a, 0x93, 0x57,
  378. 0x9e, 0xfa, 0xdb, 0x77, 0x56, 0x4e, 0x7d, 0xff, 0x9d, 0x15, 0xe9, 0xbd, 0x77, 0x56, 0xa4, 0xff,
  379. 0x79, 0x67, 0x45, 0xba, 0x73, 0x6f, 0x45, 0x7a, 0xf3, 0xde, 0x8a, 0xf4, 0xe7, 0xf7, 0x56, 0xa4,
  380. 0xef, 0xdc, 0x5b, 0x91, 0xde, 0xba, 0xb7, 0x22, 0xbd, 0x7d, 0x6f, 0x45, 0xfa, 0xfe, 0xbd, 0x15,
  381. 0xe9, 0xff, 0x02, 0x00, 0x00, 0xff, 0xff, 0xcc, 0x23, 0x6d, 0xf2, 0x68, 0x2e, 0x00, 0x00,
  382. }
  383. r := bytes.NewReader(gzipped)
  384. gzipr, err := compress_gzip.NewReader(r)
  385. if err != nil {
  386. panic(err)
  387. }
  388. ungzipped, err := io_ioutil.ReadAll(gzipr)
  389. if err != nil {
  390. panic(err)
  391. }
  392. if err := github_com_gogo_protobuf_proto.Unmarshal(ungzipped, d); err != nil {
  393. panic(err)
  394. }
  395. return d
  396. }
  397. func (this *A) VerboseEqual(that interface{}) error {
  398. if that == nil {
  399. if this == nil {
  400. return nil
  401. }
  402. return fmt.Errorf("that == nil && this != nil")
  403. }
  404. that1, ok := that.(*A)
  405. if !ok {
  406. that2, ok := that.(A)
  407. if ok {
  408. that1 = &that2
  409. } else {
  410. return fmt.Errorf("that is not of type *A")
  411. }
  412. }
  413. if that1 == nil {
  414. if this == nil {
  415. return nil
  416. }
  417. return fmt.Errorf("that is type *A but is nil && this != nil")
  418. } else if this == nil {
  419. return fmt.Errorf("that is type *A but is not nil && this == nil")
  420. }
  421. if this.Description != that1.Description {
  422. return fmt.Errorf("Description this(%v) Not Equal that(%v)", this.Description, that1.Description)
  423. }
  424. if this.Number != that1.Number {
  425. return fmt.Errorf("Number this(%v) Not Equal that(%v)", this.Number, that1.Number)
  426. }
  427. if !this.Id.Equal(that1.Id) {
  428. return fmt.Errorf("Id this(%v) Not Equal that(%v)", this.Id, that1.Id)
  429. }
  430. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  431. return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
  432. }
  433. return nil
  434. }
  435. func (this *A) Equal(that interface{}) bool {
  436. if that == nil {
  437. if this == nil {
  438. return true
  439. }
  440. return false
  441. }
  442. that1, ok := that.(*A)
  443. if !ok {
  444. that2, ok := that.(A)
  445. if ok {
  446. that1 = &that2
  447. } else {
  448. return false
  449. }
  450. }
  451. if that1 == nil {
  452. if this == nil {
  453. return true
  454. }
  455. return false
  456. } else if this == nil {
  457. return false
  458. }
  459. if this.Description != that1.Description {
  460. return false
  461. }
  462. if this.Number != that1.Number {
  463. return false
  464. }
  465. if !this.Id.Equal(that1.Id) {
  466. return false
  467. }
  468. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  469. return false
  470. }
  471. return true
  472. }
  473. func (this *B) VerboseEqual(that interface{}) error {
  474. if that == nil {
  475. if this == nil {
  476. return nil
  477. }
  478. return fmt.Errorf("that == nil && this != nil")
  479. }
  480. that1, ok := that.(*B)
  481. if !ok {
  482. that2, ok := that.(B)
  483. if ok {
  484. that1 = &that2
  485. } else {
  486. return fmt.Errorf("that is not of type *B")
  487. }
  488. }
  489. if that1 == nil {
  490. if this == nil {
  491. return nil
  492. }
  493. return fmt.Errorf("that is type *B but is nil && this != nil")
  494. } else if this == nil {
  495. return fmt.Errorf("that is type *B but is not nil && this == nil")
  496. }
  497. if !this.A.Equal(&that1.A) {
  498. return fmt.Errorf("A this(%v) Not Equal that(%v)", this.A, that1.A)
  499. }
  500. if len(this.G) != len(that1.G) {
  501. return fmt.Errorf("G this(%v) Not Equal that(%v)", len(this.G), len(that1.G))
  502. }
  503. for i := range this.G {
  504. if !this.G[i].Equal(that1.G[i]) {
  505. return fmt.Errorf("G this[%v](%v) Not Equal that[%v](%v)", i, this.G[i], i, that1.G[i])
  506. }
  507. }
  508. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  509. return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
  510. }
  511. return nil
  512. }
  513. func (this *B) Equal(that interface{}) bool {
  514. if that == nil {
  515. if this == nil {
  516. return true
  517. }
  518. return false
  519. }
  520. that1, ok := that.(*B)
  521. if !ok {
  522. that2, ok := that.(B)
  523. if ok {
  524. that1 = &that2
  525. } else {
  526. return false
  527. }
  528. }
  529. if that1 == nil {
  530. if this == nil {
  531. return true
  532. }
  533. return false
  534. } else if this == nil {
  535. return false
  536. }
  537. if !this.A.Equal(&that1.A) {
  538. return false
  539. }
  540. if len(this.G) != len(that1.G) {
  541. return false
  542. }
  543. for i := range this.G {
  544. if !this.G[i].Equal(that1.G[i]) {
  545. return false
  546. }
  547. }
  548. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  549. return false
  550. }
  551. return true
  552. }
  553. func (this *C) VerboseEqual(that interface{}) error {
  554. if that == nil {
  555. if this == nil {
  556. return nil
  557. }
  558. return fmt.Errorf("that == nil && this != nil")
  559. }
  560. that1, ok := that.(*C)
  561. if !ok {
  562. that2, ok := that.(C)
  563. if ok {
  564. that1 = &that2
  565. } else {
  566. return fmt.Errorf("that is not of type *C")
  567. }
  568. }
  569. if that1 == nil {
  570. if this == nil {
  571. return nil
  572. }
  573. return fmt.Errorf("that is type *C but is nil && this != nil")
  574. } else if this == nil {
  575. return fmt.Errorf("that is type *C but is not nil && this == nil")
  576. }
  577. if this.MySize != nil && that1.MySize != nil {
  578. if *this.MySize != *that1.MySize {
  579. return fmt.Errorf("MySize this(%v) Not Equal that(%v)", *this.MySize, *that1.MySize)
  580. }
  581. } else if this.MySize != nil {
  582. return fmt.Errorf("this.MySize == nil && that.MySize != nil")
  583. } else if that1.MySize != nil {
  584. return fmt.Errorf("MySize this(%v) Not Equal that(%v)", this.MySize, that1.MySize)
  585. }
  586. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  587. return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
  588. }
  589. return nil
  590. }
  591. func (this *C) Equal(that interface{}) bool {
  592. if that == nil {
  593. if this == nil {
  594. return true
  595. }
  596. return false
  597. }
  598. that1, ok := that.(*C)
  599. if !ok {
  600. that2, ok := that.(C)
  601. if ok {
  602. that1 = &that2
  603. } else {
  604. return false
  605. }
  606. }
  607. if that1 == nil {
  608. if this == nil {
  609. return true
  610. }
  611. return false
  612. } else if this == nil {
  613. return false
  614. }
  615. if this.MySize != nil && that1.MySize != nil {
  616. if *this.MySize != *that1.MySize {
  617. return false
  618. }
  619. } else if this.MySize != nil {
  620. return false
  621. } else if that1.MySize != nil {
  622. return false
  623. }
  624. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  625. return false
  626. }
  627. return true
  628. }
  629. func (this *U) VerboseEqual(that interface{}) error {
  630. if that == nil {
  631. if this == nil {
  632. return nil
  633. }
  634. return fmt.Errorf("that == nil && this != nil")
  635. }
  636. that1, ok := that.(*U)
  637. if !ok {
  638. that2, ok := that.(U)
  639. if ok {
  640. that1 = &that2
  641. } else {
  642. return fmt.Errorf("that is not of type *U")
  643. }
  644. }
  645. if that1 == nil {
  646. if this == nil {
  647. return nil
  648. }
  649. return fmt.Errorf("that is type *U but is nil && this != nil")
  650. } else if this == nil {
  651. return fmt.Errorf("that is type *U but is not nil && this == nil")
  652. }
  653. if !this.A.Equal(that1.A) {
  654. return fmt.Errorf("A this(%v) Not Equal that(%v)", this.A, that1.A)
  655. }
  656. if !this.B.Equal(that1.B) {
  657. return fmt.Errorf("B this(%v) Not Equal that(%v)", this.B, that1.B)
  658. }
  659. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  660. return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
  661. }
  662. return nil
  663. }
  664. func (this *U) Equal(that interface{}) bool {
  665. if that == nil {
  666. if this == nil {
  667. return true
  668. }
  669. return false
  670. }
  671. that1, ok := that.(*U)
  672. if !ok {
  673. that2, ok := that.(U)
  674. if ok {
  675. that1 = &that2
  676. } else {
  677. return false
  678. }
  679. }
  680. if that1 == nil {
  681. if this == nil {
  682. return true
  683. }
  684. return false
  685. } else if this == nil {
  686. return false
  687. }
  688. if !this.A.Equal(that1.A) {
  689. return false
  690. }
  691. if !this.B.Equal(that1.B) {
  692. return false
  693. }
  694. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  695. return false
  696. }
  697. return true
  698. }
  699. func (this *E) VerboseEqual(that interface{}) error {
  700. if that == nil {
  701. if this == nil {
  702. return nil
  703. }
  704. return fmt.Errorf("that == nil && this != nil")
  705. }
  706. that1, ok := that.(*E)
  707. if !ok {
  708. that2, ok := that.(E)
  709. if ok {
  710. that1 = &that2
  711. } else {
  712. return fmt.Errorf("that is not of type *E")
  713. }
  714. }
  715. if that1 == nil {
  716. if this == nil {
  717. return nil
  718. }
  719. return fmt.Errorf("that is type *E but is nil && this != nil")
  720. } else if this == nil {
  721. return fmt.Errorf("that is type *E but is not nil && this == nil")
  722. }
  723. if !bytes.Equal(this.XXX_extensions, that1.XXX_extensions) {
  724. return fmt.Errorf("XXX_extensions this(%v) Not Equal that(%v)", this.XXX_extensions, that1.XXX_extensions)
  725. }
  726. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  727. return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
  728. }
  729. return nil
  730. }
  731. func (this *E) Equal(that interface{}) bool {
  732. if that == nil {
  733. if this == nil {
  734. return true
  735. }
  736. return false
  737. }
  738. that1, ok := that.(*E)
  739. if !ok {
  740. that2, ok := that.(E)
  741. if ok {
  742. that1 = &that2
  743. } else {
  744. return false
  745. }
  746. }
  747. if that1 == nil {
  748. if this == nil {
  749. return true
  750. }
  751. return false
  752. } else if this == nil {
  753. return false
  754. }
  755. if !bytes.Equal(this.XXX_extensions, that1.XXX_extensions) {
  756. return false
  757. }
  758. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  759. return false
  760. }
  761. return true
  762. }
  763. func (this *R) VerboseEqual(that interface{}) error {
  764. if that == nil {
  765. if this == nil {
  766. return nil
  767. }
  768. return fmt.Errorf("that == nil && this != nil")
  769. }
  770. that1, ok := that.(*R)
  771. if !ok {
  772. that2, ok := that.(R)
  773. if ok {
  774. that1 = &that2
  775. } else {
  776. return fmt.Errorf("that is not of type *R")
  777. }
  778. }
  779. if that1 == nil {
  780. if this == nil {
  781. return nil
  782. }
  783. return fmt.Errorf("that is type *R but is nil && this != nil")
  784. } else if this == nil {
  785. return fmt.Errorf("that is type *R but is not nil && this == nil")
  786. }
  787. if this.Recognized != nil && that1.Recognized != nil {
  788. if *this.Recognized != *that1.Recognized {
  789. return fmt.Errorf("Recognized this(%v) Not Equal that(%v)", *this.Recognized, *that1.Recognized)
  790. }
  791. } else if this.Recognized != nil {
  792. return fmt.Errorf("this.Recognized == nil && that.Recognized != nil")
  793. } else if that1.Recognized != nil {
  794. return fmt.Errorf("Recognized this(%v) Not Equal that(%v)", this.Recognized, that1.Recognized)
  795. }
  796. return nil
  797. }
  798. func (this *R) Equal(that interface{}) bool {
  799. if that == nil {
  800. if this == nil {
  801. return true
  802. }
  803. return false
  804. }
  805. that1, ok := that.(*R)
  806. if !ok {
  807. that2, ok := that.(R)
  808. if ok {
  809. that1 = &that2
  810. } else {
  811. return false
  812. }
  813. }
  814. if that1 == nil {
  815. if this == nil {
  816. return true
  817. }
  818. return false
  819. } else if this == nil {
  820. return false
  821. }
  822. if this.Recognized != nil && that1.Recognized != nil {
  823. if *this.Recognized != *that1.Recognized {
  824. return false
  825. }
  826. } else if this.Recognized != nil {
  827. return false
  828. } else if that1.Recognized != nil {
  829. return false
  830. }
  831. return true
  832. }
  833. func (this *CastType) VerboseEqual(that interface{}) error {
  834. if that == nil {
  835. if this == nil {
  836. return nil
  837. }
  838. return fmt.Errorf("that == nil && this != nil")
  839. }
  840. that1, ok := that.(*CastType)
  841. if !ok {
  842. that2, ok := that.(CastType)
  843. if ok {
  844. that1 = &that2
  845. } else {
  846. return fmt.Errorf("that is not of type *CastType")
  847. }
  848. }
  849. if that1 == nil {
  850. if this == nil {
  851. return nil
  852. }
  853. return fmt.Errorf("that is type *CastType but is nil && this != nil")
  854. } else if this == nil {
  855. return fmt.Errorf("that is type *CastType but is not nil && this == nil")
  856. }
  857. if this.Int32 != nil && that1.Int32 != nil {
  858. if *this.Int32 != *that1.Int32 {
  859. return fmt.Errorf("Int32 this(%v) Not Equal that(%v)", *this.Int32, *that1.Int32)
  860. }
  861. } else if this.Int32 != nil {
  862. return fmt.Errorf("this.Int32 == nil && that.Int32 != nil")
  863. } else if that1.Int32 != nil {
  864. return fmt.Errorf("Int32 this(%v) Not Equal that(%v)", this.Int32, that1.Int32)
  865. }
  866. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  867. return fmt.Errorf("XXX_unrecognized this(%v) Not Equal that(%v)", this.XXX_unrecognized, that1.XXX_unrecognized)
  868. }
  869. return nil
  870. }
  871. func (this *CastType) Equal(that interface{}) bool {
  872. if that == nil {
  873. if this == nil {
  874. return true
  875. }
  876. return false
  877. }
  878. that1, ok := that.(*CastType)
  879. if !ok {
  880. that2, ok := that.(CastType)
  881. if ok {
  882. that1 = &that2
  883. } else {
  884. return false
  885. }
  886. }
  887. if that1 == nil {
  888. if this == nil {
  889. return true
  890. }
  891. return false
  892. } else if this == nil {
  893. return false
  894. }
  895. if this.Int32 != nil && that1.Int32 != nil {
  896. if *this.Int32 != *that1.Int32 {
  897. return false
  898. }
  899. } else if this.Int32 != nil {
  900. return false
  901. } else if that1.Int32 != nil {
  902. return false
  903. }
  904. if !bytes.Equal(this.XXX_unrecognized, that1.XXX_unrecognized) {
  905. return false
  906. }
  907. return true
  908. }
  909. type AFace interface {
  910. Proto() github_com_gogo_protobuf_proto.Message
  911. GetDescription() string
  912. GetNumber() int64
  913. GetId() github_com_gogo_protobuf_test.Uuid
  914. }
  915. func (this *A) Proto() github_com_gogo_protobuf_proto.Message {
  916. return this
  917. }
  918. func (this *A) TestProto() github_com_gogo_protobuf_proto.Message {
  919. return NewAFromFace(this)
  920. }
  921. func (this *A) GetDescription() string {
  922. return this.Description
  923. }
  924. func (this *A) GetNumber() int64 {
  925. return this.Number
  926. }
  927. func (this *A) GetId() github_com_gogo_protobuf_test.Uuid {
  928. return this.Id
  929. }
  930. func NewAFromFace(that AFace) *A {
  931. this := &A{}
  932. this.Description = that.GetDescription()
  933. this.Number = that.GetNumber()
  934. this.Id = that.GetId()
  935. return this
  936. }
  937. func (this *A) GoString() string {
  938. if this == nil {
  939. return "nil"
  940. }
  941. s := make([]string, 0, 7)
  942. s = append(s, "&test.A{")
  943. s = append(s, "Description: "+fmt.Sprintf("%#v", this.Description)+",\n")
  944. s = append(s, "Number: "+fmt.Sprintf("%#v", this.Number)+",\n")
  945. s = append(s, "Id: "+fmt.Sprintf("%#v", this.Id)+",\n")
  946. if this.XXX_unrecognized != nil {
  947. s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
  948. }
  949. s = append(s, "}")
  950. return strings.Join(s, "")
  951. }
  952. func (this *B) GoString() string {
  953. if this == nil {
  954. return "nil"
  955. }
  956. s := make([]string, 0, 6)
  957. s = append(s, "&test.B{")
  958. s = append(s, "A: "+strings.Replace(this.A.GoString(), `&`, ``, 1)+",\n")
  959. if this.G != nil {
  960. s = append(s, "G: "+fmt.Sprintf("%#v", this.G)+",\n")
  961. }
  962. if this.XXX_unrecognized != nil {
  963. s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
  964. }
  965. s = append(s, "}")
  966. return strings.Join(s, "")
  967. }
  968. func (this *C) GoString() string {
  969. if this == nil {
  970. return "nil"
  971. }
  972. s := make([]string, 0, 5)
  973. s = append(s, "&test.C{")
  974. if this.MySize != nil {
  975. s = append(s, "MySize: "+valueToGoStringExample(this.MySize, "int64")+",\n")
  976. }
  977. if this.XXX_unrecognized != nil {
  978. s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
  979. }
  980. s = append(s, "}")
  981. return strings.Join(s, "")
  982. }
  983. func (this *U) GoString() string {
  984. if this == nil {
  985. return "nil"
  986. }
  987. s := make([]string, 0, 6)
  988. s = append(s, "&test.U{")
  989. if this.A != nil {
  990. s = append(s, "A: "+fmt.Sprintf("%#v", this.A)+",\n")
  991. }
  992. if this.B != nil {
  993. s = append(s, "B: "+fmt.Sprintf("%#v", this.B)+",\n")
  994. }
  995. if this.XXX_unrecognized != nil {
  996. s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
  997. }
  998. s = append(s, "}")
  999. return strings.Join(s, "")
  1000. }
  1001. func (this *E) GoString() string {
  1002. if this == nil {
  1003. return "nil"
  1004. }
  1005. s := make([]string, 0, 4)
  1006. s = append(s, "&test.E{")
  1007. if this.XXX_extensions != nil {
  1008. s = append(s, "XXX_extensions: "+fmt.Sprintf("%#v", this.XXX_extensions)+",\n")
  1009. }
  1010. if this.XXX_unrecognized != nil {
  1011. s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
  1012. }
  1013. s = append(s, "}")
  1014. return strings.Join(s, "")
  1015. }
  1016. func (this *R) GoString() string {
  1017. if this == nil {
  1018. return "nil"
  1019. }
  1020. s := make([]string, 0, 5)
  1021. s = append(s, "&test.R{")
  1022. if this.Recognized != nil {
  1023. s = append(s, "Recognized: "+valueToGoStringExample(this.Recognized, "uint32")+",\n")
  1024. }
  1025. s = append(s, "}")
  1026. return strings.Join(s, "")
  1027. }
  1028. func (this *CastType) GoString() string {
  1029. if this == nil {
  1030. return "nil"
  1031. }
  1032. s := make([]string, 0, 5)
  1033. s = append(s, "&test.CastType{")
  1034. if this.Int32 != nil {
  1035. s = append(s, "Int32: "+valueToGoStringExample(this.Int32, "int32")+",\n")
  1036. }
  1037. if this.XXX_unrecognized != nil {
  1038. s = append(s, "XXX_unrecognized:"+fmt.Sprintf("%#v", this.XXX_unrecognized)+",\n")
  1039. }
  1040. s = append(s, "}")
  1041. return strings.Join(s, "")
  1042. }
  1043. func valueToGoStringExample(v interface{}, typ string) string {
  1044. rv := reflect.ValueOf(v)
  1045. if rv.IsNil() {
  1046. return "nil"
  1047. }
  1048. pv := reflect.Indirect(rv).Interface()
  1049. return fmt.Sprintf("func(v %v) *%v { return &v } ( %#v )", typ, typ, pv)
  1050. }
  1051. func extensionToGoStringExample(m github_com_gogo_protobuf_proto.Message) string {
  1052. e := github_com_gogo_protobuf_proto.GetUnsafeExtensionsMap(m)
  1053. if e == nil {
  1054. return "nil"
  1055. }
  1056. s := "proto.NewUnsafeXXX_InternalExtensions(map[int32]proto.Extension{"
  1057. keys := make([]int, 0, len(e))
  1058. for k := range e {
  1059. keys = append(keys, int(k))
  1060. }
  1061. sort.Ints(keys)
  1062. ss := []string{}
  1063. for _, k := range keys {
  1064. ss = append(ss, strconv.Itoa(k)+": "+e[int32(k)].GoString())
  1065. }
  1066. s += strings.Join(ss, ",") + "})"
  1067. return s
  1068. }
  1069. func (m *A) Marshal() (dAtA []byte, err error) {
  1070. size := m.Size()
  1071. dAtA = make([]byte, size)
  1072. n, err := m.MarshalTo(dAtA)
  1073. if err != nil {
  1074. return nil, err
  1075. }
  1076. return dAtA[:n], nil
  1077. }
  1078. func (m *A) MarshalTo(dAtA []byte) (int, error) {
  1079. var i int
  1080. _ = i
  1081. var l int
  1082. _ = l
  1083. dAtA[i] = 0xa
  1084. i++
  1085. i = encodeVarintExample(dAtA, i, uint64(len(m.Description)))
  1086. i += copy(dAtA[i:], m.Description)
  1087. dAtA[i] = 0x10
  1088. i++
  1089. i = encodeVarintExample(dAtA, i, uint64(m.Number))
  1090. dAtA[i] = 0x1a
  1091. i++
  1092. i = encodeVarintExample(dAtA, i, uint64(m.Id.Size()))
  1093. n1, err := m.Id.MarshalTo(dAtA[i:])
  1094. if err != nil {
  1095. return 0, err
  1096. }
  1097. i += n1
  1098. if m.XXX_unrecognized != nil {
  1099. i += copy(dAtA[i:], m.XXX_unrecognized)
  1100. }
  1101. return i, nil
  1102. }
  1103. func (m *B) Marshal() (dAtA []byte, err error) {
  1104. size := m.Size()
  1105. dAtA = make([]byte, size)
  1106. n, err := m.MarshalTo(dAtA)
  1107. if err != nil {
  1108. return nil, err
  1109. }
  1110. return dAtA[:n], nil
  1111. }
  1112. func (m *B) MarshalTo(dAtA []byte) (int, error) {
  1113. var i int
  1114. _ = i
  1115. var l int
  1116. _ = l
  1117. dAtA[i] = 0xa
  1118. i++
  1119. i = encodeVarintExample(dAtA, i, uint64(m.A.Size()))
  1120. n2, err := m.A.MarshalTo(dAtA[i:])
  1121. if err != nil {
  1122. return 0, err
  1123. }
  1124. i += n2
  1125. if len(m.G) > 0 {
  1126. for _, msg := range m.G {
  1127. dAtA[i] = 0x12
  1128. i++
  1129. i = encodeVarintExample(dAtA, i, uint64(msg.Size()))
  1130. n, err := msg.MarshalTo(dAtA[i:])
  1131. if err != nil {
  1132. return 0, err
  1133. }
  1134. i += n
  1135. }
  1136. }
  1137. if m.XXX_unrecognized != nil {
  1138. i += copy(dAtA[i:], m.XXX_unrecognized)
  1139. }
  1140. return i, nil
  1141. }
  1142. func (m *C) Marshal() (dAtA []byte, err error) {
  1143. size := m.Size()
  1144. dAtA = make([]byte, size)
  1145. n, err := m.MarshalTo(dAtA)
  1146. if err != nil {
  1147. return nil, err
  1148. }
  1149. return dAtA[:n], nil
  1150. }
  1151. func (m *C) MarshalTo(dAtA []byte) (int, error) {
  1152. var i int
  1153. _ = i
  1154. var l int
  1155. _ = l
  1156. if m.MySize != nil {
  1157. dAtA[i] = 0x8
  1158. i++
  1159. i = encodeVarintExample(dAtA, i, uint64(*m.MySize))
  1160. }
  1161. if m.XXX_unrecognized != nil {
  1162. i += copy(dAtA[i:], m.XXX_unrecognized)
  1163. }
  1164. return i, nil
  1165. }
  1166. func (m *U) Marshal() (dAtA []byte, err error) {
  1167. size := m.Size()
  1168. dAtA = make([]byte, size)
  1169. n, err := m.MarshalTo(dAtA)
  1170. if err != nil {
  1171. return nil, err
  1172. }
  1173. return dAtA[:n], nil
  1174. }
  1175. func (m *U) MarshalTo(dAtA []byte) (int, error) {
  1176. var i int
  1177. _ = i
  1178. var l int
  1179. _ = l
  1180. if m.A != nil {
  1181. dAtA[i] = 0xa
  1182. i++
  1183. i = encodeVarintExample(dAtA, i, uint64(m.A.Size()))
  1184. n3, err := m.A.MarshalTo(dAtA[i:])
  1185. if err != nil {
  1186. return 0, err
  1187. }
  1188. i += n3
  1189. }
  1190. if m.B != nil {
  1191. dAtA[i] = 0x12
  1192. i++
  1193. i = encodeVarintExample(dAtA, i, uint64(m.B.Size()))
  1194. n4, err := m.B.MarshalTo(dAtA[i:])
  1195. if err != nil {
  1196. return 0, err
  1197. }
  1198. i += n4
  1199. }
  1200. if m.XXX_unrecognized != nil {
  1201. i += copy(dAtA[i:], m.XXX_unrecognized)
  1202. }
  1203. return i, nil
  1204. }
  1205. func (m *E) Marshal() (dAtA []byte, err error) {
  1206. size := m.Size()
  1207. dAtA = make([]byte, size)
  1208. n, err := m.MarshalTo(dAtA)
  1209. if err != nil {
  1210. return nil, err
  1211. }
  1212. return dAtA[:n], nil
  1213. }
  1214. func (m *E) MarshalTo(dAtA []byte) (int, error) {
  1215. var i int
  1216. _ = i
  1217. var l int
  1218. _ = l
  1219. if m.XXX_extensions != nil {
  1220. i += copy(dAtA[i:], m.XXX_extensions)
  1221. }
  1222. if m.XXX_unrecognized != nil {
  1223. i += copy(dAtA[i:], m.XXX_unrecognized)
  1224. }
  1225. return i, nil
  1226. }
  1227. func (m *R) Marshal() (dAtA []byte, err error) {
  1228. size := m.Size()
  1229. dAtA = make([]byte, size)
  1230. n, err := m.MarshalTo(dAtA)
  1231. if err != nil {
  1232. return nil, err
  1233. }
  1234. return dAtA[:n], nil
  1235. }
  1236. func (m *R) MarshalTo(dAtA []byte) (int, error) {
  1237. var i int
  1238. _ = i
  1239. var l int
  1240. _ = l
  1241. if m.Recognized != nil {
  1242. dAtA[i] = 0x8
  1243. i++
  1244. i = encodeVarintExample(dAtA, i, uint64(*m.Recognized))
  1245. }
  1246. return i, nil
  1247. }
  1248. func (m *CastType) Marshal() (dAtA []byte, err error) {
  1249. size := m.Size()
  1250. dAtA = make([]byte, size)
  1251. n, err := m.MarshalTo(dAtA)
  1252. if err != nil {
  1253. return nil, err
  1254. }
  1255. return dAtA[:n], nil
  1256. }
  1257. func (m *CastType) MarshalTo(dAtA []byte) (int, error) {
  1258. var i int
  1259. _ = i
  1260. var l int
  1261. _ = l
  1262. if m.Int32 != nil {
  1263. dAtA[i] = 0x8
  1264. i++
  1265. i = encodeVarintExample(dAtA, i, uint64(*m.Int32))
  1266. }
  1267. if m.XXX_unrecognized != nil {
  1268. i += copy(dAtA[i:], m.XXX_unrecognized)
  1269. }
  1270. return i, nil
  1271. }
  1272. func encodeFixed64Example(dAtA []byte, offset int, v uint64) int {
  1273. dAtA[offset] = uint8(v)
  1274. dAtA[offset+1] = uint8(v >> 8)
  1275. dAtA[offset+2] = uint8(v >> 16)
  1276. dAtA[offset+3] = uint8(v >> 24)
  1277. dAtA[offset+4] = uint8(v >> 32)
  1278. dAtA[offset+5] = uint8(v >> 40)
  1279. dAtA[offset+6] = uint8(v >> 48)
  1280. dAtA[offset+7] = uint8(v >> 56)
  1281. return offset + 8
  1282. }
  1283. func encodeFixed32Example(dAtA []byte, offset int, v uint32) int {
  1284. dAtA[offset] = uint8(v)
  1285. dAtA[offset+1] = uint8(v >> 8)
  1286. dAtA[offset+2] = uint8(v >> 16)
  1287. dAtA[offset+3] = uint8(v >> 24)
  1288. return offset + 4
  1289. }
  1290. func encodeVarintExample(dAtA []byte, offset int, v uint64) int {
  1291. for v >= 1<<7 {
  1292. dAtA[offset] = uint8(v&0x7f | 0x80)
  1293. v >>= 7
  1294. offset++
  1295. }
  1296. dAtA[offset] = uint8(v)
  1297. return offset + 1
  1298. }
  1299. func NewPopulatedA(r randyExample, easy bool) *A {
  1300. this := &A{}
  1301. this.Description = string(randStringExample(r))
  1302. this.Number = int64(r.Int63())
  1303. if r.Intn(2) == 0 {
  1304. this.Number *= -1
  1305. }
  1306. v1 := github_com_gogo_protobuf_test.NewPopulatedUuid(r)
  1307. this.Id = *v1
  1308. if !easy && r.Intn(10) != 0 {
  1309. this.XXX_unrecognized = randUnrecognizedExample(r, 4)
  1310. }
  1311. return this
  1312. }
  1313. func NewPopulatedB(r randyExample, easy bool) *B {
  1314. this := &B{}
  1315. v2 := NewPopulatedA(r, easy)
  1316. this.A = *v2
  1317. if r.Intn(10) != 0 {
  1318. v3 := r.Intn(10)
  1319. this.G = make([]github_com_gogo_protobuf_test_custom.Uint128, v3)
  1320. for i := 0; i < v3; i++ {
  1321. v4 := github_com_gogo_protobuf_test_custom.NewPopulatedUint128(r)
  1322. this.G[i] = *v4
  1323. }
  1324. }
  1325. if !easy && r.Intn(10) != 0 {
  1326. this.XXX_unrecognized = randUnrecognizedExample(r, 3)
  1327. }
  1328. return this
  1329. }
  1330. func NewPopulatedC(r randyExample, easy bool) *C {
  1331. this := &C{}
  1332. if r.Intn(10) != 0 {
  1333. v5 := int64(r.Int63())
  1334. if r.Intn(2) == 0 {
  1335. v5 *= -1
  1336. }
  1337. this.MySize = &v5
  1338. }
  1339. if !easy && r.Intn(10) != 0 {
  1340. this.XXX_unrecognized = randUnrecognizedExample(r, 2)
  1341. }
  1342. return this
  1343. }
  1344. func NewPopulatedU(r randyExample, easy bool) *U {
  1345. this := &U{}
  1346. fieldNum := r.Intn(2)
  1347. switch fieldNum {
  1348. case 0:
  1349. this.A = NewPopulatedA(r, easy)
  1350. case 1:
  1351. this.B = NewPopulatedB(r, easy)
  1352. }
  1353. return this
  1354. }
  1355. func NewPopulatedE(r randyExample, easy bool) *E {
  1356. this := &E{}
  1357. if !easy && r.Intn(10) != 0 {
  1358. l := r.Intn(5)
  1359. for i := 0; i < l; i++ {
  1360. fieldNumber := r.Intn(536870911) + 1
  1361. wire := r.Intn(4)
  1362. if wire == 3 {
  1363. wire = 5
  1364. }
  1365. dAtA := randFieldExample(nil, r, fieldNumber, wire)
  1366. github_com_gogo_protobuf_proto.SetRawExtension(this, int32(fieldNumber), dAtA)
  1367. }
  1368. }
  1369. return this
  1370. }
  1371. func NewPopulatedR(r randyExample, easy bool) *R {
  1372. this := &R{}
  1373. if r.Intn(10) != 0 {
  1374. v6 := uint32(r.Uint32())
  1375. this.Recognized = &v6
  1376. }
  1377. if !easy && r.Intn(10) != 0 {
  1378. }
  1379. return this
  1380. }
  1381. func NewPopulatedCastType(r randyExample, easy bool) *CastType {
  1382. this := &CastType{}
  1383. if r.Intn(10) != 0 {
  1384. v7 := int32(r.Int63())
  1385. if r.Intn(2) == 0 {
  1386. v7 *= -1
  1387. }
  1388. this.Int32 = &v7
  1389. }
  1390. if !easy && r.Intn(10) != 0 {
  1391. this.XXX_unrecognized = randUnrecognizedExample(r, 2)
  1392. }
  1393. return this
  1394. }
  1395. type randyExample interface {
  1396. Float32() float32
  1397. Float64() float64
  1398. Int63() int64
  1399. Int31() int32
  1400. Uint32() uint32
  1401. Intn(n int) int
  1402. }
  1403. func randUTF8RuneExample(r randyExample) rune {
  1404. ru := r.Intn(62)
  1405. if ru < 10 {
  1406. return rune(ru + 48)
  1407. } else if ru < 36 {
  1408. return rune(ru + 55)
  1409. }
  1410. return rune(ru + 61)
  1411. }
  1412. func randStringExample(r randyExample) string {
  1413. v8 := r.Intn(100)
  1414. tmps := make([]rune, v8)
  1415. for i := 0; i < v8; i++ {
  1416. tmps[i] = randUTF8RuneExample(r)
  1417. }
  1418. return string(tmps)
  1419. }
  1420. func randUnrecognizedExample(r randyExample, maxFieldNumber int) (dAtA []byte) {
  1421. l := r.Intn(5)
  1422. for i := 0; i < l; i++ {
  1423. wire := r.Intn(4)
  1424. if wire == 3 {
  1425. wire = 5
  1426. }
  1427. fieldNumber := maxFieldNumber + r.Intn(100)
  1428. dAtA = randFieldExample(dAtA, r, fieldNumber, wire)
  1429. }
  1430. return dAtA
  1431. }
  1432. func randFieldExample(dAtA []byte, r randyExample, fieldNumber int, wire int) []byte {
  1433. key := uint32(fieldNumber)<<3 | uint32(wire)
  1434. switch wire {
  1435. case 0:
  1436. dAtA = encodeVarintPopulateExample(dAtA, uint64(key))
  1437. v9 := r.Int63()
  1438. if r.Intn(2) == 0 {
  1439. v9 *= -1
  1440. }
  1441. dAtA = encodeVarintPopulateExample(dAtA, uint64(v9))
  1442. case 1:
  1443. dAtA = encodeVarintPopulateExample(dAtA, uint64(key))
  1444. dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
  1445. case 2:
  1446. dAtA = encodeVarintPopulateExample(dAtA, uint64(key))
  1447. ll := r.Intn(100)
  1448. dAtA = encodeVarintPopulateExample(dAtA, uint64(ll))
  1449. for j := 0; j < ll; j++ {
  1450. dAtA = append(dAtA, byte(r.Intn(256)))
  1451. }
  1452. default:
  1453. dAtA = encodeVarintPopulateExample(dAtA, uint64(key))
  1454. dAtA = append(dAtA, byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)), byte(r.Intn(256)))
  1455. }
  1456. return dAtA
  1457. }
  1458. func encodeVarintPopulateExample(dAtA []byte, v uint64) []byte {
  1459. for v >= 1<<7 {
  1460. dAtA = append(dAtA, uint8(uint64(v)&0x7f|0x80))
  1461. v >>= 7
  1462. }
  1463. dAtA = append(dAtA, uint8(v))
  1464. return dAtA
  1465. }
  1466. func (m *A) Size() (n int) {
  1467. var l int
  1468. _ = l
  1469. l = len(m.Description)
  1470. n += 1 + l + sovExample(uint64(l))
  1471. n += 1 + sovExample(uint64(m.Number))
  1472. l = m.Id.Size()
  1473. n += 1 + l + sovExample(uint64(l))
  1474. if m.XXX_unrecognized != nil {
  1475. n += len(m.XXX_unrecognized)
  1476. }
  1477. return n
  1478. }
  1479. func (m *B) Size() (n int) {
  1480. var l int
  1481. _ = l
  1482. l = m.A.Size()
  1483. n += 1 + l + sovExample(uint64(l))
  1484. if len(m.G) > 0 {
  1485. for _, e := range m.G {
  1486. l = e.Size()
  1487. n += 1 + l + sovExample(uint64(l))
  1488. }
  1489. }
  1490. if m.XXX_unrecognized != nil {
  1491. n += len(m.XXX_unrecognized)
  1492. }
  1493. return n
  1494. }
  1495. func (m *C) Size() (n int) {
  1496. var l int
  1497. _ = l
  1498. if m.MySize != nil {
  1499. n += 1 + sovExample(uint64(*m.MySize))
  1500. }
  1501. if m.XXX_unrecognized != nil {
  1502. n += len(m.XXX_unrecognized)
  1503. }
  1504. return n
  1505. }
  1506. func (m *U) Size() (n int) {
  1507. var l int
  1508. _ = l
  1509. if m.A != nil {
  1510. l = m.A.Size()
  1511. n += 1 + l + sovExample(uint64(l))
  1512. }
  1513. if m.B != nil {
  1514. l = m.B.Size()
  1515. n += 1 + l + sovExample(uint64(l))
  1516. }
  1517. if m.XXX_unrecognized != nil {
  1518. n += len(m.XXX_unrecognized)
  1519. }
  1520. return n
  1521. }
  1522. func (m *E) Size() (n int) {
  1523. var l int
  1524. _ = l
  1525. if m.XXX_extensions != nil {
  1526. n += len(m.XXX_extensions)
  1527. }
  1528. if m.XXX_unrecognized != nil {
  1529. n += len(m.XXX_unrecognized)
  1530. }
  1531. return n
  1532. }
  1533. func (m *R) Size() (n int) {
  1534. var l int
  1535. _ = l
  1536. if m.Recognized != nil {
  1537. n += 1 + sovExample(uint64(*m.Recognized))
  1538. }
  1539. return n
  1540. }
  1541. func (m *CastType) Size() (n int) {
  1542. var l int
  1543. _ = l
  1544. if m.Int32 != nil {
  1545. n += 1 + sovExample(uint64(*m.Int32))
  1546. }
  1547. if m.XXX_unrecognized != nil {
  1548. n += len(m.XXX_unrecognized)
  1549. }
  1550. return n
  1551. }
  1552. func sovExample(x uint64) (n int) {
  1553. for {
  1554. n++
  1555. x >>= 7
  1556. if x == 0 {
  1557. break
  1558. }
  1559. }
  1560. return n
  1561. }
  1562. func sozExample(x uint64) (n int) {
  1563. return sovExample(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  1564. }
  1565. func (this *A) String() string {
  1566. if this == nil {
  1567. return "nil"
  1568. }
  1569. s := strings.Join([]string{`&A{`,
  1570. `Description:` + fmt.Sprintf("%v", this.Description) + `,`,
  1571. `Number:` + fmt.Sprintf("%v", this.Number) + `,`,
  1572. `Id:` + fmt.Sprintf("%v", this.Id) + `,`,
  1573. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1574. `}`,
  1575. }, "")
  1576. return s
  1577. }
  1578. func (this *B) String() string {
  1579. if this == nil {
  1580. return "nil"
  1581. }
  1582. s := strings.Join([]string{`&B{`,
  1583. `A:` + strings.Replace(strings.Replace(this.A.String(), "A", "A", 1), `&`, ``, 1) + `,`,
  1584. `G:` + fmt.Sprintf("%v", this.G) + `,`,
  1585. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1586. `}`,
  1587. }, "")
  1588. return s
  1589. }
  1590. func (this *C) String() string {
  1591. if this == nil {
  1592. return "nil"
  1593. }
  1594. s := strings.Join([]string{`&C{`,
  1595. `MySize:` + valueToStringExample(this.MySize) + `,`,
  1596. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1597. `}`,
  1598. }, "")
  1599. return s
  1600. }
  1601. func (this *U) String() string {
  1602. if this == nil {
  1603. return "nil"
  1604. }
  1605. s := strings.Join([]string{`&U{`,
  1606. `A:` + strings.Replace(fmt.Sprintf("%v", this.A), "A", "A", 1) + `,`,
  1607. `B:` + strings.Replace(fmt.Sprintf("%v", this.B), "B", "B", 1) + `,`,
  1608. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1609. `}`,
  1610. }, "")
  1611. return s
  1612. }
  1613. func (this *E) String() string {
  1614. if this == nil {
  1615. return "nil"
  1616. }
  1617. s := strings.Join([]string{`&E{`,
  1618. `XXX_extensions:` + github_com_gogo_protobuf_proto.StringFromExtensionsBytes(this.XXX_extensions) + `,`,
  1619. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1620. `}`,
  1621. }, "")
  1622. return s
  1623. }
  1624. func (this *R) String() string {
  1625. if this == nil {
  1626. return "nil"
  1627. }
  1628. s := strings.Join([]string{`&R{`,
  1629. `Recognized:` + valueToStringExample(this.Recognized) + `,`,
  1630. `}`,
  1631. }, "")
  1632. return s
  1633. }
  1634. func (this *CastType) String() string {
  1635. if this == nil {
  1636. return "nil"
  1637. }
  1638. s := strings.Join([]string{`&CastType{`,
  1639. `Int32:` + valueToStringExample(this.Int32) + `,`,
  1640. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  1641. `}`,
  1642. }, "")
  1643. return s
  1644. }
  1645. func valueToStringExample(v interface{}) string {
  1646. rv := reflect.ValueOf(v)
  1647. if rv.IsNil() {
  1648. return "nil"
  1649. }
  1650. pv := reflect.Indirect(rv).Interface()
  1651. return fmt.Sprintf("*%v", pv)
  1652. }
  1653. func (this *U) GetValue() interface{} {
  1654. if this.A != nil {
  1655. return this.A
  1656. }
  1657. if this.B != nil {
  1658. return this.B
  1659. }
  1660. return nil
  1661. }
  1662. func (this *U) SetValue(value interface{}) bool {
  1663. switch vt := value.(type) {
  1664. case *A:
  1665. this.A = vt
  1666. case *B:
  1667. this.B = vt
  1668. default:
  1669. return false
  1670. }
  1671. return true
  1672. }
  1673. func (m *A) Unmarshal(dAtA []byte) error {
  1674. l := len(dAtA)
  1675. iNdEx := 0
  1676. for iNdEx < l {
  1677. preIndex := iNdEx
  1678. var wire uint64
  1679. for shift := uint(0); ; shift += 7 {
  1680. if shift >= 64 {
  1681. return ErrIntOverflowExample
  1682. }
  1683. if iNdEx >= l {
  1684. return io.ErrUnexpectedEOF
  1685. }
  1686. b := dAtA[iNdEx]
  1687. iNdEx++
  1688. wire |= (uint64(b) & 0x7F) << shift
  1689. if b < 0x80 {
  1690. break
  1691. }
  1692. }
  1693. fieldNum := int32(wire >> 3)
  1694. wireType := int(wire & 0x7)
  1695. if wireType == 4 {
  1696. return fmt.Errorf("proto: A: wiretype end group for non-group")
  1697. }
  1698. if fieldNum <= 0 {
  1699. return fmt.Errorf("proto: A: illegal tag %d (wire type %d)", fieldNum, wire)
  1700. }
  1701. switch fieldNum {
  1702. case 1:
  1703. if wireType != 2 {
  1704. return fmt.Errorf("proto: wrong wireType = %d for field Description", wireType)
  1705. }
  1706. var stringLen uint64
  1707. for shift := uint(0); ; shift += 7 {
  1708. if shift >= 64 {
  1709. return ErrIntOverflowExample
  1710. }
  1711. if iNdEx >= l {
  1712. return io.ErrUnexpectedEOF
  1713. }
  1714. b := dAtA[iNdEx]
  1715. iNdEx++
  1716. stringLen |= (uint64(b) & 0x7F) << shift
  1717. if b < 0x80 {
  1718. break
  1719. }
  1720. }
  1721. intStringLen := int(stringLen)
  1722. if intStringLen < 0 {
  1723. return ErrInvalidLengthExample
  1724. }
  1725. postIndex := iNdEx + intStringLen
  1726. if postIndex > l {
  1727. return io.ErrUnexpectedEOF
  1728. }
  1729. m.Description = string(dAtA[iNdEx:postIndex])
  1730. iNdEx = postIndex
  1731. case 2:
  1732. if wireType != 0 {
  1733. return fmt.Errorf("proto: wrong wireType = %d for field Number", wireType)
  1734. }
  1735. m.Number = 0
  1736. for shift := uint(0); ; shift += 7 {
  1737. if shift >= 64 {
  1738. return ErrIntOverflowExample
  1739. }
  1740. if iNdEx >= l {
  1741. return io.ErrUnexpectedEOF
  1742. }
  1743. b := dAtA[iNdEx]
  1744. iNdEx++
  1745. m.Number |= (int64(b) & 0x7F) << shift
  1746. if b < 0x80 {
  1747. break
  1748. }
  1749. }
  1750. case 3:
  1751. if wireType != 2 {
  1752. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  1753. }
  1754. var byteLen int
  1755. for shift := uint(0); ; shift += 7 {
  1756. if shift >= 64 {
  1757. return ErrIntOverflowExample
  1758. }
  1759. if iNdEx >= l {
  1760. return io.ErrUnexpectedEOF
  1761. }
  1762. b := dAtA[iNdEx]
  1763. iNdEx++
  1764. byteLen |= (int(b) & 0x7F) << shift
  1765. if b < 0x80 {
  1766. break
  1767. }
  1768. }
  1769. if byteLen < 0 {
  1770. return ErrInvalidLengthExample
  1771. }
  1772. postIndex := iNdEx + byteLen
  1773. if postIndex > l {
  1774. return io.ErrUnexpectedEOF
  1775. }
  1776. if err := m.Id.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1777. return err
  1778. }
  1779. iNdEx = postIndex
  1780. default:
  1781. iNdEx = preIndex
  1782. skippy, err := skipExample(dAtA[iNdEx:])
  1783. if err != nil {
  1784. return err
  1785. }
  1786. if skippy < 0 {
  1787. return ErrInvalidLengthExample
  1788. }
  1789. if (iNdEx + skippy) > l {
  1790. return io.ErrUnexpectedEOF
  1791. }
  1792. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1793. iNdEx += skippy
  1794. }
  1795. }
  1796. if iNdEx > l {
  1797. return io.ErrUnexpectedEOF
  1798. }
  1799. return nil
  1800. }
  1801. func (m *B) Unmarshal(dAtA []byte) error {
  1802. l := len(dAtA)
  1803. iNdEx := 0
  1804. for iNdEx < l {
  1805. preIndex := iNdEx
  1806. var wire uint64
  1807. for shift := uint(0); ; shift += 7 {
  1808. if shift >= 64 {
  1809. return ErrIntOverflowExample
  1810. }
  1811. if iNdEx >= l {
  1812. return io.ErrUnexpectedEOF
  1813. }
  1814. b := dAtA[iNdEx]
  1815. iNdEx++
  1816. wire |= (uint64(b) & 0x7F) << shift
  1817. if b < 0x80 {
  1818. break
  1819. }
  1820. }
  1821. fieldNum := int32(wire >> 3)
  1822. wireType := int(wire & 0x7)
  1823. if wireType == 4 {
  1824. return fmt.Errorf("proto: B: wiretype end group for non-group")
  1825. }
  1826. if fieldNum <= 0 {
  1827. return fmt.Errorf("proto: B: illegal tag %d (wire type %d)", fieldNum, wire)
  1828. }
  1829. switch fieldNum {
  1830. case 1:
  1831. if wireType != 2 {
  1832. return fmt.Errorf("proto: wrong wireType = %d for field A", wireType)
  1833. }
  1834. var msglen int
  1835. for shift := uint(0); ; shift += 7 {
  1836. if shift >= 64 {
  1837. return ErrIntOverflowExample
  1838. }
  1839. if iNdEx >= l {
  1840. return io.ErrUnexpectedEOF
  1841. }
  1842. b := dAtA[iNdEx]
  1843. iNdEx++
  1844. msglen |= (int(b) & 0x7F) << shift
  1845. if b < 0x80 {
  1846. break
  1847. }
  1848. }
  1849. if msglen < 0 {
  1850. return ErrInvalidLengthExample
  1851. }
  1852. postIndex := iNdEx + msglen
  1853. if postIndex > l {
  1854. return io.ErrUnexpectedEOF
  1855. }
  1856. if err := m.A.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1857. return err
  1858. }
  1859. iNdEx = postIndex
  1860. case 2:
  1861. if wireType != 2 {
  1862. return fmt.Errorf("proto: wrong wireType = %d for field G", wireType)
  1863. }
  1864. var byteLen int
  1865. for shift := uint(0); ; shift += 7 {
  1866. if shift >= 64 {
  1867. return ErrIntOverflowExample
  1868. }
  1869. if iNdEx >= l {
  1870. return io.ErrUnexpectedEOF
  1871. }
  1872. b := dAtA[iNdEx]
  1873. iNdEx++
  1874. byteLen |= (int(b) & 0x7F) << shift
  1875. if b < 0x80 {
  1876. break
  1877. }
  1878. }
  1879. if byteLen < 0 {
  1880. return ErrInvalidLengthExample
  1881. }
  1882. postIndex := iNdEx + byteLen
  1883. if postIndex > l {
  1884. return io.ErrUnexpectedEOF
  1885. }
  1886. var v github_com_gogo_protobuf_test_custom.Uint128
  1887. m.G = append(m.G, v)
  1888. if err := m.G[len(m.G)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  1889. return err
  1890. }
  1891. iNdEx = postIndex
  1892. default:
  1893. iNdEx = preIndex
  1894. skippy, err := skipExample(dAtA[iNdEx:])
  1895. if err != nil {
  1896. return err
  1897. }
  1898. if skippy < 0 {
  1899. return ErrInvalidLengthExample
  1900. }
  1901. if (iNdEx + skippy) > l {
  1902. return io.ErrUnexpectedEOF
  1903. }
  1904. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1905. iNdEx += skippy
  1906. }
  1907. }
  1908. if iNdEx > l {
  1909. return io.ErrUnexpectedEOF
  1910. }
  1911. return nil
  1912. }
  1913. func (m *C) Unmarshal(dAtA []byte) error {
  1914. l := len(dAtA)
  1915. iNdEx := 0
  1916. for iNdEx < l {
  1917. preIndex := iNdEx
  1918. var wire uint64
  1919. for shift := uint(0); ; shift += 7 {
  1920. if shift >= 64 {
  1921. return ErrIntOverflowExample
  1922. }
  1923. if iNdEx >= l {
  1924. return io.ErrUnexpectedEOF
  1925. }
  1926. b := dAtA[iNdEx]
  1927. iNdEx++
  1928. wire |= (uint64(b) & 0x7F) << shift
  1929. if b < 0x80 {
  1930. break
  1931. }
  1932. }
  1933. fieldNum := int32(wire >> 3)
  1934. wireType := int(wire & 0x7)
  1935. if wireType == 4 {
  1936. return fmt.Errorf("proto: C: wiretype end group for non-group")
  1937. }
  1938. if fieldNum <= 0 {
  1939. return fmt.Errorf("proto: C: illegal tag %d (wire type %d)", fieldNum, wire)
  1940. }
  1941. switch fieldNum {
  1942. case 1:
  1943. if wireType != 0 {
  1944. return fmt.Errorf("proto: wrong wireType = %d for field MySize", wireType)
  1945. }
  1946. var v int64
  1947. for shift := uint(0); ; shift += 7 {
  1948. if shift >= 64 {
  1949. return ErrIntOverflowExample
  1950. }
  1951. if iNdEx >= l {
  1952. return io.ErrUnexpectedEOF
  1953. }
  1954. b := dAtA[iNdEx]
  1955. iNdEx++
  1956. v |= (int64(b) & 0x7F) << shift
  1957. if b < 0x80 {
  1958. break
  1959. }
  1960. }
  1961. m.MySize = &v
  1962. default:
  1963. iNdEx = preIndex
  1964. skippy, err := skipExample(dAtA[iNdEx:])
  1965. if err != nil {
  1966. return err
  1967. }
  1968. if skippy < 0 {
  1969. return ErrInvalidLengthExample
  1970. }
  1971. if (iNdEx + skippy) > l {
  1972. return io.ErrUnexpectedEOF
  1973. }
  1974. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1975. iNdEx += skippy
  1976. }
  1977. }
  1978. if iNdEx > l {
  1979. return io.ErrUnexpectedEOF
  1980. }
  1981. return nil
  1982. }
  1983. func (m *U) Unmarshal(dAtA []byte) error {
  1984. l := len(dAtA)
  1985. iNdEx := 0
  1986. for iNdEx < l {
  1987. preIndex := iNdEx
  1988. var wire uint64
  1989. for shift := uint(0); ; shift += 7 {
  1990. if shift >= 64 {
  1991. return ErrIntOverflowExample
  1992. }
  1993. if iNdEx >= l {
  1994. return io.ErrUnexpectedEOF
  1995. }
  1996. b := dAtA[iNdEx]
  1997. iNdEx++
  1998. wire |= (uint64(b) & 0x7F) << shift
  1999. if b < 0x80 {
  2000. break
  2001. }
  2002. }
  2003. fieldNum := int32(wire >> 3)
  2004. wireType := int(wire & 0x7)
  2005. if wireType == 4 {
  2006. return fmt.Errorf("proto: U: wiretype end group for non-group")
  2007. }
  2008. if fieldNum <= 0 {
  2009. return fmt.Errorf("proto: U: illegal tag %d (wire type %d)", fieldNum, wire)
  2010. }
  2011. switch fieldNum {
  2012. case 1:
  2013. if wireType != 2 {
  2014. return fmt.Errorf("proto: wrong wireType = %d for field A", wireType)
  2015. }
  2016. var msglen int
  2017. for shift := uint(0); ; shift += 7 {
  2018. if shift >= 64 {
  2019. return ErrIntOverflowExample
  2020. }
  2021. if iNdEx >= l {
  2022. return io.ErrUnexpectedEOF
  2023. }
  2024. b := dAtA[iNdEx]
  2025. iNdEx++
  2026. msglen |= (int(b) & 0x7F) << shift
  2027. if b < 0x80 {
  2028. break
  2029. }
  2030. }
  2031. if msglen < 0 {
  2032. return ErrInvalidLengthExample
  2033. }
  2034. postIndex := iNdEx + msglen
  2035. if postIndex > l {
  2036. return io.ErrUnexpectedEOF
  2037. }
  2038. if m.A == nil {
  2039. m.A = &A{}
  2040. }
  2041. if err := m.A.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2042. return err
  2043. }
  2044. iNdEx = postIndex
  2045. case 2:
  2046. if wireType != 2 {
  2047. return fmt.Errorf("proto: wrong wireType = %d for field B", wireType)
  2048. }
  2049. var msglen int
  2050. for shift := uint(0); ; shift += 7 {
  2051. if shift >= 64 {
  2052. return ErrIntOverflowExample
  2053. }
  2054. if iNdEx >= l {
  2055. return io.ErrUnexpectedEOF
  2056. }
  2057. b := dAtA[iNdEx]
  2058. iNdEx++
  2059. msglen |= (int(b) & 0x7F) << shift
  2060. if b < 0x80 {
  2061. break
  2062. }
  2063. }
  2064. if msglen < 0 {
  2065. return ErrInvalidLengthExample
  2066. }
  2067. postIndex := iNdEx + msglen
  2068. if postIndex > l {
  2069. return io.ErrUnexpectedEOF
  2070. }
  2071. if m.B == nil {
  2072. m.B = &B{}
  2073. }
  2074. if err := m.B.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  2075. return err
  2076. }
  2077. iNdEx = postIndex
  2078. default:
  2079. iNdEx = preIndex
  2080. skippy, err := skipExample(dAtA[iNdEx:])
  2081. if err != nil {
  2082. return err
  2083. }
  2084. if skippy < 0 {
  2085. return ErrInvalidLengthExample
  2086. }
  2087. if (iNdEx + skippy) > l {
  2088. return io.ErrUnexpectedEOF
  2089. }
  2090. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2091. iNdEx += skippy
  2092. }
  2093. }
  2094. if iNdEx > l {
  2095. return io.ErrUnexpectedEOF
  2096. }
  2097. return nil
  2098. }
  2099. func (m *E) Unmarshal(dAtA []byte) error {
  2100. l := len(dAtA)
  2101. iNdEx := 0
  2102. for iNdEx < l {
  2103. preIndex := iNdEx
  2104. var wire uint64
  2105. for shift := uint(0); ; shift += 7 {
  2106. if shift >= 64 {
  2107. return ErrIntOverflowExample
  2108. }
  2109. if iNdEx >= l {
  2110. return io.ErrUnexpectedEOF
  2111. }
  2112. b := dAtA[iNdEx]
  2113. iNdEx++
  2114. wire |= (uint64(b) & 0x7F) << shift
  2115. if b < 0x80 {
  2116. break
  2117. }
  2118. }
  2119. fieldNum := int32(wire >> 3)
  2120. wireType := int(wire & 0x7)
  2121. if wireType == 4 {
  2122. return fmt.Errorf("proto: E: wiretype end group for non-group")
  2123. }
  2124. if fieldNum <= 0 {
  2125. return fmt.Errorf("proto: E: illegal tag %d (wire type %d)", fieldNum, wire)
  2126. }
  2127. switch fieldNum {
  2128. default:
  2129. if (fieldNum >= 1) && (fieldNum < 536870912) {
  2130. var sizeOfWire int
  2131. for {
  2132. sizeOfWire++
  2133. wire >>= 7
  2134. if wire == 0 {
  2135. break
  2136. }
  2137. }
  2138. iNdEx -= sizeOfWire
  2139. skippy, err := skipExample(dAtA[iNdEx:])
  2140. if err != nil {
  2141. return err
  2142. }
  2143. if skippy < 0 {
  2144. return ErrInvalidLengthExample
  2145. }
  2146. if (iNdEx + skippy) > l {
  2147. return io.ErrUnexpectedEOF
  2148. }
  2149. github_com_gogo_protobuf_proto.AppendExtension(m, int32(fieldNum), dAtA[iNdEx:iNdEx+skippy])
  2150. iNdEx += skippy
  2151. } else {
  2152. iNdEx = preIndex
  2153. skippy, err := skipExample(dAtA[iNdEx:])
  2154. if err != nil {
  2155. return err
  2156. }
  2157. if skippy < 0 {
  2158. return ErrInvalidLengthExample
  2159. }
  2160. if (iNdEx + skippy) > l {
  2161. return io.ErrUnexpectedEOF
  2162. }
  2163. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2164. iNdEx += skippy
  2165. }
  2166. }
  2167. }
  2168. if iNdEx > l {
  2169. return io.ErrUnexpectedEOF
  2170. }
  2171. return nil
  2172. }
  2173. func (m *R) Unmarshal(dAtA []byte) error {
  2174. l := len(dAtA)
  2175. iNdEx := 0
  2176. for iNdEx < l {
  2177. preIndex := iNdEx
  2178. var wire uint64
  2179. for shift := uint(0); ; shift += 7 {
  2180. if shift >= 64 {
  2181. return ErrIntOverflowExample
  2182. }
  2183. if iNdEx >= l {
  2184. return io.ErrUnexpectedEOF
  2185. }
  2186. b := dAtA[iNdEx]
  2187. iNdEx++
  2188. wire |= (uint64(b) & 0x7F) << shift
  2189. if b < 0x80 {
  2190. break
  2191. }
  2192. }
  2193. fieldNum := int32(wire >> 3)
  2194. wireType := int(wire & 0x7)
  2195. if wireType == 4 {
  2196. return fmt.Errorf("proto: R: wiretype end group for non-group")
  2197. }
  2198. if fieldNum <= 0 {
  2199. return fmt.Errorf("proto: R: illegal tag %d (wire type %d)", fieldNum, wire)
  2200. }
  2201. switch fieldNum {
  2202. case 1:
  2203. if wireType != 0 {
  2204. return fmt.Errorf("proto: wrong wireType = %d for field Recognized", wireType)
  2205. }
  2206. var v uint32
  2207. for shift := uint(0); ; shift += 7 {
  2208. if shift >= 64 {
  2209. return ErrIntOverflowExample
  2210. }
  2211. if iNdEx >= l {
  2212. return io.ErrUnexpectedEOF
  2213. }
  2214. b := dAtA[iNdEx]
  2215. iNdEx++
  2216. v |= (uint32(b) & 0x7F) << shift
  2217. if b < 0x80 {
  2218. break
  2219. }
  2220. }
  2221. m.Recognized = &v
  2222. default:
  2223. iNdEx = preIndex
  2224. skippy, err := skipExample(dAtA[iNdEx:])
  2225. if err != nil {
  2226. return err
  2227. }
  2228. if skippy < 0 {
  2229. return ErrInvalidLengthExample
  2230. }
  2231. if (iNdEx + skippy) > l {
  2232. return io.ErrUnexpectedEOF
  2233. }
  2234. iNdEx += skippy
  2235. }
  2236. }
  2237. if iNdEx > l {
  2238. return io.ErrUnexpectedEOF
  2239. }
  2240. return nil
  2241. }
  2242. func (m *CastType) Unmarshal(dAtA []byte) error {
  2243. l := len(dAtA)
  2244. iNdEx := 0
  2245. for iNdEx < l {
  2246. preIndex := iNdEx
  2247. var wire uint64
  2248. for shift := uint(0); ; shift += 7 {
  2249. if shift >= 64 {
  2250. return ErrIntOverflowExample
  2251. }
  2252. if iNdEx >= l {
  2253. return io.ErrUnexpectedEOF
  2254. }
  2255. b := dAtA[iNdEx]
  2256. iNdEx++
  2257. wire |= (uint64(b) & 0x7F) << shift
  2258. if b < 0x80 {
  2259. break
  2260. }
  2261. }
  2262. fieldNum := int32(wire >> 3)
  2263. wireType := int(wire & 0x7)
  2264. if wireType == 4 {
  2265. return fmt.Errorf("proto: CastType: wiretype end group for non-group")
  2266. }
  2267. if fieldNum <= 0 {
  2268. return fmt.Errorf("proto: CastType: illegal tag %d (wire type %d)", fieldNum, wire)
  2269. }
  2270. switch fieldNum {
  2271. case 1:
  2272. if wireType != 0 {
  2273. return fmt.Errorf("proto: wrong wireType = %d for field Int32", wireType)
  2274. }
  2275. var v int32
  2276. for shift := uint(0); ; shift += 7 {
  2277. if shift >= 64 {
  2278. return ErrIntOverflowExample
  2279. }
  2280. if iNdEx >= l {
  2281. return io.ErrUnexpectedEOF
  2282. }
  2283. b := dAtA[iNdEx]
  2284. iNdEx++
  2285. v |= (int32(b) & 0x7F) << shift
  2286. if b < 0x80 {
  2287. break
  2288. }
  2289. }
  2290. m.Int32 = &v
  2291. default:
  2292. iNdEx = preIndex
  2293. skippy, err := skipExample(dAtA[iNdEx:])
  2294. if err != nil {
  2295. return err
  2296. }
  2297. if skippy < 0 {
  2298. return ErrInvalidLengthExample
  2299. }
  2300. if (iNdEx + skippy) > l {
  2301. return io.ErrUnexpectedEOF
  2302. }
  2303. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  2304. iNdEx += skippy
  2305. }
  2306. }
  2307. if iNdEx > l {
  2308. return io.ErrUnexpectedEOF
  2309. }
  2310. return nil
  2311. }
  2312. func skipExample(dAtA []byte) (n int, err error) {
  2313. l := len(dAtA)
  2314. iNdEx := 0
  2315. for iNdEx < l {
  2316. var wire uint64
  2317. for shift := uint(0); ; shift += 7 {
  2318. if shift >= 64 {
  2319. return 0, ErrIntOverflowExample
  2320. }
  2321. if iNdEx >= l {
  2322. return 0, io.ErrUnexpectedEOF
  2323. }
  2324. b := dAtA[iNdEx]
  2325. iNdEx++
  2326. wire |= (uint64(b) & 0x7F) << shift
  2327. if b < 0x80 {
  2328. break
  2329. }
  2330. }
  2331. wireType := int(wire & 0x7)
  2332. switch wireType {
  2333. case 0:
  2334. for shift := uint(0); ; shift += 7 {
  2335. if shift >= 64 {
  2336. return 0, ErrIntOverflowExample
  2337. }
  2338. if iNdEx >= l {
  2339. return 0, io.ErrUnexpectedEOF
  2340. }
  2341. iNdEx++
  2342. if dAtA[iNdEx-1] < 0x80 {
  2343. break
  2344. }
  2345. }
  2346. return iNdEx, nil
  2347. case 1:
  2348. iNdEx += 8
  2349. return iNdEx, nil
  2350. case 2:
  2351. var length int
  2352. for shift := uint(0); ; shift += 7 {
  2353. if shift >= 64 {
  2354. return 0, ErrIntOverflowExample
  2355. }
  2356. if iNdEx >= l {
  2357. return 0, io.ErrUnexpectedEOF
  2358. }
  2359. b := dAtA[iNdEx]
  2360. iNdEx++
  2361. length |= (int(b) & 0x7F) << shift
  2362. if b < 0x80 {
  2363. break
  2364. }
  2365. }
  2366. iNdEx += length
  2367. if length < 0 {
  2368. return 0, ErrInvalidLengthExample
  2369. }
  2370. return iNdEx, nil
  2371. case 3:
  2372. for {
  2373. var innerWire uint64
  2374. var start int = iNdEx
  2375. for shift := uint(0); ; shift += 7 {
  2376. if shift >= 64 {
  2377. return 0, ErrIntOverflowExample
  2378. }
  2379. if iNdEx >= l {
  2380. return 0, io.ErrUnexpectedEOF
  2381. }
  2382. b := dAtA[iNdEx]
  2383. iNdEx++
  2384. innerWire |= (uint64(b) & 0x7F) << shift
  2385. if b < 0x80 {
  2386. break
  2387. }
  2388. }
  2389. innerWireType := int(innerWire & 0x7)
  2390. if innerWireType == 4 {
  2391. break
  2392. }
  2393. next, err := skipExample(dAtA[start:])
  2394. if err != nil {
  2395. return 0, err
  2396. }
  2397. iNdEx = start + next
  2398. }
  2399. return iNdEx, nil
  2400. case 4:
  2401. return iNdEx, nil
  2402. case 5:
  2403. iNdEx += 4
  2404. return iNdEx, nil
  2405. default:
  2406. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  2407. }
  2408. }
  2409. panic("unreachable")
  2410. }
  2411. var (
  2412. ErrInvalidLengthExample = fmt.Errorf("proto: negative length found during unmarshaling")
  2413. ErrIntOverflowExample = fmt.Errorf("proto: integer overflow")
  2414. )
  2415. func init() { proto.RegisterFile("example.proto", fileDescriptorExample) }
  2416. var fileDescriptorExample = []byte{
  2417. // 425 bytes of a gzipped FileDescriptorProto
  2418. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x7c, 0x90, 0x41, 0x6b, 0x13, 0x41,
  2419. 0x14, 0xc7, 0xf3, 0x36, 0xdb, 0xba, 0x7d, 0x6d, 0x41, 0x46, 0x0a, 0x41, 0x64, 0x26, 0xac, 0x20,
  2420. 0xb1, 0xd6, 0x0d, 0x46, 0x41, 0xd9, 0x5b, 0xa6, 0x4a, 0xc9, 0x41, 0x0f, 0xa3, 0xf9, 0x00, 0x4d,
  2421. 0x32, 0xc6, 0x01, 0xb3, 0x13, 0xb2, 0xb3, 0x60, 0x73, 0xda, 0xa3, 0x37, 0xbf, 0x42, 0xbd, 0xf5,
  2422. 0x23, 0x78, 0xf4, 0x98, 0x63, 0x8e, 0xe2, 0x61, 0x69, 0xe6, 0x13, 0xf4, 0x28, 0x9e, 0x64, 0xa6,
  2423. 0x41, 0x02, 0x62, 0x6f, 0xfb, 0x7e, 0xef, 0xed, 0xff, 0xff, 0x63, 0x70, 0x5f, 0x7e, 0x3a, 0x9d,
  2424. 0x4c, 0x3f, 0xca, 0x64, 0x3a, 0xd3, 0x46, 0x93, 0xd0, 0xc8, 0xdc, 0xdc, 0x7d, 0x3c, 0x56, 0xe6,
  2425. 0x43, 0x31, 0x48, 0x86, 0x7a, 0xd2, 0x1e, 0xeb, 0xb1, 0x6e, 0xfb, 0xe5, 0xa0, 0x78, 0xef, 0x27,
  2426. 0x3f, 0xf8, 0xaf, 0xeb, 0x9f, 0xe2, 0x2f, 0x80, 0xd0, 0x25, 0x0f, 0x70, 0xf7, 0xa5, 0xcc, 0x87,
  2427. 0x33, 0x35, 0x35, 0x4a, 0x67, 0x0d, 0x68, 0x42, 0x6b, 0x87, 0x87, 0x8b, 0x8a, 0xd5, 0xc4, 0xe6,
  2428. 0x82, 0xdc, 0xc3, 0xed, 0x37, 0xc5, 0x64, 0x20, 0x67, 0x8d, 0xa0, 0x09, 0xad, 0xfa, 0xfa, 0x64,
  2429. 0xcd, 0x48, 0x8a, 0x41, 0x6f, 0xd4, 0xa8, 0x37, 0xa1, 0xb5, 0xc7, 0x0f, 0xdd, 0xe6, 0x67, 0xc5,
  2430. 0xe2, 0xff, 0xea, 0x38, 0xdb, 0xa4, 0x5f, 0xa8, 0x91, 0x08, 0x7a, 0xa3, 0x34, 0xfa, 0x7c, 0xce,
  2431. 0x6a, 0x17, 0xe7, 0x0c, 0xe2, 0x0c, 0x81, 0x13, 0x86, 0xd0, 0xf5, 0x1a, 0xbb, 0x9d, 0x5b, 0x89,
  2432. 0xbf, 0xec, 0xf2, 0xc8, 0x45, 0x2e, 0x2b, 0x06, 0x02, 0xba, 0x84, 0x23, 0x9c, 0x34, 0x82, 0x66,
  2433. 0xbd, 0xb5, 0xc7, 0x9f, 0xad, 0xab, 0x8e, 0x6e, 0xac, 0x6a, 0x0f, 0x8b, 0xdc, 0xe8, 0x49, 0xd2,
  2434. 0x57, 0x99, 0x79, 0xd2, 0x79, 0x21, 0xe0, 0x24, 0x0d, 0xaf, 0x5c, 0xdf, 0x7d, 0x84, 0x63, 0x42,
  2435. 0x31, 0xcc, 0xd5, 0x5c, 0xfa, 0xca, 0x3a, 0x47, 0x5b, 0xb1, 0xed, 0xd7, 0x67, 0x6f, 0xd5, 0x5c,
  2436. 0x0a, 0xcf, 0xe3, 0xe7, 0x08, 0x7d, 0x72, 0xf0, 0xaf, 0x94, 0x53, 0x39, 0x40, 0xe0, 0xfe, 0x3d,
  2437. 0xfe, 0x62, 0x2e, 0x80, 0xa7, 0xe1, 0xc2, 0xa5, 0xdf, 0x41, 0x78, 0x75, 0x18, 0x45, 0x70, 0xbb,
  2438. 0x2c, 0xcb, 0x32, 0x48, 0xc3, 0xc5, 0x57, 0x56, 0x8b, 0x1f, 0x22, 0x08, 0x42, 0x11, 0x67, 0x72,
  2439. 0xa8, 0xc7, 0x99, 0x9a, 0xcb, 0x91, 0x8f, 0xdd, 0x17, 0x1b, 0x24, 0x0d, 0x97, 0xee, 0xf4, 0x11,
  2440. 0x46, 0xc7, 0xa7, 0xb9, 0x79, 0x77, 0x36, 0x95, 0x84, 0xe1, 0x56, 0x2f, 0x33, 0x4f, 0x3b, 0x6b,
  2441. 0xcb, 0x9d, 0xdf, 0x15, 0xdb, 0x52, 0x0e, 0x88, 0x6b, 0xce, 0x8f, 0x7e, 0xac, 0x68, 0xed, 0x72,
  2442. 0x45, 0xe1, 0x6a, 0x45, 0xe1, 0xd7, 0x8a, 0x42, 0x69, 0x29, 0x5c, 0x58, 0x0a, 0xdf, 0x2c, 0x85,
  2443. 0xef, 0x96, 0xc2, 0xc2, 0x52, 0x58, 0x5a, 0x0a, 0x97, 0x96, 0xc2, 0x9f, 0x00, 0x00, 0x00, 0xff,
  2444. 0xff, 0x71, 0x9d, 0xd3, 0x01, 0x3f, 0x02, 0x00, 0x00,
  2445. }