-
Notifications
You must be signed in to change notification settings - Fork 46
/
msg_server.pb.go
663 lines (619 loc) · 29.1 KB
/
msg_server.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: desmos/profiles/v1beta1/msg_server.proto
package types
import (
context "context"
fmt "fmt"
_ "github.com/cosmos/cosmos-sdk/codec/types"
_ "github.com/gogo/protobuf/gogoproto"
grpc1 "github.com/gogo/protobuf/grpc"
proto "github.com/gogo/protobuf/proto"
_ "github.com/regen-network/cosmos-proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
func init() {
proto.RegisterFile("desmos/profiles/v1beta1/msg_server.proto", fileDescriptor_e042115035680605)
}
var fileDescriptor_e042115035680605 = []byte{
// 566 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x95, 0x4f, 0x6f, 0xd3, 0x30,
0x18, 0xc6, 0x57, 0x21, 0x21, 0xe1, 0x69, 0x02, 0x0c, 0x12, 0x5a, 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bc, 0xfa,
0x5e, 0x98, 0xb1, 0xa0, 0xe8, 0xb0, 0xc3, 0x23, 0x63, 0xe2, 0xbc, 0x73, 0x2c, 0xd0, 0x7d, 0xe7,
0x58, 0xa0, 0x31, 0x9a, 0xa0, 0x07, 0x1f, 0x13, 0x3e, 0x6c, 0x65, 0x77, 0x65, 0x33, 0x8e, 0xc5,
0x98, 0x6b, 0x7c, 0xe2, 0x2a, 0xb2, 0x4e, 0x7b, 0x6f, 0xaa, 0xd0, 0xf6, 0x0e, 0x76, 0x38, 0x5b,
0x77, 0x0e, 0xdc, 0xf1, 0xd7, 0x79, 0xf7, 0x0e, 0x6e, 0xf2, 0xc6, 0x5d, 0xa1, 0xfb, 0x59, 0xb2,
0x66, 0x9a, 0xb2, 0x24, 0xce, 0x37, 0x18, 0xbf, 0xda, 0xb5, 0x0c, 0x0b, 0xf6, 0xce, 0x2a, 0xc0,
0xc6, 0x74, 0x8a, 0x1e, 0x16, 0x91, 0x6c, 0xdb, 0xfa, 0xee, 0x15, 0xd8, 0xc6, 0xe7, 0x95, 0xf0,
0xa5, 0xf5, 0xc5, 0x87, 0x9b, 0x99, 0x5f, 0xbb, 0x9d, 0xf9, 0xb5, 0x3f, 0x33, 0xbf, 0xf6, 0x73,
0xee, 0x1f, 0xdc, 0xce, 0xfd, 0x83, 0xdf, 0x73, 0xff, 0xe0, 0x4b, 0x40, 0x13, 0x3d, 0x18, 0x47,
0x41, 0x2c, 0x46, 0x61, 0x51, 0xba, 0xce, 0x48, 0xa4, 0x16, 0xdf, 0xe1, 0xb7, 0x7f, 0x6f, 0xa5,
0x9e, 0xa6, 0xa0, 0xa2, 0xbb, 0xf9, 0xdb, 0x78, 0xf6, 0x37, 0x00, 0x00, 0xff, 0xff, 0x68, 0x11,
0x52, 0x2e, 0x30, 0x09, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConn
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion4
// MsgClient is the client API for Msg service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type MsgClient interface {
// SaveProfile defines the method to save a profile
SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error)
// DeleteProfile defines the method to delete an existing profile
DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error)
// RequestDTagTransfer defines the method to request another user to transfer
// their DTag to you
RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error)
// CancelDTagTransferRequest defines the method to cancel an outgoing DTag
// transfer request
CancelDTagTransferRequest(ctx context.Context, in *MsgCancelDTagTransferRequest, opts ...grpc.CallOption) (*MsgCancelDTagTransferRequestResponse, error)
// AcceptDTagTransferRequest defines the method to accept an incoming DTag
// transfer request
AcceptDTagTransferRequest(ctx context.Context, in *MsgAcceptDTagTransferRequest, opts ...grpc.CallOption) (*MsgAcceptDTagTransferRequestResponse, error)
// RefuseDTagTransferRequest defines the method to refuse an incoming DTag
// transfer request
RefuseDTagTransferRequest(ctx context.Context, in *MsgRefuseDTagTransferRequest, opts ...grpc.CallOption) (*MsgRefuseDTagTransferRequestResponse, error)
// CreateRelationship defines a method for creating a new relationship
CreateRelationship(ctx context.Context, in *MsgCreateRelationship, opts ...grpc.CallOption) (*MsgCreateRelationshipResponse, error)
// DeleteRelationship defines a method for deleting a relationship
DeleteRelationship(ctx context.Context, in *MsgDeleteRelationship, opts ...grpc.CallOption) (*MsgDeleteRelationshipResponse, error)
// BlockUser defines a method for blocking a user
BlockUser(ctx context.Context, in *MsgBlockUser, opts ...grpc.CallOption) (*MsgBlockUserResponse, error)
// UnblockUser defines a method for unblocking a user
UnblockUser(ctx context.Context, in *MsgUnblockUser, opts ...grpc.CallOption) (*MsgUnblockUserResponse, error)
// LinkChainAccount defines a method to link an external chain account to a
// profile
LinkChainAccount(ctx context.Context, in *MsgLinkChainAccount, opts ...grpc.CallOption) (*MsgLinkChainAccountResponse, error)
// UnlinkChainAccount defines a method to unlink an external chain account
// from a profile
UnlinkChainAccount(ctx context.Context, in *MsgUnlinkChainAccount, opts ...grpc.CallOption) (*MsgUnlinkChainAccountResponse, error)
// LinkApplication defines a method to create a centralized application
// link
LinkApplication(ctx context.Context, in *MsgLinkApplication, opts ...grpc.CallOption) (*MsgLinkApplicationResponse, error)
// UnlinkApplication defines a method to remove a centralized application
UnlinkApplication(ctx context.Context, in *MsgUnlinkApplication, opts ...grpc.CallOption) (*MsgUnlinkApplicationResponse, error)
}
type msgClient struct {
cc grpc1.ClientConn
}
func NewMsgClient(cc grpc1.ClientConn) MsgClient {
return &msgClient{cc}
}
func (c *msgClient) SaveProfile(ctx context.Context, in *MsgSaveProfile, opts ...grpc.CallOption) (*MsgSaveProfileResponse, error) {
out := new(MsgSaveProfileResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/SaveProfile", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) DeleteProfile(ctx context.Context, in *MsgDeleteProfile, opts ...grpc.CallOption) (*MsgDeleteProfileResponse, error) {
out := new(MsgDeleteProfileResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/DeleteProfile", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) RequestDTagTransfer(ctx context.Context, in *MsgRequestDTagTransfer, opts ...grpc.CallOption) (*MsgRequestDTagTransferResponse, error) {
out := new(MsgRequestDTagTransferResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/RequestDTagTransfer", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) CancelDTagTransferRequest(ctx context.Context, in *MsgCancelDTagTransferRequest, opts ...grpc.CallOption) (*MsgCancelDTagTransferRequestResponse, error) {
out := new(MsgCancelDTagTransferRequestResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/CancelDTagTransferRequest", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) AcceptDTagTransferRequest(ctx context.Context, in *MsgAcceptDTagTransferRequest, opts ...grpc.CallOption) (*MsgAcceptDTagTransferRequestResponse, error) {
out := new(MsgAcceptDTagTransferRequestResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/AcceptDTagTransferRequest", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) RefuseDTagTransferRequest(ctx context.Context, in *MsgRefuseDTagTransferRequest, opts ...grpc.CallOption) (*MsgRefuseDTagTransferRequestResponse, error) {
out := new(MsgRefuseDTagTransferRequestResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/RefuseDTagTransferRequest", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) CreateRelationship(ctx context.Context, in *MsgCreateRelationship, opts ...grpc.CallOption) (*MsgCreateRelationshipResponse, error) {
out := new(MsgCreateRelationshipResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/CreateRelationship", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) DeleteRelationship(ctx context.Context, in *MsgDeleteRelationship, opts ...grpc.CallOption) (*MsgDeleteRelationshipResponse, error) {
out := new(MsgDeleteRelationshipResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/DeleteRelationship", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) BlockUser(ctx context.Context, in *MsgBlockUser, opts ...grpc.CallOption) (*MsgBlockUserResponse, error) {
out := new(MsgBlockUserResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/BlockUser", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) UnblockUser(ctx context.Context, in *MsgUnblockUser, opts ...grpc.CallOption) (*MsgUnblockUserResponse, error) {
out := new(MsgUnblockUserResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/UnblockUser", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) LinkChainAccount(ctx context.Context, in *MsgLinkChainAccount, opts ...grpc.CallOption) (*MsgLinkChainAccountResponse, error) {
out := new(MsgLinkChainAccountResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/LinkChainAccount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) UnlinkChainAccount(ctx context.Context, in *MsgUnlinkChainAccount, opts ...grpc.CallOption) (*MsgUnlinkChainAccountResponse, error) {
out := new(MsgUnlinkChainAccountResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/UnlinkChainAccount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) LinkApplication(ctx context.Context, in *MsgLinkApplication, opts ...grpc.CallOption) (*MsgLinkApplicationResponse, error) {
out := new(MsgLinkApplicationResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/LinkApplication", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *msgClient) UnlinkApplication(ctx context.Context, in *MsgUnlinkApplication, opts ...grpc.CallOption) (*MsgUnlinkApplicationResponse, error) {
out := new(MsgUnlinkApplicationResponse)
err := c.cc.Invoke(ctx, "/desmos.profiles.v1beta1.Msg/UnlinkApplication", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// MsgServer is the server API for Msg service.
type MsgServer interface {
// SaveProfile defines the method to save a profile
SaveProfile(context.Context, *MsgSaveProfile) (*MsgSaveProfileResponse, error)
// DeleteProfile defines the method to delete an existing profile
DeleteProfile(context.Context, *MsgDeleteProfile) (*MsgDeleteProfileResponse, error)
// RequestDTagTransfer defines the method to request another user to transfer
// their DTag to you
RequestDTagTransfer(context.Context, *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error)
// CancelDTagTransferRequest defines the method to cancel an outgoing DTag
// transfer request
CancelDTagTransferRequest(context.Context, *MsgCancelDTagTransferRequest) (*MsgCancelDTagTransferRequestResponse, error)
// AcceptDTagTransferRequest defines the method to accept an incoming DTag
// transfer request
AcceptDTagTransferRequest(context.Context, *MsgAcceptDTagTransferRequest) (*MsgAcceptDTagTransferRequestResponse, error)
// RefuseDTagTransferRequest defines the method to refuse an incoming DTag
// transfer request
RefuseDTagTransferRequest(context.Context, *MsgRefuseDTagTransferRequest) (*MsgRefuseDTagTransferRequestResponse, error)
// CreateRelationship defines a method for creating a new relationship
CreateRelationship(context.Context, *MsgCreateRelationship) (*MsgCreateRelationshipResponse, error)
// DeleteRelationship defines a method for deleting a relationship
DeleteRelationship(context.Context, *MsgDeleteRelationship) (*MsgDeleteRelationshipResponse, error)
// BlockUser defines a method for blocking a user
BlockUser(context.Context, *MsgBlockUser) (*MsgBlockUserResponse, error)
// UnblockUser defines a method for unblocking a user
UnblockUser(context.Context, *MsgUnblockUser) (*MsgUnblockUserResponse, error)
// LinkChainAccount defines a method to link an external chain account to a
// profile
LinkChainAccount(context.Context, *MsgLinkChainAccount) (*MsgLinkChainAccountResponse, error)
// UnlinkChainAccount defines a method to unlink an external chain account
// from a profile
UnlinkChainAccount(context.Context, *MsgUnlinkChainAccount) (*MsgUnlinkChainAccountResponse, error)
// LinkApplication defines a method to create a centralized application
// link
LinkApplication(context.Context, *MsgLinkApplication) (*MsgLinkApplicationResponse, error)
// UnlinkApplication defines a method to remove a centralized application
UnlinkApplication(context.Context, *MsgUnlinkApplication) (*MsgUnlinkApplicationResponse, error)
}
// UnimplementedMsgServer can be embedded to have forward compatible implementations.
type UnimplementedMsgServer struct {
}
func (*UnimplementedMsgServer) SaveProfile(ctx context.Context, req *MsgSaveProfile) (*MsgSaveProfileResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method SaveProfile not implemented")
}
func (*UnimplementedMsgServer) DeleteProfile(ctx context.Context, req *MsgDeleteProfile) (*MsgDeleteProfileResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteProfile not implemented")
}
func (*UnimplementedMsgServer) RequestDTagTransfer(ctx context.Context, req *MsgRequestDTagTransfer) (*MsgRequestDTagTransferResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method RequestDTagTransfer not implemented")
}
func (*UnimplementedMsgServer) CancelDTagTransferRequest(ctx context.Context, req *MsgCancelDTagTransferRequest) (*MsgCancelDTagTransferRequestResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CancelDTagTransferRequest not implemented")
}
func (*UnimplementedMsgServer) AcceptDTagTransferRequest(ctx context.Context, req *MsgAcceptDTagTransferRequest) (*MsgAcceptDTagTransferRequestResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method AcceptDTagTransferRequest not implemented")
}
func (*UnimplementedMsgServer) RefuseDTagTransferRequest(ctx context.Context, req *MsgRefuseDTagTransferRequest) (*MsgRefuseDTagTransferRequestResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method RefuseDTagTransferRequest not implemented")
}
func (*UnimplementedMsgServer) CreateRelationship(ctx context.Context, req *MsgCreateRelationship) (*MsgCreateRelationshipResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateRelationship not implemented")
}
func (*UnimplementedMsgServer) DeleteRelationship(ctx context.Context, req *MsgDeleteRelationship) (*MsgDeleteRelationshipResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method DeleteRelationship not implemented")
}
func (*UnimplementedMsgServer) BlockUser(ctx context.Context, req *MsgBlockUser) (*MsgBlockUserResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method BlockUser not implemented")
}
func (*UnimplementedMsgServer) UnblockUser(ctx context.Context, req *MsgUnblockUser) (*MsgUnblockUserResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UnblockUser not implemented")
}
func (*UnimplementedMsgServer) LinkChainAccount(ctx context.Context, req *MsgLinkChainAccount) (*MsgLinkChainAccountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method LinkChainAccount not implemented")
}
func (*UnimplementedMsgServer) UnlinkChainAccount(ctx context.Context, req *MsgUnlinkChainAccount) (*MsgUnlinkChainAccountResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UnlinkChainAccount not implemented")
}
func (*UnimplementedMsgServer) LinkApplication(ctx context.Context, req *MsgLinkApplication) (*MsgLinkApplicationResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method LinkApplication not implemented")
}
func (*UnimplementedMsgServer) UnlinkApplication(ctx context.Context, req *MsgUnlinkApplication) (*MsgUnlinkApplicationResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method UnlinkApplication not implemented")
}
func RegisterMsgServer(s grpc1.Server, srv MsgServer) {
s.RegisterService(&_Msg_serviceDesc, srv)
}
func _Msg_SaveProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgSaveProfile)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).SaveProfile(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/SaveProfile",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).SaveProfile(ctx, req.(*MsgSaveProfile))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_DeleteProfile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgDeleteProfile)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).DeleteProfile(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/DeleteProfile",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).DeleteProfile(ctx, req.(*MsgDeleteProfile))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_RequestDTagTransfer_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgRequestDTagTransfer)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).RequestDTagTransfer(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/RequestDTagTransfer",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).RequestDTagTransfer(ctx, req.(*MsgRequestDTagTransfer))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_CancelDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgCancelDTagTransferRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).CancelDTagTransferRequest(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/CancelDTagTransferRequest",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CancelDTagTransferRequest(ctx, req.(*MsgCancelDTagTransferRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_AcceptDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgAcceptDTagTransferRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).AcceptDTagTransferRequest(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/AcceptDTagTransferRequest",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).AcceptDTagTransferRequest(ctx, req.(*MsgAcceptDTagTransferRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_RefuseDTagTransferRequest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgRefuseDTagTransferRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).RefuseDTagTransferRequest(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/RefuseDTagTransferRequest",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).RefuseDTagTransferRequest(ctx, req.(*MsgRefuseDTagTransferRequest))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_CreateRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgCreateRelationship)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).CreateRelationship(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/CreateRelationship",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).CreateRelationship(ctx, req.(*MsgCreateRelationship))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_DeleteRelationship_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgDeleteRelationship)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).DeleteRelationship(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/DeleteRelationship",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).DeleteRelationship(ctx, req.(*MsgDeleteRelationship))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_BlockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgBlockUser)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).BlockUser(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/BlockUser",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).BlockUser(ctx, req.(*MsgBlockUser))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_UnblockUser_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgUnblockUser)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).UnblockUser(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/UnblockUser",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UnblockUser(ctx, req.(*MsgUnblockUser))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_LinkChainAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgLinkChainAccount)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).LinkChainAccount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/LinkChainAccount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).LinkChainAccount(ctx, req.(*MsgLinkChainAccount))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_UnlinkChainAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgUnlinkChainAccount)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).UnlinkChainAccount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/UnlinkChainAccount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UnlinkChainAccount(ctx, req.(*MsgUnlinkChainAccount))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_LinkApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgLinkApplication)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).LinkApplication(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/LinkApplication",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).LinkApplication(ctx, req.(*MsgLinkApplication))
}
return interceptor(ctx, in, info, handler)
}
func _Msg_UnlinkApplication_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(MsgUnlinkApplication)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(MsgServer).UnlinkApplication(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/desmos.profiles.v1beta1.Msg/UnlinkApplication",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(MsgServer).UnlinkApplication(ctx, req.(*MsgUnlinkApplication))
}
return interceptor(ctx, in, info, handler)
}
var _Msg_serviceDesc = grpc.ServiceDesc{
ServiceName: "desmos.profiles.v1beta1.Msg",
HandlerType: (*MsgServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "SaveProfile",
Handler: _Msg_SaveProfile_Handler,
},
{
MethodName: "DeleteProfile",
Handler: _Msg_DeleteProfile_Handler,
},
{
MethodName: "RequestDTagTransfer",
Handler: _Msg_RequestDTagTransfer_Handler,
},
{
MethodName: "CancelDTagTransferRequest",
Handler: _Msg_CancelDTagTransferRequest_Handler,
},
{
MethodName: "AcceptDTagTransferRequest",
Handler: _Msg_AcceptDTagTransferRequest_Handler,
},
{
MethodName: "RefuseDTagTransferRequest",
Handler: _Msg_RefuseDTagTransferRequest_Handler,
},
{
MethodName: "CreateRelationship",
Handler: _Msg_CreateRelationship_Handler,
},
{
MethodName: "DeleteRelationship",
Handler: _Msg_DeleteRelationship_Handler,
},
{
MethodName: "BlockUser",
Handler: _Msg_BlockUser_Handler,
},
{
MethodName: "UnblockUser",
Handler: _Msg_UnblockUser_Handler,
},
{
MethodName: "LinkChainAccount",
Handler: _Msg_LinkChainAccount_Handler,
},
{
MethodName: "UnlinkChainAccount",
Handler: _Msg_UnlinkChainAccount_Handler,
},
{
MethodName: "LinkApplication",
Handler: _Msg_LinkApplication_Handler,
},
{
MethodName: "UnlinkApplication",
Handler: _Msg_UnlinkApplication_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "desmos/profiles/v1beta1/msg_server.proto",
}