people.pb.go 191 KB
Newer Older
Lukas Möller's avatar
update  
Lukas Möller committed
1
2
3
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.26.0
Go Protoc Bot's avatar
update    
Go Protoc Bot committed
4
// 	protoc        v3.18.1
Lukas Möller's avatar
update  
Lukas Möller committed
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
// source: sip/people/people.proto

package people

import (
	empty "github.com/golang/protobuf/ptypes/empty"
	timestamp "github.com/golang/protobuf/ptypes/timestamp"
	date "google.golang.org/genproto/googleapis/type/date"
	field_mask "google.golang.org/genproto/protobuf/field_mask"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// GlobalScopes are not restricted to any specific resources or subresources
type GlobalScope int32

const (
	GlobalScope_GLOBAL_SCOPE_UNSPECIFIED         GlobalScope = 0
	GlobalScope_ADMIN                            GlobalScope = 1  // admin is allowed to do anything
	GlobalScope_GROUPS_LIST                      GlobalScope = 2  // list all groups (without members)
	GlobalScope_GROUPS_CREATE                    GlobalScope = 7  // create new groups
	GlobalScope_GROUPS_UPDATE                    GlobalScope = 8  // update existing groups
	GlobalScope_GROUPS_DELETE                    GlobalScope = 9  // delete groups
	GlobalScope_USERS_LIST                       GlobalScope = 10 // list all users
	GlobalScope_USERS_CREATE                     GlobalScope = 11 // create new users
	GlobalScope_USERS_UPDATE                     GlobalScope = 12 // update existing users
	GlobalScope_USERS_DELETE                     GlobalScope = 13 // delete users
	GlobalScope_USERS_GET                        GlobalScope = 14 // this is the base permission needed to call the GetUser Endpoint, the following permissions then correspond to which data will be returned
	GlobalScope_USERS_GET_PROFILE                GlobalScope = 15
	GlobalScope_USERS_GET_EMAIL                  GlobalScope = 16 // get email
	GlobalScope_USERS_GET_PHONE                  GlobalScope = 17
	GlobalScope_USERS_GET_ADDRESS                GlobalScope = 18 // get address
	GlobalScope_USERS_GET_BIRTHDATE              GlobalScope = 19 // get birthdate
	GlobalScope_USERS_GET_UNIVERSITY_AFFILIATION GlobalScope = 20 // get university affiliation
	GlobalScope_USERS_GET_STUDENT_NUMBER         GlobalScope = 21 // get legi number
	GlobalScope_USERS_GET_STUDY_INFORMATION      GlobalScope = 22 // get study fields etc.
	GlobalScope_USERS_GET_VSETH_PROFILE          GlobalScope = 23 // get vseth membership information
Go Protoc Bot's avatar
update    
Go Protoc Bot committed
51
	GlobalScope_USERS_GET_GROUP_MEMBERSHIP       GlobalScope = 28 // get the groups a user is a member of
Lukas Möller's avatar
update  
Lukas Möller committed
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
	GlobalScope_USERS_GET_BANK_ACCOUNT           GlobalScope = 24 // get bank account information
	GlobalScope_USERS_GET_ALL                    GlobalScope = 25 // get everything
	GlobalScope_AUDITLOG_LIST                    GlobalScope = 26
	GlobalScope_LDAPSYNC_TRIGGER                 GlobalScope = 27
)

// Enum value maps for GlobalScope.
var (
	GlobalScope_name = map[int32]string{
		0:  "GLOBAL_SCOPE_UNSPECIFIED",
		1:  "ADMIN",
		2:  "GROUPS_LIST",
		7:  "GROUPS_CREATE",
		8:  "GROUPS_UPDATE",
		9:  "GROUPS_DELETE",
		10: "USERS_LIST",
		11: "USERS_CREATE",
		12: "USERS_UPDATE",
		13: "USERS_DELETE",
		14: "USERS_GET",
		15: "USERS_GET_PROFILE",
		16: "USERS_GET_EMAIL",
		17: "USERS_GET_PHONE",
		18: "USERS_GET_ADDRESS",
		19: "USERS_GET_BIRTHDATE",
		20: "USERS_GET_UNIVERSITY_AFFILIATION",
		21: "USERS_GET_STUDENT_NUMBER",
		22: "USERS_GET_STUDY_INFORMATION",
		23: "USERS_GET_VSETH_PROFILE",
Go Protoc Bot's avatar
update    
Go Protoc Bot committed
81
		28: "USERS_GET_GROUP_MEMBERSHIP",
Lukas Möller's avatar
update  
Lukas Möller committed
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
		24: "USERS_GET_BANK_ACCOUNT",
		25: "USERS_GET_ALL",
		26: "AUDITLOG_LIST",
		27: "LDAPSYNC_TRIGGER",
	}
	GlobalScope_value = map[string]int32{
		"GLOBAL_SCOPE_UNSPECIFIED":         0,
		"ADMIN":                            1,
		"GROUPS_LIST":                      2,
		"GROUPS_CREATE":                    7,
		"GROUPS_UPDATE":                    8,
		"GROUPS_DELETE":                    9,
		"USERS_LIST":                       10,
		"USERS_CREATE":                     11,
		"USERS_UPDATE":                     12,
		"USERS_DELETE":                     13,
		"USERS_GET":                        14,
		"USERS_GET_PROFILE":                15,
		"USERS_GET_EMAIL":                  16,
		"USERS_GET_PHONE":                  17,
		"USERS_GET_ADDRESS":                18,
		"USERS_GET_BIRTHDATE":              19,
		"USERS_GET_UNIVERSITY_AFFILIATION": 20,
		"USERS_GET_STUDENT_NUMBER":         21,
		"USERS_GET_STUDY_INFORMATION":      22,
		"USERS_GET_VSETH_PROFILE":          23,
Go Protoc Bot's avatar
update    
Go Protoc Bot committed
108
		"USERS_GET_GROUP_MEMBERSHIP":       28,
Lukas Möller's avatar
update  
Lukas Möller committed
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
		"USERS_GET_BANK_ACCOUNT":           24,
		"USERS_GET_ALL":                    25,
		"AUDITLOG_LIST":                    26,
		"LDAPSYNC_TRIGGER":                 27,
	}
)

func (x GlobalScope) Enum() *GlobalScope {
	p := new(GlobalScope)
	*p = x
	return p
}

func (x GlobalScope) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (GlobalScope) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[0].Descriptor()
}

