PayLive.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: v1/PayLive.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 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 PayLiveLiveValidateReq struct {
  19. // 房间id
  20. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  21. // 来源:pc:表示PC端;pc_link:表示PC直播姬;ios:表示ios端;ios_link:表示ios_link端;android:安卓端;android_link:安卓link端;ipad:ipad;android_pad:安卓pad端;live_mng:表示live后台;vc_mng:表示vc后台;"
  22. Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform"`
  23. }
  24. func (m *PayLiveLiveValidateReq) Reset() { *m = PayLiveLiveValidateReq{} }
  25. func (m *PayLiveLiveValidateReq) String() string { return proto.CompactTextString(m) }
  26. func (*PayLiveLiveValidateReq) ProtoMessage() {}
  27. func (*PayLiveLiveValidateReq) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_PayLive_366356d2c332491f, []int{0}
  29. }
  30. func (m *PayLiveLiveValidateReq) XXX_Unmarshal(b []byte) error {
  31. return m.Unmarshal(b)
  32. }
  33. func (m *PayLiveLiveValidateReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. if deterministic {
  35. return xxx_messageInfo_PayLiveLiveValidateReq.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 *PayLiveLiveValidateReq) XXX_Merge(src proto.Message) {
  46. xxx_messageInfo_PayLiveLiveValidateReq.Merge(dst, src)
  47. }
  48. func (m *PayLiveLiveValidateReq) XXX_Size() int {
  49. return m.Size()
  50. }
  51. func (m *PayLiveLiveValidateReq) XXX_DiscardUnknown() {
  52. xxx_messageInfo_PayLiveLiveValidateReq.DiscardUnknown(m)
  53. }
  54. var xxx_messageInfo_PayLiveLiveValidateReq proto.InternalMessageInfo
  55. func (m *PayLiveLiveValidateReq) GetRoomId() int64 {
  56. if m != nil {
  57. return m.RoomId
  58. }
  59. return 0
  60. }
  61. func (m *PayLiveLiveValidateReq) GetPlatform() string {
  62. if m != nil {
  63. return m.Platform
  64. }
  65. return ""
  66. }
  67. type PayLiveLiveValidateResp struct {
  68. //
  69. Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
  70. //
  71. Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"`
  72. //
  73. Data *PayLiveLiveValidateResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"`
  74. }
  75. func (m *PayLiveLiveValidateResp) Reset() { *m = PayLiveLiveValidateResp{} }
  76. func (m *PayLiveLiveValidateResp) String() string { return proto.CompactTextString(m) }
  77. func (*PayLiveLiveValidateResp) ProtoMessage() {}
  78. func (*PayLiveLiveValidateResp) Descriptor() ([]byte, []int) {
  79. return fileDescriptor_PayLive_366356d2c332491f, []int{1}
  80. }
  81. func (m *PayLiveLiveValidateResp) XXX_Unmarshal(b []byte) error {
  82. return m.Unmarshal(b)
  83. }
  84. func (m *PayLiveLiveValidateResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  85. if deterministic {
  86. return xxx_messageInfo_PayLiveLiveValidateResp.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 *PayLiveLiveValidateResp) XXX_Merge(src proto.Message) {
  97. xxx_messageInfo_PayLiveLiveValidateResp.Merge(dst, src)
  98. }
  99. func (m *PayLiveLiveValidateResp) XXX_Size() int {
  100. return m.Size()
  101. }
  102. func (m *PayLiveLiveValidateResp) XXX_DiscardUnknown() {
  103. xxx_messageInfo_PayLiveLiveValidateResp.DiscardUnknown(m)
  104. }
  105. var xxx_messageInfo_PayLiveLiveValidateResp proto.InternalMessageInfo
  106. func (m *PayLiveLiveValidateResp) GetCode() int64 {
  107. if m != nil {
  108. return m.Code
  109. }
  110. return 0
  111. }
  112. func (m *PayLiveLiveValidateResp) GetMsg() string {
  113. if m != nil {
  114. return m.Msg
  115. }
  116. return ""
  117. }
  118. func (m *PayLiveLiveValidateResp) GetData() *PayLiveLiveValidateResp_Data {
  119. if m != nil {
  120. return m.Data
  121. }
  122. return nil
  123. }
  124. type PayLiveLiveValidateResp_Data struct {
  125. // 1 允许 ; 0 不允许
  126. Permission int64 `protobuf:"varint,1,opt,name=permission,proto3" json:"permission"`
  127. }
  128. func (m *PayLiveLiveValidateResp_Data) Reset() { *m = PayLiveLiveValidateResp_Data{} }
  129. func (m *PayLiveLiveValidateResp_Data) String() string { return proto.CompactTextString(m) }
  130. func (*PayLiveLiveValidateResp_Data) ProtoMessage() {}
  131. func (*PayLiveLiveValidateResp_Data) Descriptor() ([]byte, []int) {
  132. return fileDescriptor_PayLive_366356d2c332491f, []int{1, 0}
  133. }
  134. func (m *PayLiveLiveValidateResp_Data) XXX_Unmarshal(b []byte) error {
  135. return m.Unmarshal(b)
  136. }
  137. func (m *PayLiveLiveValidateResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  138. if deterministic {
  139. return xxx_messageInfo_PayLiveLiveValidateResp_Data.Marshal(b, m, deterministic)
  140. } else {
  141. b = b[:cap(b)]
  142. n, err := m.MarshalTo(b)
  143. if err != nil {
  144. return nil, err
  145. }
  146. return b[:n], nil
  147. }
  148. }
  149. func (dst *PayLiveLiveValidateResp_Data) XXX_Merge(src proto.Message) {
  150. xxx_messageInfo_PayLiveLiveValidateResp_Data.Merge(dst, src)
  151. }
  152. func (m *PayLiveLiveValidateResp_Data) XXX_Size() int {
  153. return m.Size()
  154. }
  155. func (m *PayLiveLiveValidateResp_Data) XXX_DiscardUnknown() {
  156. xxx_messageInfo_PayLiveLiveValidateResp_Data.DiscardUnknown(m)
  157. }
  158. var xxx_messageInfo_PayLiveLiveValidateResp_Data proto.InternalMessageInfo
  159. func (m *PayLiveLiveValidateResp_Data) GetPermission() int64 {
  160. if m != nil {
  161. return m.Permission
  162. }
  163. return 0
  164. }
  165. func init() {
  166. proto.RegisterType((*PayLiveLiveValidateReq)(nil), "av.v1.PayLiveLiveValidateReq")
  167. proto.RegisterType((*PayLiveLiveValidateResp)(nil), "av.v1.PayLiveLiveValidateResp")
  168. proto.RegisterType((*PayLiveLiveValidateResp_Data)(nil), "av.v1.PayLiveLiveValidateResp.Data")
  169. }
  170. func (m *PayLiveLiveValidateReq) Marshal() (dAtA []byte, err error) {
  171. size := m.Size()
  172. dAtA = make([]byte, size)
  173. n, err := m.MarshalTo(dAtA)
  174. if err != nil {
  175. return nil, err
  176. }
  177. return dAtA[:n], nil
  178. }
  179. func (m *PayLiveLiveValidateReq) MarshalTo(dAtA []byte) (int, error) {
  180. var i int
  181. _ = i
  182. var l int
  183. _ = l
  184. if m.RoomId != 0 {
  185. dAtA[i] = 0x8
  186. i++
  187. i = encodeVarintPayLive(dAtA, i, uint64(m.RoomId))
  188. }
  189. if len(m.Platform) > 0 {
  190. dAtA[i] = 0x12
  191. i++
  192. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Platform)))
  193. i += copy(dAtA[i:], m.Platform)
  194. }
  195. return i, nil
  196. }
  197. func (m *PayLiveLiveValidateResp) Marshal() (dAtA []byte, err error) {
  198. size := m.Size()
  199. dAtA = make([]byte, size)
  200. n, err := m.MarshalTo(dAtA)
  201. if err != nil {
  202. return nil, err
  203. }
  204. return dAtA[:n], nil
  205. }
  206. func (m *PayLiveLiveValidateResp) MarshalTo(dAtA []byte) (int, error) {
  207. var i int
  208. _ = i
  209. var l int
  210. _ = l
  211. if m.Code != 0 {
  212. dAtA[i] = 0x8
  213. i++
  214. i = encodeVarintPayLive(dAtA, i, uint64(m.Code))
  215. }
  216. if len(m.Msg) > 0 {
  217. dAtA[i] = 0x12
  218. i++
  219. i = encodeVarintPayLive(dAtA, i, uint64(len(m.Msg)))
  220. i += copy(dAtA[i:], m.Msg)
  221. }
  222. if m.Data != nil {
  223. dAtA[i] = 0x1a
  224. i++
  225. i = encodeVarintPayLive(dAtA, i, uint64(m.Data.Size()))
  226. n1, err := m.Data.MarshalTo(dAtA[i:])
  227. if err != nil {
  228. return 0, err
  229. }
  230. i += n1
  231. }
  232. return i, nil
  233. }
  234. func (m *PayLiveLiveValidateResp_Data) Marshal() (dAtA []byte, err error) {
  235. size := m.Size()
  236. dAtA = make([]byte, size)
  237. n, err := m.MarshalTo(dAtA)
  238. if err != nil {
  239. return nil, err
  240. }
  241. return dAtA[:n], nil
  242. }
  243. func (m *PayLiveLiveValidateResp_Data) MarshalTo(dAtA []byte) (int, error) {
  244. var i int
  245. _ = i
  246. var l int
  247. _ = l
  248. if m.Permission != 0 {
  249. dAtA[i] = 0x8
  250. i++
  251. i = encodeVarintPayLive(dAtA, i, uint64(m.Permission))
  252. }
  253. return i, nil
  254. }
  255. func encodeVarintPayLive(dAtA []byte, offset int, v uint64) int {
  256. for v >= 1<<7 {
  257. dAtA[offset] = uint8(v&0x7f | 0x80)
  258. v >>= 7
  259. offset++
  260. }
  261. dAtA[offset] = uint8(v)
  262. return offset + 1
  263. }
  264. func (m *PayLiveLiveValidateReq) Size() (n int) {
  265. if m == nil {
  266. return 0
  267. }
  268. var l int
  269. _ = l
  270. if m.RoomId != 0 {
  271. n += 1 + sovPayLive(uint64(m.RoomId))
  272. }
  273. l = len(m.Platform)
  274. if l > 0 {
  275. n += 1 + l + sovPayLive(uint64(l))
  276. }
  277. return n
  278. }
  279. func (m *PayLiveLiveValidateResp) Size() (n int) {
  280. if m == nil {
  281. return 0
  282. }
  283. var l int
  284. _ = l
  285. if m.Code != 0 {
  286. n += 1 + sovPayLive(uint64(m.Code))
  287. }
  288. l = len(m.Msg)
  289. if l > 0 {
  290. n += 1 + l + sovPayLive(uint64(l))
  291. }
  292. if m.Data != nil {
  293. l = m.Data.Size()
  294. n += 1 + l + sovPayLive(uint64(l))
  295. }
  296. return n
  297. }
  298. func (m *PayLiveLiveValidateResp_Data) Size() (n int) {
  299. if m == nil {
  300. return 0
  301. }
  302. var l int
  303. _ = l
  304. if m.Permission != 0 {
  305. n += 1 + sovPayLive(uint64(m.Permission))
  306. }
  307. return n
  308. }
  309. func sovPayLive(x uint64) (n int) {
  310. for {
  311. n++
  312. x >>= 7
  313. if x == 0 {
  314. break
  315. }
  316. }
  317. return n
  318. }
  319. func sozPayLive(x uint64) (n int) {
  320. return sovPayLive(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  321. }
  322. func (m *PayLiveLiveValidateReq) Unmarshal(dAtA []byte) error {
  323. l := len(dAtA)
  324. iNdEx := 0
  325. for iNdEx < l {
  326. preIndex := iNdEx
  327. var wire uint64
  328. for shift := uint(0); ; shift += 7 {
  329. if shift >= 64 {
  330. return ErrIntOverflowPayLive
  331. }
  332. if iNdEx >= l {
  333. return io.ErrUnexpectedEOF
  334. }
  335. b := dAtA[iNdEx]
  336. iNdEx++
  337. wire |= (uint64(b) & 0x7F) << shift
  338. if b < 0x80 {
  339. break
  340. }
  341. }
  342. fieldNum := int32(wire >> 3)
  343. wireType := int(wire & 0x7)
  344. if wireType == 4 {
  345. return fmt.Errorf("proto: PayLiveLiveValidateReq: wiretype end group for non-group")
  346. }
  347. if fieldNum <= 0 {
  348. return fmt.Errorf("proto: PayLiveLiveValidateReq: illegal tag %d (wire type %d)", fieldNum, wire)
  349. }
  350. switch fieldNum {
  351. case 1:
  352. if wireType != 0 {
  353. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  354. }
  355. m.RoomId = 0
  356. for shift := uint(0); ; shift += 7 {
  357. if shift >= 64 {
  358. return ErrIntOverflowPayLive
  359. }
  360. if iNdEx >= l {
  361. return io.ErrUnexpectedEOF
  362. }
  363. b := dAtA[iNdEx]
  364. iNdEx++
  365. m.RoomId |= (int64(b) & 0x7F) << shift
  366. if b < 0x80 {
  367. break
  368. }
  369. }
  370. case 2:
  371. if wireType != 2 {
  372. return fmt.Errorf("proto: wrong wireType = %d for field Platform", wireType)
  373. }
  374. var stringLen uint64
  375. for shift := uint(0); ; shift += 7 {
  376. if shift >= 64 {
  377. return ErrIntOverflowPayLive
  378. }
  379. if iNdEx >= l {
  380. return io.ErrUnexpectedEOF
  381. }
  382. b := dAtA[iNdEx]
  383. iNdEx++
  384. stringLen |= (uint64(b) & 0x7F) << shift
  385. if b < 0x80 {
  386. break
  387. }
  388. }
  389. intStringLen := int(stringLen)
  390. if intStringLen < 0 {
  391. return ErrInvalidLengthPayLive
  392. }
  393. postIndex := iNdEx + intStringLen
  394. if postIndex > l {
  395. return io.ErrUnexpectedEOF
  396. }
  397. m.Platform = string(dAtA[iNdEx:postIndex])
  398. iNdEx = postIndex
  399. default:
  400. iNdEx = preIndex
  401. skippy, err := skipPayLive(dAtA[iNdEx:])
  402. if err != nil {
  403. return err
  404. }
  405. if skippy < 0 {
  406. return ErrInvalidLengthPayLive
  407. }
  408. if (iNdEx + skippy) > l {
  409. return io.ErrUnexpectedEOF
  410. }
  411. iNdEx += skippy
  412. }
  413. }
  414. if iNdEx > l {
  415. return io.ErrUnexpectedEOF
  416. }
  417. return nil
  418. }
  419. func (m *PayLiveLiveValidateResp) Unmarshal(dAtA []byte) error {
  420. l := len(dAtA)
  421. iNdEx := 0
  422. for iNdEx < l {
  423. preIndex := iNdEx
  424. var wire uint64
  425. for shift := uint(0); ; shift += 7 {
  426. if shift >= 64 {
  427. return ErrIntOverflowPayLive
  428. }
  429. if iNdEx >= l {
  430. return io.ErrUnexpectedEOF
  431. }
  432. b := dAtA[iNdEx]
  433. iNdEx++
  434. wire |= (uint64(b) & 0x7F) << shift
  435. if b < 0x80 {
  436. break
  437. }
  438. }
  439. fieldNum := int32(wire >> 3)
  440. wireType := int(wire & 0x7)
  441. if wireType == 4 {
  442. return fmt.Errorf("proto: PayLiveLiveValidateResp: wiretype end group for non-group")
  443. }
  444. if fieldNum <= 0 {
  445. return fmt.Errorf("proto: PayLiveLiveValidateResp: illegal tag %d (wire type %d)", fieldNum, wire)
  446. }
  447. switch fieldNum {
  448. case 1:
  449. if wireType != 0 {
  450. return fmt.Errorf("proto: wrong wireType = %d for field Code", wireType)
  451. }
  452. m.Code = 0
  453. for shift := uint(0); ; shift += 7 {
  454. if shift >= 64 {
  455. return ErrIntOverflowPayLive
  456. }
  457. if iNdEx >= l {
  458. return io.ErrUnexpectedEOF
  459. }
  460. b := dAtA[iNdEx]
  461. iNdEx++
  462. m.Code |= (int64(b) & 0x7F) << shift
  463. if b < 0x80 {
  464. break
  465. }
  466. }
  467. case 2:
  468. if wireType != 2 {
  469. return fmt.Errorf("proto: wrong wireType = %d for field Msg", wireType)
  470. }
  471. var stringLen uint64
  472. for shift := uint(0); ; shift += 7 {
  473. if shift >= 64 {
  474. return ErrIntOverflowPayLive
  475. }
  476. if iNdEx >= l {
  477. return io.ErrUnexpectedEOF
  478. }
  479. b := dAtA[iNdEx]
  480. iNdEx++
  481. stringLen |= (uint64(b) & 0x7F) << shift
  482. if b < 0x80 {
  483. break
  484. }
  485. }
  486. intStringLen := int(stringLen)
  487. if intStringLen < 0 {
  488. return ErrInvalidLengthPayLive
  489. }
  490. postIndex := iNdEx + intStringLen
  491. if postIndex > l {
  492. return io.ErrUnexpectedEOF
  493. }
  494. m.Msg = string(dAtA[iNdEx:postIndex])
  495. iNdEx = postIndex
  496. case 3:
  497. if wireType != 2 {
  498. return fmt.Errorf("proto: wrong wireType = %d for field Data", wireType)
  499. }
  500. var msglen int
  501. for shift := uint(0); ; shift += 7 {
  502. if shift >= 64 {
  503. return ErrIntOverflowPayLive
  504. }
  505. if iNdEx >= l {
  506. return io.ErrUnexpectedEOF
  507. }
  508. b := dAtA[iNdEx]
  509. iNdEx++
  510. msglen |= (int(b) & 0x7F) << shift
  511. if b < 0x80 {
  512. break
  513. }
  514. }
  515. if msglen < 0 {
  516. return ErrInvalidLengthPayLive
  517. }
  518. postIndex := iNdEx + msglen
  519. if postIndex > l {
  520. return io.ErrUnexpectedEOF
  521. }
  522. if m.Data == nil {
  523. m.Data = &PayLiveLiveValidateResp_Data{}
  524. }
  525. if err := m.Data.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  526. return err
  527. }
  528. iNdEx = postIndex
  529. default:
  530. iNdEx = preIndex
  531. skippy, err := skipPayLive(dAtA[iNdEx:])
  532. if err != nil {
  533. return err
  534. }
  535. if skippy < 0 {
  536. return ErrInvalidLengthPayLive
  537. }
  538. if (iNdEx + skippy) > l {
  539. return io.ErrUnexpectedEOF
  540. }
  541. iNdEx += skippy
  542. }
  543. }
  544. if iNdEx > l {
  545. return io.ErrUnexpectedEOF
  546. }
  547. return nil
  548. }
  549. func (m *PayLiveLiveValidateResp_Data) Unmarshal(dAtA []byte) error {
  550. l := len(dAtA)
  551. iNdEx := 0
  552. for iNdEx < l {
  553. preIndex := iNdEx
  554. var wire uint64
  555. for shift := uint(0); ; shift += 7 {
  556. if shift >= 64 {
  557. return ErrIntOverflowPayLive
  558. }
  559. if iNdEx >= l {
  560. return io.ErrUnexpectedEOF
  561. }
  562. b := dAtA[iNdEx]
  563. iNdEx++
  564. wire |= (uint64(b) & 0x7F) << shift
  565. if b < 0x80 {
  566. break
  567. }
  568. }
  569. fieldNum := int32(wire >> 3)
  570. wireType := int(wire & 0x7)
  571. if wireType == 4 {
  572. return fmt.Errorf("proto: Data: wiretype end group for non-group")
  573. }
  574. if fieldNum <= 0 {
  575. return fmt.Errorf("proto: Data: illegal tag %d (wire type %d)", fieldNum, wire)
  576. }
  577. switch fieldNum {
  578. case 1:
  579. if wireType != 0 {
  580. return fmt.Errorf("proto: wrong wireType = %d for field Permission", wireType)
  581. }
  582. m.Permission = 0
  583. for shift := uint(0); ; shift += 7 {
  584. if shift >= 64 {
  585. return ErrIntOverflowPayLive
  586. }
  587. if iNdEx >= l {
  588. return io.ErrUnexpectedEOF
  589. }
  590. b := dAtA[iNdEx]
  591. iNdEx++
  592. m.Permission |= (int64(b) & 0x7F) << shift
  593. if b < 0x80 {
  594. break
  595. }
  596. }
  597. default:
  598. iNdEx = preIndex
  599. skippy, err := skipPayLive(dAtA[iNdEx:])
  600. if err != nil {
  601. return err
  602. }
  603. if skippy < 0 {
  604. return ErrInvalidLengthPayLive
  605. }
  606. if (iNdEx + skippy) > l {
  607. return io.ErrUnexpectedEOF
  608. }
  609. iNdEx += skippy
  610. }
  611. }
  612. if iNdEx > l {
  613. return io.ErrUnexpectedEOF
  614. }
  615. return nil
  616. }
  617. func skipPayLive(dAtA []byte) (n int, err error) {
  618. l := len(dAtA)
  619. iNdEx := 0
  620. for iNdEx < l {
  621. var wire uint64
  622. for shift := uint(0); ; shift += 7 {
  623. if shift >= 64 {
  624. return 0, ErrIntOverflowPayLive
  625. }
  626. if iNdEx >= l {
  627. return 0, io.ErrUnexpectedEOF
  628. }
  629. b := dAtA[iNdEx]
  630. iNdEx++
  631. wire |= (uint64(b) & 0x7F) << shift
  632. if b < 0x80 {
  633. break
  634. }
  635. }
  636. wireType := int(wire & 0x7)
  637. switch wireType {
  638. case 0:
  639. for shift := uint(0); ; shift += 7 {
  640. if shift >= 64 {
  641. return 0, ErrIntOverflowPayLive
  642. }
  643. if iNdEx >= l {
  644. return 0, io.ErrUnexpectedEOF
  645. }
  646. iNdEx++
  647. if dAtA[iNdEx-1] < 0x80 {
  648. break
  649. }
  650. }
  651. return iNdEx, nil
  652. case 1:
  653. iNdEx += 8
  654. return iNdEx, nil
  655. case 2:
  656. var length int
  657. for shift := uint(0); ; shift += 7 {
  658. if shift >= 64 {
  659. return 0, ErrIntOverflowPayLive
  660. }
  661. if iNdEx >= l {
  662. return 0, io.ErrUnexpectedEOF
  663. }
  664. b := dAtA[iNdEx]
  665. iNdEx++
  666. length |= (int(b) & 0x7F) << shift
  667. if b < 0x80 {
  668. break
  669. }
  670. }
  671. iNdEx += length
  672. if length < 0 {
  673. return 0, ErrInvalidLengthPayLive
  674. }
  675. return iNdEx, nil
  676. case 3:
  677. for {
  678. var innerWire uint64
  679. var start int = iNdEx
  680. for shift := uint(0); ; shift += 7 {
  681. if shift >= 64 {
  682. return 0, ErrIntOverflowPayLive
  683. }
  684. if iNdEx >= l {
  685. return 0, io.ErrUnexpectedEOF
  686. }
  687. b := dAtA[iNdEx]
  688. iNdEx++
  689. innerWire |= (uint64(b) & 0x7F) << shift
  690. if b < 0x80 {
  691. break
  692. }
  693. }
  694. innerWireType := int(innerWire & 0x7)
  695. if innerWireType == 4 {
  696. break
  697. }
  698. next, err := skipPayLive(dAtA[start:])
  699. if err != nil {
  700. return 0, err
  701. }
  702. iNdEx = start + next
  703. }
  704. return iNdEx, nil
  705. case 4:
  706. return iNdEx, nil
  707. case 5:
  708. iNdEx += 4
  709. return iNdEx, nil
  710. default:
  711. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  712. }
  713. }
  714. panic("unreachable")
  715. }
  716. var (
  717. ErrInvalidLengthPayLive = fmt.Errorf("proto: negative length found during unmarshaling")
  718. ErrIntOverflowPayLive = fmt.Errorf("proto: integer overflow")
  719. )
  720. func init() { proto.RegisterFile("v1/PayLive.proto", fileDescriptor_PayLive_366356d2c332491f) }
  721. var fileDescriptor_PayLive_366356d2c332491f = []byte{
  722. // 327 bytes of a gzipped FileDescriptorProto
  723. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x51, 0x41, 0x4b, 0x02, 0x41,
  724. 0x18, 0x75, 0xd4, 0xd4, 0x3e, 0x25, 0x62, 0x0e, 0x65, 0x62, 0xb3, 0x62, 0x1d, 0xf6, 0xd2, 0x88,
  725. 0x06, 0xdd, 0x93, 0x2e, 0x41, 0x41, 0xcc, 0x21, 0xa2, 0x4b, 0x8c, 0xee, 0xba, 0x0e, 0xb8, 0xcd,
  726. 0xba, 0x3b, 0x2e, 0xf4, 0x2f, 0xfa, 0x59, 0x5d, 0x02, 0x8f, 0x9d, 0x96, 0xd0, 0xdb, 0xfe, 0x8a,
  727. 0x98, 0x71, 0x93, 0x3d, 0x94, 0x87, 0xf9, 0x78, 0xef, 0x0d, 0xdf, 0x7b, 0x8f, 0x19, 0x38, 0x8c,
  728. 0xfb, 0xbd, 0x07, 0xfe, 0x76, 0x27, 0x62, 0x97, 0x06, 0xa1, 0x54, 0x12, 0xef, 0xf1, 0x98, 0xc6,
  729. 0xfd, 0xd6, 0x85, 0x27, 0xd4, 0x74, 0x31, 0xa2, 0x63, 0xe9, 0xf7, 0x3c, 0xe9, 0xc9, 0x9e, 0xb9,
  730. 0x1d, 0x2d, 0x26, 0x86, 0x19, 0x62, 0xd0, 0x66, 0xab, 0x3b, 0x85, 0xa3, 0xcc, 0x46, 0x9f, 0x47,
  731. 0x3e, 0x13, 0x0e, 0x57, 0x2e, 0x73, 0xe7, 0xf8, 0x1c, 0xaa, 0xa1, 0x94, 0xfe, 0x8b, 0x70, 0x9a,
  732. 0xa8, 0x83, 0xec, 0xd2, 0xb0, 0x9e, 0x26, 0xd6, 0xaf, 0xc4, 0x2a, 0x1a, 0xdc, 0x3a, 0xd8, 0x86,
  733. 0x5a, 0x30, 0xe3, 0x6a, 0x22, 0x43, 0xbf, 0x59, 0xec, 0x20, 0x7b, 0x7f, 0xd8, 0x48, 0x13, 0x6b,
  734. 0xab, 0xb1, 0x2d, 0xea, 0x7e, 0x22, 0x38, 0xfe, 0x33, 0x2a, 0x0a, 0x70, 0x1b, 0xca, 0x63, 0xe9,
  735. 0xb8, 0x59, 0x50, 0x2d, 0x4d, 0x2c, 0xc3, 0x99, 0x99, 0xf8, 0x04, 0x4a, 0x7e, 0xe4, 0x65, 0xf6,
  736. 0xd5, 0x34, 0xb1, 0x34, 0x65, 0x7a, 0xe0, 0x6b, 0x28, 0x3b, 0x5c, 0xf1, 0x66, 0xa9, 0x83, 0xec,
  737. 0xfa, 0xe0, 0x8c, 0x9a, 0x37, 0xa0, 0xff, 0xc4, 0xd0, 0x1b, 0xae, 0xf8, 0xc6, 0x5d, 0x2f, 0x31,
  738. 0x33, 0x5b, 0x57, 0x50, 0xd6, 0x3a, 0xa6, 0x00, 0x81, 0x1b, 0xfa, 0x22, 0x8a, 0x84, 0x7c, 0xcd,
  739. 0x9a, 0x1c, 0xa4, 0x89, 0x95, 0x53, 0x59, 0x0e, 0x0f, 0x9e, 0xa0, 0x9a, 0xe5, 0xe0, 0x7b, 0x68,
  740. 0xcc, 0x72, 0x59, 0xf8, 0x74, 0x57, 0x8f, 0x79, 0x8b, 0xec, 0xae, 0x39, 0x6c, 0x7f, 0xac, 0x08,
  741. 0x5a, 0xae, 0x08, 0xfa, 0x5e, 0x11, 0xf4, 0xbe, 0x26, 0x85, 0xe5, 0x9a, 0x14, 0xbe, 0xd6, 0xa4,
  742. 0xf0, 0x5c, 0x8c, 0xfb, 0xa3, 0x8a, 0xf9, 0xb8, 0xcb, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xf6,
  743. 0xd8, 0x2e, 0x24, 0x02, 0x02, 0x00, 0x00,
  744. }