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