func (GlobalScope) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[0]
}

func (x GlobalScope) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use GlobalScope.Descriptor instead.
func (GlobalScope) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{0}
}

type ResourceScope int32

const (
	ResourceScope_RESOURCE_SCOPE_UNSPECIFIED ResourceScope = 0
	ResourceScope_GROUPS_GET                 ResourceScope = 4 // retrieve group information
	ResourceScope_GROUPS_MEMBERS_GET         ResourceScope = 5 // retrieve members of a group
	ResourceScope_GROUPS_MEMBERS_UPDATE      ResourceScope = 6 // update the members of a group
)

// Enum value maps for ResourceScope.
var (
	ResourceScope_name = map[int32]string{
		0: "RESOURCE_SCOPE_UNSPECIFIED",
		4: "GROUPS_GET",
		5: "GROUPS_MEMBERS_GET",
		6: "GROUPS_MEMBERS_UPDATE",
	}
	ResourceScope_value = map[string]int32{
		"RESOURCE_SCOPE_UNSPECIFIED": 0,
		"GROUPS_GET":                 4,
		"GROUPS_MEMBERS_GET":         5,
		"GROUPS_MEMBERS_UPDATE":      6,
	}
)

func (x ResourceScope) Enum() *ResourceScope {
	p := new(ResourceScope)
	*p = x
	return p
}

func (x ResourceScope) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ResourceScope) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[1].Descriptor()
}

func (ResourceScope) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[1]
}

func (x ResourceScope) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ResourceScope.Descriptor instead.
func (ResourceScope) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{1}
}

// GroupObjectType represents the 4 different types of group, according to the vseth group concept
type GroupObjectType int32

const (
	GroupObjectType_GROUP_OBJECT_TYPE_UNSPECIFIED GroupObjectType = 0
	GroupObjectType_GROUP_OBJECT_TYPE_KS          GroupObjectType = 1 // Konsolidierungsstufe
	GroupObjectType_GROUP_OBJECT_TYPE_OU          GroupObjectType = 2 // Organisationseinheit
	GroupObjectType_GROUP_OBJECT_TYPE_OIOE        GroupObjectType = 3 // Obligatorisches Internes Organisationselement
	GroupObjectType_GROUP_OBJECT_TYPE_FIOE        GroupObjectType = 4 // Fakultatives Internes Organisationselement
)

