blob: 825047f77bcce20b975fc1f1fb347f979bf8c035 [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_objects.proto
6
7package api_proto
8
9import (
10 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
11 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
12 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
13 reflect "reflect"
14 sync "sync"
15)
16
17const (
18 // Verify that this generated code is sufficiently up-to-date.
19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
20 // Verify that runtime/protoimpl is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
22)
23
24type Feature_Type int32
25
26const (
27 Feature_TYPE_UNKNOWN Feature_Type = 0
28 Feature_TYPE_EXPERIMENT Feature_Type = 1
29 Feature_TYPE_OPTION Feature_Type = 2
30 Feature_TYPE_DEPRECATED Feature_Type = 10
31)
32
33// Enum value maps for Feature_Type.
34var (
35 Feature_Type_name = map[int32]string{
36 0: "TYPE_UNKNOWN",
37 1: "TYPE_EXPERIMENT",
38 2: "TYPE_OPTION",
39 10: "TYPE_DEPRECATED",
40 }
41 Feature_Type_value = map[string]int32{
42 "TYPE_UNKNOWN": 0,
43 "TYPE_EXPERIMENT": 1,
44 "TYPE_OPTION": 2,
45 "TYPE_DEPRECATED": 10,
46 }
47)
48
49func (x Feature_Type) Enum() *Feature_Type {
50 p := new(Feature_Type)
51 *p = x
52 return p
53}
54
55func (x Feature_Type) String() string {
56 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
57}
58
59func (Feature_Type) Descriptor() protoreflect.EnumDescriptor {
60 return file_api_proto_kill_switch_objects_proto_enumTypes[0].Descriptor()
61}
62
63func (Feature_Type) Type() protoreflect.EnumType {
64 return &file_api_proto_kill_switch_objects_proto_enumTypes[0]
65}
66
67func (x Feature_Type) Number() protoreflect.EnumNumber {
68 return protoreflect.EnumNumber(x)
69}
70
71// Deprecated: Use Feature_Type.Descriptor instead.
72func (Feature_Type) EnumDescriptor() ([]byte, []int) {
73 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{0, 0}
74}
75
76type KillSwitchAuthorizedUser_AccessLevel int32
77
78const (
79 KillSwitchAuthorizedUser_ACCESS_LEVEL_NONE KillSwitchAuthorizedUser_AccessLevel = 0
80 KillSwitchAuthorizedUser_ACCESS_LEVEL_ACTIVATOR KillSwitchAuthorizedUser_AccessLevel = 1 // The user may enable/disable kill switches.
81 KillSwitchAuthorizedUser_ACCESS_LEVEL_ADMIN KillSwitchAuthorizedUser_AccessLevel = 2 // The user may perform any action.
82)
83
84// Enum value maps for KillSwitchAuthorizedUser_AccessLevel.
85var (
86 KillSwitchAuthorizedUser_AccessLevel_name = map[int32]string{
87 0: "ACCESS_LEVEL_NONE",
88 1: "ACCESS_LEVEL_ACTIVATOR",
89 2: "ACCESS_LEVEL_ADMIN",
90 }
91 KillSwitchAuthorizedUser_AccessLevel_value = map[string]int32{
92 "ACCESS_LEVEL_NONE": 0,
93 "ACCESS_LEVEL_ACTIVATOR": 1,
94 "ACCESS_LEVEL_ADMIN": 2,
95 }
96)
97
98func (x KillSwitchAuthorizedUser_AccessLevel) Enum() *KillSwitchAuthorizedUser_AccessLevel {
99 p := new(KillSwitchAuthorizedUser_AccessLevel)
100 *p = x
101 return p
102}
103
104func (x KillSwitchAuthorizedUser_AccessLevel) String() string {
105 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
106}
107
108func (KillSwitchAuthorizedUser_AccessLevel) Descriptor() protoreflect.EnumDescriptor {
109 return file_api_proto_kill_switch_objects_proto_enumTypes[1].Descriptor()
110}
111
112func (KillSwitchAuthorizedUser_AccessLevel) Type() protoreflect.EnumType {
113 return &file_api_proto_kill_switch_objects_proto_enumTypes[1]
114}
115
116func (x KillSwitchAuthorizedUser_AccessLevel) Number() protoreflect.EnumNumber {
117 return protoreflect.EnumNumber(x)
118}
119
120// Deprecated: Use KillSwitchAuthorizedUser_AccessLevel.Descriptor instead.
121func (KillSwitchAuthorizedUser_AccessLevel) EnumDescriptor() ([]byte, []int) {
122 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{2, 0}
123}
124
125type Feature struct {
126 state protoimpl.MessageState
127 sizeCache protoimpl.SizeCache
128 unknownFields protoimpl.UnknownFields
129
130 Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
131 Codename string `protobuf:"bytes,2,opt,name=codename,proto3" json:"codename,omitempty"`
132 Type Feature_Type `protobuf:"varint,3,opt,name=type,proto3,enum=Feature_Type" json:"type,omitempty"`
133}
134
135func (x *Feature) Reset() {
136 *x = Feature{}
137 if protoimpl.UnsafeEnabled {
138 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[0]
139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
140 ms.StoreMessageInfo(mi)
141 }
142}
143
144func (x *Feature) String() string {
145 return protoimpl.X.MessageStringOf(x)
146}
147
148func (*Feature) ProtoMessage() {}
149
150func (x *Feature) ProtoReflect() protoreflect.Message {
151 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[0]
152 if protoimpl.UnsafeEnabled && x != nil {
153 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
154 if ms.LoadMessageInfo() == nil {
155 ms.StoreMessageInfo(mi)
156 }
157 return ms
158 }
159 return mi.MessageOf(x)
160}
161
162// Deprecated: Use Feature.ProtoReflect.Descriptor instead.
163func (*Feature) Descriptor() ([]byte, []int) {
164 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{0}
165}
166
167func (x *Feature) GetId() int32 {
168 if x != nil {
169 return x.Id
170 }
171 return 0
172}
173
174func (x *Feature) GetCodename() string {
175 if x != nil {
176 return x.Codename
177 }
178 return ""
179}
180
181func (x *Feature) GetType() Feature_Type {
182 if x != nil {
183 return x.Type
184 }
185 return Feature_TYPE_UNKNOWN
186}
187
188type KillSwitch struct {
189 state protoimpl.MessageState
190 sizeCache protoimpl.SizeCache
191 unknownFields protoimpl.UnknownFields
192
193 Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
194 Feature *Feature `protobuf:"bytes,2,opt,name=feature,proto3" json:"feature,omitempty"`
195 MinVersion string `protobuf:"bytes,3,opt,name=min_version,json=minVersion,proto3" json:"min_version,omitempty"`
196 MaxVersion string `protobuf:"bytes,4,opt,name=max_version,json=maxVersion,proto3" json:"max_version,omitempty"`
197 Browsers []Environment_Browser `protobuf:"varint,5,rep,packed,name=browsers,proto3,enum=Environment_Browser" json:"browsers,omitempty"`
198 Active bool `protobuf:"varint,6,opt,name=active,proto3" json:"active,omitempty"`
199}
200
201func (x *KillSwitch) Reset() {
202 *x = KillSwitch{}
203 if protoimpl.UnsafeEnabled {
204 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[1]
205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
206 ms.StoreMessageInfo(mi)
207 }
208}
209
210func (x *KillSwitch) String() string {
211 return protoimpl.X.MessageStringOf(x)
212}
213
214func (*KillSwitch) ProtoMessage() {}
215
216func (x *KillSwitch) ProtoReflect() protoreflect.Message {
217 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[1]
218 if protoimpl.UnsafeEnabled && x != nil {
219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220 if ms.LoadMessageInfo() == nil {
221 ms.StoreMessageInfo(mi)
222 }
223 return ms
224 }
225 return mi.MessageOf(x)
226}
227
228// Deprecated: Use KillSwitch.ProtoReflect.Descriptor instead.
229func (*KillSwitch) Descriptor() ([]byte, []int) {
230 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{1}
231}
232
233func (x *KillSwitch) GetId() int32 {
234 if x != nil {
235 return x.Id
236 }
237 return 0
238}
239
240func (x *KillSwitch) GetFeature() *Feature {
241 if x != nil {
242 return x.Feature
243 }
244 return nil
245}
246
247func (x *KillSwitch) GetMinVersion() string {
248 if x != nil {
249 return x.MinVersion
250 }
251 return ""
252}
253
254func (x *KillSwitch) GetMaxVersion() string {
255 if x != nil {
256 return x.MaxVersion
257 }
258 return ""
259}
260
261func (x *KillSwitch) GetBrowsers() []Environment_Browser {
262 if x != nil {
263 return x.Browsers
264 }
265 return nil
266}
267
268func (x *KillSwitch) GetActive() bool {
269 if x != nil {
270 return x.Active
271 }
272 return false
273}
274
275type KillSwitchAuthorizedUser struct {
276 state protoimpl.MessageState
277 sizeCache protoimpl.SizeCache
278 unknownFields protoimpl.UnknownFields
279
280 Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
281 GoogleUid string `protobuf:"bytes,2,opt,name=google_uid,json=googleUid,proto3" json:"google_uid,omitempty"`
282 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
283 AccessLevel KillSwitchAuthorizedUser_AccessLevel `protobuf:"varint,4,opt,name=access_level,json=accessLevel,proto3,enum=KillSwitchAuthorizedUser_AccessLevel" json:"access_level,omitempty"`
284}
285
286func (x *KillSwitchAuthorizedUser) Reset() {
287 *x = KillSwitchAuthorizedUser{}
288 if protoimpl.UnsafeEnabled {
289 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[2]
290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
291 ms.StoreMessageInfo(mi)
292 }
293}
294
295func (x *KillSwitchAuthorizedUser) String() string {
296 return protoimpl.X.MessageStringOf(x)
297}
298
299func (*KillSwitchAuthorizedUser) ProtoMessage() {}
300
301func (x *KillSwitchAuthorizedUser) ProtoReflect() protoreflect.Message {
302 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[2]
303 if protoimpl.UnsafeEnabled && x != nil {
304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305 if ms.LoadMessageInfo() == nil {
306 ms.StoreMessageInfo(mi)
307 }
308 return ms
309 }
310 return mi.MessageOf(x)
311}
312
313// Deprecated: Use KillSwitchAuthorizedUser.ProtoReflect.Descriptor instead.
314func (*KillSwitchAuthorizedUser) Descriptor() ([]byte, []int) {
315 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{2}
316}
317
318func (x *KillSwitchAuthorizedUser) GetId() int32 {
319 if x != nil {
320 return x.Id
321 }
322 return 0
323}
324
325func (x *KillSwitchAuthorizedUser) GetGoogleUid() string {
326 if x != nil {
327 return x.GoogleUid
328 }
329 return ""
330}
331
332func (x *KillSwitchAuthorizedUser) GetEmail() string {
333 if x != nil {
334 return x.Email
335 }
336 return ""
337}
338
339func (x *KillSwitchAuthorizedUser) GetAccessLevel() KillSwitchAuthorizedUser_AccessLevel {
340 if x != nil {
341 return x.AccessLevel
342 }
343 return KillSwitchAuthorizedUser_ACCESS_LEVEL_NONE
344}
345
346type KillSwitchTransformation struct {
347 state protoimpl.MessageState
348 sizeCache protoimpl.SizeCache
349 unknownFields protoimpl.UnknownFields
350
351 KillSwitchFrom *KillSwitch `protobuf:"bytes,1,opt,name=kill_switch_from,json=killSwitchFrom,proto3" json:"kill_switch_from,omitempty"`
352 KillSwitchTo *KillSwitch `protobuf:"bytes,2,opt,name=kill_switch_to,json=killSwitchTo,proto3" json:"kill_switch_to,omitempty"`
353}
354
355func (x *KillSwitchTransformation) Reset() {
356 *x = KillSwitchTransformation{}
357 if protoimpl.UnsafeEnabled {
358 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[3]
359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360 ms.StoreMessageInfo(mi)
361 }
362}
363
364func (x *KillSwitchTransformation) String() string {
365 return protoimpl.X.MessageStringOf(x)
366}
367
368func (*KillSwitchTransformation) ProtoMessage() {}
369
370func (x *KillSwitchTransformation) ProtoReflect() protoreflect.Message {
371 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[3]
372 if protoimpl.UnsafeEnabled && x != nil {
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 if ms.LoadMessageInfo() == nil {
375 ms.StoreMessageInfo(mi)
376 }
377 return ms
378 }
379 return mi.MessageOf(x)
380}
381
382// Deprecated: Use KillSwitchTransformation.ProtoReflect.Descriptor instead.
383func (*KillSwitchTransformation) Descriptor() ([]byte, []int) {
384 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{3}
385}
386
387func (x *KillSwitchTransformation) GetKillSwitchFrom() *KillSwitch {
388 if x != nil {
389 return x.KillSwitchFrom
390 }
391 return nil
392}
393
394func (x *KillSwitchTransformation) GetKillSwitchTo() *KillSwitch {
395 if x != nil {
396 return x.KillSwitchTo
397 }
398 return nil
399}
400
401// Log entry which describes an action which has taken place.
402type KillSwitchAuditLogEntry struct {
403 state protoimpl.MessageState
404 sizeCache protoimpl.SizeCache
405 unknownFields protoimpl.UnknownFields
406
407 // Timestamp in which the action was taken.
408 Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
409 // User who/which performed the action.
410 User *KillSwitchAuthorizedUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
411 // Description of the action taken
412 //
413 // Types that are assignable to Description:
414 // *KillSwitchAuditLogEntry_KillSwitchEnabled_
415 // *KillSwitchAuditLogEntry_KillSwitchDisabled_
416 Description isKillSwitchAuditLogEntry_Description `protobuf_oneof:"description"`
417}
418
419func (x *KillSwitchAuditLogEntry) Reset() {
420 *x = KillSwitchAuditLogEntry{}
421 if protoimpl.UnsafeEnabled {
422 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[4]
423 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
424 ms.StoreMessageInfo(mi)
425 }
426}
427
428func (x *KillSwitchAuditLogEntry) String() string {
429 return protoimpl.X.MessageStringOf(x)
430}
431
432func (*KillSwitchAuditLogEntry) ProtoMessage() {}
433
434func (x *KillSwitchAuditLogEntry) ProtoReflect() protoreflect.Message {
435 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[4]
436 if protoimpl.UnsafeEnabled && x != nil {
437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
438 if ms.LoadMessageInfo() == nil {
439 ms.StoreMessageInfo(mi)
440 }
441 return ms
442 }
443 return mi.MessageOf(x)
444}
445
446// Deprecated: Use KillSwitchAuditLogEntry.ProtoReflect.Descriptor instead.
447func (*KillSwitchAuditLogEntry) Descriptor() ([]byte, []int) {
448 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{4}
449}
450
451func (x *KillSwitchAuditLogEntry) GetTimestamp() *timestamppb.Timestamp {
452 if x != nil {
453 return x.Timestamp
454 }
455 return nil
456}
457
458func (x *KillSwitchAuditLogEntry) GetUser() *KillSwitchAuthorizedUser {
459 if x != nil {
460 return x.User
461 }
462 return nil
463}
464
465func (m *KillSwitchAuditLogEntry) GetDescription() isKillSwitchAuditLogEntry_Description {
466 if m != nil {
467 return m.Description
468 }
469 return nil
470}
471
472func (x *KillSwitchAuditLogEntry) GetKillSwitchEnabled() *KillSwitchAuditLogEntry_KillSwitchEnabled {
473 if x, ok := x.GetDescription().(*KillSwitchAuditLogEntry_KillSwitchEnabled_); ok {
474 return x.KillSwitchEnabled
475 }
476 return nil
477}
478
479func (x *KillSwitchAuditLogEntry) GetKillSwitchDisabled() *KillSwitchAuditLogEntry_KillSwitchDisabled {
480 if x, ok := x.GetDescription().(*KillSwitchAuditLogEntry_KillSwitchDisabled_); ok {
481 return x.KillSwitchDisabled
482 }
483 return nil
484}
485
486type isKillSwitchAuditLogEntry_Description interface {
487 isKillSwitchAuditLogEntry_Description()
488}
489
490type KillSwitchAuditLogEntry_KillSwitchEnabled_ struct {
491 KillSwitchEnabled *KillSwitchAuditLogEntry_KillSwitchEnabled `protobuf:"bytes,3,opt,name=kill_switch_enabled,json=killSwitchEnabled,proto3,oneof"`
492}
493
494type KillSwitchAuditLogEntry_KillSwitchDisabled_ struct {
495 KillSwitchDisabled *KillSwitchAuditLogEntry_KillSwitchDisabled `protobuf:"bytes,4,opt,name=kill_switch_disabled,json=killSwitchDisabled,proto3,oneof"`
496}
497
498func (*KillSwitchAuditLogEntry_KillSwitchEnabled_) isKillSwitchAuditLogEntry_Description() {}
499
500func (*KillSwitchAuditLogEntry_KillSwitchDisabled_) isKillSwitchAuditLogEntry_Description() {}
501
502type KillSwitchAuditLogEntry_KillSwitchEnabled struct {
503 state protoimpl.MessageState
504 sizeCache protoimpl.SizeCache
505 unknownFields protoimpl.UnknownFields
506
507 Transformation *KillSwitchTransformation `protobuf:"bytes,1,opt,name=transformation,proto3" json:"transformation,omitempty"`
508}
509
510func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) Reset() {
511 *x = KillSwitchAuditLogEntry_KillSwitchEnabled{}
512 if protoimpl.UnsafeEnabled {
513 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[5]
514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
515 ms.StoreMessageInfo(mi)
516 }
517}
518
519func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) String() string {
520 return protoimpl.X.MessageStringOf(x)
521}
522
523func (*KillSwitchAuditLogEntry_KillSwitchEnabled) ProtoMessage() {}
524
525func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) ProtoReflect() protoreflect.Message {
526 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[5]
527 if protoimpl.UnsafeEnabled && x != nil {
528 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
529 if ms.LoadMessageInfo() == nil {
530 ms.StoreMessageInfo(mi)
531 }
532 return ms
533 }
534 return mi.MessageOf(x)
535}
536
537// Deprecated: Use KillSwitchAuditLogEntry_KillSwitchEnabled.ProtoReflect.Descriptor instead.
538func (*KillSwitchAuditLogEntry_KillSwitchEnabled) Descriptor() ([]byte, []int) {
539 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{4, 0}
540}
541
542func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) GetTransformation() *KillSwitchTransformation {
543 if x != nil {
544 return x.Transformation
545 }
546 return nil
547}
548
549type KillSwitchAuditLogEntry_KillSwitchDisabled struct {
550 state protoimpl.MessageState
551 sizeCache protoimpl.SizeCache
552 unknownFields protoimpl.UnknownFields
553
554 Transformation *KillSwitchTransformation `protobuf:"bytes,1,opt,name=transformation,proto3" json:"transformation,omitempty"`
555}
556
557func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) Reset() {
558 *x = KillSwitchAuditLogEntry_KillSwitchDisabled{}
559 if protoimpl.UnsafeEnabled {
560 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[6]
561 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
562 ms.StoreMessageInfo(mi)
563 }
564}
565
566func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) String() string {
567 return protoimpl.X.MessageStringOf(x)
568}
569
570func (*KillSwitchAuditLogEntry_KillSwitchDisabled) ProtoMessage() {}
571
572func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) ProtoReflect() protoreflect.Message {
573 mi := &file_api_proto_kill_switch_objects_proto_msgTypes[6]
574 if protoimpl.UnsafeEnabled && x != nil {
575 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
576 if ms.LoadMessageInfo() == nil {
577 ms.StoreMessageInfo(mi)
578 }
579 return ms
580 }
581 return mi.MessageOf(x)
582}
583
584// Deprecated: Use KillSwitchAuditLogEntry_KillSwitchDisabled.ProtoReflect.Descriptor instead.
585func (*KillSwitchAuditLogEntry_KillSwitchDisabled) Descriptor() ([]byte, []int) {
586 return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{4, 1}
587}
588
589func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) GetTransformation() *KillSwitchTransformation {
590 if x != nil {
591 return x.Transformation
592 }
593 return nil
594}
595
596var File_api_proto_kill_switch_objects_proto protoreflect.FileDescriptor
597
598var file_api_proto_kill_switch_objects_proto_rawDesc = []byte{
599 0x0a, 0x23, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6b, 0x69, 0x6c, 0x6c,
600 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e,
601 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
602 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
603 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
604 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad,
605 0x01, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
606 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f,
607 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f,
608 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03,
609 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x54,
610 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x53, 0x0a, 0x04, 0x54, 0x79, 0x70,
611 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
612 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x45,
613 0x52, 0x49, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45,
614 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50,
615 0x45, 0x5f, 0x44, 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x0a, 0x22, 0xcc,
616 0x01, 0x0a, 0x0a, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a,
617 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a,
618 0x07, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08,
619 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x07, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72,
620 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
621 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69,
622 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
623 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x56, 0x65, 0x72, 0x73,
624 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x08, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x18,
625 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d,
626 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x52, 0x08, 0x62, 0x72, 0x6f,
627 0x77, 0x73, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18,
628 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x83, 0x02,
629 0x0a, 0x18, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68,
630 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64,
631 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x6f,
632 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
633 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x55, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61,
634 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12,
635 0x48, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18,
636 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74,
637 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72,
638 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0b, 0x61, 0x63,
639 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x58, 0x0a, 0x0b, 0x41, 0x63, 0x63,
640 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x43, 0x43, 0x45,
641 0x53, 0x53, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12,
642 0x1a, 0x0a, 0x16, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f,
643 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x41,
644 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x44, 0x4d, 0x49,
645 0x4e, 0x10, 0x02, 0x22, 0x84, 0x01, 0x0a, 0x18, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74,
646 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e,
647 0x12, 0x35, 0x0a, 0x10, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f,
648 0x66, 0x72, 0x6f, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4b, 0x69, 0x6c,
649 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x0e, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69,
650 0x74, 0x63, 0x68, 0x46, 0x72, 0x6f, 0x6d, 0x12, 0x31, 0x0a, 0x0e, 0x6b, 0x69, 0x6c, 0x6c, 0x5f,
651 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x74, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
652 0x0b, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x0c, 0x6b, 0x69,
653 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x6f, 0x22, 0x81, 0x04, 0x0a, 0x17, 0x4b,
654 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f,
655 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
656 0x61, 0x6d, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
657 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
658 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
659 0x12, 0x2d, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19,
660 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f,
661 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12,
662 0x5c, 0x0a, 0x13, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x65,
663 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x4b,
664 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f,
665 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63,
666 0x68, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x6b, 0x69, 0x6c, 0x6c,
667 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x5f, 0x0a,
668 0x14, 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x69, 0x73,
669 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x4b, 0x69,
670 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67,
671 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68,
672 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x6b, 0x69, 0x6c, 0x6c,
673 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x56,
674 0x0a, 0x11, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x45, 0x6e, 0x61, 0x62,
675 0x6c, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d,
676 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69,
677 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
678 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72,
679 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x57, 0x0a, 0x12, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77,
680 0x69, 0x74, 0x63, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x0e,
681 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01,
682 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63,
683 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
684 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
685 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x2e,
686 0x5a, 0x2c, 0x67, 0x6f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, 0x2e, 0x61, 0x76, 0x6d, 0x39,
687 0x39, 0x39, 0x36, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x77, 0x70, 0x74, 0x2d, 0x73, 0x65,
688 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06,
689 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
690}
691
692var (
693 file_api_proto_kill_switch_objects_proto_rawDescOnce sync.Once
694 file_api_proto_kill_switch_objects_proto_rawDescData = file_api_proto_kill_switch_objects_proto_rawDesc
695)
696
697func file_api_proto_kill_switch_objects_proto_rawDescGZIP() []byte {
698 file_api_proto_kill_switch_objects_proto_rawDescOnce.Do(func() {
699 file_api_proto_kill_switch_objects_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_proto_kill_switch_objects_proto_rawDescData)
700 })
701 return file_api_proto_kill_switch_objects_proto_rawDescData
702}
703
704var file_api_proto_kill_switch_objects_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
705var file_api_proto_kill_switch_objects_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
706var file_api_proto_kill_switch_objects_proto_goTypes = []interface{}{
707 (Feature_Type)(0), // 0: Feature.Type
708 (KillSwitchAuthorizedUser_AccessLevel)(0), // 1: KillSwitchAuthorizedUser.AccessLevel
709 (*Feature)(nil), // 2: Feature
710 (*KillSwitch)(nil), // 3: KillSwitch
711 (*KillSwitchAuthorizedUser)(nil), // 4: KillSwitchAuthorizedUser
712 (*KillSwitchTransformation)(nil), // 5: KillSwitchTransformation
713 (*KillSwitchAuditLogEntry)(nil), // 6: KillSwitchAuditLogEntry
714 (*KillSwitchAuditLogEntry_KillSwitchEnabled)(nil), // 7: KillSwitchAuditLogEntry.KillSwitchEnabled
715 (*KillSwitchAuditLogEntry_KillSwitchDisabled)(nil), // 8: KillSwitchAuditLogEntry.KillSwitchDisabled
716 (Environment_Browser)(0), // 9: Environment.Browser
717 (*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp
718}
719var file_api_proto_kill_switch_objects_proto_depIdxs = []int32{
720 0, // 0: Feature.type:type_name -> Feature.Type
721 2, // 1: KillSwitch.feature:type_name -> Feature
722 9, // 2: KillSwitch.browsers:type_name -> Environment.Browser
723 1, // 3: KillSwitchAuthorizedUser.access_level:type_name -> KillSwitchAuthorizedUser.AccessLevel
724 3, // 4: KillSwitchTransformation.kill_switch_from:type_name -> KillSwitch
725 3, // 5: KillSwitchTransformation.kill_switch_to:type_name -> KillSwitch
726 10, // 6: KillSwitchAuditLogEntry.timestamp:type_name -> google.protobuf.Timestamp
727 4, // 7: KillSwitchAuditLogEntry.user:type_name -> KillSwitchAuthorizedUser
728 7, // 8: KillSwitchAuditLogEntry.kill_switch_enabled:type_name -> KillSwitchAuditLogEntry.KillSwitchEnabled
729 8, // 9: KillSwitchAuditLogEntry.kill_switch_disabled:type_name -> KillSwitchAuditLogEntry.KillSwitchDisabled
730 5, // 10: KillSwitchAuditLogEntry.KillSwitchEnabled.transformation:type_name -> KillSwitchTransformation
731 5, // 11: KillSwitchAuditLogEntry.KillSwitchDisabled.transformation:type_name -> KillSwitchTransformation
732 12, // [12:12] is the sub-list for method output_type
733 12, // [12:12] is the sub-list for method input_type
734 12, // [12:12] is the sub-list for extension type_name
735 12, // [12:12] is the sub-list for extension extendee
736 0, // [0:12] is the sub-list for field type_name
737}
738
739func init() { file_api_proto_kill_switch_objects_proto_init() }
740func file_api_proto_kill_switch_objects_proto_init() {
741 if File_api_proto_kill_switch_objects_proto != nil {
742 return
743 }
744 file_api_proto_common_proto_init()
745 if !protoimpl.UnsafeEnabled {
746 file_api_proto_kill_switch_objects_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
747 switch v := v.(*Feature); i {
748 case 0:
749 return &v.state
750 case 1:
751 return &v.sizeCache
752 case 2:
753 return &v.unknownFields
754 default:
755 return nil
756 }
757 }
758 file_api_proto_kill_switch_objects_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
759 switch v := v.(*KillSwitch); i {
760 case 0:
761 return &v.state
762 case 1:
763 return &v.sizeCache
764 case 2:
765 return &v.unknownFields
766 default:
767 return nil
768 }
769 }
770 file_api_proto_kill_switch_objects_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
771 switch v := v.(*KillSwitchAuthorizedUser); i {
772 case 0:
773 return &v.state
774 case 1:
775 return &v.sizeCache
776 case 2:
777 return &v.unknownFields
778 default:
779 return nil
780 }
781 }
782 file_api_proto_kill_switch_objects_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
783 switch v := v.(*KillSwitchTransformation); i {
784 case 0:
785 return &v.state
786 case 1:
787 return &v.sizeCache
788 case 2:
789 return &v.unknownFields
790 default:
791 return nil
792 }
793 }
794 file_api_proto_kill_switch_objects_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
795 switch v := v.(*KillSwitchAuditLogEntry); i {
796 case 0:
797 return &v.state
798 case 1:
799 return &v.sizeCache
800 case 2:
801 return &v.unknownFields
802 default:
803 return nil
804 }
805 }
806 file_api_proto_kill_switch_objects_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
807 switch v := v.(*KillSwitchAuditLogEntry_KillSwitchEnabled); i {
808 case 0:
809 return &v.state
810 case 1:
811 return &v.sizeCache
812 case 2:
813 return &v.unknownFields
814 default:
815 return nil
816 }
817 }
818 file_api_proto_kill_switch_objects_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
819 switch v := v.(*KillSwitchAuditLogEntry_KillSwitchDisabled); i {
820 case 0:
821 return &v.state
822 case 1:
823 return &v.sizeCache
824 case 2:
825 return &v.unknownFields
826 default:
827 return nil
828 }
829 }
830 }
831 file_api_proto_kill_switch_objects_proto_msgTypes[4].OneofWrappers = []interface{}{
832 (*KillSwitchAuditLogEntry_KillSwitchEnabled_)(nil),
833 (*KillSwitchAuditLogEntry_KillSwitchDisabled_)(nil),
834 }
835 type x struct{}
836 out := protoimpl.TypeBuilder{
837 File: protoimpl.DescBuilder{
838 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
839 RawDescriptor: file_api_proto_kill_switch_objects_proto_rawDesc,
840 NumEnums: 2,
841 NumMessages: 7,
842 NumExtensions: 0,
843 NumServices: 0,
844 },
845 GoTypes: file_api_proto_kill_switch_objects_proto_goTypes,
846 DependencyIndexes: file_api_proto_kill_switch_objects_proto_depIdxs,
847 EnumInfos: file_api_proto_kill_switch_objects_proto_enumTypes,
848 MessageInfos: file_api_proto_kill_switch_objects_proto_msgTypes,
849 }.Build()
850 File_api_proto_kill_switch_objects_proto = out.File
851 file_api_proto_kill_switch_objects_proto_rawDesc = nil
852 file_api_proto_kill_switch_objects_proto_goTypes = nil
853 file_api_proto_kill_switch_objects_proto_depIdxs = nil
854}