blob: f46160f297426f7647486439e8ed0baff5037eff [file] [log] [blame]
avm9996383f8f292021-08-24 18:26:52 +02001// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +02003// protoc-gen-go v1.26.0
Adrià Vilanova Martínezc147b6a2021-09-01 17:25:38 +02004// protoc v3.17.3
avm9996383f8f292021-08-24 18:26:52 +02005// source: api_proto/kill_switch.proto
6
7package api_proto
8
9import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 reflect "reflect"
13 sync "sync"
14)
15
16const (
17 // Verify that this generated code is sufficiently up-to-date.
18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
19 // Verify that runtime/protoimpl is sufficiently up-to-date.
20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
21)
22
23// Retrieve kill switch status depending on the environment.
24type GetKillSwitchStatusRequest struct {
25 state protoimpl.MessageState
26 sizeCache protoimpl.SizeCache
27 unknownFields protoimpl.UnknownFields
28
29 Environment *Environment `protobuf:"bytes,1,opt,name=environment,proto3" json:"environment,omitempty"`
30}
31
32func (x *GetKillSwitchStatusRequest) Reset() {
33 *x = GetKillSwitchStatusRequest{}
34 if protoimpl.UnsafeEnabled {
35 mi := &file_api_proto_kill_switch_proto_msgTypes[0]
36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
37 ms.StoreMessageInfo(mi)
38 }
39}
40
41func (x *GetKillSwitchStatusRequest) String() string {
42 return protoimpl.X.MessageStringOf(x)
43}
44
45func (*GetKillSwitchStatusRequest) ProtoMessage() {}
46
47func (x *GetKillSwitchStatusRequest) ProtoReflect() protoreflect.Message {
48 mi := &file_api_proto_kill_switch_proto_msgTypes[0]
49 if protoimpl.UnsafeEnabled && x != nil {
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 if ms.LoadMessageInfo() == nil {
52 ms.StoreMessageInfo(mi)
53 }
54 return ms
55 }
56 return mi.MessageOf(x)
57}
58
59// Deprecated: Use GetKillSwitchStatusRequest.ProtoReflect.Descriptor instead.
60func (*GetKillSwitchStatusRequest) Descriptor() ([]byte, []int) {
61 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{0}
62}
63
64func (x *GetKillSwitchStatusRequest) GetEnvironment() *Environment {
65 if x != nil {
66 return x.Environment
67 }
68 return nil
69}
70
71type GetKillSwitchStatusResponse struct {
72 state protoimpl.MessageState
73 sizeCache protoimpl.SizeCache
74 unknownFields protoimpl.UnknownFields
75
76 KillSwitches []*KillSwitch `protobuf:"bytes,1,rep,name=kill_switches,json=killSwitches,proto3" json:"kill_switches,omitempty"`
77}
78
79func (x *GetKillSwitchStatusResponse) Reset() {
80 *x = GetKillSwitchStatusResponse{}
81 if protoimpl.UnsafeEnabled {
82 mi := &file_api_proto_kill_switch_proto_msgTypes[1]
83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
84 ms.StoreMessageInfo(mi)
85 }
86}
87
88func (x *GetKillSwitchStatusResponse) String() string {
89 return protoimpl.X.MessageStringOf(x)
90}
91
92func (*GetKillSwitchStatusResponse) ProtoMessage() {}
93
94func (x *GetKillSwitchStatusResponse) ProtoReflect() protoreflect.Message {
95 mi := &file_api_proto_kill_switch_proto_msgTypes[1]
96 if protoimpl.UnsafeEnabled && x != nil {
97 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
98 if ms.LoadMessageInfo() == nil {
99 ms.StoreMessageInfo(mi)
100 }
101 return ms
102 }
103 return mi.MessageOf(x)
104}
105
106// Deprecated: Use GetKillSwitchStatusResponse.ProtoReflect.Descriptor instead.
107func (*GetKillSwitchStatusResponse) Descriptor() ([]byte, []int) {
108 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{1}
109}
110
111func (x *GetKillSwitchStatusResponse) GetKillSwitches() []*KillSwitch {
112 if x != nil {
113 return x.KillSwitches
114 }
115 return nil
116}
117
118type GetKillSwitchOverviewRequest struct {
119 state protoimpl.MessageState
120 sizeCache protoimpl.SizeCache
121 unknownFields protoimpl.UnknownFields
122}
123
124func (x *GetKillSwitchOverviewRequest) Reset() {
125 *x = GetKillSwitchOverviewRequest{}
126 if protoimpl.UnsafeEnabled {
127 mi := &file_api_proto_kill_switch_proto_msgTypes[2]
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 ms.StoreMessageInfo(mi)
130 }
131}
132
133func (x *GetKillSwitchOverviewRequest) String() string {
134 return protoimpl.X.MessageStringOf(x)
135}
136
137func (*GetKillSwitchOverviewRequest) ProtoMessage() {}
138
139func (x *GetKillSwitchOverviewRequest) ProtoReflect() protoreflect.Message {
140 mi := &file_api_proto_kill_switch_proto_msgTypes[2]
141 if protoimpl.UnsafeEnabled && x != nil {
142 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
143 if ms.LoadMessageInfo() == nil {
144 ms.StoreMessageInfo(mi)
145 }
146 return ms
147 }
148 return mi.MessageOf(x)
149}
150
151// Deprecated: Use GetKillSwitchOverviewRequest.ProtoReflect.Descriptor instead.
152func (*GetKillSwitchOverviewRequest) Descriptor() ([]byte, []int) {
153 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{2}
154}
155
156type GetKillSwitchOverviewResponse struct {
157 state protoimpl.MessageState
158 sizeCache protoimpl.SizeCache
159 unknownFields protoimpl.UnknownFields
160
161 KillSwitches []*KillSwitch `protobuf:"bytes,1,rep,name=kill_switches,json=killSwitches,proto3" json:"kill_switches,omitempty"`
162}
163
164func (x *GetKillSwitchOverviewResponse) Reset() {
165 *x = GetKillSwitchOverviewResponse{}
166 if protoimpl.UnsafeEnabled {
167 mi := &file_api_proto_kill_switch_proto_msgTypes[3]
168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
169 ms.StoreMessageInfo(mi)
170 }
171}
172
173func (x *GetKillSwitchOverviewResponse) String() string {
174 return protoimpl.X.MessageStringOf(x)
175}
176
177func (*GetKillSwitchOverviewResponse) ProtoMessage() {}
178
179func (x *GetKillSwitchOverviewResponse) ProtoReflect() protoreflect.Message {
180 mi := &file_api_proto_kill_switch_proto_msgTypes[3]
181 if protoimpl.UnsafeEnabled && x != nil {
182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
183 if ms.LoadMessageInfo() == nil {
184 ms.StoreMessageInfo(mi)
185 }
186 return ms
187 }
188 return mi.MessageOf(x)
189}
190
191// Deprecated: Use GetKillSwitchOverviewResponse.ProtoReflect.Descriptor instead.
192func (*GetKillSwitchOverviewResponse) Descriptor() ([]byte, []int) {
193 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{3}
194}
195
196func (x *GetKillSwitchOverviewResponse) GetKillSwitches() []*KillSwitch {
197 if x != nil {
198 return x.KillSwitches
199 }
200 return nil
201}
202
203type ListFeaturesRequest struct {
204 state protoimpl.MessageState
205 sizeCache protoimpl.SizeCache
206 unknownFields protoimpl.UnknownFields
207
208 WithDeprecatedFeatures bool `protobuf:"varint,1,opt,name=with_deprecated_features,json=withDeprecatedFeatures,proto3" json:"with_deprecated_features,omitempty"`
209}
210
211func (x *ListFeaturesRequest) Reset() {
212 *x = ListFeaturesRequest{}
213 if protoimpl.UnsafeEnabled {
214 mi := &file_api_proto_kill_switch_proto_msgTypes[4]
215 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
216 ms.StoreMessageInfo(mi)
217 }
218}
219
220func (x *ListFeaturesRequest) String() string {
221 return protoimpl.X.MessageStringOf(x)
222}
223
224func (*ListFeaturesRequest) ProtoMessage() {}
225
226func (x *ListFeaturesRequest) ProtoReflect() protoreflect.Message {
227 mi := &file_api_proto_kill_switch_proto_msgTypes[4]
228 if protoimpl.UnsafeEnabled && x != nil {
229 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
230 if ms.LoadMessageInfo() == nil {
231 ms.StoreMessageInfo(mi)
232 }
233 return ms
234 }
235 return mi.MessageOf(x)
236}
237
238// Deprecated: Use ListFeaturesRequest.ProtoReflect.Descriptor instead.
239func (*ListFeaturesRequest) Descriptor() ([]byte, []int) {
240 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{4}
241}
242
243func (x *ListFeaturesRequest) GetWithDeprecatedFeatures() bool {
244 if x != nil {
245 return x.WithDeprecatedFeatures
246 }
247 return false
248}
249
250type ListFeaturesResponse struct {
251 state protoimpl.MessageState
252 sizeCache protoimpl.SizeCache
253 unknownFields protoimpl.UnknownFields
254
255 Features []*Feature `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"`
256}
257
258func (x *ListFeaturesResponse) Reset() {
259 *x = ListFeaturesResponse{}
260 if protoimpl.UnsafeEnabled {
261 mi := &file_api_proto_kill_switch_proto_msgTypes[5]
262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
263 ms.StoreMessageInfo(mi)
264 }
265}
266
267func (x *ListFeaturesResponse) String() string {
268 return protoimpl.X.MessageStringOf(x)
269}
270
271func (*ListFeaturesResponse) ProtoMessage() {}
272
273func (x *ListFeaturesResponse) ProtoReflect() protoreflect.Message {
274 mi := &file_api_proto_kill_switch_proto_msgTypes[5]
275 if protoimpl.UnsafeEnabled && x != nil {
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 if ms.LoadMessageInfo() == nil {
278 ms.StoreMessageInfo(mi)
279 }
280 return ms
281 }
282 return mi.MessageOf(x)
283}
284
285// Deprecated: Use ListFeaturesResponse.ProtoReflect.Descriptor instead.
286func (*ListFeaturesResponse) Descriptor() ([]byte, []int) {
287 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{5}
288}
289
290func (x *ListFeaturesResponse) GetFeatures() []*Feature {
291 if x != nil {
292 return x.Features
293 }
294 return nil
295}
296
297type SyncFeaturesRequest struct {
298 state protoimpl.MessageState
299 sizeCache protoimpl.SizeCache
300 unknownFields protoimpl.UnknownFields
301
302 Features []*Feature `protobuf:"bytes,1,rep,name=features,proto3" json:"features,omitempty"`
303}
304
305func (x *SyncFeaturesRequest) Reset() {
306 *x = SyncFeaturesRequest{}
307 if protoimpl.UnsafeEnabled {
308 mi := &file_api_proto_kill_switch_proto_msgTypes[6]
309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310 ms.StoreMessageInfo(mi)
311 }
312}
313
314func (x *SyncFeaturesRequest) String() string {
315 return protoimpl.X.MessageStringOf(x)
316}
317
318func (*SyncFeaturesRequest) ProtoMessage() {}
319
320func (x *SyncFeaturesRequest) ProtoReflect() protoreflect.Message {
321 mi := &file_api_proto_kill_switch_proto_msgTypes[6]
322 if protoimpl.UnsafeEnabled && x != nil {
323 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
324 if ms.LoadMessageInfo() == nil {
325 ms.StoreMessageInfo(mi)
326 }
327 return ms
328 }
329 return mi.MessageOf(x)
330}
331
332// Deprecated: Use SyncFeaturesRequest.ProtoReflect.Descriptor instead.
333func (*SyncFeaturesRequest) Descriptor() ([]byte, []int) {
334 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{6}
335}
336
337func (x *SyncFeaturesRequest) GetFeatures() []*Feature {
338 if x != nil {
339 return x.Features
340 }
341 return nil
342}
343
344type SyncFeaturesResponse struct {
345 state protoimpl.MessageState
346 sizeCache protoimpl.SizeCache
347 unknownFields protoimpl.UnknownFields
348}
349
350func (x *SyncFeaturesResponse) Reset() {
351 *x = SyncFeaturesResponse{}
352 if protoimpl.UnsafeEnabled {
353 mi := &file_api_proto_kill_switch_proto_msgTypes[7]
354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
355 ms.StoreMessageInfo(mi)
356 }
357}
358
359func (x *SyncFeaturesResponse) String() string {
360 return protoimpl.X.MessageStringOf(x)
361}
362
363func (*SyncFeaturesResponse) ProtoMessage() {}
364
365func (x *SyncFeaturesResponse) ProtoReflect() protoreflect.Message {
366 mi := &file_api_proto_kill_switch_proto_msgTypes[7]
367 if protoimpl.UnsafeEnabled && x != nil {
368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369 if ms.LoadMessageInfo() == nil {
370 ms.StoreMessageInfo(mi)
371 }
372 return ms
373 }
374 return mi.MessageOf(x)
375}
376
377// Deprecated: Use SyncFeaturesResponse.ProtoReflect.Descriptor instead.
378func (*SyncFeaturesResponse) Descriptor() ([]byte, []int) {
379 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{7}
380}
381
382type EnableKillSwitchRequest struct {
383 state protoimpl.MessageState
384 sizeCache protoimpl.SizeCache
385 unknownFields protoimpl.UnknownFields
386
387 KillSwitch *KillSwitch `protobuf:"bytes,1,opt,name=kill_switch,json=killSwitch,proto3" json:"kill_switch,omitempty"`
388}
389
390func (x *EnableKillSwitchRequest) Reset() {
391 *x = EnableKillSwitchRequest{}
392 if protoimpl.UnsafeEnabled {
393 mi := &file_api_proto_kill_switch_proto_msgTypes[8]
394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395 ms.StoreMessageInfo(mi)
396 }
397}
398
399func (x *EnableKillSwitchRequest) String() string {
400 return protoimpl.X.MessageStringOf(x)
401}
402
403func (*EnableKillSwitchRequest) ProtoMessage() {}
404
405func (x *EnableKillSwitchRequest) ProtoReflect() protoreflect.Message {
406 mi := &file_api_proto_kill_switch_proto_msgTypes[8]
407 if protoimpl.UnsafeEnabled && x != nil {
408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
409 if ms.LoadMessageInfo() == nil {
410 ms.StoreMessageInfo(mi)
411 }
412 return ms
413 }
414 return mi.MessageOf(x)
415}
416
417// Deprecated: Use EnableKillSwitchRequest.ProtoReflect.Descriptor instead.
418func (*EnableKillSwitchRequest) Descriptor() ([]byte, []int) {
419 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{8}
420}
421
422func (x *EnableKillSwitchRequest) GetKillSwitch() *KillSwitch {
423 if x != nil {
424 return x.KillSwitch
425 }
426 return nil
427}
428
429type EnableKillSwitchResponse struct {
430 state protoimpl.MessageState
431 sizeCache protoimpl.SizeCache
432 unknownFields protoimpl.UnknownFields
433}
434
435func (x *EnableKillSwitchResponse) Reset() {
436 *x = EnableKillSwitchResponse{}
437 if protoimpl.UnsafeEnabled {
438 mi := &file_api_proto_kill_switch_proto_msgTypes[9]
439 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
440 ms.StoreMessageInfo(mi)
441 }
442}
443
444func (x *EnableKillSwitchResponse) String() string {
445 return protoimpl.X.MessageStringOf(x)
446}
447
448func (*EnableKillSwitchResponse) ProtoMessage() {}
449
450func (x *EnableKillSwitchResponse) ProtoReflect() protoreflect.Message {
451 mi := &file_api_proto_kill_switch_proto_msgTypes[9]
452 if protoimpl.UnsafeEnabled && x != nil {
453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
454 if ms.LoadMessageInfo() == nil {
455 ms.StoreMessageInfo(mi)
456 }
457 return ms
458 }
459 return mi.MessageOf(x)
460}
461
462// Deprecated: Use EnableKillSwitchResponse.ProtoReflect.Descriptor instead.
463func (*EnableKillSwitchResponse) Descriptor() ([]byte, []int) {
464 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{9}
465}
466
467type DisableKillSwitchRequest struct {
468 state protoimpl.MessageState
469 sizeCache protoimpl.SizeCache
470 unknownFields protoimpl.UnknownFields
471
472 KillSwitchId int32 `protobuf:"varint,1,opt,name=kill_switch_id,json=killSwitchId,proto3" json:"kill_switch_id,omitempty"`
473}
474
475func (x *DisableKillSwitchRequest) Reset() {
476 *x = DisableKillSwitchRequest{}
477 if protoimpl.UnsafeEnabled {
478 mi := &file_api_proto_kill_switch_proto_msgTypes[10]
479 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
480 ms.StoreMessageInfo(mi)
481 }
482}
483
484func (x *DisableKillSwitchRequest) String() string {
485 return protoimpl.X.MessageStringOf(x)
486}
487
488func (*DisableKillSwitchRequest) ProtoMessage() {}
489
490func (x *DisableKillSwitchRequest) ProtoReflect() protoreflect.Message {
491 mi := &file_api_proto_kill_switch_proto_msgTypes[10]
492 if protoimpl.UnsafeEnabled && x != nil {
493 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
494 if ms.LoadMessageInfo() == nil {
495 ms.StoreMessageInfo(mi)
496 }
497 return ms
498 }
499 return mi.MessageOf(x)
500}
501
502// Deprecated: Use DisableKillSwitchRequest.ProtoReflect.Descriptor instead.
503func (*DisableKillSwitchRequest) Descriptor() ([]byte, []int) {
504 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{10}
505}
506
507func (x *DisableKillSwitchRequest) GetKillSwitchId() int32 {
508 if x != nil {
509 return x.KillSwitchId
510 }
511 return 0
512}
513
514type DisableKillSwitchResponse struct {
515 state protoimpl.MessageState
516 sizeCache protoimpl.SizeCache
517 unknownFields protoimpl.UnknownFields
518}
519
520func (x *DisableKillSwitchResponse) Reset() {
521 *x = DisableKillSwitchResponse{}
522 if protoimpl.UnsafeEnabled {
523 mi := &file_api_proto_kill_switch_proto_msgTypes[11]
524 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
525 ms.StoreMessageInfo(mi)
526 }
527}
528
529func (x *DisableKillSwitchResponse) String() string {
530 return protoimpl.X.MessageStringOf(x)
531}
532
533func (*DisableKillSwitchResponse) ProtoMessage() {}
534
535func (x *DisableKillSwitchResponse) ProtoReflect() protoreflect.Message {
536 mi := &file_api_proto_kill_switch_proto_msgTypes[11]
537 if protoimpl.UnsafeEnabled && x != nil {
538 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
539 if ms.LoadMessageInfo() == nil {
540 ms.StoreMessageInfo(mi)
541 }
542 return ms
543 }
544 return mi.MessageOf(x)
545}
546
547// Deprecated: Use DisableKillSwitchResponse.ProtoReflect.Descriptor instead.
548func (*DisableKillSwitchResponse) Descriptor() ([]byte, []int) {
549 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{11}
550}
551
552type ListAuthorizedUsersRequest struct {
553 state protoimpl.MessageState
554 sizeCache protoimpl.SizeCache
555 unknownFields protoimpl.UnknownFields
556}
557
558func (x *ListAuthorizedUsersRequest) Reset() {
559 *x = ListAuthorizedUsersRequest{}
560 if protoimpl.UnsafeEnabled {
561 mi := &file_api_proto_kill_switch_proto_msgTypes[12]
562 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
563 ms.StoreMessageInfo(mi)
564 }
565}
566
567func (x *ListAuthorizedUsersRequest) String() string {
568 return protoimpl.X.MessageStringOf(x)
569}
570
571func (*ListAuthorizedUsersRequest) ProtoMessage() {}
572
573func (x *ListAuthorizedUsersRequest) ProtoReflect() protoreflect.Message {
574 mi := &file_api_proto_kill_switch_proto_msgTypes[12]
575 if protoimpl.UnsafeEnabled && x != nil {
576 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
577 if ms.LoadMessageInfo() == nil {
578 ms.StoreMessageInfo(mi)
579 }
580 return ms
581 }
582 return mi.MessageOf(x)
583}
584
585// Deprecated: Use ListAuthorizedUsersRequest.ProtoReflect.Descriptor instead.
586func (*ListAuthorizedUsersRequest) Descriptor() ([]byte, []int) {
587 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{12}
588}
589
590type ListAuthorizedUsersResponse struct {
591 state protoimpl.MessageState
592 sizeCache protoimpl.SizeCache
593 unknownFields protoimpl.UnknownFields
594
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +0200595 Users []*KillSwitchAuthorizedUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
avm9996383f8f292021-08-24 18:26:52 +0200596}
597
598func (x *ListAuthorizedUsersResponse) Reset() {
599 *x = ListAuthorizedUsersResponse{}
600 if protoimpl.UnsafeEnabled {
601 mi := &file_api_proto_kill_switch_proto_msgTypes[13]
602 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
603 ms.StoreMessageInfo(mi)
604 }
605}
606
607func (x *ListAuthorizedUsersResponse) String() string {
608 return protoimpl.X.MessageStringOf(x)
609}
610
611func (*ListAuthorizedUsersResponse) ProtoMessage() {}
612
613func (x *ListAuthorizedUsersResponse) ProtoReflect() protoreflect.Message {
614 mi := &file_api_proto_kill_switch_proto_msgTypes[13]
615 if protoimpl.UnsafeEnabled && x != nil {
616 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
617 if ms.LoadMessageInfo() == nil {
618 ms.StoreMessageInfo(mi)
619 }
620 return ms
621 }
622 return mi.MessageOf(x)
623}
624
625// Deprecated: Use ListAuthorizedUsersResponse.ProtoReflect.Descriptor instead.
626func (*ListAuthorizedUsersResponse) Descriptor() ([]byte, []int) {
627 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{13}
628}
629
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +0200630func (x *ListAuthorizedUsersResponse) GetUsers() []*KillSwitchAuthorizedUser {
avm9996383f8f292021-08-24 18:26:52 +0200631 if x != nil {
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +0200632 return x.Users
avm9996383f8f292021-08-24 18:26:52 +0200633 }
634 return nil
635}
636
637type AddAuthorizedUserRequest struct {
638 state protoimpl.MessageState
639 sizeCache protoimpl.SizeCache
640 unknownFields protoimpl.UnknownFields
641
642 User *KillSwitchAuthorizedUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
643}
644
645func (x *AddAuthorizedUserRequest) Reset() {
646 *x = AddAuthorizedUserRequest{}
647 if protoimpl.UnsafeEnabled {
648 mi := &file_api_proto_kill_switch_proto_msgTypes[14]
649 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
650 ms.StoreMessageInfo(mi)
651 }
652}
653
654func (x *AddAuthorizedUserRequest) String() string {
655 return protoimpl.X.MessageStringOf(x)
656}
657
658func (*AddAuthorizedUserRequest) ProtoMessage() {}
659
660func (x *AddAuthorizedUserRequest) ProtoReflect() protoreflect.Message {
661 mi := &file_api_proto_kill_switch_proto_msgTypes[14]
662 if protoimpl.UnsafeEnabled && x != nil {
663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
664 if ms.LoadMessageInfo() == nil {
665 ms.StoreMessageInfo(mi)
666 }
667 return ms
668 }
669 return mi.MessageOf(x)
670}
671
672// Deprecated: Use AddAuthorizedUserRequest.ProtoReflect.Descriptor instead.
673func (*AddAuthorizedUserRequest) Descriptor() ([]byte, []int) {
674 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{14}
675}
676
677func (x *AddAuthorizedUserRequest) GetUser() *KillSwitchAuthorizedUser {
678 if x != nil {
679 return x.User
680 }
681 return nil
682}
683
684type AddAuthorizedUserResponse struct {
685 state protoimpl.MessageState
686 sizeCache protoimpl.SizeCache
687 unknownFields protoimpl.UnknownFields
688}
689
690func (x *AddAuthorizedUserResponse) Reset() {
691 *x = AddAuthorizedUserResponse{}
692 if protoimpl.UnsafeEnabled {
693 mi := &file_api_proto_kill_switch_proto_msgTypes[15]
694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
695 ms.StoreMessageInfo(mi)
696 }
697}
698
699func (x *AddAuthorizedUserResponse) String() string {
700 return protoimpl.X.MessageStringOf(x)
701}
702
703func (*AddAuthorizedUserResponse) ProtoMessage() {}
704
705func (x *AddAuthorizedUserResponse) ProtoReflect() protoreflect.Message {
706 mi := &file_api_proto_kill_switch_proto_msgTypes[15]
707 if protoimpl.UnsafeEnabled && x != nil {
708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
709 if ms.LoadMessageInfo() == nil {
710 ms.StoreMessageInfo(mi)
711 }
712 return ms
713 }
714 return mi.MessageOf(x)
715}
716
717// Deprecated: Use AddAuthorizedUserResponse.ProtoReflect.Descriptor instead.
718func (*AddAuthorizedUserResponse) Descriptor() ([]byte, []int) {
719 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{15}
720}
721
722type UpdateAuthorizedUserRequest struct {
723 state protoimpl.MessageState
724 sizeCache protoimpl.SizeCache
725 unknownFields protoimpl.UnknownFields
726
727 UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
728 User *KillSwitchAuthorizedUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
729}
730
731func (x *UpdateAuthorizedUserRequest) Reset() {
732 *x = UpdateAuthorizedUserRequest{}
733 if protoimpl.UnsafeEnabled {
734 mi := &file_api_proto_kill_switch_proto_msgTypes[16]
735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
736 ms.StoreMessageInfo(mi)
737 }
738}
739
740func (x *UpdateAuthorizedUserRequest) String() string {
741 return protoimpl.X.MessageStringOf(x)
742}
743
744func (*UpdateAuthorizedUserRequest) ProtoMessage() {}
745
746func (x *UpdateAuthorizedUserRequest) ProtoReflect() protoreflect.Message {
747 mi := &file_api_proto_kill_switch_proto_msgTypes[16]
748 if protoimpl.UnsafeEnabled && x != nil {
749 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
750 if ms.LoadMessageInfo() == nil {
751 ms.StoreMessageInfo(mi)
752 }
753 return ms
754 }
755 return mi.MessageOf(x)
756}
757
758// Deprecated: Use UpdateAuthorizedUserRequest.ProtoReflect.Descriptor instead.
759func (*UpdateAuthorizedUserRequest) Descriptor() ([]byte, []int) {
760 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{16}
761}
762
763func (x *UpdateAuthorizedUserRequest) GetUserId() int32 {
764 if x != nil {
765 return x.UserId
766 }
767 return 0
768}
769
770func (x *UpdateAuthorizedUserRequest) GetUser() *KillSwitchAuthorizedUser {
771 if x != nil {
772 return x.User
773 }
774 return nil
775}
776
777type UpdateAuthorizedUserResponse struct {
778 state protoimpl.MessageState
779 sizeCache protoimpl.SizeCache
780 unknownFields protoimpl.UnknownFields
781}
782
783func (x *UpdateAuthorizedUserResponse) Reset() {
784 *x = UpdateAuthorizedUserResponse{}
785 if protoimpl.UnsafeEnabled {
786 mi := &file_api_proto_kill_switch_proto_msgTypes[17]
787 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
788 ms.StoreMessageInfo(mi)
789 }
790}
791
792func (x *UpdateAuthorizedUserResponse) String() string {
793 return protoimpl.X.MessageStringOf(x)
794}
795
796func (*UpdateAuthorizedUserResponse) ProtoMessage() {}
797
798func (x *UpdateAuthorizedUserResponse) ProtoReflect() protoreflect.Message {
799 mi := &file_api_proto_kill_switch_proto_msgTypes[17]
800 if protoimpl.UnsafeEnabled && x != nil {
801 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
802 if ms.LoadMessageInfo() == nil {
803 ms.StoreMessageInfo(mi)
804 }
805 return ms
806 }
807 return mi.MessageOf(x)
808}
809
810// Deprecated: Use UpdateAuthorizedUserResponse.ProtoReflect.Descriptor instead.
811func (*UpdateAuthorizedUserResponse) Descriptor() ([]byte, []int) {
812 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{17}
813}
814
815type DeleteAuthorizedUserRequest struct {
816 state protoimpl.MessageState
817 sizeCache protoimpl.SizeCache
818 unknownFields protoimpl.UnknownFields
819
820 UserId int32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
821}
822
823func (x *DeleteAuthorizedUserRequest) Reset() {
824 *x = DeleteAuthorizedUserRequest{}
825 if protoimpl.UnsafeEnabled {
826 mi := &file_api_proto_kill_switch_proto_msgTypes[18]
827 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
828 ms.StoreMessageInfo(mi)
829 }
830}
831
832func (x *DeleteAuthorizedUserRequest) String() string {
833 return protoimpl.X.MessageStringOf(x)
834}
835
836func (*DeleteAuthorizedUserRequest) ProtoMessage() {}
837
838func (x *DeleteAuthorizedUserRequest) ProtoReflect() protoreflect.Message {
839 mi := &file_api_proto_kill_switch_proto_msgTypes[18]
840 if protoimpl.UnsafeEnabled && x != nil {
841 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
842 if ms.LoadMessageInfo() == nil {
843 ms.StoreMessageInfo(mi)
844 }
845 return ms
846 }
847 return mi.MessageOf(x)
848}
849
850// Deprecated: Use DeleteAuthorizedUserRequest.ProtoReflect.Descriptor instead.
851func (*DeleteAuthorizedUserRequest) Descriptor() ([]byte, []int) {
852 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{18}
853}
854
855func (x *DeleteAuthorizedUserRequest) GetUserId() int32 {
856 if x != nil {
857 return x.UserId
858 }
859 return 0
860}
861
862type DeleteAuthorizedUserResponse struct {
863 state protoimpl.MessageState
864 sizeCache protoimpl.SizeCache
865 unknownFields protoimpl.UnknownFields
866}
867
868func (x *DeleteAuthorizedUserResponse) Reset() {
869 *x = DeleteAuthorizedUserResponse{}
870 if protoimpl.UnsafeEnabled {
871 mi := &file_api_proto_kill_switch_proto_msgTypes[19]
872 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
873 ms.StoreMessageInfo(mi)
874 }
875}
876
877func (x *DeleteAuthorizedUserResponse) String() string {
878 return protoimpl.X.MessageStringOf(x)
879}
880
881func (*DeleteAuthorizedUserResponse) ProtoMessage() {}
882
883func (x *DeleteAuthorizedUserResponse) ProtoReflect() protoreflect.Message {
884 mi := &file_api_proto_kill_switch_proto_msgTypes[19]
885 if protoimpl.UnsafeEnabled && x != nil {
886 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
887 if ms.LoadMessageInfo() == nil {
888 ms.StoreMessageInfo(mi)
889 }
890 return ms
891 }
892 return mi.MessageOf(x)
893}
894
895// Deprecated: Use DeleteAuthorizedUserResponse.ProtoReflect.Descriptor instead.
896func (*DeleteAuthorizedUserResponse) Descriptor() ([]byte, []int) {
897 return file_api_proto_kill_switch_proto_rawDescGZIP(), []int{19}
898}
899
900var File_api_proto_kill_switch_proto protoreflect.FileDescriptor
901
902var file_api_proto_kill_switch_proto_rawDesc = []byte{
903 0x0a, 0x1b, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6b, 0x69, 0x6c, 0x6c,
904 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x61,
905 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
906 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
907 0x2f, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x6f, 0x62, 0x6a,
908 0x65, 0x63, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4c, 0x0a, 0x1a, 0x47, 0x65,
909 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75,
910 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x0b, 0x65, 0x6e, 0x76, 0x69,
911 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e,
912 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x65, 0x6e, 0x76,
913 0x69, 0x72, 0x6f, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x4f, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x4b,
914 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52,
915 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x0d, 0x6b, 0x69, 0x6c, 0x6c, 0x5f,
916 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0b,
917 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x0c, 0x6b, 0x69, 0x6c,
918 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0x1e, 0x0a, 0x1c, 0x47, 0x65, 0x74,
919 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69,
920 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x1d, 0x47, 0x65, 0x74,
921 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69,
922 0x65, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x0d, 0x6b, 0x69,
923 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
924 0x0b, 0x32, 0x0b, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x0c,
925 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x65, 0x73, 0x22, 0x4f, 0x0a, 0x13,
926 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
927 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x18, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x64, 0x65, 0x70, 0x72,
928 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18,
929 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x77, 0x69, 0x74, 0x68, 0x44, 0x65, 0x70, 0x72, 0x65,
930 0x63, 0x61, 0x74, 0x65, 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x3c, 0x0a,
931 0x14, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73,
932 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
933 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
934 0x65, 0x52, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x3b, 0x0a, 0x13, 0x53,
935 0x79, 0x6e, 0x63, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
936 0x73, 0x74, 0x12, 0x24, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x01,
937 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x08,
938 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x22, 0x16, 0x0a, 0x14, 0x53, 0x79, 0x6e, 0x63,
939 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
940 0x22, 0x47, 0x0a, 0x17, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77,
941 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0b, 0x6b,
942 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
943 0x32, 0x0b, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x0a, 0x6b,
944 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x22, 0x1a, 0x0a, 0x18, 0x45, 0x6e, 0x61,
945 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73,
946 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0x0a, 0x18, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
947 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
948 0x74, 0x12, 0x24, 0x0a, 0x0e, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68,
949 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x6b, 0x69, 0x6c, 0x6c, 0x53,
950 0x77, 0x69, 0x74, 0x63, 0x68, 0x49, 0x64, 0x22, 0x1b, 0x0a, 0x19, 0x44, 0x69, 0x73, 0x61, 0x62,
951 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70,
952 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x1c, 0x0a, 0x1a, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68,
953 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +0200954 0x73, 0x74, 0x22, 0x4e, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
avm9996383f8f292021-08-24 18:26:52 +0200955 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +0200956 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
957 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74,
958 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65,
959 0x72, 0x73, 0x22, 0x49, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
960 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2d,
961 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b,
962 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
963 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x1b, 0x0a,
964 0x19, 0x41, 0x64, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73,
965 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x65, 0x0a, 0x1b, 0x55, 0x70,
966 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73,
967 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65,
968 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72,
969 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
970 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74,
971 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
972 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f,
973 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
974 0x65, 0x22, 0x36, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f,
975 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
976 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
977 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1e, 0x0a, 0x1c, 0x44, 0x65, 0x6c,
avm9996383f8f292021-08-24 18:26:52 +0200978 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65,
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +0200979 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa8, 0x06, 0x0a, 0x11, 0x4b, 0x69,
980 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
981 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
982 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c,
983 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75,
984 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69,
985 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
986 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77,
987 0x69, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x12, 0x1d, 0x2e, 0x47,
988 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72,
989 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x47, 0x65,
990 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x76,
991 0x69, 0x65, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a,
992 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x14, 0x2e,
993 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75,
994 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
995 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0c,
996 0x53, 0x79, 0x6e, 0x63, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x14, 0x2e, 0x53,
997 0x79, 0x6e, 0x63, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
998 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
999 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x49, 0x0a, 0x10, 0x45,
1000 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12,
1001 0x18, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74,
1002 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x45, 0x6e, 0x61, 0x62,
1003 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70,
1004 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c,
1005 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x19, 0x2e, 0x44, 0x69,
1006 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52,
1007 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65,
1008 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1009 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68,
1010 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x1b, 0x2e, 0x4c, 0x69,
1011 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72,
1012 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41,
1013 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
1014 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x41,
1015 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x19, 0x2e,
1016 0x41, 0x64, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65,
1017 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x75,
1018 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70,
1019 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
1020 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c,
1021 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
1022 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x55,
1023 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55,
1024 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a,
1025 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
1026 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75,
1027 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
1028 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68,
1029 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1030 0x73, 0x65, 0x22, 0x00, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x6f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65,
1031 0x73, 0x2e, 0x61, 0x76, 0x6d, 0x39, 0x39, 0x39, 0x36, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74,
1032 0x77, 0x70, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70,
1033 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
avm9996383f8f292021-08-24 18:26:52 +02001034}
1035
1036var (
1037 file_api_proto_kill_switch_proto_rawDescOnce sync.Once
1038 file_api_proto_kill_switch_proto_rawDescData = file_api_proto_kill_switch_proto_rawDesc
1039)
1040
1041func file_api_proto_kill_switch_proto_rawDescGZIP() []byte {
1042 file_api_proto_kill_switch_proto_rawDescOnce.Do(func() {
1043 file_api_proto_kill_switch_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_proto_kill_switch_proto_rawDescData)
1044 })
1045 return file_api_proto_kill_switch_proto_rawDescData
1046}
1047
1048var file_api_proto_kill_switch_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
1049var file_api_proto_kill_switch_proto_goTypes = []interface{}{
1050 (*GetKillSwitchStatusRequest)(nil), // 0: GetKillSwitchStatusRequest
1051 (*GetKillSwitchStatusResponse)(nil), // 1: GetKillSwitchStatusResponse
1052 (*GetKillSwitchOverviewRequest)(nil), // 2: GetKillSwitchOverviewRequest
1053 (*GetKillSwitchOverviewResponse)(nil), // 3: GetKillSwitchOverviewResponse
1054 (*ListFeaturesRequest)(nil), // 4: ListFeaturesRequest
1055 (*ListFeaturesResponse)(nil), // 5: ListFeaturesResponse
1056 (*SyncFeaturesRequest)(nil), // 6: SyncFeaturesRequest
1057 (*SyncFeaturesResponse)(nil), // 7: SyncFeaturesResponse
1058 (*EnableKillSwitchRequest)(nil), // 8: EnableKillSwitchRequest
1059 (*EnableKillSwitchResponse)(nil), // 9: EnableKillSwitchResponse
1060 (*DisableKillSwitchRequest)(nil), // 10: DisableKillSwitchRequest
1061 (*DisableKillSwitchResponse)(nil), // 11: DisableKillSwitchResponse
1062 (*ListAuthorizedUsersRequest)(nil), // 12: ListAuthorizedUsersRequest
1063 (*ListAuthorizedUsersResponse)(nil), // 13: ListAuthorizedUsersResponse
1064 (*AddAuthorizedUserRequest)(nil), // 14: AddAuthorizedUserRequest
1065 (*AddAuthorizedUserResponse)(nil), // 15: AddAuthorizedUserResponse
1066 (*UpdateAuthorizedUserRequest)(nil), // 16: UpdateAuthorizedUserRequest
1067 (*UpdateAuthorizedUserResponse)(nil), // 17: UpdateAuthorizedUserResponse
1068 (*DeleteAuthorizedUserRequest)(nil), // 18: DeleteAuthorizedUserRequest
1069 (*DeleteAuthorizedUserResponse)(nil), // 19: DeleteAuthorizedUserResponse
1070 (*Environment)(nil), // 20: Environment
1071 (*KillSwitch)(nil), // 21: KillSwitch
1072 (*Feature)(nil), // 22: Feature
1073 (*KillSwitchAuthorizedUser)(nil), // 23: KillSwitchAuthorizedUser
1074}
1075var file_api_proto_kill_switch_proto_depIdxs = []int32{
1076 20, // 0: GetKillSwitchStatusRequest.environment:type_name -> Environment
1077 21, // 1: GetKillSwitchStatusResponse.kill_switches:type_name -> KillSwitch
1078 21, // 2: GetKillSwitchOverviewResponse.kill_switches:type_name -> KillSwitch
1079 22, // 3: ListFeaturesResponse.features:type_name -> Feature
1080 22, // 4: SyncFeaturesRequest.features:type_name -> Feature
1081 21, // 5: EnableKillSwitchRequest.kill_switch:type_name -> KillSwitch
Adrià Vilanova Martínez25e12112021-08-25 13:48:06 +02001082 23, // 6: ListAuthorizedUsersResponse.users:type_name -> KillSwitchAuthorizedUser
avm9996383f8f292021-08-24 18:26:52 +02001083 23, // 7: AddAuthorizedUserRequest.user:type_name -> KillSwitchAuthorizedUser
1084 23, // 8: UpdateAuthorizedUserRequest.user:type_name -> KillSwitchAuthorizedUser
1085 0, // 9: KillSwitchService.GetKillSwitchStatus:input_type -> GetKillSwitchStatusRequest
1086 2, // 10: KillSwitchService.GetKillSwitchOverview:input_type -> GetKillSwitchOverviewRequest
1087 4, // 11: KillSwitchService.ListFeatures:input_type -> ListFeaturesRequest
1088 6, // 12: KillSwitchService.SyncFeatures:input_type -> SyncFeaturesRequest
1089 8, // 13: KillSwitchService.EnableKillSwitch:input_type -> EnableKillSwitchRequest
1090 10, // 14: KillSwitchService.DisableKillSwitch:input_type -> DisableKillSwitchRequest
1091 12, // 15: KillSwitchService.ListAuthorizedUsers:input_type -> ListAuthorizedUsersRequest
1092 14, // 16: KillSwitchService.AddAuthorizedUser:input_type -> AddAuthorizedUserRequest
1093 16, // 17: KillSwitchService.UpdateAuthorizedUser:input_type -> UpdateAuthorizedUserRequest
1094 18, // 18: KillSwitchService.DeleteAuthorizedUser:input_type -> DeleteAuthorizedUserRequest
1095 1, // 19: KillSwitchService.GetKillSwitchStatus:output_type -> GetKillSwitchStatusResponse
1096 3, // 20: KillSwitchService.GetKillSwitchOverview:output_type -> GetKillSwitchOverviewResponse
1097 5, // 21: KillSwitchService.ListFeatures:output_type -> ListFeaturesResponse
1098 7, // 22: KillSwitchService.SyncFeatures:output_type -> SyncFeaturesResponse
1099 9, // 23: KillSwitchService.EnableKillSwitch:output_type -> EnableKillSwitchResponse
1100 11, // 24: KillSwitchService.DisableKillSwitch:output_type -> DisableKillSwitchResponse
1101 13, // 25: KillSwitchService.ListAuthorizedUsers:output_type -> ListAuthorizedUsersResponse
1102 15, // 26: KillSwitchService.AddAuthorizedUser:output_type -> AddAuthorizedUserResponse
1103 17, // 27: KillSwitchService.UpdateAuthorizedUser:output_type -> UpdateAuthorizedUserResponse
1104 19, // 28: KillSwitchService.DeleteAuthorizedUser:output_type -> DeleteAuthorizedUserResponse
1105 19, // [19:29] is the sub-list for method output_type
1106 9, // [9:19] is the sub-list for method input_type
1107 9, // [9:9] is the sub-list for extension type_name
1108 9, // [9:9] is the sub-list for extension extendee
1109 0, // [0:9] is the sub-list for field type_name
1110}
1111
1112func init() { file_api_proto_kill_switch_proto_init() }
1113func file_api_proto_kill_switch_proto_init() {
1114 if File_api_proto_kill_switch_proto != nil {
1115 return
1116 }
1117 file_api_proto_common_proto_init()
1118 file_api_proto_kill_switch_objects_proto_init()
1119 if !protoimpl.UnsafeEnabled {
1120 file_api_proto_kill_switch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1121 switch v := v.(*GetKillSwitchStatusRequest); i {
1122 case 0:
1123 return &v.state
1124 case 1:
1125 return &v.sizeCache
1126 case 2:
1127 return &v.unknownFields
1128 default:
1129 return nil
1130 }
1131 }
1132 file_api_proto_kill_switch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1133 switch v := v.(*GetKillSwitchStatusResponse); i {
1134 case 0:
1135 return &v.state
1136 case 1:
1137 return &v.sizeCache
1138 case 2:
1139 return &v.unknownFields
1140 default:
1141 return nil
1142 }
1143 }
1144 file_api_proto_kill_switch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1145 switch v := v.(*GetKillSwitchOverviewRequest); i {
1146 case 0:
1147 return &v.state
1148 case 1:
1149 return &v.sizeCache
1150 case 2:
1151 return &v.unknownFields
1152 default:
1153 return nil
1154 }
1155 }
1156 file_api_proto_kill_switch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1157 switch v := v.(*GetKillSwitchOverviewResponse); i {
1158 case 0:
1159 return &v.state
1160 case 1:
1161 return &v.sizeCache
1162 case 2:
1163 return &v.unknownFields
1164 default:
1165 return nil
1166 }
1167 }
1168 file_api_proto_kill_switch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1169 switch v := v.(*ListFeaturesRequest); i {
1170 case 0:
1171 return &v.state
1172 case 1:
1173 return &v.sizeCache
1174 case 2:
1175 return &v.unknownFields
1176 default:
1177 return nil
1178 }
1179 }
1180 file_api_proto_kill_switch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1181 switch v := v.(*ListFeaturesResponse); i {
1182 case 0:
1183 return &v.state
1184 case 1:
1185 return &v.sizeCache
1186 case 2:
1187 return &v.unknownFields
1188 default:
1189 return nil
1190 }
1191 }
1192 file_api_proto_kill_switch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1193 switch v := v.(*SyncFeaturesRequest); i {
1194 case 0:
1195 return &v.state
1196 case 1:
1197 return &v.sizeCache
1198 case 2:
1199 return &v.unknownFields
1200 default:
1201 return nil
1202 }
1203 }
1204 file_api_proto_kill_switch_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1205 switch v := v.(*SyncFeaturesResponse); i {
1206 case 0:
1207 return &v.state
1208 case 1:
1209 return &v.sizeCache
1210 case 2:
1211 return &v.unknownFields
1212 default:
1213 return nil
1214 }
1215 }
1216 file_api_proto_kill_switch_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1217 switch v := v.(*EnableKillSwitchRequest); i {
1218 case 0:
1219 return &v.state
1220 case 1:
1221 return &v.sizeCache
1222 case 2:
1223 return &v.unknownFields
1224 default:
1225 return nil
1226 }
1227 }
1228 file_api_proto_kill_switch_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1229 switch v := v.(*EnableKillSwitchResponse); i {
1230 case 0:
1231 return &v.state
1232 case 1:
1233 return &v.sizeCache
1234 case 2:
1235 return &v.unknownFields
1236 default:
1237 return nil
1238 }
1239 }
1240 file_api_proto_kill_switch_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1241 switch v := v.(*DisableKillSwitchRequest); i {
1242 case 0:
1243 return &v.state
1244 case 1:
1245 return &v.sizeCache
1246 case 2:
1247 return &v.unknownFields
1248 default:
1249 return nil
1250 }
1251 }
1252 file_api_proto_kill_switch_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1253 switch v := v.(*DisableKillSwitchResponse); i {
1254 case 0:
1255 return &v.state
1256 case 1:
1257 return &v.sizeCache
1258 case 2:
1259 return &v.unknownFields
1260 default:
1261 return nil
1262 }
1263 }
1264 file_api_proto_kill_switch_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1265 switch v := v.(*ListAuthorizedUsersRequest); i {
1266 case 0:
1267 return &v.state
1268 case 1:
1269 return &v.sizeCache
1270 case 2:
1271 return &v.unknownFields
1272 default:
1273 return nil
1274 }
1275 }
1276 file_api_proto_kill_switch_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1277 switch v := v.(*ListAuthorizedUsersResponse); i {
1278 case 0:
1279 return &v.state
1280 case 1:
1281 return &v.sizeCache
1282 case 2:
1283 return &v.unknownFields
1284 default:
1285 return nil
1286 }
1287 }
1288 file_api_proto_kill_switch_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1289 switch v := v.(*AddAuthorizedUserRequest); i {
1290 case 0:
1291 return &v.state
1292 case 1:
1293 return &v.sizeCache
1294 case 2:
1295 return &v.unknownFields
1296 default:
1297 return nil
1298 }
1299 }
1300 file_api_proto_kill_switch_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1301 switch v := v.(*AddAuthorizedUserResponse); i {
1302 case 0:
1303 return &v.state
1304 case 1:
1305 return &v.sizeCache
1306 case 2:
1307 return &v.unknownFields
1308 default:
1309 return nil
1310 }
1311 }
1312 file_api_proto_kill_switch_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1313 switch v := v.(*UpdateAuthorizedUserRequest); i {
1314 case 0:
1315 return &v.state
1316 case 1:
1317 return &v.sizeCache
1318 case 2:
1319 return &v.unknownFields
1320 default:
1321 return nil
1322 }
1323 }
1324 file_api_proto_kill_switch_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
1325 switch v := v.(*UpdateAuthorizedUserResponse); i {
1326 case 0:
1327 return &v.state
1328 case 1:
1329 return &v.sizeCache
1330 case 2:
1331 return &v.unknownFields
1332 default:
1333 return nil
1334 }
1335 }
1336 file_api_proto_kill_switch_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
1337 switch v := v.(*DeleteAuthorizedUserRequest); i {
1338 case 0:
1339 return &v.state
1340 case 1:
1341 return &v.sizeCache
1342 case 2:
1343 return &v.unknownFields
1344 default:
1345 return nil
1346 }
1347 }
1348 file_api_proto_kill_switch_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
1349 switch v := v.(*DeleteAuthorizedUserResponse); i {
1350 case 0:
1351 return &v.state
1352 case 1:
1353 return &v.sizeCache
1354 case 2:
1355 return &v.unknownFields
1356 default:
1357 return nil
1358 }
1359 }
1360 }
1361 type x struct{}
1362 out := protoimpl.TypeBuilder{
1363 File: protoimpl.DescBuilder{
1364 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1365 RawDescriptor: file_api_proto_kill_switch_proto_rawDesc,
1366 NumEnums: 0,
1367 NumMessages: 20,
1368 NumExtensions: 0,
1369 NumServices: 1,
1370 },
1371 GoTypes: file_api_proto_kill_switch_proto_goTypes,
1372 DependencyIndexes: file_api_proto_kill_switch_proto_depIdxs,
1373 MessageInfos: file_api_proto_kill_switch_proto_msgTypes,
1374 }.Build()
1375 File_api_proto_kill_switch_proto = out.File
1376 file_api_proto_kill_switch_proto_rawDesc = nil
1377 file_api_proto_kill_switch_proto_goTypes = nil
1378 file_api_proto_kill_switch_proto_depIdxs = nil
1379}