Captcha.pb.go 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v0/Captcha.proto
  3. package v0
  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 io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type CaptchaCheckReq struct {
  19. // token值
  20. Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token"`
  21. // 输入值
  22. Phrase string `protobuf:"bytes,2,opt,name=phrase,proto3" json:"phrase"`
  23. }
  24. func (m *CaptchaCheckReq) Reset() { *m = CaptchaCheckReq{} }
  25. func (m *CaptchaCheckReq) String() string { return proto.CompactTextString(m) }
  26. func (*CaptchaCheckReq) ProtoMessage() {}
  27. func (*CaptchaCheckReq) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_Captcha_715baa8051ae2c15, []int{0}
  29. }
  30. func (m *CaptchaCheckReq) XXX_Unmarshal(b []byte) error {
  31. return m.Unmarshal(b)
  32. }
  33. func (m *CaptchaCheckReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. if deterministic {
  35. return xxx_messageInfo_CaptchaCheckReq.Marshal(b, m, deterministic)
  36. } else {
  37. b = b[:cap(b)]
  38. n, err := m.MarshalTo(b)
  39. if err != nil {
  40. return nil, err
  41. }
  42. return b[:n], nil
  43. }
  44. }
  45. func (dst *CaptchaCheckReq) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_CaptchaCheckReq.Merge(dst, src)
  47. }
  48. func (m *CaptchaCheckReq) XXX_Size() int {
  49. return m.Size()
  50. }
  51. func (m *CaptchaCheckReq) XXX_DiscardUnknown() {
  52. xxx_messageInfo_CaptchaCheckReq.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_CaptchaCheckReq proto.InternalMessageInfo
  55. func (m *CaptchaCheckReq) GetToken() string {
  56. if m != nil {
  57. return m.Token
  58. }
  59. return ""
  60. }
  61. func (m *CaptchaCheckReq) GetPhrase() string {
  62. if m != nil {
  63. return m.Phrase
  64. }
  65. return ""
  66. }
  67. type CaptchaCheckResp struct {
  68. // code
  69. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  70. // msg
  71. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  72. //
  73. Data map[int64]int64 `protobuf:"bytes,3,rep,name=data" json:"data" protobuf_key:"varint,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
  74. }
  75. func (m *CaptchaCheckResp) Reset() { *m = CaptchaCheckResp{} }
  76. func (m *CaptchaCheckResp) String() string { return proto.CompactTextString(m) }
  77. func (*CaptchaCheckResp) ProtoMessage() {}
  78. func (*CaptchaCheckResp) Descriptor() ([]byte, []int) {
  79. return fileDescriptor_Captcha_715baa8051ae2c15, []int{1}
  80. }
  81. func (m *CaptchaCheckResp) XXX_Unmarshal(b []byte) error {
  82. return m.Unmarshal(b)
  83. }
  84. func (m *CaptchaCheckResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  85. if deterministic {
  86. return xxx_messageInfo_CaptchaCheckResp.Marshal(b, m, deterministic)
  87. } else {
  88. b = b[:cap(b)]
  89. n, err := m.MarshalTo(b)
  90. if err != nil {
  91. return nil, err
  92. }
  93. return b[:n], nil
  94. }
  95. }
  96. func (dst *CaptchaCheckResp) XXX_Merge(src proto.Message) {
  97. xxx_messageInfo_CaptchaCheckResp.Merge(dst, src)
  98. }
  99. func (m *CaptchaCheckResp) XXX_Size() int {
  100. return m.Size()
  101. }
  102. func (m *CaptchaCheckResp) XXX_DiscardUnknown() {
  103. xxx_messageInfo_CaptchaCheckResp.DiscardUnknown(m)
  104. }
  105. var xxx_messageInfo_CaptchaCheckResp proto.InternalMessageInfo
  106. func (m *CaptchaCheckResp) GetCode() int64 {
  107. if m != nil {
  108. return m.Code
  109. }
  110. return 0
  111. }
  112. func (m *CaptchaCheckResp) GetMsg() string {
  113. if m != nil {
  114. return m.Msg
  115. }
  116. return ""
  117. }
  118. func (m *CaptchaCheckResp) GetData() map[int64]int64 {
  119. if m != nil {
  120. return m.Data
  121. }
  122. return nil
  123. }
  124. func init() {
  125. proto.RegisterType((*CaptchaCheckReq)(nil), "captcha.v0.CaptchaCheckReq")
  126. proto.RegisterType((*CaptchaCheckResp)(nil), "captcha.v0.CaptchaCheckResp")
  127. proto.RegisterMapType((map[int64]int64)(nil), "captcha.v0.CaptchaCheckResp.DataEntry")
  128. }
  129. func (m *CaptchaCheckReq) Marshal() (dAtA []byte, err error) {
  130. size := m.Size()
  131. dAtA = make([]byte, size)
  132. n, err := m.MarshalTo(dAtA)
  133. if err != nil {
  134. return nil, err
  135. }
  136. return dAtA[:n], nil
  137. }
  138. func (m *CaptchaCheckReq) MarshalTo(dAtA []byte) (int, error) {
  139. var i int
  140. _ = i
  141. var l int
  142. _ = l
  143. if len(m.Token) > 0 {
  144. dAtA[i] = 0xa
  145. i++
  146. i = encodeVarintCaptcha(dAtA, i, uint64(len(m.Token)))
  147. i += copy(dAtA[i:], m.Token)
  148. }
  149. if len(m.Phrase) > 0 {
  150. dAtA[i] = 0x12
  151. i++
  152. i = encodeVarintCaptcha(dAtA, i, uint64(len(m.Phrase)))
  153. i += copy(dAtA[i:], m.Phrase)
  154. }
  155. return i, nil
  156. }
  157. func (m *CaptchaCheckResp) Marshal() (dAtA []byte, err error) {
  158. size := m.Size()
  159. dAtA = make([]byte, size)
  160. n, err := m.MarshalTo(dAtA)
  161. if err != nil {
  162. return nil, err
  163. }
  164. return dAtA[:n], nil
  165. }
  166. func (m *CaptchaCheckResp) MarshalTo(dAtA []byte) (int, error) {
  167. var i int
  168. _ = i
  169. var l int
  170. _ = l
  171. if m.Code != 0 {
  172. dAtA[i] = 0x8
  173. i++
  174. i = encodeVarintCaptcha(dAtA, i, uint64(m.Code))
  175. }
  176. if len(m.Msg) > 0 {
  177. dAtA[i] = 0x12
  178. i++
  179. i = encodeVarintCaptcha(dAtA, i, uint64(len(m.Msg)))
  180. i += copy(dAtA[i:], m.Msg)
  181. }
  182. if len(m.Data) > 0 {
  183. for k, _ := range m.Data {
  184. dAtA[i] = 0x1a
  185. i++
  186. v := m.Data[k]
  187. mapSize := 1 + sovCaptcha(uint64(k)) + 1 + sovCaptcha(uint64(v))
  188. i = encodeVarintCaptcha(dAtA, i, uint64(mapSize))
  189. dAtA[i] = 0x8
  190. i++
  191. i = encodeVarintCaptcha(dAtA, i, uint64(k))
  192. dAtA[i] = 0x10
  193. i++
  194. i = encodeVarintCaptcha(dAtA, i, uint64(v))
  195. }
  196. }
  197. return i, nil
  198. }
  199. func encodeVarintCaptcha(dAtA []byte, offset int, v uint64) int {
  200. for v >= 1<<7 {
  201. dAtA[offset] = uint8(v&0x7f | 0x80)
  202. v >>= 7
  203. offset++
  204. }
  205. dAtA[offset] = uint8(v)
  206. return offset + 1
  207. }
  208. func (m *CaptchaCheckReq) Size() (n int) {
  209. if m == nil {
  210. return 0
  211. }
  212. var l int
  213. _ = l
  214. l = len(m.Token)
  215. if l > 0 {
  216. n += 1 + l + sovCaptcha(uint64(l))
  217. }
  218. l = len(m.Phrase)
  219. if l > 0 {
  220. n += 1 + l + sovCaptcha(uint64(l))
  221. }
  222. return n
  223. }
  224. func (m *CaptchaCheckResp) Size() (n int) {
  225. if m == nil {
  226. return 0
  227. }
  228. var l int
  229. _ = l
  230. if m.Code != 0 {
  231. n += 1 + sovCaptcha(uint64(m.Code))
  232. }
  233. l = len(m.Msg)
  234. if l > 0 {
  235. n += 1 + l + sovCaptcha(uint64(l))
  236. }
  237. if len(m.Data) > 0 {
  238. for k, v := range m.Data {
  239. _ = k
  240. _ = v
  241. mapEntrySize := 1 + sovCaptcha(uint64(k)) + 1 + sovCaptcha(uint64(v))
  242. n += mapEntrySize + 1 + sovCaptcha(uint64(mapEntrySize))
  243. }
  244. }
  245. return n
  246. }
  247. func sovCaptcha(x uint64) (n int) {
  248. for {
  249. n++
  250. x >>= 7
  251. if x == 0 {
  252. break
  253. }
  254. }
  255. return n
  256. }
  257. func sozCaptcha(x uint64) (n int) {
  258. return sovCaptcha(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  259. }
  260. func (m *CaptchaCheckReq) Unmarshal(dAtA []byte) error {
  261. l := len(dAtA)
  262. iNdEx := 0
  263. for iNdEx < l {
  264. preIndex := iNdEx
  265. var wire uint64
  266. for shift := uint(0); ; shift += 7 {
  267. if shift >= 64 {
  268. return ErrIntOverflowCaptcha
  269. }
  270. if iNdEx >= l {
  271. return io.ErrUnexpectedEOF
  272. }
  273. b := dAtA[iNdEx]
  274. iNdEx++
  275. wire |= (uint64(b) & 0x7F) << shift
  276. if b < 0x80 {
  277. break
  278. }
  279. }
  280. fieldNum := int32(wire >> 3)
  281. wireType := int(wire & 0x7)
  282. if wireType == 4 {
  283. return fmt.Errorf("proto: CaptchaCheckReq: wiretype end group for non-group")
  284. }
  285. if fieldNum <= 0 {
  286. return fmt.Errorf("proto: CaptchaCheckReq: illegal tag %d (wire type %d)", fieldNum, wire)
  287. }
  288. switch fieldNum {
  289. case 1:
  290. if wireType != 2 {
  291. return fmt.Errorf("proto: wrong wireType = %d for field Token", wireType)
  292. }
  293. var stringLen uint64
  294. for shift := uint(0); ; shift += 7 {
  295. if shift >= 64 {
  296. return ErrIntOverflowCaptcha
  297. }
  298. if iNdEx >= l {
  299. return io.ErrUnexpectedEOF
  300. }
  301. b := dAtA[iNdEx]
  302. iNdEx++
  303. stringLen |= (uint64(b) & 0x7F) << shift
  304. if b < 0x80 {
  305. break
  306. }
  307. }
  308. intStringLen := int(stringLen)
  309. if intStringLen < 0 {
  310. return ErrInvalidLengthCaptcha
  311. }
  312. postIndex := iNdEx + intStringLen
  313. if postIndex > l {
  314. return io.ErrUnexpectedEOF
  315. }
  316. m.Token = string(dAtA[iNdEx:postIndex])
  317. iNdEx = postIndex
  318. case 2:
  319. if wireType != 2 {
  320. return fmt.Errorf("proto: wrong wireType = %d for field Phrase", wireType)
  321. }
  322. var stringLen uint64
  323. for shift := uint(0); ; shift += 7 {
  324. if shift >= 64 {
  325. return ErrIntOverflowCaptcha
  326. }
  327. if iNdEx >= l {
  328. return io.ErrUnexpectedEOF
  329. }
  330. b := dAtA[iNdEx]
  331. iNdEx++
  332. stringLen |= (uint64(b) & 0x7F) << shift
  333. if b < 0x80 {
  334. break
  335. }
  336. }
  337. intStringLen := int(stringLen)
  338. if intStringLen < 0 {
  339. return ErrInvalidLengthCaptcha
  340. }
  341. postIndex := iNdEx + intStringLen
  342. if postIndex > l {
  343. return io.ErrUnexpectedEOF
  344. }
  345. m.Phrase = string(dAtA[iNdEx:postIndex])
  346. iNdEx = postIndex
  347. default:
  348. iNdEx = preIndex
  349. skippy, err := skipCaptcha(dAtA[iNdEx:])
  350. if err != nil {
  351. return err
  352. }
  353. if skippy < 0 {
  354. return ErrInvalidLengthCaptcha
  355. }
  356. if (iNdEx + skippy) > l {
  357. return io.ErrUnexpectedEOF
  358. }
  359. iNdEx += skippy
  360. }
  361. }
  362. if iNdEx > l {
  363. return io.ErrUnexpectedEOF
  364. }
  365. return nil
  366. }
  367. func (m *CaptchaCheckResp) Unmarshal(dAtA []byte) error {
  368. l := len(dAtA)
  369. iNdEx := 0
  370. for iNdEx < l {
  371. preIndex := iNdEx
  372. var wire uint64
  373. for shift := uint(0); ; shift += 7 {
  374. if shift >= 64 {
  375. return ErrIntOverflowCaptcha
  376. }
  377. if iNdEx >= l {
  378. return io.ErrUnexpectedEOF
  379. }
  380. b := dAtA[iNdEx]
  381. iNdEx++
  382. wire |= (uint64(b) & 0x7F) << shift
  383. if b < 0x80 {
  384. break
  385. }
  386. }
  387. fieldNum := int32(wire >> 3)
  388. wireType := int(wire & 0x7)
  389. if wireType == 4 {
  390. return fmt.Errorf("proto: CaptchaCheckResp: wiretype end group for non-group")
  391. }
  392. if fieldNum <= 0 {
  393. return fmt.Errorf("proto: CaptchaCheckResp: illegal tag %d (wire type %d)", fieldNum, wire)
  394. }
  395. switch fieldNum {
  396. case 1:
  397. if wireType != 0 {
  398. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  399. }
  400. m.Code = 0
  401. for shift := uint(0); ; shift += 7 {
  402. if shift >= 64 {
  403. return ErrIntOverflowCaptcha
  404. }
  405. if iNdEx >= l {
  406. return io.ErrUnexpectedEOF
  407. }
  408. b := dAtA[iNdEx]
  409. iNdEx++
  410. m.Code |= (int64(b) & 0x7F) << shift
  411. if b < 0x80 {
  412. break
  413. }
  414. }
  415. case 2:
  416. if wireType != 2 {
  417. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  418. }
  419. var stringLen uint64
  420. for shift := uint(0); ; shift += 7 {
  421. if shift >= 64 {
  422. return ErrIntOverflowCaptcha
  423. }
  424. if iNdEx >= l {
  425. return io.ErrUnexpectedEOF
  426. }
  427. b := dAtA[iNdEx]
  428. iNdEx++
  429. stringLen |= (uint64(b) & 0x7F) << shift
  430. if b < 0x80 {
  431. break
  432. }
  433. }
  434. intStringLen := int(stringLen)
  435. if intStringLen < 0 {
  436. return ErrInvalidLengthCaptcha
  437. }
  438. postIndex := iNdEx + intStringLen
  439. if postIndex > l {
  440. return io.ErrUnexpectedEOF
  441. }
  442. m.Msg = string(dAtA[iNdEx:postIndex])
  443. iNdEx = postIndex
  444. case 3:
  445. if wireType != 2 {
  446. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  447. }
  448. var msglen int
  449. for shift := uint(0); ; shift += 7 {
  450. if shift >= 64 {
  451. return ErrIntOverflowCaptcha
  452. }
  453. if iNdEx >= l {
  454. return io.ErrUnexpectedEOF
  455. }
  456. b := dAtA[iNdEx]
  457. iNdEx++
  458. msglen |= (int(b) & 0x7F) << shift
  459. if b < 0x80 {
  460. break
  461. }
  462. }
  463. if msglen < 0 {
  464. return ErrInvalidLengthCaptcha
  465. }
  466. postIndex := iNdEx + msglen
  467. if postIndex > l {
  468. return io.ErrUnexpectedEOF
  469. }
  470. if m.Data == nil {
  471. m.Data = make(map[int64]int64)
  472. }
  473. var mapkey int64
  474. var mapvalue int64
  475. for iNdEx < postIndex {
  476. entryPreIndex := iNdEx
  477. var wire uint64
  478. for shift := uint(0); ; shift += 7 {
  479. if shift >= 64 {
  480. return ErrIntOverflowCaptcha
  481. }
  482. if iNdEx >= l {
  483. return io.ErrUnexpectedEOF
  484. }
  485. b := dAtA[iNdEx]
  486. iNdEx++
  487. wire |= (uint64(b) & 0x7F) << shift
  488. if b < 0x80 {
  489. break
  490. }
  491. }
  492. fieldNum := int32(wire >> 3)
  493. if fieldNum == 1 {
  494. for shift := uint(0); ; shift += 7 {
  495. if shift >= 64 {
  496. return ErrIntOverflowCaptcha
  497. }
  498. if iNdEx >= l {
  499. return io.ErrUnexpectedEOF
  500. }
  501. b := dAtA[iNdEx]
  502. iNdEx++
  503. mapkey |= (int64(b) & 0x7F) << shift
  504. if b < 0x80 {
  505. break
  506. }
  507. }
  508. } else if fieldNum == 2 {
  509. for shift := uint(0); ; shift += 7 {
  510. if shift >= 64 {
  511. return ErrIntOverflowCaptcha
  512. }
  513. if iNdEx >= l {
  514. return io.ErrUnexpectedEOF
  515. }
  516. b := dAtA[iNdEx]
  517. iNdEx++
  518. mapvalue |= (int64(b) & 0x7F) << shift
  519. if b < 0x80 {
  520. break
  521. }
  522. }
  523. } else {
  524. iNdEx = entryPreIndex
  525. skippy, err := skipCaptcha(dAtA[iNdEx:])
  526. if err != nil {
  527. return err
  528. }
  529. if skippy < 0 {
  530. return ErrInvalidLengthCaptcha
  531. }
  532. if (iNdEx + skippy) > postIndex {
  533. return io.ErrUnexpectedEOF
  534. }
  535. iNdEx += skippy
  536. }
  537. }
  538. m.Data[mapkey] = mapvalue
  539. iNdEx = postIndex
  540. default:
  541. iNdEx = preIndex
  542. skippy, err := skipCaptcha(dAtA[iNdEx:])
  543. if err != nil {
  544. return err
  545. }
  546. if skippy < 0 {
  547. return ErrInvalidLengthCaptcha
  548. }
  549. if (iNdEx + skippy) > l {
  550. return io.ErrUnexpectedEOF
  551. }
  552. iNdEx += skippy
  553. }
  554. }
  555. if iNdEx > l {
  556. return io.ErrUnexpectedEOF
  557. }
  558. return nil
  559. }
  560. func skipCaptcha(dAtA []byte) (n int, err error) {
  561. l := len(dAtA)
  562. iNdEx := 0
  563. for iNdEx < l {
  564. var wire uint64
  565. for shift := uint(0); ; shift += 7 {
  566. if shift >= 64 {
  567. return 0, ErrIntOverflowCaptcha
  568. }
  569. if iNdEx >= l {
  570. return 0, io.ErrUnexpectedEOF
  571. }
  572. b := dAtA[iNdEx]
  573. iNdEx++
  574. wire |= (uint64(b) & 0x7F) << shift
  575. if b < 0x80 {
  576. break
  577. }
  578. }
  579. wireType := int(wire & 0x7)
  580. switch wireType {
  581. case 0:
  582. for shift := uint(0); ; shift += 7 {
  583. if shift >= 64 {
  584. return 0, ErrIntOverflowCaptcha
  585. }
  586. if iNdEx >= l {
  587. return 0, io.ErrUnexpectedEOF
  588. }
  589. iNdEx++
  590. if dAtA[iNdEx-1] < 0x80 {
  591. break
  592. }
  593. }
  594. return iNdEx, nil
  595. case 1:
  596. iNdEx += 8
  597. return iNdEx, nil
  598. case 2:
  599. var length int
  600. for shift := uint(0); ; shift += 7 {
  601. if shift >= 64 {
  602. return 0, ErrIntOverflowCaptcha
  603. }
  604. if iNdEx >= l {
  605. return 0, io.ErrUnexpectedEOF
  606. }
  607. b := dAtA[iNdEx]
  608. iNdEx++
  609. length |= (int(b) & 0x7F) << shift
  610. if b < 0x80 {
  611. break
  612. }
  613. }
  614. iNdEx += length
  615. if length < 0 {
  616. return 0, ErrInvalidLengthCaptcha
  617. }
  618. return iNdEx, nil
  619. case 3:
  620. for {
  621. var innerWire uint64
  622. var start int = iNdEx
  623. for shift := uint(0); ; shift += 7 {
  624. if shift >= 64 {
  625. return 0, ErrIntOverflowCaptcha
  626. }
  627. if iNdEx >= l {
  628. return 0, io.ErrUnexpectedEOF
  629. }
  630. b := dAtA[iNdEx]
  631. iNdEx++
  632. innerWire |= (uint64(b) & 0x7F) << shift
  633. if b < 0x80 {
  634. break
  635. }
  636. }
  637. innerWireType := int(innerWire & 0x7)
  638. if innerWireType == 4 {
  639. break
  640. }
  641. next, err := skipCaptcha(dAtA[start:])
  642. if err != nil {
  643. return 0, err
  644. }
  645. iNdEx = start + next
  646. }
  647. return iNdEx, nil
  648. case 4:
  649. return iNdEx, nil
  650. case 5:
  651. iNdEx += 4
  652. return iNdEx, nil
  653. default:
  654. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  655. }
  656. }
  657. panic("unreachable")
  658. }
  659. var (
  660. ErrInvalidLengthCaptcha = fmt.Errorf("proto: negative length found during unmarshaling")
  661. ErrIntOverflowCaptcha = fmt.Errorf("proto: integer overflow")
  662. )
  663. func init() { proto.RegisterFile("v0/Captcha.proto", fileDescriptor_Captcha_715baa8051ae2c15) }
  664. var fileDescriptor_Captcha_715baa8051ae2c15 = []byte{
  665. // 323 bytes of a gzipped FileDescriptorProto
  666. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x3f, 0x4f, 0x3a, 0x41,
  667. 0x10, 0x65, 0x59, 0xfe, 0xfc, 0x98, 0x5f, 0x21, 0xd9, 0x58, 0x20, 0x92, 0x3d, 0x42, 0x61, 0x68,
  668. 0x3c, 0x08, 0x16, 0x1a, 0xcb, 0x03, 0x4b, 0x9b, 0x2d, 0x2c, 0xec, 0x96, 0x65, 0xbd, 0x33, 0x08,
  669. 0x7b, 0xc0, 0x72, 0x09, 0xdf, 0xc2, 0x8f, 0x65, 0xac, 0x28, 0xad, 0x2e, 0x86, 0xeb, 0xee, 0x53,
  670. 0x98, 0xdb, 0xdd, 0x68, 0x34, 0xd1, 0x66, 0x66, 0xde, 0xec, 0xcc, 0x7b, 0x6f, 0xb2, 0xd0, 0x4c,
  671. 0x86, 0x83, 0x31, 0x8f, 0xb5, 0x88, 0xb8, 0x1f, 0xaf, 0x95, 0x56, 0x04, 0x84, 0x83, 0xc9, 0xb0,
  672. 0x7d, 0x1e, 0x3e, 0xea, 0x68, 0x3b, 0xf5, 0x85, 0x5a, 0x0c, 0x42, 0x15, 0xaa, 0x81, 0x19, 0x99,
  673. 0x6e, 0x1f, 0x0c, 0x32, 0xc0, 0x54, 0x76, 0xb5, 0x77, 0x07, 0x47, 0x8e, 0x6b, 0x1c, 0x49, 0x31,
  674. 0x67, 0x72, 0x45, 0x3c, 0xa8, 0x6a, 0x35, 0x97, 0xcb, 0x16, 0xea, 0xa2, 0x7e, 0x23, 0x68, 0xe4,
  675. 0xa9, 0x67, 0x1b, 0xcc, 0x26, 0xd2, 0x83, 0x5a, 0x1c, 0xad, 0xf9, 0x46, 0xb6, 0xca, 0x66, 0x02,
  676. 0xf2, 0xd4, 0x73, 0x1d, 0xe6, 0x72, 0xef, 0x15, 0x41, 0xf3, 0x3b, 0xf1, 0x26, 0x26, 0x1d, 0xa8,
  677. 0x08, 0x35, 0x93, 0x86, 0x18, 0x07, 0xff, 0xf2, 0xd4, 0x33, 0x98, 0x99, 0x48, 0x4e, 0x00, 0x2f,
  678. 0x36, 0xa1, 0xe3, 0xac, 0xe7, 0xa9, 0x57, 0x40, 0x56, 0x04, 0x32, 0x81, 0xca, 0x8c, 0x6b, 0xde,
  679. 0xc2, 0x5d, 0xdc, 0xff, 0x3f, 0x3a, 0xf3, 0xbf, 0xee, 0xf5, 0x7f, 0x8a, 0xf8, 0x13, 0xae, 0xf9,
  680. 0xcd, 0x52, 0xaf, 0x77, 0x56, 0xa0, 0xd8, 0x63, 0x26, 0xb6, 0x2f, 0xa1, 0xf1, 0xf9, 0x48, 0x9a,
  681. 0x80, 0xe7, 0x72, 0x67, 0xad, 0xb0, 0xa2, 0x24, 0xc7, 0x50, 0x4d, 0xf8, 0xd3, 0xd6, 0x5e, 0x85,
  682. 0x99, 0x05, 0xd7, 0xe5, 0x2b, 0x34, 0xba, 0x85, 0xba, 0x93, 0x21, 0x01, 0x54, 0x45, 0x21, 0x45,
  683. 0x4e, 0x7f, 0x37, 0xb1, 0x6a, 0x77, 0xfe, 0x72, 0x18, 0x74, 0x5e, 0x0e, 0x14, 0xed, 0x0f, 0x14,
  684. 0xbd, 0x1f, 0x28, 0x7a, 0xce, 0x68, 0x69, 0x9f, 0xd1, 0xd2, 0x5b, 0x46, 0x4b, 0xf7, 0xe5, 0x64,
  685. 0x38, 0xad, 0x99, 0x8f, 0xb9, 0xf8, 0x08, 0x00, 0x00, 0xff, 0xff, 0xa1, 0x9e, 0xe4, 0x4c, 0xe7,
  686. 0x01, 0x00, 0x00,
  687. }