@lansweeper/permissions-grpc 0.1.6 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  // Code generated by protoc-gen-go. DO NOT EDIT.
2
2
  // versions:
3
- // protoc-gen-go v1.31.0
3
+ // protoc-gen-go v1.32.0
4
4
  // protoc v3.19.1
5
5
  // source: permissions.proto
6
6
 
@@ -21,6 +21,132 @@ const (
21
21
  _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22
22
  )
23
23
 
24
+ type CheckPermissionForMultipleSitesRequest struct {
25
+ state protoimpl.MessageState
26
+ sizeCache protoimpl.SizeCache
27
+ unknownFields protoimpl.UnknownFields
28
+
29
+ AccountId string `protobuf:"bytes,1,opt,name=accountId,proto3" json:"accountId,omitempty"`
30
+ ClientKeys []string `protobuf:"bytes,2,rep,name=clientKeys,proto3" json:"clientKeys,omitempty"`
31
+ Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"`
32
+ TraceId string `protobuf:"bytes,4,opt,name=traceId,proto3" json:"traceId,omitempty"`
33
+ }
34
+
35
+ func (x *CheckPermissionForMultipleSitesRequest) Reset() {
36
+ *x = CheckPermissionForMultipleSitesRequest{}
37
+ if protoimpl.UnsafeEnabled {
38
+ mi := &file_permissions_proto_msgTypes[0]
39
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40
+ ms.StoreMessageInfo(mi)
41
+ }
42
+ }
43
+
44
+ func (x *CheckPermissionForMultipleSitesRequest) String() string {
45
+ return protoimpl.X.MessageStringOf(x)
46
+ }
47
+
48
+ func (*CheckPermissionForMultipleSitesRequest) ProtoMessage() {}
49
+
50
+ func (x *CheckPermissionForMultipleSitesRequest) ProtoReflect() protoreflect.Message {
51
+ mi := &file_permissions_proto_msgTypes[0]
52
+ if protoimpl.UnsafeEnabled && x != nil {
53
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54
+ if ms.LoadMessageInfo() == nil {
55
+ ms.StoreMessageInfo(mi)
56
+ }
57
+ return ms
58
+ }
59
+ return mi.MessageOf(x)
60
+ }
61
+
62
+ // Deprecated: Use CheckPermissionForMultipleSitesRequest.ProtoReflect.Descriptor instead.
63
+ func (*CheckPermissionForMultipleSitesRequest) Descriptor() ([]byte, []int) {
64
+ return file_permissions_proto_rawDescGZIP(), []int{0}
65
+ }
66
+
67
+ func (x *CheckPermissionForMultipleSitesRequest) GetAccountId() string {
68
+ if x != nil {
69
+ return x.AccountId
70
+ }
71
+ return ""
72
+ }
73
+
74
+ func (x *CheckPermissionForMultipleSitesRequest) GetClientKeys() []string {
75
+ if x != nil {
76
+ return x.ClientKeys
77
+ }
78
+ return nil
79
+ }
80
+
81
+ func (x *CheckPermissionForMultipleSitesRequest) GetAction() string {
82
+ if x != nil {
83
+ return x.Action
84
+ }
85
+ return ""
86
+ }
87
+
88
+ func (x *CheckPermissionForMultipleSitesRequest) GetTraceId() string {
89
+ if x != nil {
90
+ return x.TraceId
91
+ }
92
+ return ""
93
+ }
94
+
95
+ type CheckPermissionForMultipleSitesResponse struct {
96
+ state protoimpl.MessageState
97
+ sizeCache protoimpl.SizeCache
98
+ unknownFields protoimpl.UnknownFields
99
+
100
+ Granted bool `protobuf:"varint,1,opt,name=granted,proto3" json:"granted,omitempty"`
101
+ Sites map[string]bool `protobuf:"bytes,2,rep,name=sites,proto3" json:"sites,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"varint,2,opt,name=value,proto3"`
102
+ }
103
+
104
+ func (x *CheckPermissionForMultipleSitesResponse) Reset() {
105
+ *x = CheckPermissionForMultipleSitesResponse{}
106
+ if protoimpl.UnsafeEnabled {
107
+ mi := &file_permissions_proto_msgTypes[1]
108
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
109
+ ms.StoreMessageInfo(mi)
110
+ }
111
+ }
112
+
113
+ func (x *CheckPermissionForMultipleSitesResponse) String() string {
114
+ return protoimpl.X.MessageStringOf(x)
115
+ }
116
+
117
+ func (*CheckPermissionForMultipleSitesResponse) ProtoMessage() {}
118
+
119
+ func (x *CheckPermissionForMultipleSitesResponse) ProtoReflect() protoreflect.Message {
120
+ mi := &file_permissions_proto_msgTypes[1]
121
+ if protoimpl.UnsafeEnabled && x != nil {
122
+ ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
123
+ if ms.LoadMessageInfo() == nil {
124
+ ms.StoreMessageInfo(mi)
125
+ }
126
+ return ms
127
+ }
128
+ return mi.MessageOf(x)
129
+ }
130
+
131
+ // Deprecated: Use CheckPermissionForMultipleSitesResponse.ProtoReflect.Descriptor instead.
132
+ func (*CheckPermissionForMultipleSitesResponse) Descriptor() ([]byte, []int) {
133
+ return file_permissions_proto_rawDescGZIP(), []int{1}
134
+ }
135
+
136
+ func (x *CheckPermissionForMultipleSitesResponse) GetGranted() bool {
137
+ if x != nil {
138
+ return x.Granted
139
+ }
140
+ return false
141
+ }
142
+
143
+ func (x *CheckPermissionForMultipleSitesResponse) GetSites() map[string]bool {
144
+ if x != nil {
145
+ return x.Sites
146
+ }
147
+ return nil
148
+ }
149
+
24
150
  type CheckPermissionRequest struct {
25
151
  state protoimpl.MessageState
26
152
  sizeCache protoimpl.SizeCache
@@ -35,7 +161,7 @@ type CheckPermissionRequest struct {
35
161
  func (x *CheckPermissionRequest) Reset() {
36
162
  *x = CheckPermissionRequest{}
37
163
  if protoimpl.UnsafeEnabled {
38
- mi := &file_permissions_proto_msgTypes[0]
164
+ mi := &file_permissions_proto_msgTypes[2]
39
165
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
40
166
  ms.StoreMessageInfo(mi)
41
167
  }
@@ -48,7 +174,7 @@ func (x *CheckPermissionRequest) String() string {
48
174
  func (*CheckPermissionRequest) ProtoMessage() {}
49
175
 
50
176
  func (x *CheckPermissionRequest) ProtoReflect() protoreflect.Message {
51
- mi := &file_permissions_proto_msgTypes[0]
177
+ mi := &file_permissions_proto_msgTypes[2]
52
178
  if protoimpl.UnsafeEnabled && x != nil {
53
179
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54
180
  if ms.LoadMessageInfo() == nil {
@@ -61,7 +187,7 @@ func (x *CheckPermissionRequest) ProtoReflect() protoreflect.Message {
61
187
 
62
188
  // Deprecated: Use CheckPermissionRequest.ProtoReflect.Descriptor instead.
63
189
  func (*CheckPermissionRequest) Descriptor() ([]byte, []int) {
64
- return file_permissions_proto_rawDescGZIP(), []int{0}
190
+ return file_permissions_proto_rawDescGZIP(), []int{2}
65
191
  }
66
192
 
67
193
  func (x *CheckPermissionRequest) GetSiteId() string {
@@ -107,7 +233,7 @@ type CheckPermissionResponse struct {
107
233
  func (x *CheckPermissionResponse) Reset() {
108
234
  *x = CheckPermissionResponse{}
109
235
  if protoimpl.UnsafeEnabled {
110
- mi := &file_permissions_proto_msgTypes[1]
236
+ mi := &file_permissions_proto_msgTypes[3]
111
237
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
112
238
  ms.StoreMessageInfo(mi)
113
239
  }
@@ -120,7 +246,7 @@ func (x *CheckPermissionResponse) String() string {
120
246
  func (*CheckPermissionResponse) ProtoMessage() {}
121
247
 
122
248
  func (x *CheckPermissionResponse) ProtoReflect() protoreflect.Message {
123
- mi := &file_permissions_proto_msgTypes[1]
249
+ mi := &file_permissions_proto_msgTypes[3]
124
250
  if protoimpl.UnsafeEnabled && x != nil {
125
251
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
126
252
  if ms.LoadMessageInfo() == nil {
@@ -133,7 +259,7 @@ func (x *CheckPermissionResponse) ProtoReflect() protoreflect.Message {
133
259
 
134
260
  // Deprecated: Use CheckPermissionResponse.ProtoReflect.Descriptor instead.
135
261
  func (*CheckPermissionResponse) Descriptor() ([]byte, []int) {
136
- return file_permissions_proto_rawDescGZIP(), []int{1}
262
+ return file_permissions_proto_rawDescGZIP(), []int{3}
137
263
  }
138
264
 
139
265
  func (x *CheckPermissionResponse) GetGranted() bool {
@@ -184,7 +310,7 @@ type GetUserPermissionsRequest struct {
184
310
  func (x *GetUserPermissionsRequest) Reset() {
185
311
  *x = GetUserPermissionsRequest{}
186
312
  if protoimpl.UnsafeEnabled {
187
- mi := &file_permissions_proto_msgTypes[2]
313
+ mi := &file_permissions_proto_msgTypes[4]
188
314
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189
315
  ms.StoreMessageInfo(mi)
190
316
  }
@@ -197,7 +323,7 @@ func (x *GetUserPermissionsRequest) String() string {
197
323
  func (*GetUserPermissionsRequest) ProtoMessage() {}
198
324
 
199
325
  func (x *GetUserPermissionsRequest) ProtoReflect() protoreflect.Message {
200
- mi := &file_permissions_proto_msgTypes[2]
326
+ mi := &file_permissions_proto_msgTypes[4]
201
327
  if protoimpl.UnsafeEnabled && x != nil {
202
328
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
203
329
  if ms.LoadMessageInfo() == nil {
@@ -210,7 +336,7 @@ func (x *GetUserPermissionsRequest) ProtoReflect() protoreflect.Message {
210
336
 
211
337
  // Deprecated: Use GetUserPermissionsRequest.ProtoReflect.Descriptor instead.
212
338
  func (*GetUserPermissionsRequest) Descriptor() ([]byte, []int) {
213
- return file_permissions_proto_rawDescGZIP(), []int{2}
339
+ return file_permissions_proto_rawDescGZIP(), []int{4}
214
340
  }
215
341
 
216
342
  func (x *GetUserPermissionsRequest) GetUserId() string {
@@ -245,7 +371,7 @@ type GetUserPermissionsResponse struct {
245
371
  func (x *GetUserPermissionsResponse) Reset() {
246
372
  *x = GetUserPermissionsResponse{}
247
373
  if protoimpl.UnsafeEnabled {
248
- mi := &file_permissions_proto_msgTypes[3]
374
+ mi := &file_permissions_proto_msgTypes[5]
249
375
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
250
376
  ms.StoreMessageInfo(mi)
251
377
  }
@@ -258,7 +384,7 @@ func (x *GetUserPermissionsResponse) String() string {
258
384
  func (*GetUserPermissionsResponse) ProtoMessage() {}
259
385
 
260
386
  func (x *GetUserPermissionsResponse) ProtoReflect() protoreflect.Message {
261
- mi := &file_permissions_proto_msgTypes[3]
387
+ mi := &file_permissions_proto_msgTypes[5]
262
388
  if protoimpl.UnsafeEnabled && x != nil {
263
389
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
264
390
  if ms.LoadMessageInfo() == nil {
@@ -271,7 +397,7 @@ func (x *GetUserPermissionsResponse) ProtoReflect() protoreflect.Message {
271
397
 
272
398
  // Deprecated: Use GetUserPermissionsResponse.ProtoReflect.Descriptor instead.
273
399
  func (*GetUserPermissionsResponse) Descriptor() ([]byte, []int) {
274
- return file_permissions_proto_rawDescGZIP(), []int{3}
400
+ return file_permissions_proto_rawDescGZIP(), []int{5}
275
401
  }
276
402
 
277
403
  func (x *GetUserPermissionsResponse) GetPermissions() map[string]*GetUserPermissionsResponse_Permissions {
@@ -292,7 +418,7 @@ type GetSitesLimitsRequest struct {
292
418
  func (x *GetSitesLimitsRequest) Reset() {
293
419
  *x = GetSitesLimitsRequest{}
294
420
  if protoimpl.UnsafeEnabled {
295
- mi := &file_permissions_proto_msgTypes[4]
421
+ mi := &file_permissions_proto_msgTypes[6]
296
422
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
297
423
  ms.StoreMessageInfo(mi)
298
424
  }
@@ -305,7 +431,7 @@ func (x *GetSitesLimitsRequest) String() string {
305
431
  func (*GetSitesLimitsRequest) ProtoMessage() {}
306
432
 
307
433
  func (x *GetSitesLimitsRequest) ProtoReflect() protoreflect.Message {
308
- mi := &file_permissions_proto_msgTypes[4]
434
+ mi := &file_permissions_proto_msgTypes[6]
309
435
  if protoimpl.UnsafeEnabled && x != nil {
310
436
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311
437
  if ms.LoadMessageInfo() == nil {
@@ -318,7 +444,7 @@ func (x *GetSitesLimitsRequest) ProtoReflect() protoreflect.Message {
318
444
 
319
445
  // Deprecated: Use GetSitesLimitsRequest.ProtoReflect.Descriptor instead.
320
446
  func (*GetSitesLimitsRequest) Descriptor() ([]byte, []int) {
321
- return file_permissions_proto_rawDescGZIP(), []int{4}
447
+ return file_permissions_proto_rawDescGZIP(), []int{6}
322
448
  }
323
449
 
324
450
  func (x *GetSitesLimitsRequest) GetSiteIds() []string {
@@ -339,7 +465,7 @@ type GetSitesLimitsResponse struct {
339
465
  func (x *GetSitesLimitsResponse) Reset() {
340
466
  *x = GetSitesLimitsResponse{}
341
467
  if protoimpl.UnsafeEnabled {
342
- mi := &file_permissions_proto_msgTypes[5]
468
+ mi := &file_permissions_proto_msgTypes[7]
343
469
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344
470
  ms.StoreMessageInfo(mi)
345
471
  }
@@ -352,7 +478,7 @@ func (x *GetSitesLimitsResponse) String() string {
352
478
  func (*GetSitesLimitsResponse) ProtoMessage() {}
353
479
 
354
480
  func (x *GetSitesLimitsResponse) ProtoReflect() protoreflect.Message {
355
- mi := &file_permissions_proto_msgTypes[5]
481
+ mi := &file_permissions_proto_msgTypes[7]
356
482
  if protoimpl.UnsafeEnabled && x != nil {
357
483
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
358
484
  if ms.LoadMessageInfo() == nil {
@@ -365,7 +491,7 @@ func (x *GetSitesLimitsResponse) ProtoReflect() protoreflect.Message {
365
491
 
366
492
  // Deprecated: Use GetSitesLimitsResponse.ProtoReflect.Descriptor instead.
367
493
  func (*GetSitesLimitsResponse) Descriptor() ([]byte, []int) {
368
- return file_permissions_proto_rawDescGZIP(), []int{5}
494
+ return file_permissions_proto_rawDescGZIP(), []int{7}
369
495
  }
370
496
 
371
497
  func (x *GetSitesLimitsResponse) GetSiteLimits() map[string]*generated_go.SiteLimits {
@@ -388,7 +514,7 @@ type GetUserPermissionsResponse_Permissions struct {
388
514
  func (x *GetUserPermissionsResponse_Permissions) Reset() {
389
515
  *x = GetUserPermissionsResponse_Permissions{}
390
516
  if protoimpl.UnsafeEnabled {
391
- mi := &file_permissions_proto_msgTypes[7]
517
+ mi := &file_permissions_proto_msgTypes[10]
392
518
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
393
519
  ms.StoreMessageInfo(mi)
394
520
  }
@@ -401,7 +527,7 @@ func (x *GetUserPermissionsResponse_Permissions) String() string {
401
527
  func (*GetUserPermissionsResponse_Permissions) ProtoMessage() {}
402
528
 
403
529
  func (x *GetUserPermissionsResponse_Permissions) ProtoReflect() protoreflect.Message {
404
- mi := &file_permissions_proto_msgTypes[7]
530
+ mi := &file_permissions_proto_msgTypes[10]
405
531
  if protoimpl.UnsafeEnabled && x != nil {
406
532
  ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
407
533
  if ms.LoadMessageInfo() == nil {
@@ -414,7 +540,7 @@ func (x *GetUserPermissionsResponse_Permissions) ProtoReflect() protoreflect.Mes
414
540
 
415
541
  // Deprecated: Use GetUserPermissionsResponse_Permissions.ProtoReflect.Descriptor instead.
416
542
  func (*GetUserPermissionsResponse_Permissions) Descriptor() ([]byte, []int) {
417
- return file_permissions_proto_rawDescGZIP(), []int{3, 0}
543
+ return file_permissions_proto_rawDescGZIP(), []int{5, 0}
418
544
  }
419
545
 
420
546
  func (x *GetUserPermissionsResponse_Permissions) GetInstallations() []string {
@@ -444,119 +570,152 @@ var file_permissions_proto_rawDesc = []byte{
444
570
  0x0a, 0x11, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
445
571
  0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
446
572
  0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x13, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2f, 0x6c, 0x69, 0x6d,
447
- 0x69, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x80, 0x01, 0x0a, 0x16, 0x43, 0x68,
448
- 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
449
- 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x01,
450
- 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09,
451
- 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
452
- 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63,
453
- 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69,
454
- 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20,
455
- 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0xdc, 0x02, 0x0a,
456
- 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
457
- 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e,
458
- 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74,
459
- 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69,
460
- 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61,
461
- 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65,
462
- 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61,
463
- 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x65,
573
+ 0x69, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x98, 0x01, 0x0a, 0x26, 0x43, 0x68,
574
+ 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72,
575
+ 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x71,
576
+ 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49,
577
+ 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
578
+ 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x73,
579
+ 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x4b, 0x65,
580
+ 0x79, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
581
+ 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72,
582
+ 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61,
583
+ 0x63, 0x65, 0x49, 0x64, 0x22, 0xd8, 0x01, 0x0a, 0x27, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65,
584
+ 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x4d, 0x75, 0x6c, 0x74, 0x69,
585
+ 0x70, 0x6c, 0x65, 0x53, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
586
+ 0x12, 0x18, 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
587
+ 0x08, 0x52, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x59, 0x0a, 0x05, 0x73, 0x69,
588
+ 0x74, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x63, 0x68, 0x65, 0x63,
589
+ 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63,
590
+ 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x4d, 0x75,
591
+ 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
592
+ 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05,
593
+ 0x73, 0x69, 0x74, 0x65, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x69, 0x74, 0x65, 0x73, 0x45, 0x6e,
594
+ 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
595
+ 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
596
+ 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
597
+ 0x80, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
598
+ 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69,
599
+ 0x74, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x74, 0x65,
600
+ 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64, 0x18,
601
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x49, 0x64,
602
+ 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
603
+ 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63,
604
+ 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65,
605
+ 0x49, 0x64, 0x22, 0xdc, 0x02, 0x0a, 0x17, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d,
606
+ 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18,
607
+ 0x0a, 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52,
608
+ 0x07, 0x67, 0x72, 0x61, 0x6e, 0x74, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74,
609
+ 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52,
610
+ 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20,
611
+ 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20,
612
+ 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
613
+ 0x12, 0x2e, 0x0a, 0x12, 0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69,
614
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65,
464
615
  0x72, 0x69, 0x76, 0x65, 0x64, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
465
- 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x64, 0x65, 0x72, 0x69, 0x76, 0x65, 0x64, 0x50,
466
- 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x6a, 0x0a, 0x10, 0x61, 0x73,
467
- 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05,
468
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d,
469
- 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d,
470
- 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41,
616
+ 0x12, 0x6a, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52,
617
+ 0x75, 0x6c, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x63, 0x68, 0x65,
618
+ 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65,
619
+ 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
620
+ 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
621
+ 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x61, 0x73, 0x73, 0x65,
622
+ 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x15,
623
+ 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73,
624
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
625
+ 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
626
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
627
+ 0x01, 0x22, 0x76, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d,
628
+ 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
629
+ 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
630
+ 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64,
631
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1d,
632
+ 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48,
633
+ 0x00, 0x52, 0x07, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a,
634
+ 0x08, 0x5f, 0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x8d, 0x04, 0x0a, 0x1a, 0x47, 0x65,
635
+ 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
636
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d,
637
+ 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e,
638
+ 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
639
+ 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
640
+ 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69,
641
+ 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x65, 0x72,
642
+ 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x95, 0x02, 0x0a, 0x0b, 0x50, 0x65, 0x72,
643
+ 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74,
644
+ 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
645
+ 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20,
646
+ 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20,
647
+ 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
648
+ 0x12, 0x79, 0x0a, 0x10, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52,
649
+ 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x63, 0x68, 0x65,
650
+ 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74,
651
+ 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52,
652
+ 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
653
+ 0x6f, 0x6e, 0x73, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52,
654
+ 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x61, 0x73, 0x73, 0x65, 0x74,
655
+ 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x15, 0x41,
471
656
  0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45,
472
- 0x6e, 0x74, 0x72, 0x79, 0x52, 0x10, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65,
473
- 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x15, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53,
474
- 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
475
- 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
476
- 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
477
- 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x76, 0x0a, 0x19, 0x47,
478
- 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
479
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72,
480
- 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64,
481
- 0x12, 0x16, 0x0a, 0x06, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
482
- 0x52, 0x06, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x07, 0x74, 0x72, 0x61, 0x63,
483
- 0x65, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x74, 0x72, 0x61,
484
- 0x63, 0x65, 0x49, 0x64, 0x88, 0x01, 0x01, 0x42, 0x0a, 0x0a, 0x08, 0x5f, 0x74, 0x72, 0x61, 0x63,
485
- 0x65, 0x49, 0x64, 0x22, 0x8d, 0x04, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50,
657
+ 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
658
+ 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
659
+ 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
660
+ 0x1a, 0x77, 0x0a, 0x10, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45,
661
+ 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
662
+ 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
663
+ 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72,
664
+ 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50,
486
665
  0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
487
- 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
488
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70,
489
- 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
490
- 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
491
- 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73,
492
- 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
493
- 0x6e, 0x73, 0x1a, 0x95, 0x02, 0x0a, 0x0b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
494
- 0x6e, 0x73, 0x12, 0x24, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x61, 0x74, 0x69,
495
- 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61,
496
- 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x73, 0x73, 0x65,
497
- 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61,
498
- 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x79, 0x0a, 0x10, 0x61, 0x73,
499
- 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03,
500
- 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d,
501
- 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65,
502
- 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
503
- 0x65, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x41, 0x73,
504
- 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e,
505
- 0x74, 0x72, 0x79, 0x52, 0x10, 0x61, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73,
506
- 0x52, 0x75, 0x6c, 0x65, 0x73, 0x1a, 0x43, 0x0a, 0x15, 0x41, 0x73, 0x73, 0x65, 0x74, 0x53, 0x63,
507
- 0x6f, 0x70, 0x65, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
508
- 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
509
- 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
510
- 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x77, 0x0a, 0x10, 0x50, 0x65,
511
- 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
512
- 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
513
- 0x12, 0x4d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
514
- 0x37, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
515
- 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
516
- 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x50, 0x65, 0x72,
517
- 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
518
- 0x02, 0x38, 0x01, 0x22, 0x32, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c,
519
- 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08,
520
- 0x73, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
521
- 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53,
522
- 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
523
- 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0b, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74,
524
- 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70,
666
+ 0x73, 0x65, 0x2e, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x05,
667
+ 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x32, 0x0a, 0x15, 0x47, 0x65, 0x74,
668
+ 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
669
+ 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x69, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x73, 0x18, 0x01,
670
+ 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x73, 0x69, 0x74, 0x65, 0x49, 0x64, 0x73, 0x22, 0xda, 0x01,
671
+ 0x0a, 0x16, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73,
672
+ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x0b, 0x73, 0x69, 0x74, 0x65,
673
+ 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e,
674
+ 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
675
+ 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65,
676
+ 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74,
677
+ 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x73, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69,
678
+ 0x74, 0x73, 0x1a, 0x66, 0x0a, 0x0f, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73,
679
+ 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
680
+ 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
681
+ 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65,
682
+ 0x70, 0x65, 0x72, 0x2e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74,
683
+ 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52,
684
+ 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x32, 0x8a, 0x03, 0x0a, 0x16, 0x43,
685
+ 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65,
686
+ 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x66, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65,
687
+ 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b,
688
+ 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b,
689
+ 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
690
+ 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
691
+ 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
692
+ 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x96, 0x01,
693
+ 0x0a, 0x1f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
694
+ 0x6e, 0x46, 0x6f, 0x72, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x69, 0x74, 0x65,
695
+ 0x73, 0x12, 0x37, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
696
+ 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73,
697
+ 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x69,
698
+ 0x74, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x63, 0x68, 0x65,
699
+ 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65,
700
+ 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x4d,
701
+ 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 0x53, 0x69, 0x74, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
702
+ 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
703
+ 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e, 0x63,
704
+ 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47,
705
+ 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e,
706
+ 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b,
707
+ 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73,
708
+ 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,
709
+ 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x79, 0x0a, 0x12, 0x53, 0x69, 0x74, 0x65, 0x73,
710
+ 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a,
711
+ 0x0e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x12,
712
+ 0x26, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
713
+ 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73,
714
+ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70,
525
715
  0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74,
526
716
  0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
527
- 0x2e, 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79,
528
- 0x52, 0x0a, 0x73, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x1a, 0x66, 0x0a, 0x0f,
529
- 0x53, 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
530
- 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
531
- 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
532
- 0x32, 0x27, 0x2e, 0x6c, 0x61, 0x6e, 0x73, 0x77, 0x65, 0x65, 0x70, 0x65, 0x72, 0x2e, 0x73, 0x68,
533
- 0x61, 0x72, 0x65, 0x64, 0x2e, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
534
- 0x69, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
535
- 0x3a, 0x02, 0x38, 0x01, 0x32, 0xf1, 0x01, 0x0a, 0x16, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65,
536
- 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
537
- 0x66, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
538
- 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73,
539
- 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73,
540
- 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x28, 0x2e, 0x63, 0x68,
541
- 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x68,
542
- 0x65, 0x63, 0x6b, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73,
543
- 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x6f, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73,
544
- 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x2e,
545
- 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
546
- 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f,
547
- 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x63, 0x68, 0x65, 0x63,
548
- 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x55,
549
- 0x73, 0x65, 0x72, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
550
- 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x32, 0x79, 0x0a, 0x12, 0x53, 0x69, 0x74, 0x65,
551
- 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x63,
552
- 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73,
553
- 0x12, 0x26, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69,
554
- 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69, 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74,
555
- 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x63, 0x68, 0x65, 0x63, 0x6b,
556
- 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x69,
557
- 0x74, 0x65, 0x73, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
558
- 0x65, 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
559
- 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
717
+ 0x22, 0x00, 0x42, 0x10, 0x5a, 0x0e, 0x2e, 0x2f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
718
+ 0x64, 0x2d, 0x67, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
560
719
  }
561
720
 
562
721
  var (
@@ -571,39 +730,45 @@ func file_permissions_proto_rawDescGZIP() []byte {
571
730
  return file_permissions_proto_rawDescData
572
731
  }
573
732
 
574
- var file_permissions_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
733
+ var file_permissions_proto_msgTypes = make([]protoimpl.MessageInfo, 14)
575
734
  var file_permissions_proto_goTypes = []interface{}{
576
- (*CheckPermissionRequest)(nil), // 0: checkpermission.CheckPermissionRequest
577
- (*CheckPermissionResponse)(nil), // 1: checkpermission.CheckPermissionResponse
578
- (*GetUserPermissionsRequest)(nil), // 2: checkpermission.GetUserPermissionsRequest
579
- (*GetUserPermissionsResponse)(nil), // 3: checkpermission.GetUserPermissionsResponse
580
- (*GetSitesLimitsRequest)(nil), // 4: checkpermission.GetSitesLimitsRequest
581
- (*GetSitesLimitsResponse)(nil), // 5: checkpermission.GetSitesLimitsResponse
582
- nil, // 6: checkpermission.CheckPermissionResponse.AssetScopesRulesEntry
583
- (*GetUserPermissionsResponse_Permissions)(nil), // 7: checkpermission.GetUserPermissionsResponse.Permissions
584
- nil, // 8: checkpermission.GetUserPermissionsResponse.PermissionsEntry
585
- nil, // 9: checkpermission.GetUserPermissionsResponse.Permissions.AssetScopesRulesEntry
586
- nil, // 10: checkpermission.GetSitesLimitsResponse.SiteLimitsEntry
587
- (*generated_go.SiteLimits)(nil), // 11: lansweeper.shared.limits.v1.SiteLimits
735
+ (*CheckPermissionForMultipleSitesRequest)(nil), // 0: checkpermission.CheckPermissionForMultipleSitesRequest
736
+ (*CheckPermissionForMultipleSitesResponse)(nil), // 1: checkpermission.CheckPermissionForMultipleSitesResponse
737
+ (*CheckPermissionRequest)(nil), // 2: checkpermission.CheckPermissionRequest
738
+ (*CheckPermissionResponse)(nil), // 3: checkpermission.CheckPermissionResponse
739
+ (*GetUserPermissionsRequest)(nil), // 4: checkpermission.GetUserPermissionsRequest
740
+ (*GetUserPermissionsResponse)(nil), // 5: checkpermission.GetUserPermissionsResponse
741
+ (*GetSitesLimitsRequest)(nil), // 6: checkpermission.GetSitesLimitsRequest
742
+ (*GetSitesLimitsResponse)(nil), // 7: checkpermission.GetSitesLimitsResponse
743
+ nil, // 8: checkpermission.CheckPermissionForMultipleSitesResponse.SitesEntry
744
+ nil, // 9: checkpermission.CheckPermissionResponse.AssetScopesRulesEntry
745
+ (*GetUserPermissionsResponse_Permissions)(nil), // 10: checkpermission.GetUserPermissionsResponse.Permissions
746
+ nil, // 11: checkpermission.GetUserPermissionsResponse.PermissionsEntry
747
+ nil, // 12: checkpermission.GetUserPermissionsResponse.Permissions.AssetScopesRulesEntry
748
+ nil, // 13: checkpermission.GetSitesLimitsResponse.SiteLimitsEntry
749
+ (*generated_go.SiteLimits)(nil), // 14: lansweeper.shared.limits.v1.SiteLimits
588
750
  }
589
751
  var file_permissions_proto_depIdxs = []int32{
590
- 6, // 0: checkpermission.CheckPermissionResponse.assetScopesRules:type_name -> checkpermission.CheckPermissionResponse.AssetScopesRulesEntry
591
- 8, // 1: checkpermission.GetUserPermissionsResponse.permissions:type_name -> checkpermission.GetUserPermissionsResponse.PermissionsEntry
592
- 10, // 2: checkpermission.GetSitesLimitsResponse.site_limits:type_name -> checkpermission.GetSitesLimitsResponse.SiteLimitsEntry
593
- 9, // 3: checkpermission.GetUserPermissionsResponse.Permissions.assetScopesRules:type_name -> checkpermission.GetUserPermissionsResponse.Permissions.AssetScopesRulesEntry
594
- 7, // 4: checkpermission.GetUserPermissionsResponse.PermissionsEntry.value:type_name -> checkpermission.GetUserPermissionsResponse.Permissions
595
- 11, // 5: checkpermission.GetSitesLimitsResponse.SiteLimitsEntry.value:type_name -> lansweeper.shared.limits.v1.SiteLimits
596
- 0, // 6: checkpermission.CheckPermissionService.CheckPermission:input_type -> checkpermission.CheckPermissionRequest
597
- 2, // 7: checkpermission.CheckPermissionService.GetUserPermissions:input_type -> checkpermission.GetUserPermissionsRequest
598
- 4, // 8: checkpermission.SitesLimitsService.GetSitesLimits:input_type -> checkpermission.GetSitesLimitsRequest
599
- 1, // 9: checkpermission.CheckPermissionService.CheckPermission:output_type -> checkpermission.CheckPermissionResponse
600
- 3, // 10: checkpermission.CheckPermissionService.GetUserPermissions:output_type -> checkpermission.GetUserPermissionsResponse
601
- 5, // 11: checkpermission.SitesLimitsService.GetSitesLimits:output_type -> checkpermission.GetSitesLimitsResponse
602
- 9, // [9:12] is the sub-list for method output_type
603
- 6, // [6:9] is the sub-list for method input_type
604
- 6, // [6:6] is the sub-list for extension type_name
605
- 6, // [6:6] is the sub-list for extension extendee
606
- 0, // [0:6] is the sub-list for field type_name
752
+ 8, // 0: checkpermission.CheckPermissionForMultipleSitesResponse.sites:type_name -> checkpermission.CheckPermissionForMultipleSitesResponse.SitesEntry
753
+ 9, // 1: checkpermission.CheckPermissionResponse.assetScopesRules:type_name -> checkpermission.CheckPermissionResponse.AssetScopesRulesEntry
754
+ 11, // 2: checkpermission.GetUserPermissionsResponse.permissions:type_name -> checkpermission.GetUserPermissionsResponse.PermissionsEntry
755
+ 13, // 3: checkpermission.GetSitesLimitsResponse.site_limits:type_name -> checkpermission.GetSitesLimitsResponse.SiteLimitsEntry
756
+ 12, // 4: checkpermission.GetUserPermissionsResponse.Permissions.assetScopesRules:type_name -> checkpermission.GetUserPermissionsResponse.Permissions.AssetScopesRulesEntry
757
+ 10, // 5: checkpermission.GetUserPermissionsResponse.PermissionsEntry.value:type_name -> checkpermission.GetUserPermissionsResponse.Permissions
758
+ 14, // 6: checkpermission.GetSitesLimitsResponse.SiteLimitsEntry.value:type_name -> lansweeper.shared.limits.v1.SiteLimits
759
+ 2, // 7: checkpermission.CheckPermissionService.CheckPermission:input_type -> checkpermission.CheckPermissionRequest
760
+ 0, // 8: checkpermission.CheckPermissionService.CheckPermissionForMultipleSites:input_type -> checkpermission.CheckPermissionForMultipleSitesRequest
761
+ 4, // 9: checkpermission.CheckPermissionService.GetUserPermissions:input_type -> checkpermission.GetUserPermissionsRequest
762
+ 6, // 10: checkpermission.SitesLimitsService.GetSitesLimits:input_type -> checkpermission.GetSitesLimitsRequest
763
+ 3, // 11: checkpermission.CheckPermissionService.CheckPermission:output_type -> checkpermission.CheckPermissionResponse
764
+ 1, // 12: checkpermission.CheckPermissionService.CheckPermissionForMultipleSites:output_type -> checkpermission.CheckPermissionForMultipleSitesResponse
765
+ 5, // 13: checkpermission.CheckPermissionService.GetUserPermissions:output_type -> checkpermission.GetUserPermissionsResponse
766
+ 7, // 14: checkpermission.SitesLimitsService.GetSitesLimits:output_type -> checkpermission.GetSitesLimitsResponse
767
+ 11, // [11:15] is the sub-list for method output_type
768
+ 7, // [7:11] is the sub-list for method input_type
769
+ 7, // [7:7] is the sub-list for extension type_name
770
+ 7, // [7:7] is the sub-list for extension extendee
771
+ 0, // [0:7] is the sub-list for field type_name
607
772
  }
608
773
 
609
774
  func init() { file_permissions_proto_init() }
@@ -613,7 +778,7 @@ func file_permissions_proto_init() {
613
778
  }
614
779
  if !protoimpl.UnsafeEnabled {
615
780
  file_permissions_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
616
- switch v := v.(*CheckPermissionRequest); i {
781
+ switch v := v.(*CheckPermissionForMultipleSitesRequest); i {
617
782
  case 0:
618
783
  return &v.state
619
784
  case 1:
@@ -625,7 +790,7 @@ func file_permissions_proto_init() {
625
790
  }
626
791
  }
627
792
  file_permissions_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
628
- switch v := v.(*CheckPermissionResponse); i {
793
+ switch v := v.(*CheckPermissionForMultipleSitesResponse); i {
629
794
  case 0:
630
795
  return &v.state
631
796
  case 1:
@@ -637,7 +802,7 @@ func file_permissions_proto_init() {
637
802
  }
638
803
  }
639
804
  file_permissions_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
640
- switch v := v.(*GetUserPermissionsRequest); i {
805
+ switch v := v.(*CheckPermissionRequest); i {
641
806
  case 0:
642
807
  return &v.state
643
808
  case 1:
@@ -649,7 +814,7 @@ func file_permissions_proto_init() {
649
814
  }
650
815
  }
651
816
  file_permissions_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
652
- switch v := v.(*GetUserPermissionsResponse); i {
817
+ switch v := v.(*CheckPermissionResponse); i {
653
818
  case 0:
654
819
  return &v.state
655
820
  case 1:
@@ -661,7 +826,7 @@ func file_permissions_proto_init() {
661
826
  }
662
827
  }
663
828
  file_permissions_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
664
- switch v := v.(*GetSitesLimitsRequest); i {
829
+ switch v := v.(*GetUserPermissionsRequest); i {
665
830
  case 0:
666
831
  return &v.state
667
832
  case 1:
@@ -673,7 +838,19 @@ func file_permissions_proto_init() {
673
838
  }
674
839
  }
675
840
  file_permissions_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
676
- switch v := v.(*GetSitesLimitsResponse); i {
841
+ switch v := v.(*GetUserPermissionsResponse); i {
842
+ case 0:
843
+ return &v.state
844
+ case 1:
845
+ return &v.sizeCache
846
+ case 2:
847
+ return &v.unknownFields
848
+ default:
849
+ return nil
850
+ }
851
+ }
852
+ file_permissions_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
853
+ switch v := v.(*GetSitesLimitsRequest); i {
677
854
  case 0:
678
855
  return &v.state
679
856
  case 1:
@@ -685,6 +862,18 @@ func file_permissions_proto_init() {
685
862
  }
686
863
  }
687
864
  file_permissions_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
865
+ switch v := v.(*GetSitesLimitsResponse); i {
866
+ case 0:
867
+ return &v.state
868
+ case 1:
869
+ return &v.sizeCache
870
+ case 2:
871
+ return &v.unknownFields
872
+ default:
873
+ return nil
874
+ }
875
+ }
876
+ file_permissions_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
688
877
  switch v := v.(*GetUserPermissionsResponse_Permissions); i {
689
878
  case 0:
690
879
  return &v.state
@@ -697,14 +886,14 @@ func file_permissions_proto_init() {
697
886
  }
698
887
  }
699
888
  }
700
- file_permissions_proto_msgTypes[2].OneofWrappers = []interface{}{}
889
+ file_permissions_proto_msgTypes[4].OneofWrappers = []interface{}{}
701
890
  type x struct{}
702
891
  out := protoimpl.TypeBuilder{
703
892
  File: protoimpl.DescBuilder{
704
893
  GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
705
894
  RawDescriptor: file_permissions_proto_rawDesc,
706
895
  NumEnums: 0,
707
- NumMessages: 11,
896
+ NumMessages: 14,
708
897
  NumExtensions: 0,
709
898
  NumServices: 2,
710
899
  },