graph.pb.go 43 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: app/service/openplatform/anti-fraud/api/grpc/v1/graph.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 strings "strings"
  13. import reflect "reflect"
  14. import io "io"
  15. // Reference imports to suppress errors if they are not otherwise used.
  16. var _ = proto.Marshal
  17. var _ = fmt.Errorf
  18. var _ = math.Inf
  19. // This is a compile-time assertion to ensure that this generated file
  20. // is compatible with the proto package it is being compiled against.
  21. // A compilation error at this line likely means your copy of the
  22. // proto package needs to be updated.
  23. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  24. type GraphPrepareRequest struct {
  25. MID int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid" form:"mid" validate:"required"`
  26. IP string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip" form:"ip" validate:"required"`
  27. Customer int64 `protobuf:"varint,3,opt,name=customer,proto3" json:"customer" form:"customer" validate:"required"`
  28. ItemID int64 `protobuf:"varint,4,opt,name=item_id,json=itemId,proto3" json:"item_id" form:"item_id" validate:"required"`
  29. ClientType string `protobuf:"bytes,5,opt,name=client_type,json=clientType,proto3" json:"client_type" form:"client_type" validate:"required"`
  30. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  31. XXX_unrecognized []byte `json:"-"`
  32. XXX_sizecache int32 `json:"-"`
  33. }
  34. func (m *GraphPrepareRequest) Reset() { *m = GraphPrepareRequest{} }
  35. func (*GraphPrepareRequest) ProtoMessage() {}
  36. func (*GraphPrepareRequest) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_graph_68b3f0bc01c1e456, []int{0}
  38. }
  39. func (m *GraphPrepareRequest) XXX_Unmarshal(b []byte) error {
  40. return m.Unmarshal(b)
  41. }
  42. func (m *GraphPrepareRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. if deterministic {
  44. return xxx_messageInfo_GraphPrepareRequest.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 *GraphPrepareRequest) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_GraphPrepareRequest.Merge(dst, src)
  56. }
  57. func (m *GraphPrepareRequest) XXX_Size() int {
  58. return m.Size()
  59. }
  60. func (m *GraphPrepareRequest) XXX_DiscardUnknown() {
  61. xxx_messageInfo_GraphPrepareRequest.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_GraphPrepareRequest proto.InternalMessageInfo
  64. type GraphPrepareResponse struct {
  65. Success int64 `protobuf:"varint,1,opt,name=success,proto3" json:"success"`
  66. CaptchaID string `protobuf:"bytes,2,opt,name=captcha_id,json=captchaId,proto3" json:"captcha_id"`
  67. Challenge string `protobuf:"bytes,3,opt,name=challenge,proto3" json:"challenge"`
  68. NewCaptcha int64 `protobuf:"varint,4,opt,name=new_captcha,json=newCaptcha,proto3" json:"new_captcha"`
  69. Voucher string `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher"`
  70. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  71. XXX_unrecognized []byte `json:"-"`
  72. XXX_sizecache int32 `json:"-"`
  73. }
  74. func (m *GraphPrepareResponse) Reset() { *m = GraphPrepareResponse{} }
  75. func (*GraphPrepareResponse) ProtoMessage() {}
  76. func (*GraphPrepareResponse) Descriptor() ([]byte, []int) {
  77. return fileDescriptor_graph_68b3f0bc01c1e456, []int{1}
  78. }
  79. func (m *GraphPrepareResponse) XXX_Unmarshal(b []byte) error {
  80. return m.Unmarshal(b)
  81. }
  82. func (m *GraphPrepareResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  83. if deterministic {
  84. return xxx_messageInfo_GraphPrepareResponse.Marshal(b, m, deterministic)
  85. } else {
  86. b = b[:cap(b)]
  87. n, err := m.MarshalTo(b)
  88. if err != nil {
  89. return nil, err
  90. }
  91. return b[:n], nil
  92. }
  93. }
  94. func (dst *GraphPrepareResponse) XXX_Merge(src proto.Message) {
  95. xxx_messageInfo_GraphPrepareResponse.Merge(dst, src)
  96. }
  97. func (m *GraphPrepareResponse) XXX_Size() int {
  98. return m.Size()
  99. }
  100. func (m *GraphPrepareResponse) XXX_DiscardUnknown() {
  101. xxx_messageInfo_GraphPrepareResponse.DiscardUnknown(m)
  102. }
  103. var xxx_messageInfo_GraphPrepareResponse proto.InternalMessageInfo
  104. type GraphCheckRequest struct {
  105. MID int64 `protobuf:"varint,1,opt,name=mid,proto3" json:"mid" form:"mid" validate:"required"`
  106. IP string `protobuf:"bytes,2,opt,name=ip,proto3" json:"ip" form:"ip" validate:"required"`
  107. Customer int64 `protobuf:"varint,3,opt,name=customer,proto3" json:"customer" form:"customer" validate:"required"`
  108. ItemID int64 `protobuf:"varint,4,opt,name=item_id,json=itemId,proto3" json:"item_id" form:"item_id" validate:"required"`
  109. Voucher string `protobuf:"bytes,5,opt,name=voucher,proto3" json:"voucher" form:"voucher" validate:"required"`
  110. Challenge string `protobuf:"bytes,6,opt,name=challenge,proto3" json:"challenge" form:"challenge" validate:"required"`
  111. Validate string `protobuf:"bytes,7,opt,name=validate,proto3" json:"validate" form:"validate" validate:"required"`
  112. Seccode string `protobuf:"bytes,8,opt,name=seccode,proto3" json:"seccode" form:"seccode" validate:"required"`
  113. ClientType string `protobuf:"bytes,9,opt,name=client_type,json=clientType,proto3" json:"client_type" form:"client_type" validate:"required"`
  114. Success int64 `protobuf:"varint,10,opt,name=success,proto3" json:"success" form:"success" validate:"required"`
  115. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  116. XXX_unrecognized []byte `json:"-"`
  117. XXX_sizecache int32 `json:"-"`
  118. }
  119. func (m *GraphCheckRequest) Reset() { *m = GraphCheckRequest{} }
  120. func (*GraphCheckRequest) ProtoMessage() {}
  121. func (*GraphCheckRequest) Descriptor() ([]byte, []int) {
  122. return fileDescriptor_graph_68b3f0bc01c1e456, []int{2}
  123. }
  124. func (m *GraphCheckRequest) XXX_Unmarshal(b []byte) error {
  125. return m.Unmarshal(b)
  126. }
  127. func (m *GraphCheckRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  128. if deterministic {
  129. return xxx_messageInfo_GraphCheckRequest.Marshal(b, m, deterministic)
  130. } else {
  131. b = b[:cap(b)]
  132. n, err := m.MarshalTo(b)
  133. if err != nil {
  134. return nil, err
  135. }
  136. return b[:n], nil
  137. }
  138. }
  139. func (dst *GraphCheckRequest) XXX_Merge(src proto.Message) {
  140. xxx_messageInfo_GraphCheckRequest.Merge(dst, src)
  141. }
  142. func (m *GraphCheckRequest) XXX_Size() int {
  143. return m.Size()
  144. }
  145. func (m *GraphCheckRequest) XXX_DiscardUnknown() {
  146. xxx_messageInfo_GraphCheckRequest.DiscardUnknown(m)
  147. }
  148. var xxx_messageInfo_GraphCheckRequest proto.InternalMessageInfo
  149. type GraphCheckResponse struct {
  150. NewVoucher string `protobuf:"bytes,1,opt,name=new_voucher,json=newVoucher,proto3" json:"new_voucher"`
  151. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  152. XXX_unrecognized []byte `json:"-"`
  153. XXX_sizecache int32 `json:"-"`
  154. }
  155. func (m *GraphCheckResponse) Reset() { *m = GraphCheckResponse{} }
  156. func (*GraphCheckResponse) ProtoMessage() {}
  157. func (*GraphCheckResponse) Descriptor() ([]byte, []int) {
  158. return fileDescriptor_graph_68b3f0bc01c1e456, []int{3}
  159. }
  160. func (m *GraphCheckResponse) XXX_Unmarshal(b []byte) error {
  161. return m.Unmarshal(b)
  162. }
  163. func (m *GraphCheckResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  164. if deterministic {
  165. return xxx_messageInfo_GraphCheckResponse.Marshal(b, m, deterministic)
  166. } else {
  167. b = b[:cap(b)]
  168. n, err := m.MarshalTo(b)
  169. if err != nil {
  170. return nil, err
  171. }
  172. return b[:n], nil
  173. }
  174. }
  175. func (dst *GraphCheckResponse) XXX_Merge(src proto.Message) {
  176. xxx_messageInfo_GraphCheckResponse.Merge(dst, src)
  177. }
  178. func (m *GraphCheckResponse) XXX_Size() int {
  179. return m.Size()
  180. }
  181. func (m *GraphCheckResponse) XXX_DiscardUnknown() {
  182. xxx_messageInfo_GraphCheckResponse.DiscardUnknown(m)
  183. }
  184. var xxx_messageInfo_GraphCheckResponse proto.InternalMessageInfo
  185. func init() {
  186. proto.RegisterType((*GraphPrepareRequest)(nil), "open.service.antifraud.v1.GraphPrepareRequest")
  187. proto.RegisterType((*GraphPrepareResponse)(nil), "open.service.antifraud.v1.GraphPrepareResponse")
  188. proto.RegisterType((*GraphCheckRequest)(nil), "open.service.antifraud.v1.GraphCheckRequest")
  189. proto.RegisterType((*GraphCheckResponse)(nil), "open.service.antifraud.v1.GraphCheckResponse")
  190. }
  191. // Reference imports to suppress errors if they are not otherwise used.
  192. var _ context.Context
  193. var _ grpc.ClientConn
  194. // This is a compile-time assertion to ensure that this generated file
  195. // is compatible with the grpc package it is being compiled against.
  196. const _ = grpc.SupportPackageIsVersion4
  197. // GraphClient is the client API for Graph service.
  198. //
  199. // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
  200. type GraphClient interface {
  201. // 拉起极验
  202. GraphPrepare(ctx context.Context, in *GraphPrepareRequest, opts ...grpc.CallOption) (*GraphPrepareResponse, error)
  203. // 极验验证
  204. GraphCheck(ctx context.Context, in *GraphCheckRequest, opts ...grpc.CallOption) (*GraphCheckResponse, error)
  205. }
  206. type graphClient struct {
  207. cc *grpc.ClientConn
  208. }
  209. func NewGraphClient(cc *grpc.ClientConn) GraphClient {
  210. return &graphClient{cc}
  211. }
  212. func (c *graphClient) GraphPrepare(ctx context.Context, in *GraphPrepareRequest, opts ...grpc.CallOption) (*GraphPrepareResponse, error) {
  213. out := new(GraphPrepareResponse)
  214. err := c.cc.Invoke(ctx, "/open.service.antifraud.v1.Graph/GraphPrepare", in, out, opts...)
  215. if err != nil {
  216. return nil, err
  217. }
  218. return out, nil
  219. }
  220. func (c *graphClient) GraphCheck(ctx context.Context, in *GraphCheckRequest, opts ...grpc.CallOption) (*GraphCheckResponse, error) {
  221. out := new(GraphCheckResponse)
  222. err := c.cc.Invoke(ctx, "/open.service.antifraud.v1.Graph/GraphCheck", in, out, opts...)
  223. if err != nil {
  224. return nil, err
  225. }
  226. return out, nil
  227. }
  228. // GraphServer is the server API for Graph service.
  229. type GraphServer interface {
  230. // 拉起极验
  231. GraphPrepare(context.Context, *GraphPrepareRequest) (*GraphPrepareResponse, error)
  232. // 极验验证
  233. GraphCheck(context.Context, *GraphCheckRequest) (*GraphCheckResponse, error)
  234. }
  235. func RegisterGraphServer(s *grpc.Server, srv GraphServer) {
  236. s.RegisterService(&_Graph_serviceDesc, srv)
  237. }
  238. func _Graph_GraphPrepare_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  239. in := new(GraphPrepareRequest)
  240. if err := dec(in); err != nil {
  241. return nil, err
  242. }
  243. if interceptor == nil {
  244. return srv.(GraphServer).GraphPrepare(ctx, in)
  245. }
  246. info := &grpc.UnaryServerInfo{
  247. Server: srv,
  248. FullMethod: "/open.service.antifraud.v1.Graph/GraphPrepare",
  249. }
  250. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  251. return srv.(GraphServer).GraphPrepare(ctx, req.(*GraphPrepareRequest))
  252. }
  253. return interceptor(ctx, in, info, handler)
  254. }
  255. func _Graph_GraphCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
  256. in := new(GraphCheckRequest)
  257. if err := dec(in); err != nil {
  258. return nil, err
  259. }
  260. if interceptor == nil {
  261. return srv.(GraphServer).GraphCheck(ctx, in)
  262. }
  263. info := &grpc.UnaryServerInfo{
  264. Server: srv,
  265. FullMethod: "/open.service.antifraud.v1.Graph/GraphCheck",
  266. }
  267. handler := func(ctx context.Context, req interface{}) (interface{}, error) {
  268. return srv.(GraphServer).GraphCheck(ctx, req.(*GraphCheckRequest))
  269. }
  270. return interceptor(ctx, in, info, handler)
  271. }
  272. var _Graph_serviceDesc = grpc.ServiceDesc{
  273. ServiceName: "open.service.antifraud.v1.Graph",
  274. HandlerType: (*GraphServer)(nil),
  275. Methods: []grpc.MethodDesc{
  276. {
  277. MethodName: "GraphPrepare",
  278. Handler: _Graph_GraphPrepare_Handler,
  279. },
  280. {
  281. MethodName: "GraphCheck",
  282. Handler: _Graph_GraphCheck_Handler,
  283. },
  284. },
  285. Streams: []grpc.StreamDesc{},
  286. Metadata: "app/service/openplatform/anti-fraud/api/grpc/v1/graph.proto",
  287. }
  288. func (m *GraphPrepareRequest) Marshal() (dAtA []byte, err error) {
  289. size := m.Size()
  290. dAtA = make([]byte, size)
  291. n, err := m.MarshalTo(dAtA)
  292. if err != nil {
  293. return nil, err
  294. }
  295. return dAtA[:n], nil
  296. }
  297. func (m *GraphPrepareRequest) MarshalTo(dAtA []byte) (int, error) {
  298. var i int
  299. _ = i
  300. var l int
  301. _ = l
  302. if m.MID != 0 {
  303. dAtA[i] = 0x8
  304. i++
  305. i = encodeVarintGraph(dAtA, i, uint64(m.MID))
  306. }
  307. if len(m.IP) > 0 {
  308. dAtA[i] = 0x12
  309. i++
  310. i = encodeVarintGraph(dAtA, i, uint64(len(m.IP)))
  311. i += copy(dAtA[i:], m.IP)
  312. }
  313. if m.Customer != 0 {
  314. dAtA[i] = 0x18
  315. i++
  316. i = encodeVarintGraph(dAtA, i, uint64(m.Customer))
  317. }
  318. if m.ItemID != 0 {
  319. dAtA[i] = 0x20
  320. i++
  321. i = encodeVarintGraph(dAtA, i, uint64(m.ItemID))
  322. }
  323. if len(m.ClientType) > 0 {
  324. dAtA[i] = 0x2a
  325. i++
  326. i = encodeVarintGraph(dAtA, i, uint64(len(m.ClientType)))
  327. i += copy(dAtA[i:], m.ClientType)
  328. }
  329. if m.XXX_unrecognized != nil {
  330. i += copy(dAtA[i:], m.XXX_unrecognized)
  331. }
  332. return i, nil
  333. }
  334. func (m *GraphPrepareResponse) Marshal() (dAtA []byte, err error) {
  335. size := m.Size()
  336. dAtA = make([]byte, size)
  337. n, err := m.MarshalTo(dAtA)
  338. if err != nil {
  339. return nil, err
  340. }
  341. return dAtA[:n], nil
  342. }
  343. func (m *GraphPrepareResponse) MarshalTo(dAtA []byte) (int, error) {
  344. var i int
  345. _ = i
  346. var l int
  347. _ = l
  348. if m.Success != 0 {
  349. dAtA[i] = 0x8
  350. i++
  351. i = encodeVarintGraph(dAtA, i, uint64(m.Success))
  352. }
  353. if len(m.CaptchaID) > 0 {
  354. dAtA[i] = 0x12
  355. i++
  356. i = encodeVarintGraph(dAtA, i, uint64(len(m.CaptchaID)))
  357. i += copy(dAtA[i:], m.CaptchaID)
  358. }
  359. if len(m.Challenge) > 0 {
  360. dAtA[i] = 0x1a
  361. i++
  362. i = encodeVarintGraph(dAtA, i, uint64(len(m.Challenge)))
  363. i += copy(dAtA[i:], m.Challenge)
  364. }
  365. if m.NewCaptcha != 0 {
  366. dAtA[i] = 0x20
  367. i++
  368. i = encodeVarintGraph(dAtA, i, uint64(m.NewCaptcha))
  369. }
  370. if len(m.Voucher) > 0 {
  371. dAtA[i] = 0x2a
  372. i++
  373. i = encodeVarintGraph(dAtA, i, uint64(len(m.Voucher)))
  374. i += copy(dAtA[i:], m.Voucher)
  375. }
  376. if m.XXX_unrecognized != nil {
  377. i += copy(dAtA[i:], m.XXX_unrecognized)
  378. }
  379. return i, nil
  380. }
  381. func (m *GraphCheckRequest) Marshal() (dAtA []byte, err error) {
  382. size := m.Size()
  383. dAtA = make([]byte, size)
  384. n, err := m.MarshalTo(dAtA)
  385. if err != nil {
  386. return nil, err
  387. }
  388. return dAtA[:n], nil
  389. }
  390. func (m *GraphCheckRequest) MarshalTo(dAtA []byte) (int, error) {
  391. var i int
  392. _ = i
  393. var l int
  394. _ = l
  395. if m.MID != 0 {
  396. dAtA[i] = 0x8
  397. i++
  398. i = encodeVarintGraph(dAtA, i, uint64(m.MID))
  399. }
  400. if len(m.IP) > 0 {
  401. dAtA[i] = 0x12
  402. i++
  403. i = encodeVarintGraph(dAtA, i, uint64(len(m.IP)))
  404. i += copy(dAtA[i:], m.IP)
  405. }
  406. if m.Customer != 0 {
  407. dAtA[i] = 0x18
  408. i++
  409. i = encodeVarintGraph(dAtA, i, uint64(m.Customer))
  410. }
  411. if m.ItemID != 0 {
  412. dAtA[i] = 0x20
  413. i++
  414. i = encodeVarintGraph(dAtA, i, uint64(m.ItemID))
  415. }
  416. if len(m.Voucher) > 0 {
  417. dAtA[i] = 0x2a
  418. i++
  419. i = encodeVarintGraph(dAtA, i, uint64(len(m.Voucher)))
  420. i += copy(dAtA[i:], m.Voucher)
  421. }
  422. if len(m.Challenge) > 0 {
  423. dAtA[i] = 0x32
  424. i++
  425. i = encodeVarintGraph(dAtA, i, uint64(len(m.Challenge)))
  426. i += copy(dAtA[i:], m.Challenge)
  427. }
  428. if len(m.Validate) > 0 {
  429. dAtA[i] = 0x3a
  430. i++
  431. i = encodeVarintGraph(dAtA, i, uint64(len(m.Validate)))
  432. i += copy(dAtA[i:], m.Validate)
  433. }
  434. if len(m.Seccode) > 0 {
  435. dAtA[i] = 0x42
  436. i++
  437. i = encodeVarintGraph(dAtA, i, uint64(len(m.Seccode)))
  438. i += copy(dAtA[i:], m.Seccode)
  439. }
  440. if len(m.ClientType) > 0 {
  441. dAtA[i] = 0x4a
  442. i++
  443. i = encodeVarintGraph(dAtA, i, uint64(len(m.ClientType)))
  444. i += copy(dAtA[i:], m.ClientType)
  445. }
  446. if m.Success != 0 {
  447. dAtA[i] = 0x50
  448. i++
  449. i = encodeVarintGraph(dAtA, i, uint64(m.Success))
  450. }
  451. if m.XXX_unrecognized != nil {
  452. i += copy(dAtA[i:], m.XXX_unrecognized)
  453. }
  454. return i, nil
  455. }
  456. func (m *GraphCheckResponse) Marshal() (dAtA []byte, err error) {
  457. size := m.Size()
  458. dAtA = make([]byte, size)
  459. n, err := m.MarshalTo(dAtA)
  460. if err != nil {
  461. return nil, err
  462. }
  463. return dAtA[:n], nil
  464. }
  465. func (m *GraphCheckResponse) MarshalTo(dAtA []byte) (int, error) {
  466. var i int
  467. _ = i
  468. var l int
  469. _ = l
  470. if len(m.NewVoucher) > 0 {
  471. dAtA[i] = 0xa
  472. i++
  473. i = encodeVarintGraph(dAtA, i, uint64(len(m.NewVoucher)))
  474. i += copy(dAtA[i:], m.NewVoucher)
  475. }
  476. if m.XXX_unrecognized != nil {
  477. i += copy(dAtA[i:], m.XXX_unrecognized)
  478. }
  479. return i, nil
  480. }
  481. func encodeVarintGraph(dAtA []byte, offset int, v uint64) int {
  482. for v >= 1<<7 {
  483. dAtA[offset] = uint8(v&0x7f | 0x80)
  484. v >>= 7
  485. offset++
  486. }
  487. dAtA[offset] = uint8(v)
  488. return offset + 1
  489. }
  490. func (m *GraphPrepareRequest) Size() (n int) {
  491. if m == nil {
  492. return 0
  493. }
  494. var l int
  495. _ = l
  496. if m.MID != 0 {
  497. n += 1 + sovGraph(uint64(m.MID))
  498. }
  499. l = len(m.IP)
  500. if l > 0 {
  501. n += 1 + l + sovGraph(uint64(l))
  502. }
  503. if m.Customer != 0 {
  504. n += 1 + sovGraph(uint64(m.Customer))
  505. }
  506. if m.ItemID != 0 {
  507. n += 1 + sovGraph(uint64(m.ItemID))
  508. }
  509. l = len(m.ClientType)
  510. if l > 0 {
  511. n += 1 + l + sovGraph(uint64(l))
  512. }
  513. if m.XXX_unrecognized != nil {
  514. n += len(m.XXX_unrecognized)
  515. }
  516. return n
  517. }
  518. func (m *GraphPrepareResponse) Size() (n int) {
  519. if m == nil {
  520. return 0
  521. }
  522. var l int
  523. _ = l
  524. if m.Success != 0 {
  525. n += 1 + sovGraph(uint64(m.Success))
  526. }
  527. l = len(m.CaptchaID)
  528. if l > 0 {
  529. n += 1 + l + sovGraph(uint64(l))
  530. }
  531. l = len(m.Challenge)
  532. if l > 0 {
  533. n += 1 + l + sovGraph(uint64(l))
  534. }
  535. if m.NewCaptcha != 0 {
  536. n += 1 + sovGraph(uint64(m.NewCaptcha))
  537. }
  538. l = len(m.Voucher)
  539. if l > 0 {
  540. n += 1 + l + sovGraph(uint64(l))
  541. }
  542. if m.XXX_unrecognized != nil {
  543. n += len(m.XXX_unrecognized)
  544. }
  545. return n
  546. }
  547. func (m *GraphCheckRequest) Size() (n int) {
  548. if m == nil {
  549. return 0
  550. }
  551. var l int
  552. _ = l
  553. if m.MID != 0 {
  554. n += 1 + sovGraph(uint64(m.MID))
  555. }
  556. l = len(m.IP)
  557. if l > 0 {
  558. n += 1 + l + sovGraph(uint64(l))
  559. }
  560. if m.Customer != 0 {
  561. n += 1 + sovGraph(uint64(m.Customer))
  562. }
  563. if m.ItemID != 0 {
  564. n += 1 + sovGraph(uint64(m.ItemID))
  565. }
  566. l = len(m.Voucher)
  567. if l > 0 {
  568. n += 1 + l + sovGraph(uint64(l))
  569. }
  570. l = len(m.Challenge)
  571. if l > 0 {
  572. n += 1 + l + sovGraph(uint64(l))
  573. }
  574. l = len(m.Validate)
  575. if l > 0 {
  576. n += 1 + l + sovGraph(uint64(l))
  577. }
  578. l = len(m.Seccode)
  579. if l > 0 {
  580. n += 1 + l + sovGraph(uint64(l))
  581. }
  582. l = len(m.ClientType)
  583. if l > 0 {
  584. n += 1 + l + sovGraph(uint64(l))
  585. }
  586. if m.Success != 0 {
  587. n += 1 + sovGraph(uint64(m.Success))
  588. }
  589. if m.XXX_unrecognized != nil {
  590. n += len(m.XXX_unrecognized)
  591. }
  592. return n
  593. }
  594. func (m *GraphCheckResponse) Size() (n int) {
  595. if m == nil {
  596. return 0
  597. }
  598. var l int
  599. _ = l
  600. l = len(m.NewVoucher)
  601. if l > 0 {
  602. n += 1 + l + sovGraph(uint64(l))
  603. }
  604. if m.XXX_unrecognized != nil {
  605. n += len(m.XXX_unrecognized)
  606. }
  607. return n
  608. }
  609. func sovGraph(x uint64) (n int) {
  610. for {
  611. n++
  612. x >>= 7
  613. if x == 0 {
  614. break
  615. }
  616. }
  617. return n
  618. }
  619. func sozGraph(x uint64) (n int) {
  620. return sovGraph(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  621. }
  622. func (this *GraphPrepareRequest) String() string {
  623. if this == nil {
  624. return "nil"
  625. }
  626. s := strings.Join([]string{`&GraphPrepareRequest{`,
  627. `MID:` + fmt.Sprintf("%v", this.MID) + `,`,
  628. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  629. `Customer:` + fmt.Sprintf("%v", this.Customer) + `,`,
  630. `ItemID:` + fmt.Sprintf("%v", this.ItemID) + `,`,
  631. `ClientType:` + fmt.Sprintf("%v", this.ClientType) + `,`,
  632. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  633. `}`,
  634. }, "")
  635. return s
  636. }
  637. func (this *GraphPrepareResponse) String() string {
  638. if this == nil {
  639. return "nil"
  640. }
  641. s := strings.Join([]string{`&GraphPrepareResponse{`,
  642. `Success:` + fmt.Sprintf("%v", this.Success) + `,`,
  643. `CaptchaID:` + fmt.Sprintf("%v", this.CaptchaID) + `,`,
  644. `Challenge:` + fmt.Sprintf("%v", this.Challenge) + `,`,
  645. `NewCaptcha:` + fmt.Sprintf("%v", this.NewCaptcha) + `,`,
  646. `Voucher:` + fmt.Sprintf("%v", this.Voucher) + `,`,
  647. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  648. `}`,
  649. }, "")
  650. return s
  651. }
  652. func (this *GraphCheckRequest) String() string {
  653. if this == nil {
  654. return "nil"
  655. }
  656. s := strings.Join([]string{`&GraphCheckRequest{`,
  657. `MID:` + fmt.Sprintf("%v", this.MID) + `,`,
  658. `IP:` + fmt.Sprintf("%v", this.IP) + `,`,
  659. `Customer:` + fmt.Sprintf("%v", this.Customer) + `,`,
  660. `ItemID:` + fmt.Sprintf("%v", this.ItemID) + `,`,
  661. `Voucher:` + fmt.Sprintf("%v", this.Voucher) + `,`,
  662. `Challenge:` + fmt.Sprintf("%v", this.Challenge) + `,`,
  663. `Validate:` + fmt.Sprintf("%v", this.Validate) + `,`,
  664. `Seccode:` + fmt.Sprintf("%v", this.Seccode) + `,`,
  665. `ClientType:` + fmt.Sprintf("%v", this.ClientType) + `,`,
  666. `Success:` + fmt.Sprintf("%v", this.Success) + `,`,
  667. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  668. `}`,
  669. }, "")
  670. return s
  671. }
  672. func (this *GraphCheckResponse) String() string {
  673. if this == nil {
  674. return "nil"
  675. }
  676. s := strings.Join([]string{`&GraphCheckResponse{`,
  677. `NewVoucher:` + fmt.Sprintf("%v", this.NewVoucher) + `,`,
  678. `XXX_unrecognized:` + fmt.Sprintf("%v", this.XXX_unrecognized) + `,`,
  679. `}`,
  680. }, "")
  681. return s
  682. }
  683. func valueToStringGraph(v interface{}) string {
  684. rv := reflect.ValueOf(v)
  685. if rv.IsNil() {
  686. return "nil"
  687. }
  688. pv := reflect.Indirect(rv).Interface()
  689. return fmt.Sprintf("*%v", pv)
  690. }
  691. func (m *GraphPrepareRequest) Unmarshal(dAtA []byte) error {
  692. l := len(dAtA)
  693. iNdEx := 0
  694. for iNdEx < l {
  695. preIndex := iNdEx
  696. var wire uint64
  697. for shift := uint(0); ; shift += 7 {
  698. if shift >= 64 {
  699. return ErrIntOverflowGraph
  700. }
  701. if iNdEx >= l {
  702. return io.ErrUnexpectedEOF
  703. }
  704. b := dAtA[iNdEx]
  705. iNdEx++
  706. wire |= (uint64(b) & 0x7F) << shift
  707. if b < 0x80 {
  708. break
  709. }
  710. }
  711. fieldNum := int32(wire >> 3)
  712. wireType := int(wire & 0x7)
  713. if wireType == 4 {
  714. return fmt.Errorf("proto: GraphPrepareRequest: wiretype end group for non-group")
  715. }
  716. if fieldNum <= 0 {
  717. return fmt.Errorf("proto: GraphPrepareRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  718. }
  719. switch fieldNum {
  720. case 1:
  721. if wireType != 0 {
  722. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  723. }
  724. m.MID = 0
  725. for shift := uint(0); ; shift += 7 {
  726. if shift >= 64 {
  727. return ErrIntOverflowGraph
  728. }
  729. if iNdEx >= l {
  730. return io.ErrUnexpectedEOF
  731. }
  732. b := dAtA[iNdEx]
  733. iNdEx++
  734. m.MID |= (int64(b) & 0x7F) << shift
  735. if b < 0x80 {
  736. break
  737. }
  738. }
  739. case 2:
  740. if wireType != 2 {
  741. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  742. }
  743. var stringLen uint64
  744. for shift := uint(0); ; shift += 7 {
  745. if shift >= 64 {
  746. return ErrIntOverflowGraph
  747. }
  748. if iNdEx >= l {
  749. return io.ErrUnexpectedEOF
  750. }
  751. b := dAtA[iNdEx]
  752. iNdEx++
  753. stringLen |= (uint64(b) & 0x7F) << shift
  754. if b < 0x80 {
  755. break
  756. }
  757. }
  758. intStringLen := int(stringLen)
  759. if intStringLen < 0 {
  760. return ErrInvalidLengthGraph
  761. }
  762. postIndex := iNdEx + intStringLen
  763. if postIndex > l {
  764. return io.ErrUnexpectedEOF
  765. }
  766. m.IP = string(dAtA[iNdEx:postIndex])
  767. iNdEx = postIndex
  768. case 3:
  769. if wireType != 0 {
  770. return fmt.Errorf("proto: wrong wireType = %d for field Customer", wireType)
  771. }
  772. m.Customer = 0
  773. for shift := uint(0); ; shift += 7 {
  774. if shift >= 64 {
  775. return ErrIntOverflowGraph
  776. }
  777. if iNdEx >= l {
  778. return io.ErrUnexpectedEOF
  779. }
  780. b := dAtA[iNdEx]
  781. iNdEx++
  782. m.Customer |= (int64(b) & 0x7F) << shift
  783. if b < 0x80 {
  784. break
  785. }
  786. }
  787. case 4:
  788. if wireType != 0 {
  789. return fmt.Errorf("proto: wrong wireType = %d for field ItemID", wireType)
  790. }
  791. m.ItemID = 0
  792. for shift := uint(0); ; shift += 7 {
  793. if shift >= 64 {
  794. return ErrIntOverflowGraph
  795. }
  796. if iNdEx >= l {
  797. return io.ErrUnexpectedEOF
  798. }
  799. b := dAtA[iNdEx]
  800. iNdEx++
  801. m.ItemID |= (int64(b) & 0x7F) << shift
  802. if b < 0x80 {
  803. break
  804. }
  805. }
  806. case 5:
  807. if wireType != 2 {
  808. return fmt.Errorf("proto: wrong wireType = %d for field ClientType", wireType)
  809. }
  810. var stringLen uint64
  811. for shift := uint(0); ; shift += 7 {
  812. if shift >= 64 {
  813. return ErrIntOverflowGraph
  814. }
  815. if iNdEx >= l {
  816. return io.ErrUnexpectedEOF
  817. }
  818. b := dAtA[iNdEx]
  819. iNdEx++
  820. stringLen |= (uint64(b) & 0x7F) << shift
  821. if b < 0x80 {
  822. break
  823. }
  824. }
  825. intStringLen := int(stringLen)
  826. if intStringLen < 0 {
  827. return ErrInvalidLengthGraph
  828. }
  829. postIndex := iNdEx + intStringLen
  830. if postIndex > l {
  831. return io.ErrUnexpectedEOF
  832. }
  833. m.ClientType = string(dAtA[iNdEx:postIndex])
  834. iNdEx = postIndex
  835. default:
  836. iNdEx = preIndex
  837. skippy, err := skipGraph(dAtA[iNdEx:])
  838. if err != nil {
  839. return err
  840. }
  841. if skippy < 0 {
  842. return ErrInvalidLengthGraph
  843. }
  844. if (iNdEx + skippy) > l {
  845. return io.ErrUnexpectedEOF
  846. }
  847. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  848. iNdEx += skippy
  849. }
  850. }
  851. if iNdEx > l {
  852. return io.ErrUnexpectedEOF
  853. }
  854. return nil
  855. }
  856. func (m *GraphPrepareResponse) Unmarshal(dAtA []byte) error {
  857. l := len(dAtA)
  858. iNdEx := 0
  859. for iNdEx < l {
  860. preIndex := iNdEx
  861. var wire uint64
  862. for shift := uint(0); ; shift += 7 {
  863. if shift >= 64 {
  864. return ErrIntOverflowGraph
  865. }
  866. if iNdEx >= l {
  867. return io.ErrUnexpectedEOF
  868. }
  869. b := dAtA[iNdEx]
  870. iNdEx++
  871. wire |= (uint64(b) & 0x7F) << shift
  872. if b < 0x80 {
  873. break
  874. }
  875. }
  876. fieldNum := int32(wire >> 3)
  877. wireType := int(wire & 0x7)
  878. if wireType == 4 {
  879. return fmt.Errorf("proto: GraphPrepareResponse: wiretype end group for non-group")
  880. }
  881. if fieldNum <= 0 {
  882. return fmt.Errorf("proto: GraphPrepareResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  883. }
  884. switch fieldNum {
  885. case 1:
  886. if wireType != 0 {
  887. return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  888. }
  889. m.Success = 0
  890. for shift := uint(0); ; shift += 7 {
  891. if shift >= 64 {
  892. return ErrIntOverflowGraph
  893. }
  894. if iNdEx >= l {
  895. return io.ErrUnexpectedEOF
  896. }
  897. b := dAtA[iNdEx]
  898. iNdEx++
  899. m.Success |= (int64(b) & 0x7F) << shift
  900. if b < 0x80 {
  901. break
  902. }
  903. }
  904. case 2:
  905. if wireType != 2 {
  906. return fmt.Errorf("proto: wrong wireType = %d for field CaptchaID", wireType)
  907. }
  908. var stringLen uint64
  909. for shift := uint(0); ; shift += 7 {
  910. if shift >= 64 {
  911. return ErrIntOverflowGraph
  912. }
  913. if iNdEx >= l {
  914. return io.ErrUnexpectedEOF
  915. }
  916. b := dAtA[iNdEx]
  917. iNdEx++
  918. stringLen |= (uint64(b) & 0x7F) << shift
  919. if b < 0x80 {
  920. break
  921. }
  922. }
  923. intStringLen := int(stringLen)
  924. if intStringLen < 0 {
  925. return ErrInvalidLengthGraph
  926. }
  927. postIndex := iNdEx + intStringLen
  928. if postIndex > l {
  929. return io.ErrUnexpectedEOF
  930. }
  931. m.CaptchaID = string(dAtA[iNdEx:postIndex])
  932. iNdEx = postIndex
  933. case 3:
  934. if wireType != 2 {
  935. return fmt.Errorf("proto: wrong wireType = %d for field Challenge", wireType)
  936. }
  937. var stringLen uint64
  938. for shift := uint(0); ; shift += 7 {
  939. if shift >= 64 {
  940. return ErrIntOverflowGraph
  941. }
  942. if iNdEx >= l {
  943. return io.ErrUnexpectedEOF
  944. }
  945. b := dAtA[iNdEx]
  946. iNdEx++
  947. stringLen |= (uint64(b) & 0x7F) << shift
  948. if b < 0x80 {
  949. break
  950. }
  951. }
  952. intStringLen := int(stringLen)
  953. if intStringLen < 0 {
  954. return ErrInvalidLengthGraph
  955. }
  956. postIndex := iNdEx + intStringLen
  957. if postIndex > l {
  958. return io.ErrUnexpectedEOF
  959. }
  960. m.Challenge = string(dAtA[iNdEx:postIndex])
  961. iNdEx = postIndex
  962. case 4:
  963. if wireType != 0 {
  964. return fmt.Errorf("proto: wrong wireType = %d for field NewCaptcha", wireType)
  965. }
  966. m.NewCaptcha = 0
  967. for shift := uint(0); ; shift += 7 {
  968. if shift >= 64 {
  969. return ErrIntOverflowGraph
  970. }
  971. if iNdEx >= l {
  972. return io.ErrUnexpectedEOF
  973. }
  974. b := dAtA[iNdEx]
  975. iNdEx++
  976. m.NewCaptcha |= (int64(b) & 0x7F) << shift
  977. if b < 0x80 {
  978. break
  979. }
  980. }
  981. case 5:
  982. if wireType != 2 {
  983. return fmt.Errorf("proto: wrong wireType = %d for field Voucher", wireType)
  984. }
  985. var stringLen uint64
  986. for shift := uint(0); ; shift += 7 {
  987. if shift >= 64 {
  988. return ErrIntOverflowGraph
  989. }
  990. if iNdEx >= l {
  991. return io.ErrUnexpectedEOF
  992. }
  993. b := dAtA[iNdEx]
  994. iNdEx++
  995. stringLen |= (uint64(b) & 0x7F) << shift
  996. if b < 0x80 {
  997. break
  998. }
  999. }
  1000. intStringLen := int(stringLen)
  1001. if intStringLen < 0 {
  1002. return ErrInvalidLengthGraph
  1003. }
  1004. postIndex := iNdEx + intStringLen
  1005. if postIndex > l {
  1006. return io.ErrUnexpectedEOF
  1007. }
  1008. m.Voucher = string(dAtA[iNdEx:postIndex])
  1009. iNdEx = postIndex
  1010. default:
  1011. iNdEx = preIndex
  1012. skippy, err := skipGraph(dAtA[iNdEx:])
  1013. if err != nil {
  1014. return err
  1015. }
  1016. if skippy < 0 {
  1017. return ErrInvalidLengthGraph
  1018. }
  1019. if (iNdEx + skippy) > l {
  1020. return io.ErrUnexpectedEOF
  1021. }
  1022. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1023. iNdEx += skippy
  1024. }
  1025. }
  1026. if iNdEx > l {
  1027. return io.ErrUnexpectedEOF
  1028. }
  1029. return nil
  1030. }
  1031. func (m *GraphCheckRequest) Unmarshal(dAtA []byte) error {
  1032. l := len(dAtA)
  1033. iNdEx := 0
  1034. for iNdEx < l {
  1035. preIndex := iNdEx
  1036. var wire uint64
  1037. for shift := uint(0); ; shift += 7 {
  1038. if shift >= 64 {
  1039. return ErrIntOverflowGraph
  1040. }
  1041. if iNdEx >= l {
  1042. return io.ErrUnexpectedEOF
  1043. }
  1044. b := dAtA[iNdEx]
  1045. iNdEx++
  1046. wire |= (uint64(b) & 0x7F) << shift
  1047. if b < 0x80 {
  1048. break
  1049. }
  1050. }
  1051. fieldNum := int32(wire >> 3)
  1052. wireType := int(wire & 0x7)
  1053. if wireType == 4 {
  1054. return fmt.Errorf("proto: GraphCheckRequest: wiretype end group for non-group")
  1055. }
  1056. if fieldNum <= 0 {
  1057. return fmt.Errorf("proto: GraphCheckRequest: illegal tag %d (wire type %d)", fieldNum, wire)
  1058. }
  1059. switch fieldNum {
  1060. case 1:
  1061. if wireType != 0 {
  1062. return fmt.Errorf("proto: wrong wireType = %d for field MID", wireType)
  1063. }
  1064. m.MID = 0
  1065. for shift := uint(0); ; shift += 7 {
  1066. if shift >= 64 {
  1067. return ErrIntOverflowGraph
  1068. }
  1069. if iNdEx >= l {
  1070. return io.ErrUnexpectedEOF
  1071. }
  1072. b := dAtA[iNdEx]
  1073. iNdEx++
  1074. m.MID |= (int64(b) & 0x7F) << shift
  1075. if b < 0x80 {
  1076. break
  1077. }
  1078. }
  1079. case 2:
  1080. if wireType != 2 {
  1081. return fmt.Errorf("proto: wrong wireType = %d for field IP", wireType)
  1082. }
  1083. var stringLen uint64
  1084. for shift := uint(0); ; shift += 7 {
  1085. if shift >= 64 {
  1086. return ErrIntOverflowGraph
  1087. }
  1088. if iNdEx >= l {
  1089. return io.ErrUnexpectedEOF
  1090. }
  1091. b := dAtA[iNdEx]
  1092. iNdEx++
  1093. stringLen |= (uint64(b) & 0x7F) << shift
  1094. if b < 0x80 {
  1095. break
  1096. }
  1097. }
  1098. intStringLen := int(stringLen)
  1099. if intStringLen < 0 {
  1100. return ErrInvalidLengthGraph
  1101. }
  1102. postIndex := iNdEx + intStringLen
  1103. if postIndex > l {
  1104. return io.ErrUnexpectedEOF
  1105. }
  1106. m.IP = string(dAtA[iNdEx:postIndex])
  1107. iNdEx = postIndex
  1108. case 3:
  1109. if wireType != 0 {
  1110. return fmt.Errorf("proto: wrong wireType = %d for field Customer", wireType)
  1111. }
  1112. m.Customer = 0
  1113. for shift := uint(0); ; shift += 7 {
  1114. if shift >= 64 {
  1115. return ErrIntOverflowGraph
  1116. }
  1117. if iNdEx >= l {
  1118. return io.ErrUnexpectedEOF
  1119. }
  1120. b := dAtA[iNdEx]
  1121. iNdEx++
  1122. m.Customer |= (int64(b) & 0x7F) << shift
  1123. if b < 0x80 {
  1124. break
  1125. }
  1126. }
  1127. case 4:
  1128. if wireType != 0 {
  1129. return fmt.Errorf("proto: wrong wireType = %d for field ItemID", wireType)
  1130. }
  1131. m.ItemID = 0
  1132. for shift := uint(0); ; shift += 7 {
  1133. if shift >= 64 {
  1134. return ErrIntOverflowGraph
  1135. }
  1136. if iNdEx >= l {
  1137. return io.ErrUnexpectedEOF
  1138. }
  1139. b := dAtA[iNdEx]
  1140. iNdEx++
  1141. m.ItemID |= (int64(b) & 0x7F) << shift
  1142. if b < 0x80 {
  1143. break
  1144. }
  1145. }
  1146. case 5:
  1147. if wireType != 2 {
  1148. return fmt.Errorf("proto: wrong wireType = %d for field Voucher", wireType)
  1149. }
  1150. var stringLen uint64
  1151. for shift := uint(0); ; shift += 7 {
  1152. if shift >= 64 {
  1153. return ErrIntOverflowGraph
  1154. }
  1155. if iNdEx >= l {
  1156. return io.ErrUnexpectedEOF
  1157. }
  1158. b := dAtA[iNdEx]
  1159. iNdEx++
  1160. stringLen |= (uint64(b) & 0x7F) << shift
  1161. if b < 0x80 {
  1162. break
  1163. }
  1164. }
  1165. intStringLen := int(stringLen)
  1166. if intStringLen < 0 {
  1167. return ErrInvalidLengthGraph
  1168. }
  1169. postIndex := iNdEx + intStringLen
  1170. if postIndex > l {
  1171. return io.ErrUnexpectedEOF
  1172. }
  1173. m.Voucher = string(dAtA[iNdEx:postIndex])
  1174. iNdEx = postIndex
  1175. case 6:
  1176. if wireType != 2 {
  1177. return fmt.Errorf("proto: wrong wireType = %d for field Challenge", wireType)
  1178. }
  1179. var stringLen uint64
  1180. for shift := uint(0); ; shift += 7 {
  1181. if shift >= 64 {
  1182. return ErrIntOverflowGraph
  1183. }
  1184. if iNdEx >= l {
  1185. return io.ErrUnexpectedEOF
  1186. }
  1187. b := dAtA[iNdEx]
  1188. iNdEx++
  1189. stringLen |= (uint64(b) & 0x7F) << shift
  1190. if b < 0x80 {
  1191. break
  1192. }
  1193. }
  1194. intStringLen := int(stringLen)
  1195. if intStringLen < 0 {
  1196. return ErrInvalidLengthGraph
  1197. }
  1198. postIndex := iNdEx + intStringLen
  1199. if postIndex > l {
  1200. return io.ErrUnexpectedEOF
  1201. }
  1202. m.Challenge = string(dAtA[iNdEx:postIndex])
  1203. iNdEx = postIndex
  1204. case 7:
  1205. if wireType != 2 {
  1206. return fmt.Errorf("proto: wrong wireType = %d for field Validate", wireType)
  1207. }
  1208. var stringLen uint64
  1209. for shift := uint(0); ; shift += 7 {
  1210. if shift >= 64 {
  1211. return ErrIntOverflowGraph
  1212. }
  1213. if iNdEx >= l {
  1214. return io.ErrUnexpectedEOF
  1215. }
  1216. b := dAtA[iNdEx]
  1217. iNdEx++
  1218. stringLen |= (uint64(b) & 0x7F) << shift
  1219. if b < 0x80 {
  1220. break
  1221. }
  1222. }
  1223. intStringLen := int(stringLen)
  1224. if intStringLen < 0 {
  1225. return ErrInvalidLengthGraph
  1226. }
  1227. postIndex := iNdEx + intStringLen
  1228. if postIndex > l {
  1229. return io.ErrUnexpectedEOF
  1230. }
  1231. m.Validate = string(dAtA[iNdEx:postIndex])
  1232. iNdEx = postIndex
  1233. case 8:
  1234. if wireType != 2 {
  1235. return fmt.Errorf("proto: wrong wireType = %d for field Seccode", wireType)
  1236. }
  1237. var stringLen uint64
  1238. for shift := uint(0); ; shift += 7 {
  1239. if shift >= 64 {
  1240. return ErrIntOverflowGraph
  1241. }
  1242. if iNdEx >= l {
  1243. return io.ErrUnexpectedEOF
  1244. }
  1245. b := dAtA[iNdEx]
  1246. iNdEx++
  1247. stringLen |= (uint64(b) & 0x7F) << shift
  1248. if b < 0x80 {
  1249. break
  1250. }
  1251. }
  1252. intStringLen := int(stringLen)
  1253. if intStringLen < 0 {
  1254. return ErrInvalidLengthGraph
  1255. }
  1256. postIndex := iNdEx + intStringLen
  1257. if postIndex > l {
  1258. return io.ErrUnexpectedEOF
  1259. }
  1260. m.Seccode = string(dAtA[iNdEx:postIndex])
  1261. iNdEx = postIndex
  1262. case 9:
  1263. if wireType != 2 {
  1264. return fmt.Errorf("proto: wrong wireType = %d for field ClientType", wireType)
  1265. }
  1266. var stringLen uint64
  1267. for shift := uint(0); ; shift += 7 {
  1268. if shift >= 64 {
  1269. return ErrIntOverflowGraph
  1270. }
  1271. if iNdEx >= l {
  1272. return io.ErrUnexpectedEOF
  1273. }
  1274. b := dAtA[iNdEx]
  1275. iNdEx++
  1276. stringLen |= (uint64(b) & 0x7F) << shift
  1277. if b < 0x80 {
  1278. break
  1279. }
  1280. }
  1281. intStringLen := int(stringLen)
  1282. if intStringLen < 0 {
  1283. return ErrInvalidLengthGraph
  1284. }
  1285. postIndex := iNdEx + intStringLen
  1286. if postIndex > l {
  1287. return io.ErrUnexpectedEOF
  1288. }
  1289. m.ClientType = string(dAtA[iNdEx:postIndex])
  1290. iNdEx = postIndex
  1291. case 10:
  1292. if wireType != 0 {
  1293. return fmt.Errorf("proto: wrong wireType = %d for field Success", wireType)
  1294. }
  1295. m.Success = 0
  1296. for shift := uint(0); ; shift += 7 {
  1297. if shift >= 64 {
  1298. return ErrIntOverflowGraph
  1299. }
  1300. if iNdEx >= l {
  1301. return io.ErrUnexpectedEOF
  1302. }
  1303. b := dAtA[iNdEx]
  1304. iNdEx++
  1305. m.Success |= (int64(b) & 0x7F) << shift
  1306. if b < 0x80 {
  1307. break
  1308. }
  1309. }
  1310. default:
  1311. iNdEx = preIndex
  1312. skippy, err := skipGraph(dAtA[iNdEx:])
  1313. if err != nil {
  1314. return err
  1315. }
  1316. if skippy < 0 {
  1317. return ErrInvalidLengthGraph
  1318. }
  1319. if (iNdEx + skippy) > l {
  1320. return io.ErrUnexpectedEOF
  1321. }
  1322. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1323. iNdEx += skippy
  1324. }
  1325. }
  1326. if iNdEx > l {
  1327. return io.ErrUnexpectedEOF
  1328. }
  1329. return nil
  1330. }
  1331. func (m *GraphCheckResponse) Unmarshal(dAtA []byte) error {
  1332. l := len(dAtA)
  1333. iNdEx := 0
  1334. for iNdEx < l {
  1335. preIndex := iNdEx
  1336. var wire uint64
  1337. for shift := uint(0); ; shift += 7 {
  1338. if shift >= 64 {
  1339. return ErrIntOverflowGraph
  1340. }
  1341. if iNdEx >= l {
  1342. return io.ErrUnexpectedEOF
  1343. }
  1344. b := dAtA[iNdEx]
  1345. iNdEx++
  1346. wire |= (uint64(b) & 0x7F) << shift
  1347. if b < 0x80 {
  1348. break
  1349. }
  1350. }
  1351. fieldNum := int32(wire >> 3)
  1352. wireType := int(wire & 0x7)
  1353. if wireType == 4 {
  1354. return fmt.Errorf("proto: GraphCheckResponse: wiretype end group for non-group")
  1355. }
  1356. if fieldNum <= 0 {
  1357. return fmt.Errorf("proto: GraphCheckResponse: illegal tag %d (wire type %d)", fieldNum, wire)
  1358. }
  1359. switch fieldNum {
  1360. case 1:
  1361. if wireType != 2 {
  1362. return fmt.Errorf("proto: wrong wireType = %d for field NewVoucher", wireType)
  1363. }
  1364. var stringLen uint64
  1365. for shift := uint(0); ; shift += 7 {
  1366. if shift >= 64 {
  1367. return ErrIntOverflowGraph
  1368. }
  1369. if iNdEx >= l {
  1370. return io.ErrUnexpectedEOF
  1371. }
  1372. b := dAtA[iNdEx]
  1373. iNdEx++
  1374. stringLen |= (uint64(b) & 0x7F) << shift
  1375. if b < 0x80 {
  1376. break
  1377. }
  1378. }
  1379. intStringLen := int(stringLen)
  1380. if intStringLen < 0 {
  1381. return ErrInvalidLengthGraph
  1382. }
  1383. postIndex := iNdEx + intStringLen
  1384. if postIndex > l {
  1385. return io.ErrUnexpectedEOF
  1386. }
  1387. m.NewVoucher = string(dAtA[iNdEx:postIndex])
  1388. iNdEx = postIndex
  1389. default:
  1390. iNdEx = preIndex
  1391. skippy, err := skipGraph(dAtA[iNdEx:])
  1392. if err != nil {
  1393. return err
  1394. }
  1395. if skippy < 0 {
  1396. return ErrInvalidLengthGraph
  1397. }
  1398. if (iNdEx + skippy) > l {
  1399. return io.ErrUnexpectedEOF
  1400. }
  1401. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1402. iNdEx += skippy
  1403. }
  1404. }
  1405. if iNdEx > l {
  1406. return io.ErrUnexpectedEOF
  1407. }
  1408. return nil
  1409. }
  1410. func skipGraph(dAtA []byte) (n int, err error) {
  1411. l := len(dAtA)
  1412. iNdEx := 0
  1413. for iNdEx < l {
  1414. var wire uint64
  1415. for shift := uint(0); ; shift += 7 {
  1416. if shift >= 64 {
  1417. return 0, ErrIntOverflowGraph
  1418. }
  1419. if iNdEx >= l {
  1420. return 0, io.ErrUnexpectedEOF
  1421. }
  1422. b := dAtA[iNdEx]
  1423. iNdEx++
  1424. wire |= (uint64(b) & 0x7F) << shift
  1425. if b < 0x80 {
  1426. break
  1427. }
  1428. }
  1429. wireType := int(wire & 0x7)
  1430. switch wireType {
  1431. case 0:
  1432. for shift := uint(0); ; shift += 7 {
  1433. if shift >= 64 {
  1434. return 0, ErrIntOverflowGraph
  1435. }
  1436. if iNdEx >= l {
  1437. return 0, io.ErrUnexpectedEOF
  1438. }
  1439. iNdEx++
  1440. if dAtA[iNdEx-1] < 0x80 {
  1441. break
  1442. }
  1443. }
  1444. return iNdEx, nil
  1445. case 1:
  1446. iNdEx += 8
  1447. return iNdEx, nil
  1448. case 2:
  1449. var length int
  1450. for shift := uint(0); ; shift += 7 {
  1451. if shift >= 64 {
  1452. return 0, ErrIntOverflowGraph
  1453. }
  1454. if iNdEx >= l {
  1455. return 0, io.ErrUnexpectedEOF
  1456. }
  1457. b := dAtA[iNdEx]
  1458. iNdEx++
  1459. length |= (int(b) & 0x7F) << shift
  1460. if b < 0x80 {
  1461. break
  1462. }
  1463. }
  1464. iNdEx += length
  1465. if length < 0 {
  1466. return 0, ErrInvalidLengthGraph
  1467. }
  1468. return iNdEx, nil
  1469. case 3:
  1470. for {
  1471. var innerWire uint64
  1472. var start int = iNdEx
  1473. for shift := uint(0); ; shift += 7 {
  1474. if shift >= 64 {
  1475. return 0, ErrIntOverflowGraph
  1476. }
  1477. if iNdEx >= l {
  1478. return 0, io.ErrUnexpectedEOF
  1479. }
  1480. b := dAtA[iNdEx]
  1481. iNdEx++
  1482. innerWire |= (uint64(b) & 0x7F) << shift
  1483. if b < 0x80 {
  1484. break
  1485. }
  1486. }
  1487. innerWireType := int(innerWire & 0x7)
  1488. if innerWireType == 4 {
  1489. break
  1490. }
  1491. next, err := skipGraph(dAtA[start:])
  1492. if err != nil {
  1493. return 0, err
  1494. }
  1495. iNdEx = start + next
  1496. }
  1497. return iNdEx, nil
  1498. case 4:
  1499. return iNdEx, nil
  1500. case 5:
  1501. iNdEx += 4
  1502. return iNdEx, nil
  1503. default:
  1504. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1505. }
  1506. }
  1507. panic("unreachable")
  1508. }
  1509. var (
  1510. ErrInvalidLengthGraph = fmt.Errorf("proto: negative length found during unmarshaling")
  1511. ErrIntOverflowGraph = fmt.Errorf("proto: integer overflow")
  1512. )
  1513. func init() {
  1514. proto.RegisterFile("app/service/openplatform/anti-fraud/api/grpc/v1/graph.proto", fileDescriptor_graph_68b3f0bc01c1e456)
  1515. }
  1516. var fileDescriptor_graph_68b3f0bc01c1e456 = []byte{
  1517. // 705 bytes of a gzipped FileDescriptorProto
  1518. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x55, 0xcd, 0x6e, 0xd3, 0x4c,
  1519. 0x14, 0xad, 0x93, 0xaf, 0x69, 0x33, 0xfd, 0x10, 0x62, 0x60, 0x61, 0x0a, 0x78, 0x2a, 0xf3, 0xa3,
  1520. 0x4a, 0x10, 0xbb, 0xa1, 0x62, 0x41, 0x2b, 0x36, 0x29, 0x02, 0x45, 0x08, 0xb5, 0x32, 0x15, 0x8b,
  1521. 0x6e, 0x2a, 0x77, 0x3c, 0x4d, 0x46, 0xc4, 0xf6, 0xd4, 0x3f, 0xa9, 0xd8, 0xf1, 0x1e, 0xec, 0x79,
  1522. 0x96, 0x2e, 0x59, 0xb2, 0x1a, 0x51, 0xb3, 0xcb, 0x32, 0x2f, 0x00, 0x9a, 0xf1, 0x38, 0x76, 0x2b,
  1523. 0x47, 0x14, 0x89, 0x25, 0xbb, 0xeb, 0x33, 0xf7, 0x1e, 0xdf, 0x73, 0xe6, 0x5e, 0x1b, 0x6c, 0xbb,
  1524. 0x8c, 0xd9, 0x31, 0x89, 0xc6, 0x14, 0x13, 0x3b, 0x64, 0x24, 0x60, 0x23, 0x37, 0x39, 0x0e, 0x23,
  1525. 0xdf, 0x76, 0x83, 0x84, 0x76, 0x8e, 0x23, 0x37, 0xf5, 0x6c, 0x97, 0x51, 0x7b, 0x10, 0x31, 0x6c,
  1526. 0x8f, 0xbb, 0xf6, 0x20, 0x72, 0xd9, 0xd0, 0x62, 0x51, 0x98, 0x84, 0xf0, 0xb6, 0x28, 0xb0, 0x54,
  1527. 0xb5, 0x25, 0x0a, 0x64, 0xbe, 0x35, 0xee, 0xae, 0x76, 0x06, 0x34, 0x19, 0xa6, 0x47, 0x16, 0x0e,
  1528. 0x7d, 0x7b, 0x10, 0x0e, 0x42, 0x5b, 0x56, 0x1c, 0xa5, 0xc7, 0xf2, 0x49, 0x3e, 0xc8, 0x28, 0x67,
  1529. 0x32, 0x3f, 0x37, 0xc1, 0xcd, 0xd7, 0x82, 0x79, 0x2f, 0x22, 0xcc, 0x8d, 0x88, 0x43, 0x4e, 0x52,
  1530. 0x12, 0x27, 0xb0, 0x07, 0x9a, 0x3e, 0xf5, 0x74, 0x6d, 0x4d, 0x5b, 0x6f, 0xf6, 0x36, 0x32, 0x8e,
  1531. 0x9a, 0x6f, 0xfb, 0x2f, 0x27, 0x1c, 0x09, 0x74, 0xca, 0x91, 0x21, 0x3a, 0xdd, 0x32, 0x7d, 0xea,
  1532. 0x99, 0x6b, 0x63, 0x77, 0x44, 0x3d, 0x37, 0x21, 0x5b, 0x66, 0x44, 0x4e, 0x52, 0x1a, 0x11, 0xcf,
  1533. 0x74, 0x44, 0x1a, 0x7c, 0x01, 0x1a, 0x94, 0xe9, 0x8d, 0x35, 0x6d, 0xbd, 0xdd, 0xeb, 0x64, 0x1c,
  1534. 0x35, 0xfa, 0x7b, 0x13, 0x8e, 0x1a, 0x94, 0x4d, 0x39, 0xba, 0x97, 0x13, 0x50, 0x56, 0x5f, 0xdf,
  1535. 0xa0, 0x0c, 0xee, 0x82, 0x65, 0x9c, 0xc6, 0x49, 0xe8, 0x93, 0x48, 0x6f, 0xca, 0x3e, 0x36, 0x27,
  1536. 0x1c, 0xcd, 0xb0, 0x29, 0x47, 0xf7, 0x73, 0x92, 0x02, 0xa9, 0xa7, 0x9a, 0x15, 0xc0, 0x7d, 0xb0,
  1537. 0x44, 0x13, 0xe2, 0x1f, 0x52, 0x4f, 0xff, 0x4f, 0xf2, 0x6d, 0x67, 0x1c, 0xb5, 0xfa, 0x09, 0xf1,
  1538. 0xa5, 0xb4, 0xe2, 0x70, 0xca, 0x91, 0xa9, 0xba, 0xcb, 0x81, 0x7a, 0xde, 0x96, 0x38, 0xed, 0x7b,
  1539. 0xf0, 0x00, 0xac, 0xe0, 0x11, 0x25, 0x41, 0x72, 0x98, 0x7c, 0x64, 0x44, 0x5f, 0x94, 0x72, 0x9f,
  1540. 0x4f, 0x38, 0xaa, 0xc2, 0x53, 0x8e, 0x1e, 0xa9, 0x66, 0x4b, 0xb0, 0x9e, 0x17, 0xe4, 0x19, 0xfb,
  1541. 0x22, 0xe1, 0xa7, 0x06, 0x6e, 0x5d, 0xbc, 0x9d, 0x98, 0x85, 0x41, 0x4c, 0xe0, 0x43, 0xb0, 0x14,
  1542. 0xa7, 0x18, 0x93, 0x38, 0x56, 0x57, 0xb4, 0x22, 0x04, 0x28, 0xc8, 0x29, 0x02, 0xb8, 0x05, 0x00,
  1543. 0x76, 0x59, 0x82, 0x87, 0xae, 0x10, 0x9d, 0xdf, 0xc4, 0x9d, 0x8c, 0xa3, 0xf6, 0x4e, 0x8e, 0x4a,
  1544. 0xdd, 0x95, 0x14, 0xa7, 0xad, 0xe2, 0xbe, 0x07, 0x1f, 0x83, 0x36, 0x1e, 0xba, 0xa3, 0x11, 0x09,
  1545. 0x06, 0x44, 0xfa, 0xdf, 0xee, 0x5d, 0x9b, 0x70, 0x54, 0x82, 0x4e, 0x19, 0xc2, 0x0d, 0xb0, 0x12,
  1546. 0x90, 0xd3, 0x43, 0x55, 0xad, 0xec, 0xbd, 0x2e, 0x4c, 0xa8, 0xc0, 0x0e, 0x08, 0xc8, 0xa9, 0x7a,
  1547. 0xb3, 0x50, 0x30, 0x0e, 0x53, 0x3c, 0x24, 0x91, 0xb2, 0x4c, 0x2a, 0x50, 0x90, 0x53, 0x04, 0xe6,
  1548. 0x97, 0x16, 0xb8, 0x21, 0x1d, 0xd8, 0x19, 0x12, 0xfc, 0xe1, 0xdf, 0x74, 0xfe, 0xe9, 0x74, 0xbe,
  1549. 0xb9, 0x6c, 0x73, 0xb7, 0x62, 0x73, 0xc9, 0x55, 0xd8, 0x5d, 0xcb, 0x55, 0xa4, 0xc3, 0x77, 0xd5,
  1550. 0x91, 0x68, 0x49, 0xba, 0x67, 0x17, 0x46, 0x62, 0xca, 0xd1, 0x03, 0xa5, 0xba, 0x80, 0xea, 0x29,
  1551. 0x2b, 0xa3, 0xb3, 0x0b, 0x96, 0x8b, 0x0c, 0x7d, 0x49, 0x72, 0x4a, 0x23, 0x0b, 0xac, 0x34, 0xb2,
  1552. 0x40, 0xe6, 0x18, 0x59, 0x80, 0x42, 0x72, 0x4c, 0x30, 0x0e, 0x3d, 0xa2, 0x2f, 0x97, 0x92, 0x15,
  1553. 0x54, 0x4a, 0x56, 0xc0, 0x1c, 0xc9, 0xea, 0xf4, 0xf2, 0x76, 0xb7, 0xff, 0xe2, 0x76, 0xcb, 0x46,
  1554. 0xd5, 0x12, 0x03, 0x79, 0xe3, 0xdd, 0xca, 0x12, 0x57, 0x1a, 0xcd, 0x81, 0x79, 0x8d, 0xaa, 0xd3,
  1555. 0x57, 0x00, 0x56, 0xf7, 0x44, 0x7d, 0x27, 0xd4, 0x5e, 0x16, 0x23, 0xa0, 0xc9, 0xf6, 0x67, 0x7b,
  1556. 0x59, 0x6c, 0x9b, 0xd8, 0xcb, 0xf7, 0x79, 0xfc, 0xf4, 0x87, 0x06, 0x16, 0x25, 0x11, 0x0c, 0xc1,
  1557. 0xff, 0xd5, 0x6f, 0x0f, 0xb4, 0xac, 0xb9, 0x7f, 0x1d, 0xab, 0xe6, 0x17, 0xb2, 0x6a, 0x5f, 0x39,
  1558. 0x5f, 0x35, 0x4b, 0x01, 0x28, 0x25, 0xc0, 0x27, 0xbf, 0x2b, 0xaf, 0x7e, 0x11, 0x56, 0x3b, 0x57,
  1559. 0xcc, 0xce, 0x5f, 0xd5, 0xbb, 0x7b, 0x76, 0x6e, 0x2c, 0x7c, 0x3b, 0x37, 0x16, 0x3e, 0x65, 0x86,
  1560. 0x76, 0x96, 0x19, 0xda, 0xd7, 0xcc, 0xd0, 0xbe, 0x67, 0x86, 0x76, 0xd0, 0x18, 0x77, 0x8f, 0x5a,
  1561. 0xf2, 0xdf, 0xb8, 0xf9, 0x2b, 0x00, 0x00, 0xff, 0xff, 0xce, 0x11, 0xf3, 0xf2, 0xa4, 0x07, 0x00,
  1562. 0x00,
  1563. }