// Enum value maps for GroupObjectType.
var (
	GroupObjectType_name = map[int32]string{
		0: "GROUP_OBJECT_TYPE_UNSPECIFIED",
		1: "GROUP_OBJECT_TYPE_KS",
		2: "GROUP_OBJECT_TYPE_OU",
		3: "GROUP_OBJECT_TYPE_OIOE",
		4: "GROUP_OBJECT_TYPE_FIOE",
	}
	GroupObjectType_value = map[string]int32{
		"GROUP_OBJECT_TYPE_UNSPECIFIED": 0,
		"GROUP_OBJECT_TYPE_KS":          1,
		"GROUP_OBJECT_TYPE_OU":          2,
		"GROUP_OBJECT_TYPE_OIOE":        3,
		"GROUP_OBJECT_TYPE_FIOE":        4,
	}
)

func (x GroupObjectType) Enum() *GroupObjectType {
	p := new(GroupObjectType)
	*p = x
	return p
}

func (x GroupObjectType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (GroupObjectType) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[2].Descriptor()
}

func (GroupObjectType) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[2]
}

func (x GroupObjectType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use GroupObjectType.Descriptor instead.
func (GroupObjectType) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{2}
}

// VsethMembership defines whether a person is a VSETH member
type VsethMembership int32

const (
	VsethMembership_VSETH_MEMBERSHIP_UNSPECIFIED VsethMembership = 0
	VsethMembership_VSETH_MEMBERSHIP_MEMBER      VsethMembership = 1
	VsethMembership_VSETH_MEMBERSHIP_NOT_MEMBER  VsethMembership = 2
)

// Enum value maps for VsethMembership.
var (
	VsethMembership_name = map[int32]string{
		0: "VSETH_MEMBERSHIP_UNSPECIFIED",
		1: "VSETH_MEMBERSHIP_MEMBER",
		2: "VSETH_MEMBERSHIP_NOT_MEMBER",
	}
	VsethMembership_value = map[string]int32{
		"VSETH_MEMBERSHIP_UNSPECIFIED": 0,
		"VSETH_MEMBERSHIP_MEMBER":      1,
		"VSETH_MEMBERSHIP_NOT_MEMBER":  2,
	}
)

func (x VsethMembership) Enum() *VsethMembership {
	p := new(VsethMembership)
	*p = x
	return p
}

func (x VsethMembership) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (VsethMembership) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[3].Descriptor()
}

func (VsethMembership) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[3]
}

func (x VsethMembership) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use VsethMembership.Descriptor instead.
func (VsethMembership) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{3}
}

// VsethMembershipType The type of vseth membersip according to Art 6. of the VSETH constitution
type VsethMembershipType int32

const (
	VsethMembershipType_VSETH_MEMBERSHIP_TYPE_UNSPECIFIED VsethMembershipType = 0
	// type a)
	VsethMembershipType_VSETH_MEMBERSHIP_TYPE_BACHELOR_OR_MASTER VsethMembershipType = 1
	// type b)
	VsethMembershipType_VSETH_MEMBERSHIP_TYPE_PHD VsethMembershipType = 2
	// type c)
	VsethMembershipType_VSETH_MEMBERSHIP_TYPE_VSETH_EMPLOYEES VsethMembershipType = 3
	// type d)
	VsethMembershipType_VSETH_MEMBERSHIP_TYPE_ETH_APPRENTICES VsethMembershipType = 4
	// type e)
	VsethMembershipType_VSETH_MEMBERSHIP_TYPE_MOBILITY_STUDENTS VsethMembershipType = 5
	// type f)
	VsethMembershipType_VSETH_MEMBERSHIP_TYPE_STUDENTS_IN_CONTINUING_EDUCATION VsethMembershipType = 6
	// type g)
	VsethMembershipType_VSETH_MEMBERSHIPO_TYPE_AUDITORS VsethMembershipType = 7
)

