github.com/cloudwan/edgelq-sdk@v1.15.4/iam/resources/v1alpha2/service_account_key/service_account_key_change.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/iam/proto/v1alpha2/service_account_key_change.proto 3 // DO NOT EDIT!!! 4 5 package service_account_key 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 service_account "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/service_account" 21 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &service_account.ServiceAccount{} 39 _ = &fieldmaskpb.FieldMask{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // ServiceAccountKeyChange is used by Watch notifications Responses to describe 50 // change of single ServiceAccountKey One of Added, Modified, Removed 51 type ServiceAccountKeyChange struct { 52 state protoimpl.MessageState 53 sizeCache protoimpl.SizeCache 54 unknownFields protoimpl.UnknownFields 55 // ServiceAccountKey change 56 // 57 // Types that are valid to be assigned to ChangeType: 58 // *ServiceAccountKeyChange_Added_ 59 // *ServiceAccountKeyChange_Modified_ 60 // *ServiceAccountKeyChange_Current_ 61 // *ServiceAccountKeyChange_Removed_ 62 ChangeType isServiceAccountKeyChange_ChangeType `protobuf_oneof:"change_type"` 63 } 64 65 func (m *ServiceAccountKeyChange) Reset() { 66 *m = ServiceAccountKeyChange{} 67 if protoimpl.UnsafeEnabled { 68 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[0] 69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 70 ms.StoreMessageInfo(mi) 71 } 72 } 73 74 func (m *ServiceAccountKeyChange) String() string { 75 return protoimpl.X.MessageStringOf(m) 76 } 77 78 func (*ServiceAccountKeyChange) ProtoMessage() {} 79 80 func (m *ServiceAccountKeyChange) ProtoReflect() preflect.Message { 81 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[0] 82 if protoimpl.UnsafeEnabled && m != nil { 83 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 84 if ms.LoadMessageInfo() == nil { 85 ms.StoreMessageInfo(mi) 86 } 87 return ms 88 } 89 return mi.MessageOf(m) 90 } 91 92 func (*ServiceAccountKeyChange) GotenMessage() {} 93 94 // Deprecated, Use ServiceAccountKeyChange.ProtoReflect.Descriptor instead. 95 func (*ServiceAccountKeyChange) Descriptor() ([]byte, []int) { 96 return edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescGZIP(), []int{0} 97 } 98 99 func (m *ServiceAccountKeyChange) Unmarshal(b []byte) error { 100 return proto.Unmarshal(b, m) 101 } 102 103 func (m *ServiceAccountKeyChange) Marshal() ([]byte, error) { 104 return proto.Marshal(m) 105 } 106 107 func (m *ServiceAccountKeyChange) MarshalJSON() ([]byte, error) { 108 return protojson.MarshalOptions{}.Marshal(m) 109 } 110 111 func (m *ServiceAccountKeyChange) UnmarshalJSON(data []byte) error { 112 return protojson.Unmarshal(data, m) 113 } 114 115 type isServiceAccountKeyChange_ChangeType interface { 116 isServiceAccountKeyChange_ChangeType() 117 } 118 119 type ServiceAccountKeyChange_Added_ struct { 120 // Added is returned when watched document is added, either created or 121 // enters Query view 122 Added *ServiceAccountKeyChange_Added `protobuf:"bytes,1,opt,name=added,proto3,oneof"` 123 } 124 type ServiceAccountKeyChange_Modified_ struct { 125 // Modified is returned when watched document is modified 126 Modified *ServiceAccountKeyChange_Modified `protobuf:"bytes,2,opt,name=modified,proto3,oneof"` 127 } 128 type ServiceAccountKeyChange_Current_ struct { 129 // Current is returned in stateless watch when document enters query view or 130 // is modified within. 131 Current *ServiceAccountKeyChange_Current `protobuf:"bytes,4,opt,name=current,proto3,oneof"` 132 } 133 type ServiceAccountKeyChange_Removed_ struct { 134 // Removed is returned when ServiceAccountKey is deleted or leaves Query 135 // view 136 Removed *ServiceAccountKeyChange_Removed `protobuf:"bytes,3,opt,name=removed,proto3,oneof"` 137 } 138 139 func (*ServiceAccountKeyChange_Added_) isServiceAccountKeyChange_ChangeType() {} 140 func (*ServiceAccountKeyChange_Modified_) isServiceAccountKeyChange_ChangeType() {} 141 func (*ServiceAccountKeyChange_Current_) isServiceAccountKeyChange_ChangeType() {} 142 func (*ServiceAccountKeyChange_Removed_) isServiceAccountKeyChange_ChangeType() {} 143 func (m *ServiceAccountKeyChange) GetChangeType() isServiceAccountKeyChange_ChangeType { 144 if m != nil { 145 return m.ChangeType 146 } 147 return nil 148 } 149 func (m *ServiceAccountKeyChange) GetAdded() *ServiceAccountKeyChange_Added { 150 if x, ok := m.GetChangeType().(*ServiceAccountKeyChange_Added_); ok { 151 return x.Added 152 } 153 return nil 154 } 155 func (m *ServiceAccountKeyChange) GetModified() *ServiceAccountKeyChange_Modified { 156 if x, ok := m.GetChangeType().(*ServiceAccountKeyChange_Modified_); ok { 157 return x.Modified 158 } 159 return nil 160 } 161 func (m *ServiceAccountKeyChange) GetCurrent() *ServiceAccountKeyChange_Current { 162 if x, ok := m.GetChangeType().(*ServiceAccountKeyChange_Current_); ok { 163 return x.Current 164 } 165 return nil 166 } 167 func (m *ServiceAccountKeyChange) GetRemoved() *ServiceAccountKeyChange_Removed { 168 if x, ok := m.GetChangeType().(*ServiceAccountKeyChange_Removed_); ok { 169 return x.Removed 170 } 171 return nil 172 } 173 func (m *ServiceAccountKeyChange) SetChangeType(ofv isServiceAccountKeyChange_ChangeType) { 174 if m == nil { 175 panic(fmt.Errorf("can't set %s on nil %s", "isServiceAccountKeyChange_ChangeType", "ServiceAccountKeyChange")) 176 } 177 m.ChangeType = ofv 178 } 179 func (m *ServiceAccountKeyChange) SetAdded(fv *ServiceAccountKeyChange_Added) { 180 m.SetChangeType(&ServiceAccountKeyChange_Added_{Added: fv}) 181 } 182 func (m *ServiceAccountKeyChange) SetModified(fv *ServiceAccountKeyChange_Modified) { 183 m.SetChangeType(&ServiceAccountKeyChange_Modified_{Modified: fv}) 184 } 185 func (m *ServiceAccountKeyChange) SetCurrent(fv *ServiceAccountKeyChange_Current) { 186 m.SetChangeType(&ServiceAccountKeyChange_Current_{Current: fv}) 187 } 188 func (m *ServiceAccountKeyChange) SetRemoved(fv *ServiceAccountKeyChange_Removed) { 189 m.SetChangeType(&ServiceAccountKeyChange_Removed_{Removed: fv}) 190 } 191 192 // ServiceAccountKey has been added to query view 193 type ServiceAccountKeyChange_Added struct { 194 state protoimpl.MessageState 195 sizeCache protoimpl.SizeCache 196 unknownFields protoimpl.UnknownFields 197 ServiceAccountKey *ServiceAccountKey `protobuf:"bytes,1,opt,name=service_account_key,json=serviceAccountKey,proto3" json:"service_account_key,omitempty"` 198 // Integer describing index of added ServiceAccountKey in resulting query 199 // view. 200 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 201 } 202 203 func (m *ServiceAccountKeyChange_Added) Reset() { 204 *m = ServiceAccountKeyChange_Added{} 205 if protoimpl.UnsafeEnabled { 206 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[1] 207 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 208 ms.StoreMessageInfo(mi) 209 } 210 } 211 212 func (m *ServiceAccountKeyChange_Added) String() string { 213 return protoimpl.X.MessageStringOf(m) 214 } 215 216 func (*ServiceAccountKeyChange_Added) ProtoMessage() {} 217 218 func (m *ServiceAccountKeyChange_Added) ProtoReflect() preflect.Message { 219 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[1] 220 if protoimpl.UnsafeEnabled && m != nil { 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 222 if ms.LoadMessageInfo() == nil { 223 ms.StoreMessageInfo(mi) 224 } 225 return ms 226 } 227 return mi.MessageOf(m) 228 } 229 230 func (*ServiceAccountKeyChange_Added) GotenMessage() {} 231 232 // Deprecated, Use ServiceAccountKeyChange_Added.ProtoReflect.Descriptor instead. 233 func (*ServiceAccountKeyChange_Added) Descriptor() ([]byte, []int) { 234 return edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescGZIP(), []int{0, 0} 235 } 236 237 func (m *ServiceAccountKeyChange_Added) Unmarshal(b []byte) error { 238 return proto.Unmarshal(b, m) 239 } 240 241 func (m *ServiceAccountKeyChange_Added) Marshal() ([]byte, error) { 242 return proto.Marshal(m) 243 } 244 245 func (m *ServiceAccountKeyChange_Added) MarshalJSON() ([]byte, error) { 246 return protojson.MarshalOptions{}.Marshal(m) 247 } 248 249 func (m *ServiceAccountKeyChange_Added) UnmarshalJSON(data []byte) error { 250 return protojson.Unmarshal(data, m) 251 } 252 253 func (m *ServiceAccountKeyChange_Added) GetServiceAccountKey() *ServiceAccountKey { 254 if m != nil { 255 return m.ServiceAccountKey 256 } 257 return nil 258 } 259 260 func (m *ServiceAccountKeyChange_Added) GetViewIndex() int32 { 261 if m != nil { 262 return m.ViewIndex 263 } 264 return int32(0) 265 } 266 267 func (m *ServiceAccountKeyChange_Added) SetServiceAccountKey(fv *ServiceAccountKey) { 268 if m == nil { 269 panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccountKey", "ServiceAccountKeyChange_Added")) 270 } 271 m.ServiceAccountKey = fv 272 } 273 274 func (m *ServiceAccountKeyChange_Added) SetViewIndex(fv int32) { 275 if m == nil { 276 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "ServiceAccountKeyChange_Added")) 277 } 278 m.ViewIndex = fv 279 } 280 281 // ServiceAccountKey changed some of it's fields - contains either full 282 // document or masked change 283 type ServiceAccountKeyChange_Modified struct { 284 state protoimpl.MessageState 285 sizeCache protoimpl.SizeCache 286 unknownFields protoimpl.UnknownFields 287 // Name of modified ServiceAccountKey 288 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 289 // New version of ServiceAccountKey or masked difference, depending on 290 // mask_changes instrumentation of issued [WatchServiceAccountKeyRequest] or 291 // [WatchServiceAccountKeysRequest] 292 ServiceAccountKey *ServiceAccountKey `protobuf:"bytes,2,opt,name=service_account_key,json=serviceAccountKey,proto3" json:"service_account_key,omitempty"` 293 // Used when mask_changes is set, contains field paths of modified 294 // properties. 295 FieldMask *ServiceAccountKey_FieldMask `protobuf:"bytes,3,opt,customtype=ServiceAccountKey_FieldMask,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"` 296 // Previous view index specifies previous position of modified 297 // ServiceAccountKey. When modification doesn't affect sorted order, value 298 // will remain identical to [view_index]. 299 PreviousViewIndex int32 `protobuf:"varint,4,opt,name=previous_view_index,json=previousViewIndex,proto3" json:"previous_view_index,omitempty"` 300 // Integer specifying ServiceAccountKey new index in resulting query view. 301 ViewIndex int32 `protobuf:"varint,5,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 302 } 303 304 func (m *ServiceAccountKeyChange_Modified) Reset() { 305 *m = ServiceAccountKeyChange_Modified{} 306 if protoimpl.UnsafeEnabled { 307 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[2] 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 309 ms.StoreMessageInfo(mi) 310 } 311 } 312 313 func (m *ServiceAccountKeyChange_Modified) String() string { 314 return protoimpl.X.MessageStringOf(m) 315 } 316 317 func (*ServiceAccountKeyChange_Modified) ProtoMessage() {} 318 319 func (m *ServiceAccountKeyChange_Modified) ProtoReflect() preflect.Message { 320 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[2] 321 if protoimpl.UnsafeEnabled && m != nil { 322 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 323 if ms.LoadMessageInfo() == nil { 324 ms.StoreMessageInfo(mi) 325 } 326 return ms 327 } 328 return mi.MessageOf(m) 329 } 330 331 func (*ServiceAccountKeyChange_Modified) GotenMessage() {} 332 333 // Deprecated, Use ServiceAccountKeyChange_Modified.ProtoReflect.Descriptor instead. 334 func (*ServiceAccountKeyChange_Modified) Descriptor() ([]byte, []int) { 335 return edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescGZIP(), []int{0, 1} 336 } 337 338 func (m *ServiceAccountKeyChange_Modified) Unmarshal(b []byte) error { 339 return proto.Unmarshal(b, m) 340 } 341 342 func (m *ServiceAccountKeyChange_Modified) Marshal() ([]byte, error) { 343 return proto.Marshal(m) 344 } 345 346 func (m *ServiceAccountKeyChange_Modified) MarshalJSON() ([]byte, error) { 347 return protojson.MarshalOptions{}.Marshal(m) 348 } 349 350 func (m *ServiceAccountKeyChange_Modified) UnmarshalJSON(data []byte) error { 351 return protojson.Unmarshal(data, m) 352 } 353 354 func (m *ServiceAccountKeyChange_Modified) GetName() *Name { 355 if m != nil { 356 return m.Name 357 } 358 return nil 359 } 360 361 func (m *ServiceAccountKeyChange_Modified) GetServiceAccountKey() *ServiceAccountKey { 362 if m != nil { 363 return m.ServiceAccountKey 364 } 365 return nil 366 } 367 368 func (m *ServiceAccountKeyChange_Modified) GetFieldMask() *ServiceAccountKey_FieldMask { 369 if m != nil { 370 return m.FieldMask 371 } 372 return nil 373 } 374 375 func (m *ServiceAccountKeyChange_Modified) GetPreviousViewIndex() int32 { 376 if m != nil { 377 return m.PreviousViewIndex 378 } 379 return int32(0) 380 } 381 382 func (m *ServiceAccountKeyChange_Modified) GetViewIndex() int32 { 383 if m != nil { 384 return m.ViewIndex 385 } 386 return int32(0) 387 } 388 389 func (m *ServiceAccountKeyChange_Modified) SetName(fv *Name) { 390 if m == nil { 391 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ServiceAccountKeyChange_Modified")) 392 } 393 m.Name = fv 394 } 395 396 func (m *ServiceAccountKeyChange_Modified) SetServiceAccountKey(fv *ServiceAccountKey) { 397 if m == nil { 398 panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccountKey", "ServiceAccountKeyChange_Modified")) 399 } 400 m.ServiceAccountKey = fv 401 } 402 403 func (m *ServiceAccountKeyChange_Modified) SetFieldMask(fv *ServiceAccountKey_FieldMask) { 404 if m == nil { 405 panic(fmt.Errorf("can't set %s on nil %s", "FieldMask", "ServiceAccountKeyChange_Modified")) 406 } 407 m.FieldMask = fv 408 } 409 410 func (m *ServiceAccountKeyChange_Modified) SetPreviousViewIndex(fv int32) { 411 if m == nil { 412 panic(fmt.Errorf("can't set %s on nil %s", "PreviousViewIndex", "ServiceAccountKeyChange_Modified")) 413 } 414 m.PreviousViewIndex = fv 415 } 416 417 func (m *ServiceAccountKeyChange_Modified) SetViewIndex(fv int32) { 418 if m == nil { 419 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "ServiceAccountKeyChange_Modified")) 420 } 421 m.ViewIndex = fv 422 } 423 424 // ServiceAccountKey has been added or modified in a query view. Version used 425 // for stateless watching 426 type ServiceAccountKeyChange_Current struct { 427 state protoimpl.MessageState 428 sizeCache protoimpl.SizeCache 429 unknownFields protoimpl.UnknownFields 430 ServiceAccountKey *ServiceAccountKey `protobuf:"bytes,1,opt,name=service_account_key,json=serviceAccountKey,proto3" json:"service_account_key,omitempty"` 431 } 432 433 func (m *ServiceAccountKeyChange_Current) Reset() { 434 *m = ServiceAccountKeyChange_Current{} 435 if protoimpl.UnsafeEnabled { 436 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[3] 437 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 438 ms.StoreMessageInfo(mi) 439 } 440 } 441 442 func (m *ServiceAccountKeyChange_Current) String() string { 443 return protoimpl.X.MessageStringOf(m) 444 } 445 446 func (*ServiceAccountKeyChange_Current) ProtoMessage() {} 447 448 func (m *ServiceAccountKeyChange_Current) ProtoReflect() preflect.Message { 449 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[3] 450 if protoimpl.UnsafeEnabled && m != nil { 451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 452 if ms.LoadMessageInfo() == nil { 453 ms.StoreMessageInfo(mi) 454 } 455 return ms 456 } 457 return mi.MessageOf(m) 458 } 459 460 func (*ServiceAccountKeyChange_Current) GotenMessage() {} 461 462 // Deprecated, Use ServiceAccountKeyChange_Current.ProtoReflect.Descriptor instead. 463 func (*ServiceAccountKeyChange_Current) Descriptor() ([]byte, []int) { 464 return edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescGZIP(), []int{0, 2} 465 } 466 467 func (m *ServiceAccountKeyChange_Current) Unmarshal(b []byte) error { 468 return proto.Unmarshal(b, m) 469 } 470 471 func (m *ServiceAccountKeyChange_Current) Marshal() ([]byte, error) { 472 return proto.Marshal(m) 473 } 474 475 func (m *ServiceAccountKeyChange_Current) MarshalJSON() ([]byte, error) { 476 return protojson.MarshalOptions{}.Marshal(m) 477 } 478 479 func (m *ServiceAccountKeyChange_Current) UnmarshalJSON(data []byte) error { 480 return protojson.Unmarshal(data, m) 481 } 482 483 func (m *ServiceAccountKeyChange_Current) GetServiceAccountKey() *ServiceAccountKey { 484 if m != nil { 485 return m.ServiceAccountKey 486 } 487 return nil 488 } 489 490 func (m *ServiceAccountKeyChange_Current) SetServiceAccountKey(fv *ServiceAccountKey) { 491 if m == nil { 492 panic(fmt.Errorf("can't set %s on nil %s", "ServiceAccountKey", "ServiceAccountKeyChange_Current")) 493 } 494 m.ServiceAccountKey = fv 495 } 496 497 // Removed is returned when ServiceAccountKey is deleted or leaves Query view 498 type ServiceAccountKeyChange_Removed struct { 499 state protoimpl.MessageState 500 sizeCache protoimpl.SizeCache 501 unknownFields protoimpl.UnknownFields 502 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 503 // Integer specifying removed ServiceAccountKey index. Not populated in 504 // stateless watch type. 505 ViewIndex int32 `protobuf:"varint,2,opt,name=view_index,json=viewIndex,proto3" json:"view_index,omitempty"` 506 } 507 508 func (m *ServiceAccountKeyChange_Removed) Reset() { 509 *m = ServiceAccountKeyChange_Removed{} 510 if protoimpl.UnsafeEnabled { 511 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[4] 512 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 513 ms.StoreMessageInfo(mi) 514 } 515 } 516 517 func (m *ServiceAccountKeyChange_Removed) String() string { 518 return protoimpl.X.MessageStringOf(m) 519 } 520 521 func (*ServiceAccountKeyChange_Removed) ProtoMessage() {} 522 523 func (m *ServiceAccountKeyChange_Removed) ProtoReflect() preflect.Message { 524 mi := &edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[4] 525 if protoimpl.UnsafeEnabled && m != nil { 526 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 527 if ms.LoadMessageInfo() == nil { 528 ms.StoreMessageInfo(mi) 529 } 530 return ms 531 } 532 return mi.MessageOf(m) 533 } 534 535 func (*ServiceAccountKeyChange_Removed) GotenMessage() {} 536 537 // Deprecated, Use ServiceAccountKeyChange_Removed.ProtoReflect.Descriptor instead. 538 func (*ServiceAccountKeyChange_Removed) Descriptor() ([]byte, []int) { 539 return edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescGZIP(), []int{0, 3} 540 } 541 542 func (m *ServiceAccountKeyChange_Removed) Unmarshal(b []byte) error { 543 return proto.Unmarshal(b, m) 544 } 545 546 func (m *ServiceAccountKeyChange_Removed) Marshal() ([]byte, error) { 547 return proto.Marshal(m) 548 } 549 550 func (m *ServiceAccountKeyChange_Removed) MarshalJSON() ([]byte, error) { 551 return protojson.MarshalOptions{}.Marshal(m) 552 } 553 554 func (m *ServiceAccountKeyChange_Removed) UnmarshalJSON(data []byte) error { 555 return protojson.Unmarshal(data, m) 556 } 557 558 func (m *ServiceAccountKeyChange_Removed) GetName() *Name { 559 if m != nil { 560 return m.Name 561 } 562 return nil 563 } 564 565 func (m *ServiceAccountKeyChange_Removed) GetViewIndex() int32 { 566 if m != nil { 567 return m.ViewIndex 568 } 569 return int32(0) 570 } 571 572 func (m *ServiceAccountKeyChange_Removed) SetName(fv *Name) { 573 if m == nil { 574 panic(fmt.Errorf("can't set %s on nil %s", "Name", "ServiceAccountKeyChange_Removed")) 575 } 576 m.Name = fv 577 } 578 579 func (m *ServiceAccountKeyChange_Removed) SetViewIndex(fv int32) { 580 if m == nil { 581 panic(fmt.Errorf("can't set %s on nil %s", "ViewIndex", "ServiceAccountKeyChange_Removed")) 582 } 583 m.ViewIndex = fv 584 } 585 586 var edgelq_iam_proto_v1alpha2_service_account_key_change_proto preflect.FileDescriptor 587 588 var edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDesc = []byte{ 589 0x0a, 0x3a, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 590 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 591 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 592 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x6e, 0x74, 593 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x1a, 0x19, 594 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 595 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 596 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 597 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 598 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 599 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 600 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 601 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x65, 0x64, 602 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 603 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 604 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 605 0x6f, 0x22, 0xe6, 0x07, 0x0a, 0x17, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 606 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x47, 0x0a, 607 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x6e, 608 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 609 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 610 0x79, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x65, 0x64, 0x48, 0x00, 0x52, 611 0x05, 0x61, 0x64, 0x64, 0x65, 0x64, 0x12, 0x50, 0x0a, 0x08, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 612 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 613 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x72, 0x76, 614 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x43, 0x68, 0x61, 615 0x6e, 0x67, 0x65, 0x2e, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x48, 0x00, 0x52, 0x08, 616 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 0x12, 0x4d, 0x0a, 0x07, 0x63, 0x75, 0x72, 0x72, 617 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 618 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x72, 619 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x43, 0x68, 620 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x43, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x48, 0x00, 0x52, 0x07, 621 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4d, 0x0a, 0x07, 0x72, 0x65, 0x6d, 0x6f, 0x76, 622 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 623 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x72, 0x76, 624 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x43, 0x68, 0x61, 625 0x6e, 0x67, 0x65, 0x2e, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x48, 0x00, 0x52, 0x07, 0x72, 626 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x1a, 0x7b, 0x0a, 0x05, 0x41, 0x64, 0x64, 0x65, 0x64, 0x12, 627 0x53, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 628 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 629 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 630 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 631 0x79, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 632 0x74, 0x4b, 0x65, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 633 0x65, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 634 0x64, 0x65, 0x78, 0x1a, 0xb3, 0x02, 0x0a, 0x08, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x64, 635 0x12, 0x2d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x19, 636 0xb2, 0xda, 0x21, 0x15, 0x0a, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 637 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 638 0x53, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 639 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x6e, 640 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2e, 641 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 642 0x79, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 643 0x74, 0x4b, 0x65, 0x79, 0x12, 0x54, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 644 0x73, 0x6b, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 645 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 646 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x19, 0xb2, 0xda, 0x21, 0x15, 0x32, 0x13, 0x0a, 0x11, 0x53, 0x65, 647 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 648 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x2e, 0x0a, 0x13, 0x70, 0x72, 649 0x65, 0x76, 0x69, 0x6f, 0x75, 0x73, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 650 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x11, 0x70, 0x72, 0x65, 0x76, 0x69, 0x6f, 0x75, 651 0x73, 0x56, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 652 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 653 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x1a, 0x5e, 0x0a, 0x07, 0x43, 0x75, 0x72, 654 0x72, 0x65, 0x6e, 0x74, 0x12, 0x53, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 655 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 656 0x0b, 0x32, 0x23, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x61, 0x6c, 657 0x70, 0x68, 0x61, 0x32, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 658 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 659 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x1a, 0x57, 0x0a, 0x07, 0x52, 0x65, 0x6d, 660 0x6f, 0x76, 0x65, 0x64, 0x12, 0x2d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 661 0x28, 0x09, 0x42, 0x19, 0xb2, 0xda, 0x21, 0x15, 0x0a, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 662 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x52, 0x04, 0x6e, 663 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x69, 0x65, 0x77, 0x5f, 0x69, 0x6e, 0x64, 0x65, 664 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x76, 0x69, 0x65, 0x77, 0x49, 0x6e, 0x64, 665 0x65, 0x78, 0x3a, 0x17, 0x9a, 0xd9, 0x21, 0x13, 0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 666 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x42, 0x0d, 0x0a, 0x0b, 0x63, 667 0x68, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x98, 0x01, 0xe8, 0xde, 0x21, 668 0x00, 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x70, 669 0x62, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x42, 0x1c, 0x53, 0x65, 0x72, 0x76, 670 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x43, 0x68, 0x61, 671 0x6e, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x59, 0x67, 0x69, 0x74, 0x68, 672 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 673 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 674 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x32, 0x2f, 0x73, 0x65, 675 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 676 0x79, 0x3b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 677 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 678 } 679 680 var ( 681 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescOnce sync.Once 682 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescData = edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDesc 683 ) 684 685 func edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescGZIP() []byte { 686 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescOnce.Do(func() { 687 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescData) 688 }) 689 return edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDescData 690 } 691 692 var edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 693 var edgelq_iam_proto_v1alpha2_service_account_key_change_proto_goTypes = []interface{}{ 694 (*ServiceAccountKeyChange)(nil), // 0: ntt.iam.v1alpha2.ServiceAccountKeyChange 695 (*ServiceAccountKeyChange_Added)(nil), // 1: ntt.iam.v1alpha2.ServiceAccountKeyChange.Added 696 (*ServiceAccountKeyChange_Modified)(nil), // 2: ntt.iam.v1alpha2.ServiceAccountKeyChange.Modified 697 (*ServiceAccountKeyChange_Current)(nil), // 3: ntt.iam.v1alpha2.ServiceAccountKeyChange.Current 698 (*ServiceAccountKeyChange_Removed)(nil), // 4: ntt.iam.v1alpha2.ServiceAccountKeyChange.Removed 699 (*ServiceAccountKey)(nil), // 5: ntt.iam.v1alpha2.ServiceAccountKey 700 (*ServiceAccountKey_FieldMask)(nil), // 6: ntt.iam.v1alpha2.ServiceAccountKey_FieldMask 701 } 702 var edgelq_iam_proto_v1alpha2_service_account_key_change_proto_depIdxs = []int32{ 703 1, // 0: ntt.iam.v1alpha2.ServiceAccountKeyChange.added:type_name -> ntt.iam.v1alpha2.ServiceAccountKeyChange.Added 704 2, // 1: ntt.iam.v1alpha2.ServiceAccountKeyChange.modified:type_name -> ntt.iam.v1alpha2.ServiceAccountKeyChange.Modified 705 3, // 2: ntt.iam.v1alpha2.ServiceAccountKeyChange.current:type_name -> ntt.iam.v1alpha2.ServiceAccountKeyChange.Current 706 4, // 3: ntt.iam.v1alpha2.ServiceAccountKeyChange.removed:type_name -> ntt.iam.v1alpha2.ServiceAccountKeyChange.Removed 707 5, // 4: ntt.iam.v1alpha2.ServiceAccountKeyChange.Added.service_account_key:type_name -> ntt.iam.v1alpha2.ServiceAccountKey 708 5, // 5: ntt.iam.v1alpha2.ServiceAccountKeyChange.Modified.service_account_key:type_name -> ntt.iam.v1alpha2.ServiceAccountKey 709 6, // 6: ntt.iam.v1alpha2.ServiceAccountKeyChange.Modified.field_mask:type_name -> ntt.iam.v1alpha2.ServiceAccountKey_FieldMask 710 5, // 7: ntt.iam.v1alpha2.ServiceAccountKeyChange.Current.service_account_key:type_name -> ntt.iam.v1alpha2.ServiceAccountKey 711 8, // [8:8] is the sub-list for method output_type 712 8, // [8:8] is the sub-list for method input_type 713 8, // [8:8] is the sub-list for extension type_name 714 8, // [8:8] is the sub-list for extension extendee 715 0, // [0:8] is the sub-list for field type_name 716 } 717 718 func init() { edgelq_iam_proto_v1alpha2_service_account_key_change_proto_init() } 719 func edgelq_iam_proto_v1alpha2_service_account_key_change_proto_init() { 720 if edgelq_iam_proto_v1alpha2_service_account_key_change_proto != nil { 721 return 722 } 723 if !protoimpl.UnsafeEnabled { 724 725 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 726 switch v := v.(*ServiceAccountKeyChange); i { 727 case 0: 728 return &v.state 729 case 1: 730 return &v.sizeCache 731 case 2: 732 return &v.unknownFields 733 default: 734 return nil 735 } 736 } 737 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 738 switch v := v.(*ServiceAccountKeyChange_Added); i { 739 case 0: 740 return &v.state 741 case 1: 742 return &v.sizeCache 743 case 2: 744 return &v.unknownFields 745 default: 746 return nil 747 } 748 } 749 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 750 switch v := v.(*ServiceAccountKeyChange_Modified); i { 751 case 0: 752 return &v.state 753 case 1: 754 return &v.sizeCache 755 case 2: 756 return &v.unknownFields 757 default: 758 return nil 759 } 760 } 761 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 762 switch v := v.(*ServiceAccountKeyChange_Current); i { 763 case 0: 764 return &v.state 765 case 1: 766 return &v.sizeCache 767 case 2: 768 return &v.unknownFields 769 default: 770 return nil 771 } 772 } 773 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 774 switch v := v.(*ServiceAccountKeyChange_Removed); i { 775 case 0: 776 return &v.state 777 case 1: 778 return &v.sizeCache 779 case 2: 780 return &v.unknownFields 781 default: 782 return nil 783 } 784 } 785 } 786 787 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes[0].OneofWrappers = []interface{}{ 788 (*ServiceAccountKeyChange_Added_)(nil), 789 (*ServiceAccountKeyChange_Modified_)(nil), 790 (*ServiceAccountKeyChange_Current_)(nil), 791 (*ServiceAccountKeyChange_Removed_)(nil), 792 } 793 type x struct{} 794 out := protoimpl.TypeBuilder{ 795 File: protoimpl.DescBuilder{ 796 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 797 RawDescriptor: edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDesc, 798 NumEnums: 0, 799 NumMessages: 5, 800 NumExtensions: 0, 801 NumServices: 0, 802 }, 803 GoTypes: edgelq_iam_proto_v1alpha2_service_account_key_change_proto_goTypes, 804 DependencyIndexes: edgelq_iam_proto_v1alpha2_service_account_key_change_proto_depIdxs, 805 MessageInfos: edgelq_iam_proto_v1alpha2_service_account_key_change_proto_msgTypes, 806 }.Build() 807 edgelq_iam_proto_v1alpha2_service_account_key_change_proto = out.File 808 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_rawDesc = nil 809 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_goTypes = nil 810 edgelq_iam_proto_v1alpha2_service_account_key_change_proto_depIdxs = nil 811 }