-
Notifications
You must be signed in to change notification settings - Fork 302
/
organization.pb.go
4562 lines (4398 loc) · 120 KB
/
organization.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
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: lorawan-stack/api/organization.proto
package ttnpb
import (
fmt "fmt"
io "io"
math "math"
math_bits "math/bits"
reflect "reflect"
strings "strings"
time "time"
_ "github.com/envoyproxy/protoc-gen-validate/validate"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
github_com_gogo_protobuf_sortkeys "github.com/gogo/protobuf/sortkeys"
github_com_gogo_protobuf_types "github.com/gogo/protobuf/types"
types "github.com/gogo/protobuf/types"
golang_proto "github.com/golang/protobuf/proto"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = golang_proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
var _ = time.Kitchen
// 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
type Organization struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=ids,proto3,embedded=ids" json:"ids"`
CreatedAt time.Time `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"`
UpdatedAt time.Time `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3,stdtime" json:"updated_at"`
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
// Key-value attributes for this organization. Typically used for organizing organizations or for storing integration-specific data.
Attributes map[string]string `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Contact information for this organization. Typically used to indicate who to contact with security/billing questions about the organization.
ContactInfo []*ContactInfo `protobuf:"bytes,7,rep,name=contact_info,json=contactInfo,proto3" json:"contact_info,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Organization) Reset() { *m = Organization{} }
func (*Organization) ProtoMessage() {}
func (*Organization) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{0}
}
func (m *Organization) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Organization) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Organization.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Organization) XXX_Merge(src proto.Message) {
xxx_messageInfo_Organization.Merge(m, src)
}
func (m *Organization) XXX_Size() int {
return m.Size()
}
func (m *Organization) XXX_DiscardUnknown() {
xxx_messageInfo_Organization.DiscardUnknown(m)
}
var xxx_messageInfo_Organization proto.InternalMessageInfo
func (m *Organization) GetCreatedAt() time.Time {
if m != nil {
return m.CreatedAt
}
return time.Time{}
}
func (m *Organization) GetUpdatedAt() time.Time {
if m != nil {
return m.UpdatedAt
}
return time.Time{}
}
func (m *Organization) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *Organization) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *Organization) GetAttributes() map[string]string {
if m != nil {
return m.Attributes
}
return nil
}
func (m *Organization) GetContactInfo() []*ContactInfo {
if m != nil {
return m.ContactInfo
}
return nil
}
type Organizations struct {
Organizations []*Organization `protobuf:"bytes,1,rep,name=organizations,proto3" json:"organizations,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Organizations) Reset() { *m = Organizations{} }
func (*Organizations) ProtoMessage() {}
func (*Organizations) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{1}
}
func (m *Organizations) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Organizations) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Organizations.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Organizations) XXX_Merge(src proto.Message) {
xxx_messageInfo_Organizations.Merge(m, src)
}
func (m *Organizations) XXX_Size() int {
return m.Size()
}
func (m *Organizations) XXX_DiscardUnknown() {
xxx_messageInfo_Organizations.DiscardUnknown(m)
}
var xxx_messageInfo_Organizations proto.InternalMessageInfo
func (m *Organizations) GetOrganizations() []*Organization {
if m != nil {
return m.Organizations
}
return nil
}
type GetOrganizationRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
// The names of the organization fields that should be returned.
FieldMask types.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOrganizationRequest) Reset() { *m = GetOrganizationRequest{} }
func (*GetOrganizationRequest) ProtoMessage() {}
func (*GetOrganizationRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{2}
}
func (m *GetOrganizationRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetOrganizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetOrganizationRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GetOrganizationRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOrganizationRequest.Merge(m, src)
}
func (m *GetOrganizationRequest) XXX_Size() int {
return m.Size()
}
func (m *GetOrganizationRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOrganizationRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOrganizationRequest proto.InternalMessageInfo
func (m *GetOrganizationRequest) GetFieldMask() types.FieldMask {
if m != nil {
return m.FieldMask
}
return types.FieldMask{}
}
type ListOrganizationsRequest struct {
// By default we list all organizations the caller has rights on.
// Set the user to instead list the organizations
// where the user or organization is collaborator on.
// NOTE: It is currently not possible to have organizations collaborating on
// other organizations.
Collaborator *OrganizationOrUserIdentifiers `protobuf:"bytes,1,opt,name=collaborator,proto3" json:"collaborator,omitempty"`
// The names of the organization fields that should be returned.
FieldMask types.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask"`
// Order the results by this field path (must be present in the field mask).
// Default ordering is by ID. Prepend with a minus (-) to reverse the order.
Order string `protobuf:"bytes,3,opt,name=order,proto3" json:"order,omitempty"`
// Limit the number of results per page.
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
// Page number for pagination. 0 is interpreted as 1.
Page uint32 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOrganizationsRequest) Reset() { *m = ListOrganizationsRequest{} }
func (*ListOrganizationsRequest) ProtoMessage() {}
func (*ListOrganizationsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{3}
}
func (m *ListOrganizationsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ListOrganizationsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ListOrganizationsRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ListOrganizationsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOrganizationsRequest.Merge(m, src)
}
func (m *ListOrganizationsRequest) XXX_Size() int {
return m.Size()
}
func (m *ListOrganizationsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListOrganizationsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListOrganizationsRequest proto.InternalMessageInfo
func (m *ListOrganizationsRequest) GetCollaborator() *OrganizationOrUserIdentifiers {
if m != nil {
return m.Collaborator
}
return nil
}
func (m *ListOrganizationsRequest) GetFieldMask() types.FieldMask {
if m != nil {
return m.FieldMask
}
return types.FieldMask{}
}
func (m *ListOrganizationsRequest) GetOrder() string {
if m != nil {
return m.Order
}
return ""
}
func (m *ListOrganizationsRequest) GetLimit() uint32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListOrganizationsRequest) GetPage() uint32 {
if m != nil {
return m.Page
}
return 0
}
type CreateOrganizationRequest struct {
Organization `protobuf:"bytes,1,opt,name=organization,proto3,embedded=organization" json:"organization"`
// Collaborator to grant all rights on the newly created application.
// NOTE: It is currently not possible to have organizations collaborating on
// other organizations.
Collaborator OrganizationOrUserIdentifiers `protobuf:"bytes,2,opt,name=collaborator,proto3" json:"collaborator"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOrganizationRequest) Reset() { *m = CreateOrganizationRequest{} }
func (*CreateOrganizationRequest) ProtoMessage() {}
func (*CreateOrganizationRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{4}
}
func (m *CreateOrganizationRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CreateOrganizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CreateOrganizationRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *CreateOrganizationRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOrganizationRequest.Merge(m, src)
}
func (m *CreateOrganizationRequest) XXX_Size() int {
return m.Size()
}
func (m *CreateOrganizationRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOrganizationRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOrganizationRequest proto.InternalMessageInfo
func (m *CreateOrganizationRequest) GetCollaborator() OrganizationOrUserIdentifiers {
if m != nil {
return m.Collaborator
}
return OrganizationOrUserIdentifiers{}
}
type UpdateOrganizationRequest struct {
Organization `protobuf:"bytes,1,opt,name=organization,proto3,embedded=organization" json:"organization"`
// The names of the organization fields that should be updated.
FieldMask types.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateOrganizationRequest) Reset() { *m = UpdateOrganizationRequest{} }
func (*UpdateOrganizationRequest) ProtoMessage() {}
func (*UpdateOrganizationRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{5}
}
func (m *UpdateOrganizationRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateOrganizationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateOrganizationRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *UpdateOrganizationRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateOrganizationRequest.Merge(m, src)
}
func (m *UpdateOrganizationRequest) XXX_Size() int {
return m.Size()
}
func (m *UpdateOrganizationRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateOrganizationRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateOrganizationRequest proto.InternalMessageInfo
func (m *UpdateOrganizationRequest) GetFieldMask() types.FieldMask {
if m != nil {
return m.FieldMask
}
return types.FieldMask{}
}
type ListOrganizationAPIKeysRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
// Limit the number of results per page.
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// Page number for pagination. 0 is interpreted as 1.
Page uint32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOrganizationAPIKeysRequest) Reset() { *m = ListOrganizationAPIKeysRequest{} }
func (*ListOrganizationAPIKeysRequest) ProtoMessage() {}
func (*ListOrganizationAPIKeysRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{6}
}
func (m *ListOrganizationAPIKeysRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ListOrganizationAPIKeysRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ListOrganizationAPIKeysRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ListOrganizationAPIKeysRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOrganizationAPIKeysRequest.Merge(m, src)
}
func (m *ListOrganizationAPIKeysRequest) XXX_Size() int {
return m.Size()
}
func (m *ListOrganizationAPIKeysRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListOrganizationAPIKeysRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListOrganizationAPIKeysRequest proto.InternalMessageInfo
func (m *ListOrganizationAPIKeysRequest) GetLimit() uint32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListOrganizationAPIKeysRequest) GetPage() uint32 {
if m != nil {
return m.Page
}
return 0
}
type GetOrganizationAPIKeyRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
// Unique public identifier for the API key.
KeyID string `protobuf:"bytes,2,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOrganizationAPIKeyRequest) Reset() { *m = GetOrganizationAPIKeyRequest{} }
func (*GetOrganizationAPIKeyRequest) ProtoMessage() {}
func (*GetOrganizationAPIKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{7}
}
func (m *GetOrganizationAPIKeyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetOrganizationAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetOrganizationAPIKeyRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GetOrganizationAPIKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOrganizationAPIKeyRequest.Merge(m, src)
}
func (m *GetOrganizationAPIKeyRequest) XXX_Size() int {
return m.Size()
}
func (m *GetOrganizationAPIKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOrganizationAPIKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOrganizationAPIKeyRequest proto.InternalMessageInfo
func (m *GetOrganizationAPIKeyRequest) GetKeyID() string {
if m != nil {
return m.KeyID
}
return ""
}
type CreateOrganizationAPIKeyRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Rights []Right `protobuf:"varint,3,rep,packed,name=rights,proto3,enum=ttn.lorawan.v3.Right" json:"rights,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateOrganizationAPIKeyRequest) Reset() { *m = CreateOrganizationAPIKeyRequest{} }
func (*CreateOrganizationAPIKeyRequest) ProtoMessage() {}
func (*CreateOrganizationAPIKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{8}
}
func (m *CreateOrganizationAPIKeyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *CreateOrganizationAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_CreateOrganizationAPIKeyRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *CreateOrganizationAPIKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateOrganizationAPIKeyRequest.Merge(m, src)
}
func (m *CreateOrganizationAPIKeyRequest) XXX_Size() int {
return m.Size()
}
func (m *CreateOrganizationAPIKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateOrganizationAPIKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateOrganizationAPIKeyRequest proto.InternalMessageInfo
func (m *CreateOrganizationAPIKeyRequest) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateOrganizationAPIKeyRequest) GetRights() []Right {
if m != nil {
return m.Rights
}
return nil
}
type UpdateOrganizationAPIKeyRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
APIKey `protobuf:"bytes,2,opt,name=api_key,json=apiKey,proto3,embedded=api_key" json:"api_key"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateOrganizationAPIKeyRequest) Reset() { *m = UpdateOrganizationAPIKeyRequest{} }
func (*UpdateOrganizationAPIKeyRequest) ProtoMessage() {}
func (*UpdateOrganizationAPIKeyRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{9}
}
func (m *UpdateOrganizationAPIKeyRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UpdateOrganizationAPIKeyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UpdateOrganizationAPIKeyRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *UpdateOrganizationAPIKeyRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateOrganizationAPIKeyRequest.Merge(m, src)
}
func (m *UpdateOrganizationAPIKeyRequest) XXX_Size() int {
return m.Size()
}
func (m *UpdateOrganizationAPIKeyRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateOrganizationAPIKeyRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateOrganizationAPIKeyRequest proto.InternalMessageInfo
type ListOrganizationCollaboratorsRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
// Limit the number of results per page.
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// Page number for pagination. 0 is interpreted as 1.
Page uint32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListOrganizationCollaboratorsRequest) Reset() { *m = ListOrganizationCollaboratorsRequest{} }
func (*ListOrganizationCollaboratorsRequest) ProtoMessage() {}
func (*ListOrganizationCollaboratorsRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{10}
}
func (m *ListOrganizationCollaboratorsRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ListOrganizationCollaboratorsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ListOrganizationCollaboratorsRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ListOrganizationCollaboratorsRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListOrganizationCollaboratorsRequest.Merge(m, src)
}
func (m *ListOrganizationCollaboratorsRequest) XXX_Size() int {
return m.Size()
}
func (m *ListOrganizationCollaboratorsRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListOrganizationCollaboratorsRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListOrganizationCollaboratorsRequest proto.InternalMessageInfo
func (m *ListOrganizationCollaboratorsRequest) GetLimit() uint32 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListOrganizationCollaboratorsRequest) GetPage() uint32 {
if m != nil {
return m.Page
}
return 0
}
type GetOrganizationCollaboratorRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
// NOTE: It is currently not possible to have organizations collaborating on
// other organizations.
OrganizationOrUserIdentifiers `protobuf:"bytes,2,opt,name=collaborator,proto3,embedded=collaborator" json:"collaborator"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetOrganizationCollaboratorRequest) Reset() { *m = GetOrganizationCollaboratorRequest{} }
func (*GetOrganizationCollaboratorRequest) ProtoMessage() {}
func (*GetOrganizationCollaboratorRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{11}
}
func (m *GetOrganizationCollaboratorRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GetOrganizationCollaboratorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GetOrganizationCollaboratorRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GetOrganizationCollaboratorRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetOrganizationCollaboratorRequest.Merge(m, src)
}
func (m *GetOrganizationCollaboratorRequest) XXX_Size() int {
return m.Size()
}
func (m *GetOrganizationCollaboratorRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetOrganizationCollaboratorRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetOrganizationCollaboratorRequest proto.InternalMessageInfo
type SetOrganizationCollaboratorRequest struct {
OrganizationIdentifiers `protobuf:"bytes,1,opt,name=organization_ids,json=organizationIds,proto3,embedded=organization_ids" json:"organization_ids"`
Collaborator Collaborator `protobuf:"bytes,2,opt,name=collaborator,proto3" json:"collaborator"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *SetOrganizationCollaboratorRequest) Reset() { *m = SetOrganizationCollaboratorRequest{} }
func (*SetOrganizationCollaboratorRequest) ProtoMessage() {}
func (*SetOrganizationCollaboratorRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_312da2e2e650bd3b, []int{12}
}
func (m *SetOrganizationCollaboratorRequest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *SetOrganizationCollaboratorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_SetOrganizationCollaboratorRequest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalToSizedBuffer(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *SetOrganizationCollaboratorRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_SetOrganizationCollaboratorRequest.Merge(m, src)
}
func (m *SetOrganizationCollaboratorRequest) XXX_Size() int {
return m.Size()
}
func (m *SetOrganizationCollaboratorRequest) XXX_DiscardUnknown() {
xxx_messageInfo_SetOrganizationCollaboratorRequest.DiscardUnknown(m)
}
var xxx_messageInfo_SetOrganizationCollaboratorRequest proto.InternalMessageInfo
func (m *SetOrganizationCollaboratorRequest) GetCollaborator() Collaborator {
if m != nil {
return m.Collaborator
}
return Collaborator{}
}
func init() {
proto.RegisterType((*Organization)(nil), "ttn.lorawan.v3.Organization")
golang_proto.RegisterType((*Organization)(nil), "ttn.lorawan.v3.Organization")
proto.RegisterMapType((map[string]string)(nil), "ttn.lorawan.v3.Organization.AttributesEntry")
golang_proto.RegisterMapType((map[string]string)(nil), "ttn.lorawan.v3.Organization.AttributesEntry")
proto.RegisterType((*Organizations)(nil), "ttn.lorawan.v3.Organizations")
golang_proto.RegisterType((*Organizations)(nil), "ttn.lorawan.v3.Organizations")
proto.RegisterType((*GetOrganizationRequest)(nil), "ttn.lorawan.v3.GetOrganizationRequest")
golang_proto.RegisterType((*GetOrganizationRequest)(nil), "ttn.lorawan.v3.GetOrganizationRequest")
proto.RegisterType((*ListOrganizationsRequest)(nil), "ttn.lorawan.v3.ListOrganizationsRequest")
golang_proto.RegisterType((*ListOrganizationsRequest)(nil), "ttn.lorawan.v3.ListOrganizationsRequest")
proto.RegisterType((*CreateOrganizationRequest)(nil), "ttn.lorawan.v3.CreateOrganizationRequest")
golang_proto.RegisterType((*CreateOrganizationRequest)(nil), "ttn.lorawan.v3.CreateOrganizationRequest")
proto.RegisterType((*UpdateOrganizationRequest)(nil), "ttn.lorawan.v3.UpdateOrganizationRequest")
golang_proto.RegisterType((*UpdateOrganizationRequest)(nil), "ttn.lorawan.v3.UpdateOrganizationRequest")
proto.RegisterType((*ListOrganizationAPIKeysRequest)(nil), "ttn.lorawan.v3.ListOrganizationAPIKeysRequest")
golang_proto.RegisterType((*ListOrganizationAPIKeysRequest)(nil), "ttn.lorawan.v3.ListOrganizationAPIKeysRequest")
proto.RegisterType((*GetOrganizationAPIKeyRequest)(nil), "ttn.lorawan.v3.GetOrganizationAPIKeyRequest")
golang_proto.RegisterType((*GetOrganizationAPIKeyRequest)(nil), "ttn.lorawan.v3.GetOrganizationAPIKeyRequest")
proto.RegisterType((*CreateOrganizationAPIKeyRequest)(nil), "ttn.lorawan.v3.CreateOrganizationAPIKeyRequest")
golang_proto.RegisterType((*CreateOrganizationAPIKeyRequest)(nil), "ttn.lorawan.v3.CreateOrganizationAPIKeyRequest")
proto.RegisterType((*UpdateOrganizationAPIKeyRequest)(nil), "ttn.lorawan.v3.UpdateOrganizationAPIKeyRequest")
golang_proto.RegisterType((*UpdateOrganizationAPIKeyRequest)(nil), "ttn.lorawan.v3.UpdateOrganizationAPIKeyRequest")
proto.RegisterType((*ListOrganizationCollaboratorsRequest)(nil), "ttn.lorawan.v3.ListOrganizationCollaboratorsRequest")
golang_proto.RegisterType((*ListOrganizationCollaboratorsRequest)(nil), "ttn.lorawan.v3.ListOrganizationCollaboratorsRequest")
proto.RegisterType((*GetOrganizationCollaboratorRequest)(nil), "ttn.lorawan.v3.GetOrganizationCollaboratorRequest")
golang_proto.RegisterType((*GetOrganizationCollaboratorRequest)(nil), "ttn.lorawan.v3.GetOrganizationCollaboratorRequest")
proto.RegisterType((*SetOrganizationCollaboratorRequest)(nil), "ttn.lorawan.v3.SetOrganizationCollaboratorRequest")
golang_proto.RegisterType((*SetOrganizationCollaboratorRequest)(nil), "ttn.lorawan.v3.SetOrganizationCollaboratorRequest")
}
func init() {
proto.RegisterFile("lorawan-stack/api/organization.proto", fileDescriptor_312da2e2e650bd3b)
}
func init() {
golang_proto.RegisterFile("lorawan-stack/api/organization.proto", fileDescriptor_312da2e2e650bd3b)
}
var fileDescriptor_312da2e2e650bd3b = []byte{
// 1105 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x57, 0x4d, 0x6c, 0x1b, 0x45,
0x1b, 0xde, 0xf1, 0x4f, 0x52, 0x4f, 0x92, 0x26, 0x5a, 0x7d, 0x5f, 0xb5, 0x4d, 0xa3, 0xb1, 0xb5,
0x44, 0x90, 0x56, 0xf1, 0x1a, 0x39, 0x17, 0xa8, 0x80, 0xc8, 0x1b, 0x7e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xd0, 0x43, 0xe0, 0xb0, 0x87, 0xc0, 0xa3, 0x1e, 0x12, 0x1e, 0xf7, 0x90, 0x70, 0xdc,
0x43, 0xc2, 0x93, 0x1e, 0x12, 0x9e, 0xf6, 0x10, 0xb8, 0xe3, 0x22, 0x70, 0xd7, 0x45, 0xc2, 0x7d,
0x17, 0x81, 0x3d, 0x17, 0x09, 0x0f, 0x5c, 0x24, 0xec, 0xbb, 0x48, 0x38, 0x70, 0x11, 0x38, 0x74,
0x11, 0x78, 0xe4, 0x22, 0xe1, 0xb1, 0x8b, 0xc0, 0xb1, 0x8b, 0x84, 0x27, 0x2e, 0x02, 0x4f, 0x5d,
0x24, 0xdc, 0xe9, 0x23, 0xe1, 0x6e, 0x1f, 0x81, 0x7b, 0x7d, 0x24, 0x7c, 0xd7, 0x47, 0xe0, 0x87,
0x3e, 0x12, 0xee, 0xf7, 0x91, 0xb0, 0xd7, 0x47, 0xe0, 0x41, 0x1f, 0x81, 0xfd, 0x3e, 0x02, 0x9f,
0x96, 0x0c, 0x4b, 0xe1, 0xdb, 0x84, 0x6f, 0x53, 0xd3, 0x70, 0x14, 0x93, 0xf0, 0xdb, 0x16, 0x6b,
0x96, 0xe2, 0xff, 0x35, 0x76, 0xd6, 0x4a, 0x76, 0xd3, 0x28, 0x71, 0x6e, 0xda, 0xb5, 0xda, 0x94,
0xff, 0xec, 0xac, 0xfd, 0x19, 0x00, 0x00, 0xff, 0xff, 0xab, 0x0c, 0x13, 0x61, 0xc6, 0x0d, 0x00,
0x00,
}
func (this *Organization) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*Organization)
if !ok {
that2, ok := that.(Organization)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !this.OrganizationIdentifiers.Equal(&that1.OrganizationIdentifiers) {
return false
}
if !this.CreatedAt.Equal(that1.CreatedAt) {
return false
}
if !this.UpdatedAt.Equal(that1.UpdatedAt) {
return false
}
if this.Name != that1.Name {
return false
}
if this.Description != that1.Description {
return false
}
if len(this.Attributes) != len(that1.Attributes) {
return false
}
for i := range this.Attributes {
if this.Attributes[i] != that1.Attributes[i] {
return false
}
}
if len(this.ContactInfo) != len(that1.ContactInfo) {
return false
}
for i := range this.ContactInfo {
if !this.ContactInfo[i].Equal(that1.ContactInfo[i]) {
return false
}
}
return true
}
func (this *Organizations) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*Organizations)
if !ok {
that2, ok := that.(Organizations)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if len(this.Organizations) != len(that1.Organizations) {
return false
}
for i := range this.Organizations {
if !this.Organizations[i].Equal(that1.Organizations[i]) {
return false
}
}
return true
}
func (this *GetOrganizationRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*GetOrganizationRequest)
if !ok {
that2, ok := that.(GetOrganizationRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !this.OrganizationIdentifiers.Equal(&that1.OrganizationIdentifiers) {
return false
}
if !this.FieldMask.Equal(&that1.FieldMask) {
return false
}
return true
}
func (this *ListOrganizationsRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*ListOrganizationsRequest)
if !ok {
that2, ok := that.(ListOrganizationsRequest)
if ok {
that1 = &that2
} else {
return false
}
}
if that1 == nil {
return this == nil
} else if this == nil {
return false
}
if !this.Collaborator.Equal(that1.Collaborator) {
return false
}
if !this.FieldMask.Equal(&that1.FieldMask) {
return false
}
if this.Order != that1.Order {
return false
}
if this.Limit != that1.Limit {
return false
}
if this.Page != that1.Page {
return false
}
return true
}
func (this *CreateOrganizationRequest) Equal(that interface{}) bool {
if that == nil {
return this == nil
}
that1, ok := that.(*CreateOrganizationRequest)