// Enum value maps for VsethMembershipType.
var (
	VsethMembershipType_name = map[int32]string{
		0: "VSETH_MEMBERSHIP_TYPE_UNSPECIFIED",
		1: "VSETH_MEMBERSHIP_TYPE_BACHELOR_OR_MASTER",
		2: "VSETH_MEMBERSHIP_TYPE_PHD",
		3: "VSETH_MEMBERSHIP_TYPE_VSETH_EMPLOYEES",
		4: "VSETH_MEMBERSHIP_TYPE_ETH_APPRENTICES",
		5: "VSETH_MEMBERSHIP_TYPE_MOBILITY_STUDENTS",
		6: "VSETH_MEMBERSHIP_TYPE_STUDENTS_IN_CONTINUING_EDUCATION",
		7: "VSETH_MEMBERSHIPO_TYPE_AUDITORS",
	}
	VsethMembershipType_value = map[string]int32{
		"VSETH_MEMBERSHIP_TYPE_UNSPECIFIED":                      0,
		"VSETH_MEMBERSHIP_TYPE_BACHELOR_OR_MASTER":               1,
		"VSETH_MEMBERSHIP_TYPE_PHD":                              2,
		"VSETH_MEMBERSHIP_TYPE_VSETH_EMPLOYEES":                  3,
		"VSETH_MEMBERSHIP_TYPE_ETH_APPRENTICES":                  4,
		"VSETH_MEMBERSHIP_TYPE_MOBILITY_STUDENTS":                5,
		"VSETH_MEMBERSHIP_TYPE_STUDENTS_IN_CONTINUING_EDUCATION": 6,
		"VSETH_MEMBERSHIPO_TYPE_AUDITORS":                        7,
	}
)

func (x VsethMembershipType) Enum() *VsethMembershipType {
	p := new(VsethMembershipType)
	*p = x
	return p
}

func (x VsethMembershipType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (VsethMembershipType) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[4].Descriptor()
}

func (VsethMembershipType) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[4]
}

func (x VsethMembershipType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use VsethMembershipType.Descriptor instead.
func (VsethMembershipType) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{4}
}

type Group_View int32

const (
	// equivalent to BASIC
	Group_VIEW_UNSPECIFIED Group_View = 0
	// basic does not include members
	Group_BASIC Group_View = 1
	// includes subgroups
	Group_INCLUDE_SUBGROUPS Group_View = 2
	// ldap full includes subgroups and members
	Group_INCLUDE_MEMBERS Group_View = 3
	// reads everything from Keycloak
	// ATTENTION: transitive subgroups and transitive members are not available through this endpoint
	Group_KEYCLOAK Group_View = 4
)

// Enum value maps for Group_View.
var (
	Group_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "INCLUDE_SUBGROUPS",
		3: "INCLUDE_MEMBERS",
		4: "KEYCLOAK",
	}
	Group_View_value = map[string]int32{
		"VIEW_UNSPECIFIED":  0,
		"BASIC":             1,
		"INCLUDE_SUBGROUPS": 2,
		"INCLUDE_MEMBERS":   3,
		"KEYCLOAK":          4,
	}
)

func (x Group_View) Enum() *Group_View {
	p := new(Group_View)
	*p = x
	return p
}

func (x Group_View) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Group_View) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[5].Descriptor()
}

func (Group_View) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[5]
}

func (x Group_View) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Group_View.Descriptor instead.
func (Group_View) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{3, 0}
}

type Group_Filter_SortBy int32

const (
	Group_Filter_NAME         Group_Filter_SortBy = 0
	Group_Filter_PARENT_NAME  Group_Filter_SortBy = 1
	Group_Filter_ORG_ID       Group_Filter_SortBy = 2
	Group_Filter_OBJECT_TYPE  Group_Filter_SortBy = 3
	Group_Filter_CREATE_TIME  Group_Filter_SortBy = 4
	Group_Filter_UPDATE_TIME  Group_Filter_SortBy = 5
	Group_Filter_DESCRIPTION  Group_Filter_SortBy = 6
	Group_Filter_DISPLAY_NAME Group_Filter_SortBy = 7
	Group_Filter_TITLE_DE     Group_Filter_SortBy = 8
	Group_Filter_TITLE_EN     Group_Filter_SortBy = 9
	Group_Filter_EMAIL        Group_Filter_SortBy = 10
	Group_Filter_ETH_OFFICE   Group_Filter_SortBy = 11
	Group_Filter_WEBSITE      Group_Filter_SortBy = 12
	Group_Filter_TELEPHONE    Group_Filter_SortBy = 13
	Group_Filter_ETH_ORG_ID   Group_Filter_SortBy = 14
)

