api.pb.go 56 KB

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