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