// Enum value maps for Group_Filter_SortBy.
var (
	Group_Filter_SortBy_name = map[int32]string{
		0:  "NAME",
		1:  "PARENT_NAME",
		2:  "ORG_ID",
		3:  "OBJECT_TYPE",
		4:  "CREATE_TIME",
		5:  "UPDATE_TIME",
		6:  "DESCRIPTION",
		7:  "DISPLAY_NAME",
		8:  "TITLE_DE",
		9:  "TITLE_EN",
		10: "EMAIL",
		11: "ETH_OFFICE",
		12: "WEBSITE",
		13: "TELEPHONE",
		14: "ETH_ORG_ID",
	}
	Group_Filter_SortBy_value = map[string]int32{
		"NAME":         0,
		"PARENT_NAME":  1,
		"ORG_ID":       2,
		"OBJECT_TYPE":  3,
		"CREATE_TIME":  4,
		"UPDATE_TIME":  5,
		"DESCRIPTION":  6,
		"DISPLAY_NAME": 7,
		"TITLE_DE":     8,
		"TITLE_EN":     9,
		"EMAIL":        10,
		"ETH_OFFICE":   11,
		"WEBSITE":      12,
		"TELEPHONE":    13,
		"ETH_ORG_ID":   14,
	}
)

func (x Group_Filter_SortBy) Enum() *Group_Filter_SortBy {
	p := new(Group_Filter_SortBy)
	*p = x
	return p
}

func (x Group_Filter_SortBy) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Group_Filter_SortBy) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[6].Descriptor()
}

func (Group_Filter_SortBy) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[6]
}

func (x Group_Filter_SortBy) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Group_Filter_SortBy.Descriptor instead.
func (Group_Filter_SortBy) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{3, 0, 0}
}

// ChangeGroupMembersAction specifies the modification to make on the group
type ChangeGroupMembersRequest_ChangeGroupMembersAction int32

const (
	ChangeGroupMembersRequest_CHANGE_GROUP_MEMBERS_ACTION_UNSPECIFIED ChangeGroupMembersRequest_ChangeGroupMembersAction = 0
	ChangeGroupMembersRequest_CHANGE_GROUP_MEMBERS_ACTION_ADD         ChangeGroupMembersRequest_ChangeGroupMembersAction = 1
	ChangeGroupMembersRequest_CHANGE_GROUP_MEMBERS_ACTION_REMOVE      ChangeGroupMembersRequest_ChangeGroupMembersAction = 2
)

// Enum value maps for ChangeGroupMembersRequest_ChangeGroupMembersAction.
var (
	ChangeGroupMembersRequest_ChangeGroupMembersAction_name = map[int32]string{
		0: "CHANGE_GROUP_MEMBERS_ACTION_UNSPECIFIED",
		1: "CHANGE_GROUP_MEMBERS_ACTION_ADD",
		2: "CHANGE_GROUP_MEMBERS_ACTION_REMOVE",
	}
	ChangeGroupMembersRequest_ChangeGroupMembersAction_value = map[string]int32{
		"CHANGE_GROUP_MEMBERS_ACTION_UNSPECIFIED": 0,
		"CHANGE_GROUP_MEMBERS_ACTION_ADD":         1,
		"CHANGE_GROUP_MEMBERS_ACTION_REMOVE":      2,
	}
)

func (x ChangeGroupMembersRequest_ChangeGroupMembersAction) Enum() *ChangeGroupMembersRequest_ChangeGroupMembersAction {
	p := new(ChangeGroupMembersRequest_ChangeGroupMembersAction)
	*p = x
	return p
}

func (x ChangeGroupMembersRequest_ChangeGroupMembersAction) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (ChangeGroupMembersRequest_ChangeGroupMembersAction) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[7].Descriptor()
}

func (ChangeGroupMembersRequest_ChangeGroupMembersAction) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[7]
}

