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