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