func (x ChangeGroupMembersRequest_ChangeGroupMembersAction) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use ChangeGroupMembersRequest_ChangeGroupMembersAction.Descriptor instead.
func (ChangeGroupMembersRequest_ChangeGroupMembersAction) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{12, 0}
}

type User_View int32

const (
	// Not specified, equivalent to LDAP_BASIC
	User_VIEW_UNSPECIFIED User_View = 0
	// Server response will include all the fields the user is allowed to access, but not the group memberships
	// the data is read from ldap
	User_BASIC User_View = 1
	// Data read from ldap, including group memberships
	User_INCLUDE_MEMBERSHIPS User_View = 2
	// includes the fields that can only be read from Keycloak (such as consents)
	User_KEYCLOAK User_View = 3
)

// Enum value maps for User_View.
var (
	User_View_name = map[int32]string{
		0: "VIEW_UNSPECIFIED",
		1: "BASIC",
		2: "INCLUDE_MEMBERSHIPS",
		3: "KEYCLOAK",
	}
	User_View_value = map[string]int32{
		"VIEW_UNSPECIFIED":    0,
		"BASIC":               1,
		"INCLUDE_MEMBERSHIPS": 2,
		"KEYCLOAK":            3,
	}
)

func (x User_View) Enum() *User_View {
	p := new(User_View)
	*p = x
	return p
}

func (x User_View) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (User_View) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[8].Descriptor()
}

func (User_View) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[8]
}

func (x User_View) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use User_View.Descriptor instead.
func (User_View) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{18, 0}
}

type User_Filter_SortBy int32

const (
	User_Filter_NAME     User_Filter_SortBy = 0
	User_Filter_USERNAME User_Filter_SortBy = 1
	User_Filter_EMAIL    User_Filter_SortBy = 2
)

// Enum value maps for User_Filter_SortBy.
var (
	User_Filter_SortBy_name = map[int32]string{
		0: "NAME",
		1: "USERNAME",
		2: "EMAIL",
	}
	User_Filter_SortBy_value = map[string]int32{
		"NAME":     0,
		"USERNAME": 1,
		"EMAIL":    2,
	}
)

func (x User_Filter_SortBy) Enum() *User_Filter_SortBy {
	p := new(User_Filter_SortBy)
	*p = x
	return p
}

func (x User_Filter_SortBy) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (User_Filter_SortBy) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[9].Descriptor()
}

func (User_Filter_SortBy) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[9]
}

func (x User_Filter_SortBy) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use User_Filter_SortBy.Descriptor instead.
func (User_Filter_SortBy) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{18, 0, 0}
}

type AuditLogEntry_View int32

const (
	AuditLogEntry_AUDIT_LOG_ENTRY_VIEW_UNSPECIFIED AuditLogEntry_View = 0
)

// Enum value maps for AuditLogEntry_View.
var (
	AuditLogEntry_View_name = map[int32]string{
		0: "AUDIT_LOG_ENTRY_VIEW_UNSPECIFIED",
	}
	AuditLogEntry_View_value = map[string]int32{
		"AUDIT_LOG_ENTRY_VIEW_UNSPECIFIED": 0,
	}
)

func (x AuditLogEntry_View) Enum() *AuditLogEntry_View {
	p := new(AuditLogEntry_View)
	*p = x
	return p
}

func (x AuditLogEntry_View) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AuditLogEntry_View) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[10].Descriptor()
}

func (AuditLogEntry_View) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[10]
}

func (x AuditLogEntry_View) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AuditLogEntry_View.Descriptor instead.
func (AuditLogEntry_View) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{27, 0}
}

type AuditLogEntry_Filter_SortBy int32

const (
	AuditLogEntry_Filter_NAME              AuditLogEntry_Filter_SortBy = 0
	AuditLogEntry_Filter_AFFECTED_RESOURCE AuditLogEntry_Filter_SortBy = 1
)

// Enum value maps for AuditLogEntry_Filter_SortBy.
var (
	AuditLogEntry_Filter_SortBy_name = map[int32]string{
		0: "NAME",
		1: "AFFECTED_RESOURCE",
	}
	AuditLogEntry_Filter_SortBy_value = map[string]int32{
		"NAME":              0,
		"AFFECTED_RESOURCE": 1,
	}
)

