avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 | // versions: |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 3 | // protoc-gen-go v1.26.0 |
Adrià Vilanova Martínez | c147b6a | 2021-09-01 17:25:38 +0200 | [diff] [blame] | 4 | // protoc v3.17.3 |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 5 | // source: api_proto/kill_switch_objects.proto |
| 6 | |
| 7 | package api_proto |
| 8 | |
| 9 | import ( |
| 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 | |
| 17 | const ( |
| 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 | |
| 24 | type Feature_Type int32 |
| 25 | |
| 26 | const ( |
| 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. |
| 34 | var ( |
| 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 | |
| 49 | func (x Feature_Type) Enum() *Feature_Type { |
| 50 | p := new(Feature_Type) |
| 51 | *p = x |
| 52 | return p |
| 53 | } |
| 54 | |
| 55 | func (x Feature_Type) String() string { |
| 56 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 57 | } |
| 58 | |
| 59 | func (Feature_Type) Descriptor() protoreflect.EnumDescriptor { |
| 60 | return file_api_proto_kill_switch_objects_proto_enumTypes[0].Descriptor() |
| 61 | } |
| 62 | |
| 63 | func (Feature_Type) Type() protoreflect.EnumType { |
| 64 | return &file_api_proto_kill_switch_objects_proto_enumTypes[0] |
| 65 | } |
| 66 | |
| 67 | func (x Feature_Type) Number() protoreflect.EnumNumber { |
| 68 | return protoreflect.EnumNumber(x) |
| 69 | } |
| 70 | |
| 71 | // Deprecated: Use Feature_Type.Descriptor instead. |
| 72 | func (Feature_Type) EnumDescriptor() ([]byte, []int) { |
| 73 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{0, 0} |
| 74 | } |
| 75 | |
| 76 | type KillSwitchAuthorizedUser_AccessLevel int32 |
| 77 | |
| 78 | const ( |
| 79 | KillSwitchAuthorizedUser_ACCESS_LEVEL_NONE KillSwitchAuthorizedUser_AccessLevel = 0 |
Adrià Vilanova Martínez | c147b6a | 2021-09-01 17:25:38 +0200 | [diff] [blame] | 80 | KillSwitchAuthorizedUser_ACCESS_LEVEL_ACTIVATOR KillSwitchAuthorizedUser_AccessLevel = 5 // The user may enable/disable kill switches. |
| 81 | KillSwitchAuthorizedUser_ACCESS_LEVEL_ADMIN KillSwitchAuthorizedUser_AccessLevel = 10 // The user may perform any action. |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 82 | ) |
| 83 | |
| 84 | // Enum value maps for KillSwitchAuthorizedUser_AccessLevel. |
| 85 | var ( |
| 86 | KillSwitchAuthorizedUser_AccessLevel_name = map[int32]string{ |
Adrià Vilanova Martínez | c147b6a | 2021-09-01 17:25:38 +0200 | [diff] [blame] | 87 | 0: "ACCESS_LEVEL_NONE", |
| 88 | 5: "ACCESS_LEVEL_ACTIVATOR", |
| 89 | 10: "ACCESS_LEVEL_ADMIN", |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 90 | } |
| 91 | KillSwitchAuthorizedUser_AccessLevel_value = map[string]int32{ |
| 92 | "ACCESS_LEVEL_NONE": 0, |
Adrià Vilanova Martínez | c147b6a | 2021-09-01 17:25:38 +0200 | [diff] [blame] | 93 | "ACCESS_LEVEL_ACTIVATOR": 5, |
| 94 | "ACCESS_LEVEL_ADMIN": 10, |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 95 | } |
| 96 | ) |
| 97 | |
| 98 | func (x KillSwitchAuthorizedUser_AccessLevel) Enum() *KillSwitchAuthorizedUser_AccessLevel { |
| 99 | p := new(KillSwitchAuthorizedUser_AccessLevel) |
| 100 | *p = x |
| 101 | return p |
| 102 | } |
| 103 | |
| 104 | func (x KillSwitchAuthorizedUser_AccessLevel) String() string { |
| 105 | return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) |
| 106 | } |
| 107 | |
| 108 | func (KillSwitchAuthorizedUser_AccessLevel) Descriptor() protoreflect.EnumDescriptor { |
| 109 | return file_api_proto_kill_switch_objects_proto_enumTypes[1].Descriptor() |
| 110 | } |
| 111 | |
| 112 | func (KillSwitchAuthorizedUser_AccessLevel) Type() protoreflect.EnumType { |
| 113 | return &file_api_proto_kill_switch_objects_proto_enumTypes[1] |
| 114 | } |
| 115 | |
| 116 | func (x KillSwitchAuthorizedUser_AccessLevel) Number() protoreflect.EnumNumber { |
| 117 | return protoreflect.EnumNumber(x) |
| 118 | } |
| 119 | |
| 120 | // Deprecated: Use KillSwitchAuthorizedUser_AccessLevel.Descriptor instead. |
| 121 | func (KillSwitchAuthorizedUser_AccessLevel) EnumDescriptor() ([]byte, []int) { |
| 122 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{2, 0} |
| 123 | } |
| 124 | |
| 125 | type 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 | |
| 135 | func (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 | |
| 144 | func (x *Feature) String() string { |
| 145 | return protoimpl.X.MessageStringOf(x) |
| 146 | } |
| 147 | |
| 148 | func (*Feature) ProtoMessage() {} |
| 149 | |
| 150 | func (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. |
| 163 | func (*Feature) Descriptor() ([]byte, []int) { |
| 164 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{0} |
| 165 | } |
| 166 | |
| 167 | func (x *Feature) GetId() int32 { |
| 168 | if x != nil { |
| 169 | return x.Id |
| 170 | } |
| 171 | return 0 |
| 172 | } |
| 173 | |
| 174 | func (x *Feature) GetCodename() string { |
| 175 | if x != nil { |
| 176 | return x.Codename |
| 177 | } |
| 178 | return "" |
| 179 | } |
| 180 | |
| 181 | func (x *Feature) GetType() Feature_Type { |
| 182 | if x != nil { |
| 183 | return x.Type |
| 184 | } |
| 185 | return Feature_TYPE_UNKNOWN |
| 186 | } |
| 187 | |
| 188 | type 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 | |
| 201 | func (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 | |
| 210 | func (x *KillSwitch) String() string { |
| 211 | return protoimpl.X.MessageStringOf(x) |
| 212 | } |
| 213 | |
| 214 | func (*KillSwitch) ProtoMessage() {} |
| 215 | |
| 216 | func (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. |
| 229 | func (*KillSwitch) Descriptor() ([]byte, []int) { |
| 230 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{1} |
| 231 | } |
| 232 | |
| 233 | func (x *KillSwitch) GetId() int32 { |
| 234 | if x != nil { |
| 235 | return x.Id |
| 236 | } |
| 237 | return 0 |
| 238 | } |
| 239 | |
| 240 | func (x *KillSwitch) GetFeature() *Feature { |
| 241 | if x != nil { |
| 242 | return x.Feature |
| 243 | } |
| 244 | return nil |
| 245 | } |
| 246 | |
| 247 | func (x *KillSwitch) GetMinVersion() string { |
| 248 | if x != nil { |
| 249 | return x.MinVersion |
| 250 | } |
| 251 | return "" |
| 252 | } |
| 253 | |
| 254 | func (x *KillSwitch) GetMaxVersion() string { |
| 255 | if x != nil { |
| 256 | return x.MaxVersion |
| 257 | } |
| 258 | return "" |
| 259 | } |
| 260 | |
| 261 | func (x *KillSwitch) GetBrowsers() []Environment_Browser { |
| 262 | if x != nil { |
| 263 | return x.Browsers |
| 264 | } |
| 265 | return nil |
| 266 | } |
| 267 | |
| 268 | func (x *KillSwitch) GetActive() bool { |
| 269 | if x != nil { |
| 270 | return x.Active |
| 271 | } |
| 272 | return false |
| 273 | } |
| 274 | |
| 275 | type 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 | |
| 286 | func (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 | |
| 295 | func (x *KillSwitchAuthorizedUser) String() string { |
| 296 | return protoimpl.X.MessageStringOf(x) |
| 297 | } |
| 298 | |
| 299 | func (*KillSwitchAuthorizedUser) ProtoMessage() {} |
| 300 | |
| 301 | func (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. |
| 314 | func (*KillSwitchAuthorizedUser) Descriptor() ([]byte, []int) { |
| 315 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{2} |
| 316 | } |
| 317 | |
| 318 | func (x *KillSwitchAuthorizedUser) GetId() int32 { |
| 319 | if x != nil { |
| 320 | return x.Id |
| 321 | } |
| 322 | return 0 |
| 323 | } |
| 324 | |
| 325 | func (x *KillSwitchAuthorizedUser) GetGoogleUid() string { |
| 326 | if x != nil { |
| 327 | return x.GoogleUid |
| 328 | } |
| 329 | return "" |
| 330 | } |
| 331 | |
| 332 | func (x *KillSwitchAuthorizedUser) GetEmail() string { |
| 333 | if x != nil { |
| 334 | return x.Email |
| 335 | } |
| 336 | return "" |
| 337 | } |
| 338 | |
| 339 | func (x *KillSwitchAuthorizedUser) GetAccessLevel() KillSwitchAuthorizedUser_AccessLevel { |
| 340 | if x != nil { |
| 341 | return x.AccessLevel |
| 342 | } |
| 343 | return KillSwitchAuthorizedUser_ACCESS_LEVEL_NONE |
| 344 | } |
| 345 | |
| 346 | type KillSwitchTransformation struct { |
| 347 | state protoimpl.MessageState |
| 348 | sizeCache protoimpl.SizeCache |
| 349 | unknownFields protoimpl.UnknownFields |
| 350 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 351 | Old *KillSwitch `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` |
| 352 | New *KillSwitch `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 353 | } |
| 354 | |
| 355 | func (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 | |
| 364 | func (x *KillSwitchTransformation) String() string { |
| 365 | return protoimpl.X.MessageStringOf(x) |
| 366 | } |
| 367 | |
| 368 | func (*KillSwitchTransformation) ProtoMessage() {} |
| 369 | |
| 370 | func (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. |
| 383 | func (*KillSwitchTransformation) Descriptor() ([]byte, []int) { |
| 384 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{3} |
| 385 | } |
| 386 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 387 | func (x *KillSwitchTransformation) GetOld() *KillSwitch { |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 388 | if x != nil { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 389 | return x.Old |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 390 | } |
| 391 | return nil |
| 392 | } |
| 393 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 394 | func (x *KillSwitchTransformation) GetNew() *KillSwitch { |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 395 | if x != nil { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 396 | return x.New |
| 397 | } |
| 398 | return nil |
| 399 | } |
| 400 | |
| 401 | type AuthorizedUserTransformation struct { |
| 402 | state protoimpl.MessageState |
| 403 | sizeCache protoimpl.SizeCache |
| 404 | unknownFields protoimpl.UnknownFields |
| 405 | |
| 406 | Old *KillSwitchAuthorizedUser `protobuf:"bytes,1,opt,name=old,proto3" json:"old,omitempty"` |
| 407 | New *KillSwitchAuthorizedUser `protobuf:"bytes,2,opt,name=new,proto3" json:"new,omitempty"` |
| 408 | } |
| 409 | |
| 410 | func (x *AuthorizedUserTransformation) Reset() { |
| 411 | *x = AuthorizedUserTransformation{} |
| 412 | if protoimpl.UnsafeEnabled { |
| 413 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[4] |
| 414 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 415 | ms.StoreMessageInfo(mi) |
| 416 | } |
| 417 | } |
| 418 | |
| 419 | func (x *AuthorizedUserTransformation) String() string { |
| 420 | return protoimpl.X.MessageStringOf(x) |
| 421 | } |
| 422 | |
| 423 | func (*AuthorizedUserTransformation) ProtoMessage() {} |
| 424 | |
| 425 | func (x *AuthorizedUserTransformation) ProtoReflect() protoreflect.Message { |
| 426 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[4] |
| 427 | if protoimpl.UnsafeEnabled && x != nil { |
| 428 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 429 | if ms.LoadMessageInfo() == nil { |
| 430 | ms.StoreMessageInfo(mi) |
| 431 | } |
| 432 | return ms |
| 433 | } |
| 434 | return mi.MessageOf(x) |
| 435 | } |
| 436 | |
| 437 | // Deprecated: Use AuthorizedUserTransformation.ProtoReflect.Descriptor instead. |
| 438 | func (*AuthorizedUserTransformation) Descriptor() ([]byte, []int) { |
| 439 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{4} |
| 440 | } |
| 441 | |
| 442 | func (x *AuthorizedUserTransformation) GetOld() *KillSwitchAuthorizedUser { |
| 443 | if x != nil { |
| 444 | return x.Old |
| 445 | } |
| 446 | return nil |
| 447 | } |
| 448 | |
| 449 | func (x *AuthorizedUserTransformation) GetNew() *KillSwitchAuthorizedUser { |
| 450 | if x != nil { |
| 451 | return x.New |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 452 | } |
| 453 | return nil |
| 454 | } |
| 455 | |
| 456 | // Log entry which describes an action which has taken place. |
| 457 | type KillSwitchAuditLogEntry struct { |
| 458 | state protoimpl.MessageState |
| 459 | sizeCache protoimpl.SizeCache |
| 460 | unknownFields protoimpl.UnknownFields |
| 461 | |
| 462 | // Timestamp in which the action was taken. |
| 463 | Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` |
| 464 | // User who/which performed the action. |
| 465 | User *KillSwitchAuthorizedUser `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` |
| 466 | // Description of the action taken |
| 467 | // |
| 468 | // Types that are assignable to Description: |
| 469 | // *KillSwitchAuditLogEntry_KillSwitchEnabled_ |
| 470 | // *KillSwitchAuditLogEntry_KillSwitchDisabled_ |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 471 | // *KillSwitchAuditLogEntry_AuthorizedUserAdded_ |
| 472 | // *KillSwitchAuditLogEntry_AuthorizedUserUpdated_ |
| 473 | // *KillSwitchAuditLogEntry_AuthorizedUserDeleted_ |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 474 | Description isKillSwitchAuditLogEntry_Description `protobuf_oneof:"description"` |
| 475 | } |
| 476 | |
| 477 | func (x *KillSwitchAuditLogEntry) Reset() { |
| 478 | *x = KillSwitchAuditLogEntry{} |
| 479 | if protoimpl.UnsafeEnabled { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 480 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[5] |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 481 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 482 | ms.StoreMessageInfo(mi) |
| 483 | } |
| 484 | } |
| 485 | |
| 486 | func (x *KillSwitchAuditLogEntry) String() string { |
| 487 | return protoimpl.X.MessageStringOf(x) |
| 488 | } |
| 489 | |
| 490 | func (*KillSwitchAuditLogEntry) ProtoMessage() {} |
| 491 | |
| 492 | func (x *KillSwitchAuditLogEntry) ProtoReflect() protoreflect.Message { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 493 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[5] |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 494 | if protoimpl.UnsafeEnabled && x != nil { |
| 495 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 496 | if ms.LoadMessageInfo() == nil { |
| 497 | ms.StoreMessageInfo(mi) |
| 498 | } |
| 499 | return ms |
| 500 | } |
| 501 | return mi.MessageOf(x) |
| 502 | } |
| 503 | |
| 504 | // Deprecated: Use KillSwitchAuditLogEntry.ProtoReflect.Descriptor instead. |
| 505 | func (*KillSwitchAuditLogEntry) Descriptor() ([]byte, []int) { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 506 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{5} |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 507 | } |
| 508 | |
| 509 | func (x *KillSwitchAuditLogEntry) GetTimestamp() *timestamppb.Timestamp { |
| 510 | if x != nil { |
| 511 | return x.Timestamp |
| 512 | } |
| 513 | return nil |
| 514 | } |
| 515 | |
| 516 | func (x *KillSwitchAuditLogEntry) GetUser() *KillSwitchAuthorizedUser { |
| 517 | if x != nil { |
| 518 | return x.User |
| 519 | } |
| 520 | return nil |
| 521 | } |
| 522 | |
| 523 | func (m *KillSwitchAuditLogEntry) GetDescription() isKillSwitchAuditLogEntry_Description { |
| 524 | if m != nil { |
| 525 | return m.Description |
| 526 | } |
| 527 | return nil |
| 528 | } |
| 529 | |
| 530 | func (x *KillSwitchAuditLogEntry) GetKillSwitchEnabled() *KillSwitchAuditLogEntry_KillSwitchEnabled { |
| 531 | if x, ok := x.GetDescription().(*KillSwitchAuditLogEntry_KillSwitchEnabled_); ok { |
| 532 | return x.KillSwitchEnabled |
| 533 | } |
| 534 | return nil |
| 535 | } |
| 536 | |
| 537 | func (x *KillSwitchAuditLogEntry) GetKillSwitchDisabled() *KillSwitchAuditLogEntry_KillSwitchDisabled { |
| 538 | if x, ok := x.GetDescription().(*KillSwitchAuditLogEntry_KillSwitchDisabled_); ok { |
| 539 | return x.KillSwitchDisabled |
| 540 | } |
| 541 | return nil |
| 542 | } |
| 543 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 544 | func (x *KillSwitchAuditLogEntry) GetAuthorizedUserAdded() *KillSwitchAuditLogEntry_AuthorizedUserAdded { |
| 545 | if x, ok := x.GetDescription().(*KillSwitchAuditLogEntry_AuthorizedUserAdded_); ok { |
| 546 | return x.AuthorizedUserAdded |
| 547 | } |
| 548 | return nil |
| 549 | } |
| 550 | |
| 551 | func (x *KillSwitchAuditLogEntry) GetAuthorizedUserUpdated() *KillSwitchAuditLogEntry_AuthorizedUserUpdated { |
| 552 | if x, ok := x.GetDescription().(*KillSwitchAuditLogEntry_AuthorizedUserUpdated_); ok { |
| 553 | return x.AuthorizedUserUpdated |
| 554 | } |
| 555 | return nil |
| 556 | } |
| 557 | |
| 558 | func (x *KillSwitchAuditLogEntry) GetAuthorizedUserDeleted() *KillSwitchAuditLogEntry_AuthorizedUserDeleted { |
| 559 | if x, ok := x.GetDescription().(*KillSwitchAuditLogEntry_AuthorizedUserDeleted_); ok { |
| 560 | return x.AuthorizedUserDeleted |
| 561 | } |
| 562 | return nil |
| 563 | } |
| 564 | |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 565 | type isKillSwitchAuditLogEntry_Description interface { |
| 566 | isKillSwitchAuditLogEntry_Description() |
| 567 | } |
| 568 | |
| 569 | type KillSwitchAuditLogEntry_KillSwitchEnabled_ struct { |
| 570 | KillSwitchEnabled *KillSwitchAuditLogEntry_KillSwitchEnabled `protobuf:"bytes,3,opt,name=kill_switch_enabled,json=killSwitchEnabled,proto3,oneof"` |
| 571 | } |
| 572 | |
| 573 | type KillSwitchAuditLogEntry_KillSwitchDisabled_ struct { |
| 574 | KillSwitchDisabled *KillSwitchAuditLogEntry_KillSwitchDisabled `protobuf:"bytes,4,opt,name=kill_switch_disabled,json=killSwitchDisabled,proto3,oneof"` |
| 575 | } |
| 576 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 577 | type KillSwitchAuditLogEntry_AuthorizedUserAdded_ struct { |
| 578 | AuthorizedUserAdded *KillSwitchAuditLogEntry_AuthorizedUserAdded `protobuf:"bytes,5,opt,name=authorized_user_added,json=authorizedUserAdded,proto3,oneof"` |
| 579 | } |
| 580 | |
| 581 | type KillSwitchAuditLogEntry_AuthorizedUserUpdated_ struct { |
| 582 | AuthorizedUserUpdated *KillSwitchAuditLogEntry_AuthorizedUserUpdated `protobuf:"bytes,6,opt,name=authorized_user_updated,json=authorizedUserUpdated,proto3,oneof"` |
| 583 | } |
| 584 | |
| 585 | type KillSwitchAuditLogEntry_AuthorizedUserDeleted_ struct { |
| 586 | AuthorizedUserDeleted *KillSwitchAuditLogEntry_AuthorizedUserDeleted `protobuf:"bytes,7,opt,name=authorized_user_deleted,json=authorizedUserDeleted,proto3,oneof"` |
| 587 | } |
| 588 | |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 589 | func (*KillSwitchAuditLogEntry_KillSwitchEnabled_) isKillSwitchAuditLogEntry_Description() {} |
| 590 | |
| 591 | func (*KillSwitchAuditLogEntry_KillSwitchDisabled_) isKillSwitchAuditLogEntry_Description() {} |
| 592 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 593 | func (*KillSwitchAuditLogEntry_AuthorizedUserAdded_) isKillSwitchAuditLogEntry_Description() {} |
| 594 | |
| 595 | func (*KillSwitchAuditLogEntry_AuthorizedUserUpdated_) isKillSwitchAuditLogEntry_Description() {} |
| 596 | |
| 597 | func (*KillSwitchAuditLogEntry_AuthorizedUserDeleted_) isKillSwitchAuditLogEntry_Description() {} |
| 598 | |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 599 | type KillSwitchAuditLogEntry_KillSwitchEnabled struct { |
| 600 | state protoimpl.MessageState |
| 601 | sizeCache protoimpl.SizeCache |
| 602 | unknownFields protoimpl.UnknownFields |
| 603 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 604 | KillSwitch *KillSwitch `protobuf:"bytes,1,opt,name=kill_switch,json=killSwitch,proto3" json:"kill_switch,omitempty"` |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 605 | } |
| 606 | |
| 607 | func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) Reset() { |
| 608 | *x = KillSwitchAuditLogEntry_KillSwitchEnabled{} |
| 609 | if protoimpl.UnsafeEnabled { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 610 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[6] |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 611 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 612 | ms.StoreMessageInfo(mi) |
| 613 | } |
| 614 | } |
| 615 | |
| 616 | func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) String() string { |
| 617 | return protoimpl.X.MessageStringOf(x) |
| 618 | } |
| 619 | |
| 620 | func (*KillSwitchAuditLogEntry_KillSwitchEnabled) ProtoMessage() {} |
| 621 | |
| 622 | func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) ProtoReflect() protoreflect.Message { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 623 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[6] |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 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 KillSwitchAuditLogEntry_KillSwitchEnabled.ProtoReflect.Descriptor instead. |
| 635 | func (*KillSwitchAuditLogEntry_KillSwitchEnabled) Descriptor() ([]byte, []int) { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 636 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{5, 0} |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 637 | } |
| 638 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 639 | func (x *KillSwitchAuditLogEntry_KillSwitchEnabled) GetKillSwitch() *KillSwitch { |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 640 | if x != nil { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 641 | return x.KillSwitch |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 642 | } |
| 643 | return nil |
| 644 | } |
| 645 | |
| 646 | type KillSwitchAuditLogEntry_KillSwitchDisabled struct { |
| 647 | state protoimpl.MessageState |
| 648 | sizeCache protoimpl.SizeCache |
| 649 | unknownFields protoimpl.UnknownFields |
| 650 | |
| 651 | Transformation *KillSwitchTransformation `protobuf:"bytes,1,opt,name=transformation,proto3" json:"transformation,omitempty"` |
| 652 | } |
| 653 | |
| 654 | func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) Reset() { |
| 655 | *x = KillSwitchAuditLogEntry_KillSwitchDisabled{} |
| 656 | if protoimpl.UnsafeEnabled { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 657 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[7] |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 658 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 659 | ms.StoreMessageInfo(mi) |
| 660 | } |
| 661 | } |
| 662 | |
| 663 | func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) String() string { |
| 664 | return protoimpl.X.MessageStringOf(x) |
| 665 | } |
| 666 | |
| 667 | func (*KillSwitchAuditLogEntry_KillSwitchDisabled) ProtoMessage() {} |
| 668 | |
| 669 | func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) ProtoReflect() protoreflect.Message { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 670 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[7] |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 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 KillSwitchAuditLogEntry_KillSwitchDisabled.ProtoReflect.Descriptor instead. |
| 682 | func (*KillSwitchAuditLogEntry_KillSwitchDisabled) Descriptor() ([]byte, []int) { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 683 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{5, 1} |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 684 | } |
| 685 | |
| 686 | func (x *KillSwitchAuditLogEntry_KillSwitchDisabled) GetTransformation() *KillSwitchTransformation { |
| 687 | if x != nil { |
| 688 | return x.Transformation |
| 689 | } |
| 690 | return nil |
| 691 | } |
| 692 | |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 693 | type KillSwitchAuditLogEntry_AuthorizedUserAdded struct { |
| 694 | state protoimpl.MessageState |
| 695 | sizeCache protoimpl.SizeCache |
| 696 | unknownFields protoimpl.UnknownFields |
| 697 | |
| 698 | User *KillSwitchAuthorizedUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` |
| 699 | } |
| 700 | |
| 701 | func (x *KillSwitchAuditLogEntry_AuthorizedUserAdded) Reset() { |
| 702 | *x = KillSwitchAuditLogEntry_AuthorizedUserAdded{} |
| 703 | if protoimpl.UnsafeEnabled { |
| 704 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[8] |
| 705 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 706 | ms.StoreMessageInfo(mi) |
| 707 | } |
| 708 | } |
| 709 | |
| 710 | func (x *KillSwitchAuditLogEntry_AuthorizedUserAdded) String() string { |
| 711 | return protoimpl.X.MessageStringOf(x) |
| 712 | } |
| 713 | |
| 714 | func (*KillSwitchAuditLogEntry_AuthorizedUserAdded) ProtoMessage() {} |
| 715 | |
| 716 | func (x *KillSwitchAuditLogEntry_AuthorizedUserAdded) ProtoReflect() protoreflect.Message { |
| 717 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[8] |
| 718 | if protoimpl.UnsafeEnabled && x != nil { |
| 719 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 720 | if ms.LoadMessageInfo() == nil { |
| 721 | ms.StoreMessageInfo(mi) |
| 722 | } |
| 723 | return ms |
| 724 | } |
| 725 | return mi.MessageOf(x) |
| 726 | } |
| 727 | |
| 728 | // Deprecated: Use KillSwitchAuditLogEntry_AuthorizedUserAdded.ProtoReflect.Descriptor instead. |
| 729 | func (*KillSwitchAuditLogEntry_AuthorizedUserAdded) Descriptor() ([]byte, []int) { |
| 730 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{5, 2} |
| 731 | } |
| 732 | |
| 733 | func (x *KillSwitchAuditLogEntry_AuthorizedUserAdded) GetUser() *KillSwitchAuthorizedUser { |
| 734 | if x != nil { |
| 735 | return x.User |
| 736 | } |
| 737 | return nil |
| 738 | } |
| 739 | |
| 740 | type KillSwitchAuditLogEntry_AuthorizedUserUpdated struct { |
| 741 | state protoimpl.MessageState |
| 742 | sizeCache protoimpl.SizeCache |
| 743 | unknownFields protoimpl.UnknownFields |
| 744 | |
| 745 | Transformation *AuthorizedUserTransformation `protobuf:"bytes,1,opt,name=transformation,proto3" json:"transformation,omitempty"` |
| 746 | } |
| 747 | |
| 748 | func (x *KillSwitchAuditLogEntry_AuthorizedUserUpdated) Reset() { |
| 749 | *x = KillSwitchAuditLogEntry_AuthorizedUserUpdated{} |
| 750 | if protoimpl.UnsafeEnabled { |
| 751 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[9] |
| 752 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 753 | ms.StoreMessageInfo(mi) |
| 754 | } |
| 755 | } |
| 756 | |
| 757 | func (x *KillSwitchAuditLogEntry_AuthorizedUserUpdated) String() string { |
| 758 | return protoimpl.X.MessageStringOf(x) |
| 759 | } |
| 760 | |
| 761 | func (*KillSwitchAuditLogEntry_AuthorizedUserUpdated) ProtoMessage() {} |
| 762 | |
| 763 | func (x *KillSwitchAuditLogEntry_AuthorizedUserUpdated) ProtoReflect() protoreflect.Message { |
| 764 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[9] |
| 765 | if protoimpl.UnsafeEnabled && x != nil { |
| 766 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 767 | if ms.LoadMessageInfo() == nil { |
| 768 | ms.StoreMessageInfo(mi) |
| 769 | } |
| 770 | return ms |
| 771 | } |
| 772 | return mi.MessageOf(x) |
| 773 | } |
| 774 | |
| 775 | // Deprecated: Use KillSwitchAuditLogEntry_AuthorizedUserUpdated.ProtoReflect.Descriptor instead. |
| 776 | func (*KillSwitchAuditLogEntry_AuthorizedUserUpdated) Descriptor() ([]byte, []int) { |
| 777 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{5, 3} |
| 778 | } |
| 779 | |
| 780 | func (x *KillSwitchAuditLogEntry_AuthorizedUserUpdated) GetTransformation() *AuthorizedUserTransformation { |
| 781 | if x != nil { |
| 782 | return x.Transformation |
| 783 | } |
| 784 | return nil |
| 785 | } |
| 786 | |
| 787 | type KillSwitchAuditLogEntry_AuthorizedUserDeleted struct { |
| 788 | state protoimpl.MessageState |
| 789 | sizeCache protoimpl.SizeCache |
| 790 | unknownFields protoimpl.UnknownFields |
| 791 | |
| 792 | OldUser *KillSwitchAuthorizedUser `protobuf:"bytes,1,opt,name=old_user,json=oldUser,proto3" json:"old_user,omitempty"` |
| 793 | } |
| 794 | |
| 795 | func (x *KillSwitchAuditLogEntry_AuthorizedUserDeleted) Reset() { |
| 796 | *x = KillSwitchAuditLogEntry_AuthorizedUserDeleted{} |
| 797 | if protoimpl.UnsafeEnabled { |
| 798 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[10] |
| 799 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 800 | ms.StoreMessageInfo(mi) |
| 801 | } |
| 802 | } |
| 803 | |
| 804 | func (x *KillSwitchAuditLogEntry_AuthorizedUserDeleted) String() string { |
| 805 | return protoimpl.X.MessageStringOf(x) |
| 806 | } |
| 807 | |
| 808 | func (*KillSwitchAuditLogEntry_AuthorizedUserDeleted) ProtoMessage() {} |
| 809 | |
| 810 | func (x *KillSwitchAuditLogEntry_AuthorizedUserDeleted) ProtoReflect() protoreflect.Message { |
| 811 | mi := &file_api_proto_kill_switch_objects_proto_msgTypes[10] |
| 812 | if protoimpl.UnsafeEnabled && x != nil { |
| 813 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 814 | if ms.LoadMessageInfo() == nil { |
| 815 | ms.StoreMessageInfo(mi) |
| 816 | } |
| 817 | return ms |
| 818 | } |
| 819 | return mi.MessageOf(x) |
| 820 | } |
| 821 | |
| 822 | // Deprecated: Use KillSwitchAuditLogEntry_AuthorizedUserDeleted.ProtoReflect.Descriptor instead. |
| 823 | func (*KillSwitchAuditLogEntry_AuthorizedUserDeleted) Descriptor() ([]byte, []int) { |
| 824 | return file_api_proto_kill_switch_objects_proto_rawDescGZIP(), []int{5, 4} |
| 825 | } |
| 826 | |
| 827 | func (x *KillSwitchAuditLogEntry_AuthorizedUserDeleted) GetOldUser() *KillSwitchAuthorizedUser { |
| 828 | if x != nil { |
| 829 | return x.OldUser |
| 830 | } |
| 831 | return nil |
| 832 | } |
| 833 | |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 834 | var File_api_proto_kill_switch_objects_proto protoreflect.FileDescriptor |
| 835 | |
| 836 | var file_api_proto_kill_switch_objects_proto_rawDesc = []byte{ |
| 837 | 0x0a, 0x23, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x6b, 0x69, 0x6c, 0x6c, |
| 838 | 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2e, |
| 839 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f, |
| 840 | 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, |
| 841 | 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, |
| 842 | 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad, |
| 843 | 0x01, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, |
| 844 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, |
| 845 | 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, |
| 846 | 0x64, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, |
| 847 | 0x20, 0x01, 0x28, 0x0e, 0x32, 0x0d, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x2e, 0x54, |
| 848 | 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x53, 0x0a, 0x04, 0x54, 0x79, 0x70, |
| 849 | 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, |
| 850 | 0x4e, 0x10, 0x00, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x45, |
| 851 | 0x52, 0x49, 0x4d, 0x45, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, |
| 852 | 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x54, 0x59, 0x50, |
| 853 | 0x45, 0x5f, 0x44, 0x45, 0x50, 0x52, 0x45, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x0a, 0x22, 0xcc, |
| 854 | 0x01, 0x0a, 0x0a, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x12, 0x0e, 0x0a, |
| 855 | 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x22, 0x0a, |
| 856 | 0x07, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x08, |
| 857 | 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52, 0x07, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, |
| 858 | 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, |
| 859 | 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x69, 0x6e, 0x56, 0x65, 0x72, 0x73, 0x69, |
| 860 | 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, |
| 861 | 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x56, 0x65, 0x72, 0x73, |
| 862 | 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x08, 0x62, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x73, 0x18, |
| 863 | 0x05, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x45, 0x6e, 0x76, 0x69, 0x72, 0x6f, 0x6e, 0x6d, |
| 864 | 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x72, 0x6f, 0x77, 0x73, 0x65, 0x72, 0x52, 0x08, 0x62, 0x72, 0x6f, |
| 865 | 0x77, 0x73, 0x65, 0x72, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x18, |
| 866 | 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x22, 0x83, 0x02, |
| 867 | 0x0a, 0x18, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, |
| 868 | 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, |
| 869 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x67, 0x6f, |
| 870 | 0x6f, 0x67, 0x6c, 0x65, 0x5f, 0x75, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, |
| 871 | 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x55, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, |
| 872 | 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, |
| 873 | 0x48, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, |
| 874 | 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, |
| 875 | 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, |
| 876 | 0x2e, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0b, 0x61, 0x63, |
| 877 | 0x63, 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x22, 0x58, 0x0a, 0x0b, 0x41, 0x63, 0x63, |
| 878 | 0x65, 0x73, 0x73, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x15, 0x0a, 0x11, 0x41, 0x43, 0x43, 0x45, |
| 879 | 0x53, 0x53, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, |
| 880 | 0x1a, 0x0a, 0x16, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, |
Adrià Vilanova Martínez | c147b6a | 2021-09-01 17:25:38 +0200 | [diff] [blame] | 881 | 0x41, 0x43, 0x54, 0x49, 0x56, 0x41, 0x54, 0x4f, 0x52, 0x10, 0x05, 0x12, 0x16, 0x0a, 0x12, 0x41, |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 882 | 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x41, 0x44, 0x4d, 0x49, |
Adrià Vilanova Martínez | c147b6a | 2021-09-01 17:25:38 +0200 | [diff] [blame] | 883 | 0x4e, 0x10, 0x0a, 0x22, 0x58, 0x0a, 0x18, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 884 | 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 885 | 0x1d, 0x0a, 0x03, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4b, |
| 886 | 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x03, 0x6f, 0x6c, 0x64, 0x12, 0x1d, |
| 887 | 0x0a, 0x03, 0x6e, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4b, 0x69, |
| 888 | 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x03, 0x6e, 0x65, 0x77, 0x22, 0x78, 0x0a, |
| 889 | 0x1c, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x54, |
| 890 | 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2b, 0x0a, |
| 891 | 0x03, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, |
| 892 | 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, |
| 893 | 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x03, 0x6f, 0x6c, 0x64, 0x12, 0x2b, 0x0a, 0x03, 0x6e, 0x65, |
| 894 | 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, |
| 895 | 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, |
| 896 | 0x65, 0x72, 0x52, 0x03, 0x6e, 0x65, 0x77, 0x22, 0x99, 0x08, 0x0a, 0x17, 0x4b, 0x69, 0x6c, 0x6c, |
| 897 | 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x45, 0x6e, |
| 898 | 0x74, 0x72, 0x79, 0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, |
| 899 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 900 | 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, |
| 901 | 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x2d, 0x0a, |
| 902 | 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, |
| 903 | 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, |
| 904 | 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x13, |
| 905 | 0x6b, 0x69, 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x65, 0x6e, 0x61, 0x62, |
| 906 | 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, |
| 907 | 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x45, 0x6e, |
| 908 | 0x74, 0x72, 0x79, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x45, 0x6e, |
| 909 | 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x00, 0x52, 0x11, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, |
| 910 | 0x74, 0x63, 0x68, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x5f, 0x0a, 0x14, 0x6b, 0x69, |
| 911 | 0x6c, 0x6c, 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x5f, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, |
| 912 | 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, |
| 913 | 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, |
| 914 | 0x72, 0x79, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x44, 0x69, 0x73, |
| 915 | 0x61, 0x62, 0x6c, 0x65, 0x64, 0x48, 0x00, 0x52, 0x12, 0x6b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, |
| 916 | 0x74, 0x63, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x62, 0x0a, 0x15, 0x61, |
| 917 | 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x61, |
| 918 | 0x64, 0x64, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x4b, 0x69, 0x6c, |
| 919 | 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x45, |
| 920 | 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, |
| 921 | 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 0x13, 0x61, 0x75, 0x74, 0x68, |
| 922 | 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, |
| 923 | 0x68, 0x0a, 0x17, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x75, 0x73, |
| 924 | 0x65, 0x72, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, |
| 925 | 0x32, 0x2e, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, |
| 926 | 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, |
| 927 | 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, |
| 928 | 0x48, 0x00, 0x52, 0x15, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, |
| 929 | 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x68, 0x0a, 0x17, 0x61, 0x75, 0x74, |
| 930 | 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x6c, |
| 931 | 0x65, 0x74, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x4b, 0x69, 0x6c, |
| 932 | 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x64, 0x69, 0x74, 0x4c, 0x6f, 0x67, 0x45, |
| 933 | 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, |
| 934 | 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x48, 0x00, 0x52, 0x15, 0x61, 0x75, |
| 935 | 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, |
| 936 | 0x74, 0x65, 0x64, 0x1a, 0x41, 0x0a, 0x11, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, |
| 937 | 0x68, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x2c, 0x0a, 0x0b, 0x6b, 0x69, 0x6c, 0x6c, |
| 938 | 0x5f, 0x73, 0x77, 0x69, 0x74, 0x63, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, |
| 939 | 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x52, 0x0a, 0x6b, 0x69, 0x6c, 0x6c, |
| 940 | 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x1a, 0x57, 0x0a, 0x12, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 941 | 0x69, 0x74, 0x63, 0x68, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x41, 0x0a, 0x0e, |
| 942 | 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, |
| 943 | 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, |
| 944 | 0x68, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 945 | 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, |
| 946 | 0x44, 0x0a, 0x13, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, |
| 947 | 0x72, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, |
| 948 | 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, |
| 949 | 0x68, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, |
| 950 | 0x04, 0x75, 0x73, 0x65, 0x72, 0x1a, 0x5e, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, |
| 951 | 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x45, |
| 952 | 0x0a, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 953 | 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, |
| 954 | 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, |
| 955 | 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x6f, 0x72, 0x6d, |
| 956 | 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4d, 0x0a, 0x15, 0x41, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, |
| 957 | 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x12, 0x34, |
| 958 | 0x0a, 0x08, 0x6f, 0x6c, 0x64, 0x5f, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, |
| 959 | 0x32, 0x19, 0x2e, 0x4b, 0x69, 0x6c, 0x6c, 0x53, 0x77, 0x69, 0x74, 0x63, 0x68, 0x41, 0x75, 0x74, |
| 960 | 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x52, 0x07, 0x6f, 0x6c, 0x64, |
| 961 | 0x55, 0x73, 0x65, 0x72, 0x42, 0x0d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, |
| 962 | 0x69, 0x6f, 0x6e, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x6f, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x73, |
| 963 | 0x2e, 0x61, 0x76, 0x6d, 0x39, 0x39, 0x39, 0x36, 0x33, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x77, |
| 964 | 0x70, 0x74, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x5f, 0x70, 0x72, |
| 965 | 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 966 | } |
| 967 | |
| 968 | var ( |
| 969 | file_api_proto_kill_switch_objects_proto_rawDescOnce sync.Once |
| 970 | file_api_proto_kill_switch_objects_proto_rawDescData = file_api_proto_kill_switch_objects_proto_rawDesc |
| 971 | ) |
| 972 | |
| 973 | func file_api_proto_kill_switch_objects_proto_rawDescGZIP() []byte { |
| 974 | file_api_proto_kill_switch_objects_proto_rawDescOnce.Do(func() { |
| 975 | file_api_proto_kill_switch_objects_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_proto_kill_switch_objects_proto_rawDescData) |
| 976 | }) |
| 977 | return file_api_proto_kill_switch_objects_proto_rawDescData |
| 978 | } |
| 979 | |
| 980 | var file_api_proto_kill_switch_objects_proto_enumTypes = make([]protoimpl.EnumInfo, 2) |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 981 | var file_api_proto_kill_switch_objects_proto_msgTypes = make([]protoimpl.MessageInfo, 11) |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 982 | var file_api_proto_kill_switch_objects_proto_goTypes = []interface{}{ |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 983 | (Feature_Type)(0), // 0: Feature.Type |
| 984 | (KillSwitchAuthorizedUser_AccessLevel)(0), // 1: KillSwitchAuthorizedUser.AccessLevel |
| 985 | (*Feature)(nil), // 2: Feature |
| 986 | (*KillSwitch)(nil), // 3: KillSwitch |
| 987 | (*KillSwitchAuthorizedUser)(nil), // 4: KillSwitchAuthorizedUser |
| 988 | (*KillSwitchTransformation)(nil), // 5: KillSwitchTransformation |
| 989 | (*AuthorizedUserTransformation)(nil), // 6: AuthorizedUserTransformation |
| 990 | (*KillSwitchAuditLogEntry)(nil), // 7: KillSwitchAuditLogEntry |
| 991 | (*KillSwitchAuditLogEntry_KillSwitchEnabled)(nil), // 8: KillSwitchAuditLogEntry.KillSwitchEnabled |
| 992 | (*KillSwitchAuditLogEntry_KillSwitchDisabled)(nil), // 9: KillSwitchAuditLogEntry.KillSwitchDisabled |
| 993 | (*KillSwitchAuditLogEntry_AuthorizedUserAdded)(nil), // 10: KillSwitchAuditLogEntry.AuthorizedUserAdded |
| 994 | (*KillSwitchAuditLogEntry_AuthorizedUserUpdated)(nil), // 11: KillSwitchAuditLogEntry.AuthorizedUserUpdated |
| 995 | (*KillSwitchAuditLogEntry_AuthorizedUserDeleted)(nil), // 12: KillSwitchAuditLogEntry.AuthorizedUserDeleted |
| 996 | (Environment_Browser)(0), // 13: Environment.Browser |
| 997 | (*timestamppb.Timestamp)(nil), // 14: google.protobuf.Timestamp |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 998 | } |
| 999 | var file_api_proto_kill_switch_objects_proto_depIdxs = []int32{ |
| 1000 | 0, // 0: Feature.type:type_name -> Feature.Type |
| 1001 | 2, // 1: KillSwitch.feature:type_name -> Feature |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1002 | 13, // 2: KillSwitch.browsers:type_name -> Environment.Browser |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1003 | 1, // 3: KillSwitchAuthorizedUser.access_level:type_name -> KillSwitchAuthorizedUser.AccessLevel |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1004 | 3, // 4: KillSwitchTransformation.old:type_name -> KillSwitch |
| 1005 | 3, // 5: KillSwitchTransformation.new:type_name -> KillSwitch |
| 1006 | 4, // 6: AuthorizedUserTransformation.old:type_name -> KillSwitchAuthorizedUser |
| 1007 | 4, // 7: AuthorizedUserTransformation.new:type_name -> KillSwitchAuthorizedUser |
| 1008 | 14, // 8: KillSwitchAuditLogEntry.timestamp:type_name -> google.protobuf.Timestamp |
| 1009 | 4, // 9: KillSwitchAuditLogEntry.user:type_name -> KillSwitchAuthorizedUser |
| 1010 | 8, // 10: KillSwitchAuditLogEntry.kill_switch_enabled:type_name -> KillSwitchAuditLogEntry.KillSwitchEnabled |
| 1011 | 9, // 11: KillSwitchAuditLogEntry.kill_switch_disabled:type_name -> KillSwitchAuditLogEntry.KillSwitchDisabled |
| 1012 | 10, // 12: KillSwitchAuditLogEntry.authorized_user_added:type_name -> KillSwitchAuditLogEntry.AuthorizedUserAdded |
| 1013 | 11, // 13: KillSwitchAuditLogEntry.authorized_user_updated:type_name -> KillSwitchAuditLogEntry.AuthorizedUserUpdated |
| 1014 | 12, // 14: KillSwitchAuditLogEntry.authorized_user_deleted:type_name -> KillSwitchAuditLogEntry.AuthorizedUserDeleted |
| 1015 | 3, // 15: KillSwitchAuditLogEntry.KillSwitchEnabled.kill_switch:type_name -> KillSwitch |
| 1016 | 5, // 16: KillSwitchAuditLogEntry.KillSwitchDisabled.transformation:type_name -> KillSwitchTransformation |
| 1017 | 4, // 17: KillSwitchAuditLogEntry.AuthorizedUserAdded.user:type_name -> KillSwitchAuthorizedUser |
| 1018 | 6, // 18: KillSwitchAuditLogEntry.AuthorizedUserUpdated.transformation:type_name -> AuthorizedUserTransformation |
| 1019 | 4, // 19: KillSwitchAuditLogEntry.AuthorizedUserDeleted.old_user:type_name -> KillSwitchAuthorizedUser |
| 1020 | 20, // [20:20] is the sub-list for method output_type |
| 1021 | 20, // [20:20] is the sub-list for method input_type |
| 1022 | 20, // [20:20] is the sub-list for extension type_name |
| 1023 | 20, // [20:20] is the sub-list for extension extendee |
| 1024 | 0, // [0:20] is the sub-list for field type_name |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1025 | } |
| 1026 | |
| 1027 | func init() { file_api_proto_kill_switch_objects_proto_init() } |
| 1028 | func file_api_proto_kill_switch_objects_proto_init() { |
| 1029 | if File_api_proto_kill_switch_objects_proto != nil { |
| 1030 | return |
| 1031 | } |
| 1032 | file_api_proto_common_proto_init() |
| 1033 | if !protoimpl.UnsafeEnabled { |
| 1034 | file_api_proto_kill_switch_objects_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 1035 | switch v := v.(*Feature); i { |
| 1036 | case 0: |
| 1037 | return &v.state |
| 1038 | case 1: |
| 1039 | return &v.sizeCache |
| 1040 | case 2: |
| 1041 | return &v.unknownFields |
| 1042 | default: |
| 1043 | return nil |
| 1044 | } |
| 1045 | } |
| 1046 | file_api_proto_kill_switch_objects_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
| 1047 | switch v := v.(*KillSwitch); i { |
| 1048 | case 0: |
| 1049 | return &v.state |
| 1050 | case 1: |
| 1051 | return &v.sizeCache |
| 1052 | case 2: |
| 1053 | return &v.unknownFields |
| 1054 | default: |
| 1055 | return nil |
| 1056 | } |
| 1057 | } |
| 1058 | file_api_proto_kill_switch_objects_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
| 1059 | switch v := v.(*KillSwitchAuthorizedUser); i { |
| 1060 | case 0: |
| 1061 | return &v.state |
| 1062 | case 1: |
| 1063 | return &v.sizeCache |
| 1064 | case 2: |
| 1065 | return &v.unknownFields |
| 1066 | default: |
| 1067 | return nil |
| 1068 | } |
| 1069 | } |
| 1070 | file_api_proto_kill_switch_objects_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
| 1071 | switch v := v.(*KillSwitchTransformation); i { |
| 1072 | case 0: |
| 1073 | return &v.state |
| 1074 | case 1: |
| 1075 | return &v.sizeCache |
| 1076 | case 2: |
| 1077 | return &v.unknownFields |
| 1078 | default: |
| 1079 | return nil |
| 1080 | } |
| 1081 | } |
| 1082 | file_api_proto_kill_switch_objects_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1083 | switch v := v.(*AuthorizedUserTransformation); i { |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1084 | case 0: |
| 1085 | return &v.state |
| 1086 | case 1: |
| 1087 | return &v.sizeCache |
| 1088 | case 2: |
| 1089 | return &v.unknownFields |
| 1090 | default: |
| 1091 | return nil |
| 1092 | } |
| 1093 | } |
| 1094 | file_api_proto_kill_switch_objects_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1095 | switch v := v.(*KillSwitchAuditLogEntry); i { |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1096 | case 0: |
| 1097 | return &v.state |
| 1098 | case 1: |
| 1099 | return &v.sizeCache |
| 1100 | case 2: |
| 1101 | return &v.unknownFields |
| 1102 | default: |
| 1103 | return nil |
| 1104 | } |
| 1105 | } |
| 1106 | file_api_proto_kill_switch_objects_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1107 | switch v := v.(*KillSwitchAuditLogEntry_KillSwitchEnabled); i { |
| 1108 | case 0: |
| 1109 | return &v.state |
| 1110 | case 1: |
| 1111 | return &v.sizeCache |
| 1112 | case 2: |
| 1113 | return &v.unknownFields |
| 1114 | default: |
| 1115 | return nil |
| 1116 | } |
| 1117 | } |
| 1118 | file_api_proto_kill_switch_objects_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1119 | switch v := v.(*KillSwitchAuditLogEntry_KillSwitchDisabled); i { |
| 1120 | case 0: |
| 1121 | return &v.state |
| 1122 | case 1: |
| 1123 | return &v.sizeCache |
| 1124 | case 2: |
| 1125 | return &v.unknownFields |
| 1126 | default: |
| 1127 | return nil |
| 1128 | } |
| 1129 | } |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1130 | file_api_proto_kill_switch_objects_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { |
| 1131 | switch v := v.(*KillSwitchAuditLogEntry_AuthorizedUserAdded); i { |
| 1132 | case 0: |
| 1133 | return &v.state |
| 1134 | case 1: |
| 1135 | return &v.sizeCache |
| 1136 | case 2: |
| 1137 | return &v.unknownFields |
| 1138 | default: |
| 1139 | return nil |
| 1140 | } |
| 1141 | } |
| 1142 | file_api_proto_kill_switch_objects_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { |
| 1143 | switch v := v.(*KillSwitchAuditLogEntry_AuthorizedUserUpdated); i { |
| 1144 | case 0: |
| 1145 | return &v.state |
| 1146 | case 1: |
| 1147 | return &v.sizeCache |
| 1148 | case 2: |
| 1149 | return &v.unknownFields |
| 1150 | default: |
| 1151 | return nil |
| 1152 | } |
| 1153 | } |
| 1154 | file_api_proto_kill_switch_objects_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { |
| 1155 | switch v := v.(*KillSwitchAuditLogEntry_AuthorizedUserDeleted); i { |
| 1156 | case 0: |
| 1157 | return &v.state |
| 1158 | case 1: |
| 1159 | return &v.sizeCache |
| 1160 | case 2: |
| 1161 | return &v.unknownFields |
| 1162 | default: |
| 1163 | return nil |
| 1164 | } |
| 1165 | } |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1166 | } |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1167 | file_api_proto_kill_switch_objects_proto_msgTypes[5].OneofWrappers = []interface{}{ |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1168 | (*KillSwitchAuditLogEntry_KillSwitchEnabled_)(nil), |
| 1169 | (*KillSwitchAuditLogEntry_KillSwitchDisabled_)(nil), |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1170 | (*KillSwitchAuditLogEntry_AuthorizedUserAdded_)(nil), |
| 1171 | (*KillSwitchAuditLogEntry_AuthorizedUserUpdated_)(nil), |
| 1172 | (*KillSwitchAuditLogEntry_AuthorizedUserDeleted_)(nil), |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1173 | } |
| 1174 | type x struct{} |
| 1175 | out := protoimpl.TypeBuilder{ |
| 1176 | File: protoimpl.DescBuilder{ |
| 1177 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 1178 | RawDescriptor: file_api_proto_kill_switch_objects_proto_rawDesc, |
| 1179 | NumEnums: 2, |
Adrià Vilanova Martínez | 25e1211 | 2021-08-25 13:48:06 +0200 | [diff] [blame] | 1180 | NumMessages: 11, |
avm99963 | 83f8f29 | 2021-08-24 18:26:52 +0200 | [diff] [blame] | 1181 | NumExtensions: 0, |
| 1182 | NumServices: 0, |
| 1183 | }, |
| 1184 | GoTypes: file_api_proto_kill_switch_objects_proto_goTypes, |
| 1185 | DependencyIndexes: file_api_proto_kill_switch_objects_proto_depIdxs, |
| 1186 | EnumInfos: file_api_proto_kill_switch_objects_proto_enumTypes, |
| 1187 | MessageInfos: file_api_proto_kill_switch_objects_proto_msgTypes, |
| 1188 | }.Build() |
| 1189 | File_api_proto_kill_switch_objects_proto = out.File |
| 1190 | file_api_proto_kill_switch_objects_proto_rawDesc = nil |
| 1191 | file_api_proto_kill_switch_objects_proto_goTypes = nil |
| 1192 | file_api_proto_kill_switch_objects_proto_depIdxs = nil |
| 1193 | } |