blob: 22622f89bd1567aed44c0c34ff5a78b7d97e71dd [file] [log] [blame]
avm9996383f8f292021-08-24 18:26:52 +02001// Code generated by protoc-gen-go. DO NOT EDIT.
2// versions:
3// protoc-gen-go v1.27.1
4// protoc v3.17.3
5// 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
595 AuthorizedUsers *KillSwitchAuthorizedUser `protobuf:"bytes,1,opt,name=authorized_users,json=authorizedUsers,proto3" json:"authorized_users,omitempty"`
596}
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
630func (x *ListAuthorizedUsersResponse) GetAuthorizedUsers() *KillSwitchAuthorizedUser {
631 if x != nil {
632 return x.AuthorizedUsers
633 }
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,
954 0x73, 0x74, 0x22, 0x63, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
955 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
956 0x65, 0x12, 0x44, 0x0a, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f,
957 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69,
958 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
959 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x0f, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
960 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x22, 0x49, 0x0a, 0x18, 0x41, 0x64, 0x64, 0x41, 0x75,
961 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75,
962 0x65, 0x73, 0x74, 0x12, 0x2d, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28,
963 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75,
964 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73,
965 0x65, 0x72, 0x22, 0x1b, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
966 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
967 0x65, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
968 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17,
969 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52,
970 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18,
971 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74,
972 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72,
973 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x1e, 0x0a, 0x1c, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
974 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
975 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x1b, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
976 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
977 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64,
978 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x1e,
979 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
980 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa8,
981 0x06, 0x0a, 0x11, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x65, 0x72,
982 0x76, 0x69, 0x63, 0x65, 0x12, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53,
983 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1b, 0x2e, 0x47, 0x65,
984 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75,
985 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x69,
986 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65,
987 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x4b,
988 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65,
989 0x77, 0x12, 0x1d, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63,
990 0x68, 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
991 0x1a, 0x1e, 0x2e, 0x47, 0x65, 0x74, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
992 0x4f, 0x76, 0x65, 0x72, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
993 0x22, 0x00, 0x12, 0x3d, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72,
994 0x65, 0x73, 0x12, 0x14, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
995 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x46,
996 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
997 0x00, 0x12, 0x3d, 0x0a, 0x0c, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
998 0x73, 0x12, 0x14, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
999 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x53, 0x79, 0x6e, 0x63, 0x46, 0x65,
1000 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
1001 0x12, 0x49, 0x0a, 0x10, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77,
1002 0x69, 0x74, 0x63, 0x68, 0x12, 0x18, 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c,
1003 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19,
1004 0x2e, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63,
1005 0x68, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x44,
1006 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
1007 0x12, 0x19, 0x2e, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77,
1008 0x69, 0x74, 0x63, 0x68, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x44, 0x69,
1009 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52,
1010 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x13, 0x4c, 0x69, 0x73,
1011 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x73,
1012 0x12, 0x1b, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65,
1013 0x64, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e,
1014 0x4c, 0x69, 0x73, 0x74, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73,
1015 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a,
1016 0x11, 0x41, 0x64, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73,
1017 0x65, 0x72, 0x12, 0x19, 0x2e, 0x41, 0x64, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a,
1018 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e,
1019 0x41, 0x64, 0x64, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65,
1020 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x14, 0x55,
1021 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55,
1022 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68,
1023 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1024 0x74, 0x1a, 0x1d, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72,
1025 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1026 0x22, 0x00, 0x12, 0x55, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68,
1027 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x44, 0x65, 0x6c,
1028 0x65, 0x74, 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65,
1029 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
1030 0x65, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52,
1031 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x6f, 0x6d,
1032 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x61, 0x76, 0x6d, 0x39, 0x39, 0x39, 0x36, 0x33, 0x2e,
1033 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x77, 0x70, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f,
1034 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1035 0x33,
1036}
1037
1038var (
1039 file_api_proto_kill_switch_proto_rawDescOnce sync.Once
1040 file_api_proto_kill_switch_proto_rawDescData = file_api_proto_kill_switch_proto_rawDesc
1041)
1042
1043func file_api_proto_kill_switch_proto_rawDescGZIP() []byte {
1044 file_api_proto_kill_switch_proto_rawDescOnce.Do(func() {
1045 file_api_proto_kill_switch_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_proto_kill_switch_proto_rawDescData)
1046 })
1047 return file_api_proto_kill_switch_proto_rawDescData
1048}
1049
1050var file_api_proto_kill_switch_proto_msgTypes = make([]protoimpl.MessageInfo, 20)
1051var file_api_proto_kill_switch_proto_goTypes = []interface{}{
1052 (*GetKillSwitchStatusRequest)(nil), // 0: GetKillSwitchStatusRequest
1053 (*GetKillSwitchStatusResponse)(nil), // 1: GetKillSwitchStatusResponse
1054 (*GetKillSwitchOverviewRequest)(nil), // 2: GetKillSwitchOverviewRequest
1055 (*GetKillSwitchOverviewResponse)(nil), // 3: GetKillSwitchOverviewResponse
1056 (*ListFeaturesRequest)(nil), // 4: ListFeaturesRequest
1057 (*ListFeaturesResponse)(nil), // 5: ListFeaturesResponse
1058 (*SyncFeaturesRequest)(nil), // 6: SyncFeaturesRequest
1059 (*SyncFeaturesResponse)(nil), // 7: SyncFeaturesResponse
1060 (*EnableKillSwitchRequest)(nil), // 8: EnableKillSwitchRequest
1061 (*EnableKillSwitchResponse)(nil), // 9: EnableKillSwitchResponse
1062 (*DisableKillSwitchRequest)(nil), // 10: DisableKillSwitchRequest
1063 (*DisableKillSwitchResponse)(nil), // 11: DisableKillSwitchResponse
1064 (*ListAuthorizedUsersRequest)(nil), // 12: ListAuthorizedUsersRequest
1065 (*ListAuthorizedUsersResponse)(nil), // 13: ListAuthorizedUsersResponse
1066 (*AddAuthorizedUserRequest)(nil), // 14: AddAuthorizedUserRequest
1067 (*AddAuthorizedUserResponse)(nil), // 15: AddAuthorizedUserResponse
1068 (*UpdateAuthorizedUserRequest)(nil), // 16: UpdateAuthorizedUserRequest
1069 (*UpdateAuthorizedUserResponse)(nil), // 17: UpdateAuthorizedUserResponse
1070 (*DeleteAuthorizedUserRequest)(nil), // 18: DeleteAuthorizedUserRequest
1071 (*DeleteAuthorizedUserResponse)(nil), // 19: DeleteAuthorizedUserResponse
1072 (*Environment)(nil), // 20: Environment
1073 (*KillSwitch)(nil), // 21: KillSwitch
1074 (*Feature)(nil), // 22: Feature
1075 (*KillSwitchAuthorizedUser)(nil), // 23: KillSwitchAuthorizedUser
1076}
1077var file_api_proto_kill_switch_proto_depIdxs = []int32{
1078 20, // 0: GetKillSwitchStatusRequest.environment:type_name -> Environment
1079 21, // 1: GetKillSwitchStatusResponse.kill_switches:type_name -> KillSwitch
1080 21, // 2: GetKillSwitchOverviewResponse.kill_switches:type_name -> KillSwitch
1081 22, // 3: ListFeaturesResponse.features:type_name -> Feature
1082 22, // 4: SyncFeaturesRequest.features:type_name -> Feature
1083 21, // 5: EnableKillSwitchRequest.kill_switch:type_name -> KillSwitch
1084 23, // 6: ListAuthorizedUsersResponse.authorized_users:type_name -> KillSwitchAuthorizedUser
1085 23, // 7: AddAuthorizedUserRequest.user:type_name -> KillSwitchAuthorizedUser
1086 23, // 8: UpdateAuthorizedUserRequest.user:type_name -> KillSwitchAuthorizedUser
1087 0, // 9: KillSwitchService.GetKillSwitchStatus:input_type -> GetKillSwitchStatusRequest
1088 2, // 10: KillSwitchService.GetKillSwitchOverview:input_type -> GetKillSwitchOverviewRequest
1089 4, // 11: KillSwitchService.ListFeatures:input_type -> ListFeaturesRequest
1090 6, // 12: KillSwitchService.SyncFeatures:input_type -> SyncFeaturesRequest
1091 8, // 13: KillSwitchService.EnableKillSwitch:input_type -> EnableKillSwitchRequest
1092 10, // 14: KillSwitchService.DisableKillSwitch:input_type -> DisableKillSwitchRequest
1093 12, // 15: KillSwitchService.ListAuthorizedUsers:input_type -> ListAuthorizedUsersRequest
1094 14, // 16: KillSwitchService.AddAuthorizedUser:input_type -> AddAuthorizedUserRequest
1095 16, // 17: KillSwitchService.UpdateAuthorizedUser:input_type -> UpdateAuthorizedUserRequest
1096 18, // 18: KillSwitchService.DeleteAuthorizedUser:input_type -> DeleteAuthorizedUserRequest
1097 1, // 19: KillSwitchService.GetKillSwitchStatus:output_type -> GetKillSwitchStatusResponse
1098 3, // 20: KillSwitchService.GetKillSwitchOverview:output_type -> GetKillSwitchOverviewResponse
1099 5, // 21: KillSwitchService.ListFeatures:output_type -> ListFeaturesResponse
1100 7, // 22: KillSwitchService.SyncFeatures:output_type -> SyncFeaturesResponse
1101 9, // 23: KillSwitchService.EnableKillSwitch:output_type -> EnableKillSwitchResponse
1102 11, // 24: KillSwitchService.DisableKillSwitch:output_type -> DisableKillSwitchResponse
1103 13, // 25: KillSwitchService.ListAuthorizedUsers:output_type -> ListAuthorizedUsersResponse
1104 15, // 26: KillSwitchService.AddAuthorizedUser:output_type -> AddAuthorizedUserResponse
1105 17, // 27: KillSwitchService.UpdateAuthorizedUser:output_type -> UpdateAuthorizedUserResponse
1106 19, // 28: KillSwitchService.DeleteAuthorizedUser:output_type -> DeleteAuthorizedUserResponse
1107 19, // [19:29] is the sub-list for method output_type
1108 9, // [9:19] is the sub-list for method input_type
1109 9, // [9:9] is the sub-list for extension type_name
1110 9, // [9:9] is the sub-list for extension extendee
1111 0, // [0:9] is the sub-list for field type_name
1112}
1113
1114func init() { file_api_proto_kill_switch_proto_init() }
1115func file_api_proto_kill_switch_proto_init() {
1116 if File_api_proto_kill_switch_proto != nil {
1117 return
1118 }
1119 file_api_proto_common_proto_init()
1120 file_api_proto_kill_switch_objects_proto_init()
1121 if !protoimpl.UnsafeEnabled {
1122 file_api_proto_kill_switch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1123 switch v := v.(*GetKillSwitchStatusRequest); i {
1124 case 0:
1125 return &v.state
1126 case 1:
1127 return &v.sizeCache
1128 case 2:
1129 return &v.unknownFields
1130 default:
1131 return nil
1132 }
1133 }
1134 file_api_proto_kill_switch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1135 switch v := v.(*GetKillSwitchStatusResponse); i {
1136 case 0:
1137 return &v.state
1138 case 1:
1139 return &v.sizeCache
1140 case 2:
1141 return &v.unknownFields
1142 default:
1143 return nil
1144 }
1145 }
1146 file_api_proto_kill_switch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1147 switch v := v.(*GetKillSwitchOverviewRequest); i {
1148 case 0:
1149 return &v.state
1150 case 1:
1151 return &v.sizeCache
1152 case 2:
1153 return &v.unknownFields
1154 default:
1155 return nil
1156 }
1157 }
1158 file_api_proto_kill_switch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1159 switch v := v.(*GetKillSwitchOverviewResponse); i {
1160 case 0:
1161 return &v.state
1162 case 1:
1163 return &v.sizeCache
1164 case 2:
1165 return &v.unknownFields
1166 default:
1167 return nil
1168 }
1169 }
1170 file_api_proto_kill_switch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1171 switch v := v.(*ListFeaturesRequest); i {
1172 case 0:
1173 return &v.state
1174 case 1:
1175 return &v.sizeCache
1176 case 2:
1177 return &v.unknownFields
1178 default:
1179 return nil
1180 }
1181 }
1182 file_api_proto_kill_switch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1183 switch v := v.(*ListFeaturesResponse); i {
1184 case 0:
1185 return &v.state
1186 case 1:
1187 return &v.sizeCache
1188 case 2:
1189 return &v.unknownFields
1190 default:
1191 return nil
1192 }
1193 }
1194 file_api_proto_kill_switch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1195 switch v := v.(*SyncFeaturesRequest); i {
1196 case 0:
1197 return &v.state
1198 case 1:
1199 return &v.sizeCache
1200 case 2:
1201 return &v.unknownFields
1202 default:
1203 return nil
1204 }
1205 }
1206 file_api_proto_kill_switch_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1207 switch v := v.(*SyncFeaturesResponse); i {
1208 case 0:
1209 return &v.state
1210 case 1:
1211 return &v.sizeCache
1212 case 2:
1213 return &v.unknownFields
1214 default:
1215 return nil
1216 }
1217 }
1218 file_api_proto_kill_switch_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1219 switch v := v.(*EnableKillSwitchRequest); i {
1220 case 0:
1221 return &v.state
1222 case 1:
1223 return &v.sizeCache
1224 case 2:
1225 return &v.unknownFields
1226 default:
1227 return nil
1228 }
1229 }
1230 file_api_proto_kill_switch_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
1231 switch v := v.(*EnableKillSwitchResponse); i {
1232 case 0:
1233 return &v.state
1234 case 1:
1235 return &v.sizeCache
1236 case 2:
1237 return &v.unknownFields
1238 default:
1239 return nil
1240 }
1241 }
1242 file_api_proto_kill_switch_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
1243 switch v := v.(*DisableKillSwitchRequest); i {
1244 case 0:
1245 return &v.state
1246 case 1:
1247 return &v.sizeCache
1248 case 2:
1249 return &v.unknownFields
1250 default:
1251 return nil
1252 }
1253 }
1254 file_api_proto_kill_switch_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
1255 switch v := v.(*DisableKillSwitchResponse); i {
1256 case 0:
1257 return &v.state
1258 case 1:
1259 return &v.sizeCache
1260 case 2:
1261 return &v.unknownFields
1262 default:
1263 return nil
1264 }
1265 }
1266 file_api_proto_kill_switch_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
1267 switch v := v.(*ListAuthorizedUsersRequest); i {
1268 case 0:
1269 return &v.state
1270 case 1:
1271 return &v.sizeCache
1272 case 2:
1273 return &v.unknownFields
1274 default:
1275 return nil
1276 }
1277 }
1278 file_api_proto_kill_switch_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
1279 switch v := v.(*ListAuthorizedUsersResponse); i {
1280 case 0:
1281 return &v.state
1282 case 1:
1283 return &v.sizeCache
1284 case 2:
1285 return &v.unknownFields
1286 default:
1287 return nil
1288 }
1289 }
1290 file_api_proto_kill_switch_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
1291 switch v := v.(*AddAuthorizedUserRequest); i {
1292 case 0:
1293 return &v.state
1294 case 1:
1295 return &v.sizeCache
1296 case 2:
1297 return &v.unknownFields
1298 default:
1299 return nil
1300 }
1301 }
1302 file_api_proto_kill_switch_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
1303 switch v := v.(*AddAuthorizedUserResponse); i {
1304 case 0:
1305 return &v.state
1306 case 1:
1307 return &v.sizeCache
1308 case 2:
1309 return &v.unknownFields
1310 default:
1311 return nil
1312 }
1313 }
1314 file_api_proto_kill_switch_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
1315 switch v := v.(*UpdateAuthorizedUserRequest); i {
1316 case 0:
1317 return &v.state
1318 case 1:
1319 return &v.sizeCache
1320 case 2:
1321 return &v.unknownFields
1322 default:
1323 return nil
1324 }
1325 }
1326 file_api_proto_kill_switch_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
1327 switch v := v.(*UpdateAuthorizedUserResponse); i {
1328 case 0:
1329 return &v.state
1330 case 1:
1331 return &v.sizeCache
1332 case 2:
1333 return &v.unknownFields
1334 default:
1335 return nil
1336 }
1337 }
1338 file_api_proto_kill_switch_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
1339 switch v := v.(*DeleteAuthorizedUserRequest); i {
1340 case 0:
1341 return &v.state
1342 case 1:
1343 return &v.sizeCache
1344 case 2:
1345 return &v.unknownFields
1346 default:
1347 return nil
1348 }
1349 }
1350 file_api_proto_kill_switch_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
1351 switch v := v.(*DeleteAuthorizedUserResponse); i {
1352 case 0:
1353 return &v.state
1354 case 1:
1355 return &v.sizeCache
1356 case 2:
1357 return &v.unknownFields
1358 default:
1359 return nil
1360 }
1361 }
1362 }
1363 type x struct{}
1364 out := protoimpl.TypeBuilder{
1365 File: protoimpl.DescBuilder{
1366 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1367 RawDescriptor: file_api_proto_kill_switch_proto_rawDesc,
1368 NumEnums: 0,
1369 NumMessages: 20,
1370 NumExtensions: 0,
1371 NumServices: 1,
1372 },
1373 GoTypes: file_api_proto_kill_switch_proto_goTypes,
1374 DependencyIndexes: file_api_proto_kill_switch_proto_depIdxs,
1375 MessageInfos: file_api_proto_kill_switch_proto_msgTypes,
1376 }.Build()
1377 File_api_proto_kill_switch_proto = out.File
1378 file_api_proto_kill_switch_proto_rawDesc = nil
1379 file_api_proto_kill_switch_proto_goTypes = nil
1380 file_api_proto_kill_switch_proto_depIdxs = nil
1381}