func (x AuditLogEntry_Filter_SortBy) Enum() *AuditLogEntry_Filter_SortBy {
	p := new(AuditLogEntry_Filter_SortBy)
	*p = x
	return p
}

func (x AuditLogEntry_Filter_SortBy) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AuditLogEntry_Filter_SortBy) Descriptor() protoreflect.EnumDescriptor {
	return file_sip_people_people_proto_enumTypes[11].Descriptor()
}

func (AuditLogEntry_Filter_SortBy) Type() protoreflect.EnumType {
	return &file_sip_people_people_proto_enumTypes[11]
}

func (x AuditLogEntry_Filter_SortBy) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AuditLogEntry_Filter_SortBy.Descriptor instead.
func (AuditLogEntry_Filter_SortBy) EnumDescriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{27, 0, 0}
}

// ScopesOnResource are authorization scopes applied to a resource (group / user)
type ScopesOnResource struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ResourceName   string          `protobuf:"bytes,1,opt,name=resource_name,json=resourceName,proto3" json:"resource_name,omitempty"`        // name of the resource this is applied to
	Inherit        bool            `protobuf:"varint,2,opt,name=inherit,proto3" json:"inherit,omitempty"`                                     // whether this scope will also giver permissions on sub resources
	Scopes         []ResourceScope `protobuf:"varint,3,rep,packed,name=scopes,proto3,enum=sip.people.ResourceScope" json:"scopes,omitempty"`  // the scopes
	DenyPermission bool            `protobuf:"varint,4,opt,name=deny_permission,json=denyPermission,proto3" json:"deny_permission,omitempty"` // whether this is a negative scope (removes a permission)
}

func (x *ScopesOnResource) Reset() {
	*x = ScopesOnResource{}
	if protoimpl.UnsafeEnabled {
		mi := &file_sip_people_people_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ScopesOnResource) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ScopesOnResource) ProtoMessage() {}

func (x *ScopesOnResource) ProtoReflect() protoreflect.Message {
	mi := &file_sip_people_people_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ScopesOnResource.ProtoReflect.Descriptor instead.
func (*ScopesOnResource) Descriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{0}
}

func (x *ScopesOnResource) GetResourceName() string {
	if x != nil {
		return x.ResourceName
	}
	return ""
}

func (x *ScopesOnResource) GetInherit() bool {
	if x != nil {
		return x.Inherit
	}
	return false
}

func (x *ScopesOnResource) GetScopes() []ResourceScope {
	if x != nil {
		return x.Scopes
	}
	return nil
}

func (x *ScopesOnResource) GetDenyPermission() bool {
	if x != nil {
		return x.DenyPermission
	}
	return false
}

