member.pb.go 52 KB

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