-
Notifications
You must be signed in to change notification settings - Fork 302
/
application_services.pb.go
824 lines (768 loc) · 37.3 KB
/
application_services.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
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: lorawan-stack/api/application_services.proto
package ttnpb
import (
context "context"
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
golang_proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
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 _ = golang_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("lorawan-stack/api/application_services.proto", fileDescriptor_f6c42f4fe8e3c902)
}
func init() {
golang_proto.RegisterFile("lorawan-stack/api/application_services.proto", fileDescriptor_f6c42f4fe8e3c902)
}
var fileDescriptor_f6c42f4fe8e3c902 = []byte{
// 865 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0x4f, 0x4f, 0x03, 0x45,
0x1c, 0x65, 0x50, 0x6b, 0x18, 0x50, 0xc2, 0x98, 0x68, 0xb2, 0xe0, 0xc6, 0x2c, 0x52, 0x08, 0xd2,
0x59, 0xa5, 0x51, 0x83, 0x21, 0x2a, 0x50, 0x52, 0x1b, 0x24, 0x92, 0x12, 0x2e, 0xbd, 0xe0, 0xb6,
0x1d, 0xb6, 0x93, 0x96, 0x9d, 0x75, 0x67, 0xb6, 0x58, 0x1a, 0x12, 0xf5, 0xc8, 0x49, 0x63, 0xf4,
0x60, 0xbc, 0x1a, 0xbd, 0xf8, 0x19, 0xf4, 0x3b, 0x78, 0xd0, 0xa3, 0x16, 0x13, 0x3d, 0x70, 0xf0,
0x23, 0x98, 0x9d, 0xdd, 0x95, 0xdd, 0xb6, 0xec, 0xf6, 0x8f, 0xb7, 0xee, 0xcc, 0x9b, 0xdf, 0x7b,
0xf3, 0x76, 0x7f, 0xef, 0x57, 0xb8, 0xd5, 0x62, 0x8e, 0x71, 0x65, 0x58, 0x39, 0x2e, 0x8c, 0x5a,
0x53, 0x37, 0x6c, 0xaa, 0x1b, 0xb6, 0xdd, 0xa2, 0x35, 0x43, 0x50, 0x66, 0x9d, 0x73, 0xe2, 0xb4,
0x69, 0x8d, 0x70, 0x6c, 0x3b, 0x4c, 0x30, 0xf4, 0xac, 0x10, 0x16, 0x0e, 0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, 0x99, 0x51, 0x6c, 0xa8, 0x77, 0x7d, 0xc8, 0x91, 0x38, 0x2e,
0xe8, 0xd7, 0xbf, 0xfc, 0xe1, 0xf4, 0x3b, 0xa8, 0x54, 0xd1, 0x87, 0x63, 0x5e, 0x22, 0x3a, 0x75,
0xe4, 0x20, 0x4b, 0x9b, 0x63, 0x95, 0x6b, 0xf4, 0xf1, 0x34, 0x1c, 0xd1, 0x41, 0x36, 0xee, 0xd0,
0x43, 0xdf, 0x01, 0xb8, 0x78, 0x9a, 0xe6, 0xec, 0x69, 0xaa, 0xb3, 0x8f, 0x65, 0x70, 0x51, 0xfa,
0xb8, 0xa7, 0xec, 0x4e, 0x71, 0x41, 0xd9, 0xe1, 0x3f, 0x02, 0xb8, 0xe4, 0x35, 0x71, 0x94, 0x9c,
0xa3, 0x7c, 0x4a, 0x9f, 0xc7, 0xd0, 0xa1, 0xd6, 0x17, 0x07, 0x82, 0x2b, 0x8a, 0xd2, 0x0a, 0x52,
0xf2, 0xdb, 0x68, 0x2a, 0xc9, 0xfb, 0xc7, 0xbf, 0xfd, 0xa1, 0xce, 0x7c, 0xd2, 0x53, 0xc1, 0x0f,
0x3d, 0x15, 0xfc, 0xdd, 0x53, 0x67, 0xfe, 0xe9, 0xa9, 0xe0, 0xf3, 0x3b, 0x75, 0xe6, 0xe7, 0x3b,
0x15, 0x54, 0x74, 0x93, 0x61, 0xd1, 0x20, 0xa2, 0x41, 0x2d, 0x93, 0x63, 0x8b, 0x88, 0x2b, 0xe6,
0x34, 0xf5, 0xf8, 0x7f, 0xe0, 0x76, 0x5e, 0xb7, 0x9b, 0xa6, 0x2e, 0x84, 0x65, 0x57, 0xab, 0x19,
0xe9, 0x6b, 0xfe, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x22, 0x96, 0xdf, 0xe9, 0x1a, 0x0c, 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
// ApplicationRegistryClient is the client API for ApplicationRegistry service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ApplicationRegistryClient interface {
// Create a new application. This also sets the given organization or user as
// first collaborator with all possible rights.
Create(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*Application, error)
// Get the application with the given identifiers, selecting the fields specified
// in the field mask.
// More or less fields may be returned, depending on the rights of the caller.
Get(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error)
// List applications where the given user or organization is a direct collaborator.
// If no user or organization is given, this returns the applications the caller
// has access to.
// Similar to Get, this selects the fields given by the field mask.
// More or less fields may be returned, depending on the rights of the caller.
List(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*Applications, error)
// Update the application, changing the fields specified by the field mask to the provided values.
Update(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*Application, error)
// Delete the application. This may not release the application ID for reuse.
// All end devices must be deleted from the application before it can be deleted.
Delete(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*types.Empty, error)
// Restore a recently deleted application.
//
// Deployment configuration may specify if, and for how long after deletion,
// entities can be restored.
Restore(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*types.Empty, error)
// Purge the application. This will release the application ID for reuse.
// All end devices must be deleted from the application before it can be deleted.
// The application owner is responsible for clearing data from any (external) integrations
// that may store and expose data by application ID
Purge(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*types.Empty, error)
// Request DevEUI from the configured address block for a device inside the application.
// The maximum number of DevEUI's issued per application can be configured.
IssueDevEUI(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*IssueDevEUIResponse, error)
}
type applicationRegistryClient struct {
cc *grpc.ClientConn
}
func NewApplicationRegistryClient(cc *grpc.ClientConn) ApplicationRegistryClient {
return &applicationRegistryClient{cc}
}
func (c *applicationRegistryClient) Create(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*Application, error) {
out := new(Application)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/Create", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationRegistryClient) Get(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) {
out := new(Application)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/Get", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationRegistryClient) List(ctx context.Context, in *ListApplicationsRequest, opts ...grpc.CallOption) (*Applications, error) {
out := new(Applications)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/List", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationRegistryClient) Update(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*Application, error) {
out := new(Application)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/Update", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationRegistryClient) Delete(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*types.Empty, error) {
out := new(types.Empty)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/Delete", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationRegistryClient) Restore(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*types.Empty, error) {
out := new(types.Empty)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/Restore", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationRegistryClient) Purge(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*types.Empty, error) {
out := new(types.Empty)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/Purge", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationRegistryClient) IssueDevEUI(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*IssueDevEUIResponse, error) {
out := new(IssueDevEUIResponse)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationRegistry/IssueDevEUI", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ApplicationRegistryServer is the server API for ApplicationRegistry service.
type ApplicationRegistryServer interface {
// Create a new application. This also sets the given organization or user as
// first collaborator with all possible rights.
Create(context.Context, *CreateApplicationRequest) (*Application, error)
// Get the application with the given identifiers, selecting the fields specified
// in the field mask.
// More or less fields may be returned, depending on the rights of the caller.
Get(context.Context, *GetApplicationRequest) (*Application, error)
// List applications where the given user or organization is a direct collaborator.
// If no user or organization is given, this returns the applications the caller
// has access to.
// Similar to Get, this selects the fields given by the field mask.
// More or less fields may be returned, depending on the rights of the caller.
List(context.Context, *ListApplicationsRequest) (*Applications, error)
// Update the application, changing the fields specified by the field mask to the provided values.
Update(context.Context, *UpdateApplicationRequest) (*Application, error)
// Delete the application. This may not release the application ID for reuse.
// All end devices must be deleted from the application before it can be deleted.
Delete(context.Context, *ApplicationIdentifiers) (*types.Empty, error)
// Restore a recently deleted application.
//
// Deployment configuration may specify if, and for how long after deletion,
// entities can be restored.
Restore(context.Context, *ApplicationIdentifiers) (*types.Empty, error)
// Purge the application. This will release the application ID for reuse.
// All end devices must be deleted from the application before it can be deleted.
// The application owner is responsible for clearing data from any (external) integrations
// that may store and expose data by application ID
Purge(context.Context, *ApplicationIdentifiers) (*types.Empty, error)
// Request DevEUI from the configured address block for a device inside the application.
// The maximum number of DevEUI's issued per application can be configured.
IssueDevEUI(context.Context, *ApplicationIdentifiers) (*IssueDevEUIResponse, error)
}
// UnimplementedApplicationRegistryServer can be embedded to have forward compatible implementations.
type UnimplementedApplicationRegistryServer struct {
}
func (*UnimplementedApplicationRegistryServer) Create(ctx context.Context, req *CreateApplicationRequest) (*Application, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (*UnimplementedApplicationRegistryServer) Get(ctx context.Context, req *GetApplicationRequest) (*Application, error) {
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
func (*UnimplementedApplicationRegistryServer) List(ctx context.Context, req *ListApplicationsRequest) (*Applications, error) {
return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
}
func (*UnimplementedApplicationRegistryServer) Update(ctx context.Context, req *UpdateApplicationRequest) (*Application, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (*UnimplementedApplicationRegistryServer) Delete(ctx context.Context, req *ApplicationIdentifiers) (*types.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (*UnimplementedApplicationRegistryServer) Restore(ctx context.Context, req *ApplicationIdentifiers) (*types.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Restore not implemented")
}
func (*UnimplementedApplicationRegistryServer) Purge(ctx context.Context, req *ApplicationIdentifiers) (*types.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Purge not implemented")
}
func (*UnimplementedApplicationRegistryServer) IssueDevEUI(ctx context.Context, req *ApplicationIdentifiers) (*IssueDevEUIResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method IssueDevEUI not implemented")
}
func RegisterApplicationRegistryServer(s *grpc.Server, srv ApplicationRegistryServer) {
s.RegisterService(&_ApplicationRegistry_serviceDesc, srv)
}
func _ApplicationRegistry_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateApplicationRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).Create(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).Create(ctx, req.(*CreateApplicationRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationRegistry_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetApplicationRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).Get(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/Get",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).Get(ctx, req.(*GetApplicationRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationRegistry_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListApplicationsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).List(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/List",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).List(ctx, req.(*ListApplicationsRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationRegistry_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateApplicationRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).Update(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).Update(ctx, req.(*UpdateApplicationRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationRegistry_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ApplicationIdentifiers)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).Delete(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/Delete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).Delete(ctx, req.(*ApplicationIdentifiers))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationRegistry_Restore_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ApplicationIdentifiers)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).Restore(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/Restore",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).Restore(ctx, req.(*ApplicationIdentifiers))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationRegistry_Purge_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ApplicationIdentifiers)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).Purge(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/Purge",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).Purge(ctx, req.(*ApplicationIdentifiers))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationRegistry_IssueDevEUI_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ApplicationIdentifiers)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationRegistryServer).IssueDevEUI(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationRegistry/IssueDevEUI",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationRegistryServer).IssueDevEUI(ctx, req.(*ApplicationIdentifiers))
}
return interceptor(ctx, in, info, handler)
}
var _ApplicationRegistry_serviceDesc = grpc.ServiceDesc{
ServiceName: "ttn.lorawan.v3.ApplicationRegistry",
HandlerType: (*ApplicationRegistryServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Create",
Handler: _ApplicationRegistry_Create_Handler,
},
{
MethodName: "Get",
Handler: _ApplicationRegistry_Get_Handler,
},
{
MethodName: "List",
Handler: _ApplicationRegistry_List_Handler,
},
{
MethodName: "Update",
Handler: _ApplicationRegistry_Update_Handler,
},
{
MethodName: "Delete",
Handler: _ApplicationRegistry_Delete_Handler,
},
{
MethodName: "Restore",
Handler: _ApplicationRegistry_Restore_Handler,
},
{
MethodName: "Purge",
Handler: _ApplicationRegistry_Purge_Handler,
},
{
MethodName: "IssueDevEUI",
Handler: _ApplicationRegistry_IssueDevEUI_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "lorawan-stack/api/application_services.proto",
}
// ApplicationAccessClient is the client API for ApplicationAccess service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ApplicationAccessClient interface {
// List the rights the caller has on this application.
ListRights(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*Rights, error)
// Create an API key scoped to this application.
CreateAPIKey(ctx context.Context, in *CreateApplicationAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
// List the API keys for this application.
ListAPIKeys(ctx context.Context, in *ListApplicationAPIKeysRequest, opts ...grpc.CallOption) (*APIKeys, error)
// Get a single API key of this application.
GetAPIKey(ctx context.Context, in *GetApplicationAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
// Update the rights of an API key of the application.
// This method can also be used to delete the API key, by giving it no rights.
// The caller is required to have all assigned or/and removed rights.
UpdateAPIKey(ctx context.Context, in *UpdateApplicationAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error)
// Get the rights of a collaborator (member) of the application.
// Pseudo-rights in the response (such as the "_ALL" right) are not expanded.
GetCollaborator(ctx context.Context, in *GetApplicationCollaboratorRequest, opts ...grpc.CallOption) (*GetCollaboratorResponse, error)
// Set the rights of a collaborator (member) on the application.
// This method can also be used to delete the collaborator, by giving them no rights.
// The caller is required to have all assigned or/and removed rights.
SetCollaborator(ctx context.Context, in *SetApplicationCollaboratorRequest, opts ...grpc.CallOption) (*types.Empty, error)
// List the collaborators on this application.
ListCollaborators(ctx context.Context, in *ListApplicationCollaboratorsRequest, opts ...grpc.CallOption) (*Collaborators, error)
}
type applicationAccessClient struct {
cc *grpc.ClientConn
}
func NewApplicationAccessClient(cc *grpc.ClientConn) ApplicationAccessClient {
return &applicationAccessClient{cc}
}
func (c *applicationAccessClient) ListRights(ctx context.Context, in *ApplicationIdentifiers, opts ...grpc.CallOption) (*Rights, error) {
out := new(Rights)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/ListRights", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationAccessClient) CreateAPIKey(ctx context.Context, in *CreateApplicationAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error) {
out := new(APIKey)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/CreateAPIKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationAccessClient) ListAPIKeys(ctx context.Context, in *ListApplicationAPIKeysRequest, opts ...grpc.CallOption) (*APIKeys, error) {
out := new(APIKeys)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/ListAPIKeys", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationAccessClient) GetAPIKey(ctx context.Context, in *GetApplicationAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error) {
out := new(APIKey)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/GetAPIKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationAccessClient) UpdateAPIKey(ctx context.Context, in *UpdateApplicationAPIKeyRequest, opts ...grpc.CallOption) (*APIKey, error) {
out := new(APIKey)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/UpdateAPIKey", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationAccessClient) GetCollaborator(ctx context.Context, in *GetApplicationCollaboratorRequest, opts ...grpc.CallOption) (*GetCollaboratorResponse, error) {
out := new(GetCollaboratorResponse)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/GetCollaborator", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationAccessClient) SetCollaborator(ctx context.Context, in *SetApplicationCollaboratorRequest, opts ...grpc.CallOption) (*types.Empty, error) {
out := new(types.Empty)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/SetCollaborator", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *applicationAccessClient) ListCollaborators(ctx context.Context, in *ListApplicationCollaboratorsRequest, opts ...grpc.CallOption) (*Collaborators, error) {
out := new(Collaborators)
err := c.cc.Invoke(ctx, "/ttn.lorawan.v3.ApplicationAccess/ListCollaborators", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ApplicationAccessServer is the server API for ApplicationAccess service.
type ApplicationAccessServer interface {
// List the rights the caller has on this application.
ListRights(context.Context, *ApplicationIdentifiers) (*Rights, error)
// Create an API key scoped to this application.
CreateAPIKey(context.Context, *CreateApplicationAPIKeyRequest) (*APIKey, error)
// List the API keys for this application.
ListAPIKeys(context.Context, *ListApplicationAPIKeysRequest) (*APIKeys, error)
// Get a single API key of this application.
GetAPIKey(context.Context, *GetApplicationAPIKeyRequest) (*APIKey, error)
// Update the rights of an API key of the application.
// This method can also be used to delete the API key, by giving it no rights.
// The caller is required to have all assigned or/and removed rights.
UpdateAPIKey(context.Context, *UpdateApplicationAPIKeyRequest) (*APIKey, error)
// Get the rights of a collaborator (member) of the application.
// Pseudo-rights in the response (such as the "_ALL" right) are not expanded.
GetCollaborator(context.Context, *GetApplicationCollaboratorRequest) (*GetCollaboratorResponse, error)
// Set the rights of a collaborator (member) on the application.
// This method can also be used to delete the collaborator, by giving them no rights.
// The caller is required to have all assigned or/and removed rights.
SetCollaborator(context.Context, *SetApplicationCollaboratorRequest) (*types.Empty, error)
// List the collaborators on this application.
ListCollaborators(context.Context, *ListApplicationCollaboratorsRequest) (*Collaborators, error)
}
// UnimplementedApplicationAccessServer can be embedded to have forward compatible implementations.
type UnimplementedApplicationAccessServer struct {
}
func (*UnimplementedApplicationAccessServer) ListRights(ctx context.Context, req *ApplicationIdentifiers) (*Rights, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListRights not implemented")
}
func (*UnimplementedApplicationAccessServer) CreateAPIKey(ctx context.Context, req *CreateApplicationAPIKeyRequest) (*APIKey, error) {
return nil, status.Errorf(codes.Unimplemented, "method CreateAPIKey not implemented")
}
func (*UnimplementedApplicationAccessServer) ListAPIKeys(ctx context.Context, req *ListApplicationAPIKeysRequest) (*APIKeys, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListAPIKeys not implemented")
}
func (*UnimplementedApplicationAccessServer) GetAPIKey(ctx context.Context, req *GetApplicationAPIKeyRequest) (*APIKey, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetAPIKey not implemented")
}
func (*UnimplementedApplicationAccessServer) UpdateAPIKey(ctx context.Context, req *UpdateApplicationAPIKeyRequest) (*APIKey, error) {
return nil, status.Errorf(codes.Unimplemented, "method UpdateAPIKey not implemented")
}
func (*UnimplementedApplicationAccessServer) GetCollaborator(ctx context.Context, req *GetApplicationCollaboratorRequest) (*GetCollaboratorResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetCollaborator not implemented")
}
func (*UnimplementedApplicationAccessServer) SetCollaborator(ctx context.Context, req *SetApplicationCollaboratorRequest) (*types.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetCollaborator not implemented")
}
func (*UnimplementedApplicationAccessServer) ListCollaborators(ctx context.Context, req *ListApplicationCollaboratorsRequest) (*Collaborators, error) {
return nil, status.Errorf(codes.Unimplemented, "method ListCollaborators not implemented")
}
func RegisterApplicationAccessServer(s *grpc.Server, srv ApplicationAccessServer) {
s.RegisterService(&_ApplicationAccess_serviceDesc, srv)
}
func _ApplicationAccess_ListRights_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ApplicationIdentifiers)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).ListRights(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/ListRights",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).ListRights(ctx, req.(*ApplicationIdentifiers))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationAccess_CreateAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateApplicationAPIKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).CreateAPIKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/CreateAPIKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).CreateAPIKey(ctx, req.(*CreateApplicationAPIKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationAccess_ListAPIKeys_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListApplicationAPIKeysRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).ListAPIKeys(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/ListAPIKeys",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).ListAPIKeys(ctx, req.(*ListApplicationAPIKeysRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationAccess_GetAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetApplicationAPIKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).GetAPIKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/GetAPIKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).GetAPIKey(ctx, req.(*GetApplicationAPIKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationAccess_UpdateAPIKey_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateApplicationAPIKeyRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).UpdateAPIKey(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/UpdateAPIKey",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).UpdateAPIKey(ctx, req.(*UpdateApplicationAPIKeyRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationAccess_GetCollaborator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetApplicationCollaboratorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).GetCollaborator(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/GetCollaborator",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).GetCollaborator(ctx, req.(*GetApplicationCollaboratorRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationAccess_SetCollaborator_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(SetApplicationCollaboratorRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).SetCollaborator(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/SetCollaborator",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).SetCollaborator(ctx, req.(*SetApplicationCollaboratorRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ApplicationAccess_ListCollaborators_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListApplicationCollaboratorsRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ApplicationAccessServer).ListCollaborators(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/ttn.lorawan.v3.ApplicationAccess/ListCollaborators",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ApplicationAccessServer).ListCollaborators(ctx, req.(*ListApplicationCollaboratorsRequest))
}
return interceptor(ctx, in, info, handler)
}
var _ApplicationAccess_serviceDesc = grpc.ServiceDesc{
ServiceName: "ttn.lorawan.v3.ApplicationAccess",
HandlerType: (*ApplicationAccessServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ListRights",
Handler: _ApplicationAccess_ListRights_Handler,
},
{
MethodName: "CreateAPIKey",
Handler: _ApplicationAccess_CreateAPIKey_Handler,
},
{
MethodName: "ListAPIKeys",
Handler: _ApplicationAccess_ListAPIKeys_Handler,
},
{
MethodName: "GetAPIKey",
Handler: _ApplicationAccess_GetAPIKey_Handler,
},
{
MethodName: "UpdateAPIKey",
Handler: _ApplicationAccess_UpdateAPIKey_Handler,
},
{
MethodName: "GetCollaborator",
Handler: _ApplicationAccess_GetCollaborator_Handler,
},
{
MethodName: "SetCollaborator",
Handler: _ApplicationAccess_SetCollaborator_Handler,
},
{
MethodName: "ListCollaborators",
Handler: _ApplicationAccess_ListCollaborators_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "lorawan-stack/api/application_services.proto",
}