// AuthorizationRole collects global and resource specific scope
type AuthorizationRole struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Name             string              `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                                         // name of the role: "authorizationrole/$name"
	DisplayName      string              `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`                                        // the name of the role, e.g. vis-1116-oiv
	GlobalScopes     []GlobalScope       `protobuf:"varint,3,rep,packed,name=global_scopes,json=globalScopes,proto3,enum=sip.people.GlobalScope" json:"global_scopes,omitempty"` // the global scopes that are contained in this role
	ScopesOnResource []*ScopesOnResource `protobuf:"bytes,4,rep,name=scopes_on_resource,json=scopesOnResource,proto3" json:"scopes_on_resource,omitempty"`                       // the resource scopes in this role
}

func (x *AuthorizationRole) Reset() {
	*x = AuthorizationRole{}
	if protoimpl.UnsafeEnabled {
		mi := &file_sip_people_people_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *AuthorizationRole) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AuthorizationRole) ProtoMessage() {}

func (x *AuthorizationRole) ProtoReflect() protoreflect.Message {
	mi := &file_sip_people_people_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use AuthorizationRole.ProtoReflect.Descriptor instead.
func (*AuthorizationRole) Descriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{1}
}

func (x *AuthorizationRole) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *AuthorizationRole) GetDisplayName() string {
	if x != nil {
		return x.DisplayName
	}
	return ""
}

func (x *AuthorizationRole) GetGlobalScopes() []GlobalScope {
	if x != nil {
		return x.GlobalScopes
	}
	return nil
}

func (x *AuthorizationRole) GetScopesOnResource() []*ScopesOnResource {
	if x != nil {
		return x.ScopesOnResource
	}
	return nil
}

// AuthorizationInformation carries all the authorization information of the API. Can for example be used in frontends.
type ListAuthorizationRolesResponse struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Roles []*AuthorizationRole `protobuf:"bytes,1,rep,name=roles,proto3" json:"roles,omitempty"`
}

func (x *ListAuthorizationRolesResponse) Reset() {
	*x = ListAuthorizationRolesResponse{}
	if protoimpl.UnsafeEnabled {
		mi := &file_sip_people_people_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *ListAuthorizationRolesResponse) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*ListAuthorizationRolesResponse) ProtoMessage() {}

func (x *ListAuthorizationRolesResponse) ProtoReflect() protoreflect.Message {
	mi := &file_sip_people_people_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ListAuthorizationRolesResponse.ProtoReflect.Descriptor instead.
func (*ListAuthorizationRolesResponse) Descriptor() ([]byte, []int) {
	return file_sip_people_people_proto_rawDescGZIP(), []int{2}
}

func (x *ListAuthorizationRolesResponse) GetRoles() []*AuthorizationRole {
	if x != nil {
		return x.Roles
	}
	return nil
}

// Message representing the details of a group.
type Group struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// `groups/$groupIdentifier`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// the name of the parent group
	ParentName string `protobuf:"bytes,2,opt,name=parent_name,json=parentName,proto3" json:"parent_name,omitempty"`
	// transitively resolve all parents
	ParentNamesTransitive []string `protobuf:"bytes,21,rep,name=parent_names_transitive,json=parentNamesTransitive,proto3" json:"parent_names_transitive,omitempty"`
	// the org_id of the group
	OrgId string `protobuf:"bytes,3,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// the type of the group according to the vseth group concept
	ObjectType GroupObjectType `protobuf:"varint,4,opt,name=object_type,json=objectType,proto3,enum=sip.people.GroupObjectType" json:"object_type,omitempty"`
	// the resource names of the group members
	Members []string `protobuf:"bytes,5,rep,name=members,proto3" json:"members,omitempty"`
	// the resource names of all sub members
	MembersTransitive []string `protobuf:"bytes,6,rep,name=members_transitive,json=membersTransitive,proto3" json:"members_transitive,omitempty"`
	// the subGroups of this group
	SubGroups []string `protobuf:"bytes,7,rep,name=sub_groups,json=subGroups,proto3" json:"sub_groups,omitempty"`
	// the transitive subGroups of this groups
	SubGroupsTransitive []string `protobuf:"bytes,22,rep,name=sub_groups_transitive,json=subGroupsTransitive,proto3" json:"sub_groups_transitive,omitempty"`
	// output-only: timestamp when this group was created
	CreateTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// output-only: timestamp when this group was last updated
	UpdateTime *timestamp.Timestamp `protobuf:"bytes,9,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// the (internal) description of the group, should give information about the purpose of the group, e.g. "group of the vis board"
	Description string `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	// the short name of the group, e.g. "VIS"
	DisplayName string `protobuf:"bytes,11,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// the full name of the group in german, e.g. "Verein der Informatik Studierenden an der ETH Zurich"
	TitleDe string `protobuf:"bytes,12,opt,name=title_de,json=titleDe,proto3" json:"title_de,omitempty"`
	//  // the full name of the group in english, e.g. "Association of computer science students at ETH Zurich"
	TitleEn string `protobuf:"bytes,13,opt,name=title_en,json=titleEn,proto3" json:"title_en,omitempty"`
	// the main contact email of the group, e.g. vis@vis.ethz.ch or info@vseth.ethz.ch
	Email string `protobuf:"bytes,14,opt,name=email,proto3" json:"email,omitempty"`
	// the postal address of the group
	PostalAddress *PostalAddress `protobuf:"bytes,15,opt,name=postal_address,json=postalAddress,proto3" json:"postal_address,omitempty"`
	// the eth office address, e.g. "CAB E 18"
	EthOffice string `protobuf:"bytes,16,opt,name=eth_office,json=ethOffice,proto3" json:"eth_office,omitempty"`
	// the website of the group, e.g. https://vis.ethz.ch
	Website string `protobuf:"bytes,17,opt,name=website,proto3" json:"website,omitempty"`
	// the telephone number of the group
For faster browsing, not all history is shown. View entire blame