github.com/cloudwan/edgelq-sdk@v1.15.4/monitoring/resources/v3/notification_channel/notification_channel.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/monitoring/proto/v3/notification_channel.proto 3 // DO NOT EDIT!!! 4 5 package notification_channel 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 meta "github.com/cloudwan/goten-sdk/types/meta" 22 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 23 ) 24 25 // Reference imports to suppress errors if they are not otherwise used. 26 var ( 27 _ = fmt.Errorf 28 _ = reflect.Method{} 29 _ = sync.Once{} 30 31 _ = protojson.MarshalOptions{} 32 _ = proto.MarshalOptions{} 33 _ = preflect.Value{} 34 _ = protoimpl.DescBuilder{} 35 ) 36 37 // make sure we're using proto imports 38 var ( 39 _ = &project.Project{} 40 _ = ×tamppb.Timestamp{} 41 _ = &meta.Meta{} 42 ) 43 44 const ( 45 // Verify that this generated code is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 47 // Verify that runtime/protoimpl is sufficiently up-to-date. 48 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 49 ) 50 51 // Type of NotificationChannel 52 type NotificationChannel_Spec_Type int32 53 54 const ( 55 // Type is unknown 56 NotificationChannel_Spec_TYPE_UNSPECIFIED NotificationChannel_Spec_Type = 0 57 // Email NotificationChannel 58 NotificationChannel_Spec_EMAIL NotificationChannel_Spec_Type = 1 59 // Slack NotificationChannel 60 NotificationChannel_Spec_SLACK NotificationChannel_Spec_Type = 2 61 // Webhook NotificationChannel 62 NotificationChannel_Spec_WEBHOOK NotificationChannel_Spec_Type = 3 63 ) 64 65 var ( 66 NotificationChannel_Spec_Type_name = map[int32]string{ 67 0: "TYPE_UNSPECIFIED", 68 1: "EMAIL", 69 2: "SLACK", 70 3: "WEBHOOK", 71 } 72 73 NotificationChannel_Spec_Type_value = map[string]int32{ 74 "TYPE_UNSPECIFIED": 0, 75 "EMAIL": 1, 76 "SLACK": 2, 77 "WEBHOOK": 3, 78 } 79 ) 80 81 func (x NotificationChannel_Spec_Type) Enum() *NotificationChannel_Spec_Type { 82 p := new(NotificationChannel_Spec_Type) 83 *p = x 84 return p 85 } 86 87 func (x NotificationChannel_Spec_Type) String() string { 88 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 89 } 90 91 func (NotificationChannel_Spec_Type) Descriptor() preflect.EnumDescriptor { 92 return edgelq_monitoring_proto_v3_notification_channel_proto_enumTypes[0].Descriptor() 93 } 94 95 func (NotificationChannel_Spec_Type) Type() preflect.EnumType { 96 return &edgelq_monitoring_proto_v3_notification_channel_proto_enumTypes[0] 97 } 98 99 func (x NotificationChannel_Spec_Type) Number() preflect.EnumNumber { 100 return preflect.EnumNumber(x) 101 } 102 103 // Deprecated, Use NotificationChannel_Spec_Type.ProtoReflect.Descriptor instead. 104 func (NotificationChannel_Spec_Type) EnumDescriptor() ([]byte, []int) { 105 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 0, 0} 106 } 107 108 // State of NotificationChannel 109 type NotificationChannel_State_Status int32 110 111 const ( 112 // State is unknown 113 NotificationChannel_State_STATE_UNSPECIFIED NotificationChannel_State_Status = 0 114 // NotificationChannel is active 115 NotificationChannel_State_ACTIVE NotificationChannel_State_Status = 1 116 // NotificationChannel is disabled 117 NotificationChannel_State_DISABLED NotificationChannel_State_Status = 2 118 // Error of NotificationChannel 119 NotificationChannel_State_ERROR NotificationChannel_State_Status = 3 120 ) 121 122 var ( 123 NotificationChannel_State_Status_name = map[int32]string{ 124 0: "STATE_UNSPECIFIED", 125 1: "ACTIVE", 126 2: "DISABLED", 127 3: "ERROR", 128 } 129 130 NotificationChannel_State_Status_value = map[string]int32{ 131 "STATE_UNSPECIFIED": 0, 132 "ACTIVE": 1, 133 "DISABLED": 2, 134 "ERROR": 3, 135 } 136 ) 137 138 func (x NotificationChannel_State_Status) Enum() *NotificationChannel_State_Status { 139 p := new(NotificationChannel_State_Status) 140 *p = x 141 return p 142 } 143 144 func (x NotificationChannel_State_Status) String() string { 145 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 146 } 147 148 func (NotificationChannel_State_Status) Descriptor() preflect.EnumDescriptor { 149 return edgelq_monitoring_proto_v3_notification_channel_proto_enumTypes[1].Descriptor() 150 } 151 152 func (NotificationChannel_State_Status) Type() preflect.EnumType { 153 return &edgelq_monitoring_proto_v3_notification_channel_proto_enumTypes[1] 154 } 155 156 func (x NotificationChannel_State_Status) Number() preflect.EnumNumber { 157 return preflect.EnumNumber(x) 158 } 159 160 // Deprecated, Use NotificationChannel_State_Status.ProtoReflect.Descriptor instead. 161 func (NotificationChannel_State_Status) EnumDescriptor() ([]byte, []int) { 162 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 1, 0} 163 } 164 165 // NotificationChannel Resource 166 type NotificationChannel struct { 167 state protoimpl.MessageState 168 sizeCache protoimpl.SizeCache 169 unknownFields protoimpl.UnknownFields 170 // Name of NotificationChannel 171 // When creating a new instance, this field is optional and if not provided, 172 // it will be generated automatically. Last ID segment must conform to the 173 // following regex: [a-z][a-z0-9\-]{0,28}[a-z0-9] 174 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 175 // Metadata of NotificationChannel 176 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 177 // Display Name 178 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 179 // Specification 180 Spec *NotificationChannel_Spec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` 181 // State 182 State *NotificationChannel_State `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` 183 // description 184 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` 185 } 186 187 func (m *NotificationChannel) Reset() { 188 *m = NotificationChannel{} 189 if protoimpl.UnsafeEnabled { 190 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[0] 191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 192 ms.StoreMessageInfo(mi) 193 } 194 } 195 196 func (m *NotificationChannel) String() string { 197 return protoimpl.X.MessageStringOf(m) 198 } 199 200 func (*NotificationChannel) ProtoMessage() {} 201 202 func (m *NotificationChannel) ProtoReflect() preflect.Message { 203 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[0] 204 if protoimpl.UnsafeEnabled && m != nil { 205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 206 if ms.LoadMessageInfo() == nil { 207 ms.StoreMessageInfo(mi) 208 } 209 return ms 210 } 211 return mi.MessageOf(m) 212 } 213 214 func (*NotificationChannel) GotenMessage() {} 215 216 // Deprecated, Use NotificationChannel.ProtoReflect.Descriptor instead. 217 func (*NotificationChannel) Descriptor() ([]byte, []int) { 218 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0} 219 } 220 221 func (m *NotificationChannel) Unmarshal(b []byte) error { 222 return proto.Unmarshal(b, m) 223 } 224 225 func (m *NotificationChannel) Marshal() ([]byte, error) { 226 return proto.Marshal(m) 227 } 228 229 func (m *NotificationChannel) MarshalJSON() ([]byte, error) { 230 return protojson.MarshalOptions{}.Marshal(m) 231 } 232 233 func (m *NotificationChannel) UnmarshalJSON(data []byte) error { 234 return protojson.Unmarshal(data, m) 235 } 236 237 func (m *NotificationChannel) GetName() *Name { 238 if m != nil { 239 return m.Name 240 } 241 return nil 242 } 243 244 func (m *NotificationChannel) GetMetadata() *meta.Meta { 245 if m != nil { 246 return m.Metadata 247 } 248 return nil 249 } 250 251 func (m *NotificationChannel) GetDisplayName() string { 252 if m != nil { 253 return m.DisplayName 254 } 255 return "" 256 } 257 258 func (m *NotificationChannel) GetSpec() *NotificationChannel_Spec { 259 if m != nil { 260 return m.Spec 261 } 262 return nil 263 } 264 265 func (m *NotificationChannel) GetState() *NotificationChannel_State { 266 if m != nil { 267 return m.State 268 } 269 return nil 270 } 271 272 func (m *NotificationChannel) GetDescription() string { 273 if m != nil { 274 return m.Description 275 } 276 return "" 277 } 278 279 func (m *NotificationChannel) SetName(fv *Name) { 280 if m == nil { 281 panic(fmt.Errorf("can't set %s on nil %s", "Name", "NotificationChannel")) 282 } 283 m.Name = fv 284 } 285 286 func (m *NotificationChannel) SetMetadata(fv *meta.Meta) { 287 if m == nil { 288 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "NotificationChannel")) 289 } 290 m.Metadata = fv 291 } 292 293 func (m *NotificationChannel) SetDisplayName(fv string) { 294 if m == nil { 295 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "NotificationChannel")) 296 } 297 m.DisplayName = fv 298 } 299 300 func (m *NotificationChannel) SetSpec(fv *NotificationChannel_Spec) { 301 if m == nil { 302 panic(fmt.Errorf("can't set %s on nil %s", "Spec", "NotificationChannel")) 303 } 304 m.Spec = fv 305 } 306 307 func (m *NotificationChannel) SetState(fv *NotificationChannel_State) { 308 if m == nil { 309 panic(fmt.Errorf("can't set %s on nil %s", "State", "NotificationChannel")) 310 } 311 m.State = fv 312 } 313 314 func (m *NotificationChannel) SetDescription(fv string) { 315 if m == nil { 316 panic(fmt.Errorf("can't set %s on nil %s", "Description", "NotificationChannel")) 317 } 318 m.Description = fv 319 } 320 321 // Spec of NotificationChannel 322 type NotificationChannel_Spec struct { 323 state protoimpl.MessageState 324 sizeCache protoimpl.SizeCache 325 unknownFields protoimpl.UnknownFields 326 // Enabled flag. Whether the NotificationChannel is enabled or not. Disabled 327 // channels will not be used for alerting. 328 Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` 329 // Type. Corresponding spec should a oneof field. 330 Type NotificationChannel_Spec_Type `protobuf:"varint,2,opt,name=type,proto3,enum=ntt.monitoring.v3.NotificationChannel_Spec_Type" json:"type,omitempty"` 331 // Email 332 Email *NotificationChannel_Spec_Email `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` 333 // Slack 334 Slack *NotificationChannel_Spec_Slack `protobuf:"bytes,4,opt,name=slack,proto3" json:"slack,omitempty"` 335 Webhook *NotificationChannel_Spec_Webhook `protobuf:"bytes,5,opt,name=webhook,proto3" json:"webhook,omitempty"` 336 // Default language for invitation is english (eng) 337 // Configuring unsupported language will fallback to english 338 // Currently only sendgrid uses this. 339 NotificationLanguageCode string `protobuf:"bytes,6,opt,name=notification_language_code,json=notificationLanguageCode,proto3" json:"notification_language_code,omitempty"` 340 } 341 342 func (m *NotificationChannel_Spec) Reset() { 343 *m = NotificationChannel_Spec{} 344 if protoimpl.UnsafeEnabled { 345 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[1] 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 347 ms.StoreMessageInfo(mi) 348 } 349 } 350 351 func (m *NotificationChannel_Spec) String() string { 352 return protoimpl.X.MessageStringOf(m) 353 } 354 355 func (*NotificationChannel_Spec) ProtoMessage() {} 356 357 func (m *NotificationChannel_Spec) ProtoReflect() preflect.Message { 358 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[1] 359 if protoimpl.UnsafeEnabled && m != nil { 360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 361 if ms.LoadMessageInfo() == nil { 362 ms.StoreMessageInfo(mi) 363 } 364 return ms 365 } 366 return mi.MessageOf(m) 367 } 368 369 func (*NotificationChannel_Spec) GotenMessage() {} 370 371 // Deprecated, Use NotificationChannel_Spec.ProtoReflect.Descriptor instead. 372 func (*NotificationChannel_Spec) Descriptor() ([]byte, []int) { 373 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 0} 374 } 375 376 func (m *NotificationChannel_Spec) Unmarshal(b []byte) error { 377 return proto.Unmarshal(b, m) 378 } 379 380 func (m *NotificationChannel_Spec) Marshal() ([]byte, error) { 381 return proto.Marshal(m) 382 } 383 384 func (m *NotificationChannel_Spec) MarshalJSON() ([]byte, error) { 385 return protojson.MarshalOptions{}.Marshal(m) 386 } 387 388 func (m *NotificationChannel_Spec) UnmarshalJSON(data []byte) error { 389 return protojson.Unmarshal(data, m) 390 } 391 392 func (m *NotificationChannel_Spec) GetEnabled() bool { 393 if m != nil { 394 return m.Enabled 395 } 396 return false 397 } 398 399 func (m *NotificationChannel_Spec) GetType() NotificationChannel_Spec_Type { 400 if m != nil { 401 return m.Type 402 } 403 return NotificationChannel_Spec_TYPE_UNSPECIFIED 404 } 405 406 func (m *NotificationChannel_Spec) GetEmail() *NotificationChannel_Spec_Email { 407 if m != nil { 408 return m.Email 409 } 410 return nil 411 } 412 413 func (m *NotificationChannel_Spec) GetSlack() *NotificationChannel_Spec_Slack { 414 if m != nil { 415 return m.Slack 416 } 417 return nil 418 } 419 420 func (m *NotificationChannel_Spec) GetWebhook() *NotificationChannel_Spec_Webhook { 421 if m != nil { 422 return m.Webhook 423 } 424 return nil 425 } 426 427 func (m *NotificationChannel_Spec) GetNotificationLanguageCode() string { 428 if m != nil { 429 return m.NotificationLanguageCode 430 } 431 return "" 432 } 433 434 func (m *NotificationChannel_Spec) SetEnabled(fv bool) { 435 if m == nil { 436 panic(fmt.Errorf("can't set %s on nil %s", "Enabled", "NotificationChannel_Spec")) 437 } 438 m.Enabled = fv 439 } 440 441 func (m *NotificationChannel_Spec) SetType(fv NotificationChannel_Spec_Type) { 442 if m == nil { 443 panic(fmt.Errorf("can't set %s on nil %s", "Type", "NotificationChannel_Spec")) 444 } 445 m.Type = fv 446 } 447 448 func (m *NotificationChannel_Spec) SetEmail(fv *NotificationChannel_Spec_Email) { 449 if m == nil { 450 panic(fmt.Errorf("can't set %s on nil %s", "Email", "NotificationChannel_Spec")) 451 } 452 m.Email = fv 453 } 454 455 func (m *NotificationChannel_Spec) SetSlack(fv *NotificationChannel_Spec_Slack) { 456 if m == nil { 457 panic(fmt.Errorf("can't set %s on nil %s", "Slack", "NotificationChannel_Spec")) 458 } 459 m.Slack = fv 460 } 461 462 func (m *NotificationChannel_Spec) SetWebhook(fv *NotificationChannel_Spec_Webhook) { 463 if m == nil { 464 panic(fmt.Errorf("can't set %s on nil %s", "Webhook", "NotificationChannel_Spec")) 465 } 466 m.Webhook = fv 467 } 468 469 func (m *NotificationChannel_Spec) SetNotificationLanguageCode(fv string) { 470 if m == nil { 471 panic(fmt.Errorf("can't set %s on nil %s", "NotificationLanguageCode", "NotificationChannel_Spec")) 472 } 473 m.NotificationLanguageCode = fv 474 } 475 476 // State of NotificationChannel 477 type NotificationChannel_State struct { 478 state protoimpl.MessageState 479 sizeCache protoimpl.SizeCache 480 unknownFields protoimpl.UnknownFields 481 // Status 482 Status NotificationChannel_State_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ntt.monitoring.v3.NotificationChannel_State_Status" json:"status,omitempty"` 483 // Error 484 Error *NotificationChannel_State_Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` 485 } 486 487 func (m *NotificationChannel_State) Reset() { 488 *m = NotificationChannel_State{} 489 if protoimpl.UnsafeEnabled { 490 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[2] 491 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 492 ms.StoreMessageInfo(mi) 493 } 494 } 495 496 func (m *NotificationChannel_State) String() string { 497 return protoimpl.X.MessageStringOf(m) 498 } 499 500 func (*NotificationChannel_State) ProtoMessage() {} 501 502 func (m *NotificationChannel_State) ProtoReflect() preflect.Message { 503 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[2] 504 if protoimpl.UnsafeEnabled && m != nil { 505 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 506 if ms.LoadMessageInfo() == nil { 507 ms.StoreMessageInfo(mi) 508 } 509 return ms 510 } 511 return mi.MessageOf(m) 512 } 513 514 func (*NotificationChannel_State) GotenMessage() {} 515 516 // Deprecated, Use NotificationChannel_State.ProtoReflect.Descriptor instead. 517 func (*NotificationChannel_State) Descriptor() ([]byte, []int) { 518 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 1} 519 } 520 521 func (m *NotificationChannel_State) Unmarshal(b []byte) error { 522 return proto.Unmarshal(b, m) 523 } 524 525 func (m *NotificationChannel_State) Marshal() ([]byte, error) { 526 return proto.Marshal(m) 527 } 528 529 func (m *NotificationChannel_State) MarshalJSON() ([]byte, error) { 530 return protojson.MarshalOptions{}.Marshal(m) 531 } 532 533 func (m *NotificationChannel_State) UnmarshalJSON(data []byte) error { 534 return protojson.Unmarshal(data, m) 535 } 536 537 func (m *NotificationChannel_State) GetStatus() NotificationChannel_State_Status { 538 if m != nil { 539 return m.Status 540 } 541 return NotificationChannel_State_STATE_UNSPECIFIED 542 } 543 544 func (m *NotificationChannel_State) GetError() *NotificationChannel_State_Error { 545 if m != nil { 546 return m.Error 547 } 548 return nil 549 } 550 551 func (m *NotificationChannel_State) SetStatus(fv NotificationChannel_State_Status) { 552 if m == nil { 553 panic(fmt.Errorf("can't set %s on nil %s", "Status", "NotificationChannel_State")) 554 } 555 m.Status = fv 556 } 557 558 func (m *NotificationChannel_State) SetError(fv *NotificationChannel_State_Error) { 559 if m == nil { 560 panic(fmt.Errorf("can't set %s on nil %s", "Error", "NotificationChannel_State")) 561 } 562 m.Error = fv 563 } 564 565 // Email Spec 566 type NotificationChannel_Spec_Email struct { 567 state protoimpl.MessageState 568 sizeCache protoimpl.SizeCache 569 unknownFields protoimpl.UnknownFields 570 // Email Addresses 571 Addresses []string `protobuf:"bytes,1,rep,name=addresses,proto3" json:"addresses,omitempty"` 572 } 573 574 func (m *NotificationChannel_Spec_Email) Reset() { 575 *m = NotificationChannel_Spec_Email{} 576 if protoimpl.UnsafeEnabled { 577 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[3] 578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 579 ms.StoreMessageInfo(mi) 580 } 581 } 582 583 func (m *NotificationChannel_Spec_Email) String() string { 584 return protoimpl.X.MessageStringOf(m) 585 } 586 587 func (*NotificationChannel_Spec_Email) ProtoMessage() {} 588 589 func (m *NotificationChannel_Spec_Email) ProtoReflect() preflect.Message { 590 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[3] 591 if protoimpl.UnsafeEnabled && m != nil { 592 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 593 if ms.LoadMessageInfo() == nil { 594 ms.StoreMessageInfo(mi) 595 } 596 return ms 597 } 598 return mi.MessageOf(m) 599 } 600 601 func (*NotificationChannel_Spec_Email) GotenMessage() {} 602 603 // Deprecated, Use NotificationChannel_Spec_Email.ProtoReflect.Descriptor instead. 604 func (*NotificationChannel_Spec_Email) Descriptor() ([]byte, []int) { 605 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 0, 0} 606 } 607 608 func (m *NotificationChannel_Spec_Email) Unmarshal(b []byte) error { 609 return proto.Unmarshal(b, m) 610 } 611 612 func (m *NotificationChannel_Spec_Email) Marshal() ([]byte, error) { 613 return proto.Marshal(m) 614 } 615 616 func (m *NotificationChannel_Spec_Email) MarshalJSON() ([]byte, error) { 617 return protojson.MarshalOptions{}.Marshal(m) 618 } 619 620 func (m *NotificationChannel_Spec_Email) UnmarshalJSON(data []byte) error { 621 return protojson.Unmarshal(data, m) 622 } 623 624 func (m *NotificationChannel_Spec_Email) GetAddresses() []string { 625 if m != nil { 626 return m.Addresses 627 } 628 return nil 629 } 630 631 func (m *NotificationChannel_Spec_Email) SetAddresses(fv []string) { 632 if m == nil { 633 panic(fmt.Errorf("can't set %s on nil %s", "Addresses", "NotificationChannel_Spec_Email")) 634 } 635 m.Addresses = fv 636 } 637 638 // Slack Spec 639 type NotificationChannel_Spec_Slack struct { 640 state protoimpl.MessageState 641 sizeCache protoimpl.SizeCache 642 unknownFields protoimpl.UnknownFields 643 // Slack Incoming Webhook URL 644 IncomingWebhook string `protobuf:"bytes,1,opt,name=incoming_webhook,json=incomingWebhook,proto3" json:"incoming_webhook,omitempty"` 645 } 646 647 func (m *NotificationChannel_Spec_Slack) Reset() { 648 *m = NotificationChannel_Spec_Slack{} 649 if protoimpl.UnsafeEnabled { 650 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[4] 651 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 652 ms.StoreMessageInfo(mi) 653 } 654 } 655 656 func (m *NotificationChannel_Spec_Slack) String() string { 657 return protoimpl.X.MessageStringOf(m) 658 } 659 660 func (*NotificationChannel_Spec_Slack) ProtoMessage() {} 661 662 func (m *NotificationChannel_Spec_Slack) ProtoReflect() preflect.Message { 663 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[4] 664 if protoimpl.UnsafeEnabled && m != nil { 665 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 666 if ms.LoadMessageInfo() == nil { 667 ms.StoreMessageInfo(mi) 668 } 669 return ms 670 } 671 return mi.MessageOf(m) 672 } 673 674 func (*NotificationChannel_Spec_Slack) GotenMessage() {} 675 676 // Deprecated, Use NotificationChannel_Spec_Slack.ProtoReflect.Descriptor instead. 677 func (*NotificationChannel_Spec_Slack) Descriptor() ([]byte, []int) { 678 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 0, 1} 679 } 680 681 func (m *NotificationChannel_Spec_Slack) Unmarshal(b []byte) error { 682 return proto.Unmarshal(b, m) 683 } 684 685 func (m *NotificationChannel_Spec_Slack) Marshal() ([]byte, error) { 686 return proto.Marshal(m) 687 } 688 689 func (m *NotificationChannel_Spec_Slack) MarshalJSON() ([]byte, error) { 690 return protojson.MarshalOptions{}.Marshal(m) 691 } 692 693 func (m *NotificationChannel_Spec_Slack) UnmarshalJSON(data []byte) error { 694 return protojson.Unmarshal(data, m) 695 } 696 697 func (m *NotificationChannel_Spec_Slack) GetIncomingWebhook() string { 698 if m != nil { 699 return m.IncomingWebhook 700 } 701 return "" 702 } 703 704 func (m *NotificationChannel_Spec_Slack) SetIncomingWebhook(fv string) { 705 if m == nil { 706 panic(fmt.Errorf("can't set %s on nil %s", "IncomingWebhook", "NotificationChannel_Spec_Slack")) 707 } 708 m.IncomingWebhook = fv 709 } 710 711 // PagerDuty Spec 712 type NotificationChannel_Spec_PagerDuty struct { 713 state protoimpl.MessageState 714 sizeCache protoimpl.SizeCache 715 unknownFields protoimpl.UnknownFields 716 // PagerDuty Service Key 717 ServiceKey string `protobuf:"bytes,1,opt,name=service_key,json=serviceKey,proto3" json:"service_key,omitempty"` 718 } 719 720 func (m *NotificationChannel_Spec_PagerDuty) Reset() { 721 *m = NotificationChannel_Spec_PagerDuty{} 722 if protoimpl.UnsafeEnabled { 723 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[5] 724 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 725 ms.StoreMessageInfo(mi) 726 } 727 } 728 729 func (m *NotificationChannel_Spec_PagerDuty) String() string { 730 return protoimpl.X.MessageStringOf(m) 731 } 732 733 func (*NotificationChannel_Spec_PagerDuty) ProtoMessage() {} 734 735 func (m *NotificationChannel_Spec_PagerDuty) ProtoReflect() preflect.Message { 736 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[5] 737 if protoimpl.UnsafeEnabled && m != nil { 738 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 739 if ms.LoadMessageInfo() == nil { 740 ms.StoreMessageInfo(mi) 741 } 742 return ms 743 } 744 return mi.MessageOf(m) 745 } 746 747 func (*NotificationChannel_Spec_PagerDuty) GotenMessage() {} 748 749 // Deprecated, Use NotificationChannel_Spec_PagerDuty.ProtoReflect.Descriptor instead. 750 func (*NotificationChannel_Spec_PagerDuty) Descriptor() ([]byte, []int) { 751 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 0, 2} 752 } 753 754 func (m *NotificationChannel_Spec_PagerDuty) Unmarshal(b []byte) error { 755 return proto.Unmarshal(b, m) 756 } 757 758 func (m *NotificationChannel_Spec_PagerDuty) Marshal() ([]byte, error) { 759 return proto.Marshal(m) 760 } 761 762 func (m *NotificationChannel_Spec_PagerDuty) MarshalJSON() ([]byte, error) { 763 return protojson.MarshalOptions{}.Marshal(m) 764 } 765 766 func (m *NotificationChannel_Spec_PagerDuty) UnmarshalJSON(data []byte) error { 767 return protojson.Unmarshal(data, m) 768 } 769 770 func (m *NotificationChannel_Spec_PagerDuty) GetServiceKey() string { 771 if m != nil { 772 return m.ServiceKey 773 } 774 return "" 775 } 776 777 func (m *NotificationChannel_Spec_PagerDuty) SetServiceKey(fv string) { 778 if m == nil { 779 panic(fmt.Errorf("can't set %s on nil %s", "ServiceKey", "NotificationChannel_Spec_PagerDuty")) 780 } 781 m.ServiceKey = fv 782 } 783 784 // Webhook Spec 785 type NotificationChannel_Spec_Webhook struct { 786 state protoimpl.MessageState 787 sizeCache protoimpl.SizeCache 788 unknownFields protoimpl.UnknownFields 789 // Webhook URL 790 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` 791 // Headers 792 Headers []*NotificationChannel_Spec_Webhook_Header `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"` 793 } 794 795 func (m *NotificationChannel_Spec_Webhook) Reset() { 796 *m = NotificationChannel_Spec_Webhook{} 797 if protoimpl.UnsafeEnabled { 798 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[6] 799 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 800 ms.StoreMessageInfo(mi) 801 } 802 } 803 804 func (m *NotificationChannel_Spec_Webhook) String() string { 805 return protoimpl.X.MessageStringOf(m) 806 } 807 808 func (*NotificationChannel_Spec_Webhook) ProtoMessage() {} 809 810 func (m *NotificationChannel_Spec_Webhook) ProtoReflect() preflect.Message { 811 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[6] 812 if protoimpl.UnsafeEnabled && m != nil { 813 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 814 if ms.LoadMessageInfo() == nil { 815 ms.StoreMessageInfo(mi) 816 } 817 return ms 818 } 819 return mi.MessageOf(m) 820 } 821 822 func (*NotificationChannel_Spec_Webhook) GotenMessage() {} 823 824 // Deprecated, Use NotificationChannel_Spec_Webhook.ProtoReflect.Descriptor instead. 825 func (*NotificationChannel_Spec_Webhook) Descriptor() ([]byte, []int) { 826 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 0, 3} 827 } 828 829 func (m *NotificationChannel_Spec_Webhook) Unmarshal(b []byte) error { 830 return proto.Unmarshal(b, m) 831 } 832 833 func (m *NotificationChannel_Spec_Webhook) Marshal() ([]byte, error) { 834 return proto.Marshal(m) 835 } 836 837 func (m *NotificationChannel_Spec_Webhook) MarshalJSON() ([]byte, error) { 838 return protojson.MarshalOptions{}.Marshal(m) 839 } 840 841 func (m *NotificationChannel_Spec_Webhook) UnmarshalJSON(data []byte) error { 842 return protojson.Unmarshal(data, m) 843 } 844 845 func (m *NotificationChannel_Spec_Webhook) GetUrl() string { 846 if m != nil { 847 return m.Url 848 } 849 return "" 850 } 851 852 func (m *NotificationChannel_Spec_Webhook) GetHeaders() []*NotificationChannel_Spec_Webhook_Header { 853 if m != nil { 854 return m.Headers 855 } 856 return nil 857 } 858 859 func (m *NotificationChannel_Spec_Webhook) SetUrl(fv string) { 860 if m == nil { 861 panic(fmt.Errorf("can't set %s on nil %s", "Url", "NotificationChannel_Spec_Webhook")) 862 } 863 m.Url = fv 864 } 865 866 func (m *NotificationChannel_Spec_Webhook) SetHeaders(fv []*NotificationChannel_Spec_Webhook_Header) { 867 if m == nil { 868 panic(fmt.Errorf("can't set %s on nil %s", "Headers", "NotificationChannel_Spec_Webhook")) 869 } 870 m.Headers = fv 871 } 872 873 // Header 874 type NotificationChannel_Spec_Webhook_Header struct { 875 state protoimpl.MessageState 876 sizeCache protoimpl.SizeCache 877 unknownFields protoimpl.UnknownFields 878 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` 879 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 880 } 881 882 func (m *NotificationChannel_Spec_Webhook_Header) Reset() { 883 *m = NotificationChannel_Spec_Webhook_Header{} 884 if protoimpl.UnsafeEnabled { 885 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[7] 886 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 887 ms.StoreMessageInfo(mi) 888 } 889 } 890 891 func (m *NotificationChannel_Spec_Webhook_Header) String() string { 892 return protoimpl.X.MessageStringOf(m) 893 } 894 895 func (*NotificationChannel_Spec_Webhook_Header) ProtoMessage() {} 896 897 func (m *NotificationChannel_Spec_Webhook_Header) ProtoReflect() preflect.Message { 898 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[7] 899 if protoimpl.UnsafeEnabled && m != nil { 900 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 901 if ms.LoadMessageInfo() == nil { 902 ms.StoreMessageInfo(mi) 903 } 904 return ms 905 } 906 return mi.MessageOf(m) 907 } 908 909 func (*NotificationChannel_Spec_Webhook_Header) GotenMessage() {} 910 911 // Deprecated, Use NotificationChannel_Spec_Webhook_Header.ProtoReflect.Descriptor instead. 912 func (*NotificationChannel_Spec_Webhook_Header) Descriptor() ([]byte, []int) { 913 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 0, 3, 0} 914 } 915 916 func (m *NotificationChannel_Spec_Webhook_Header) Unmarshal(b []byte) error { 917 return proto.Unmarshal(b, m) 918 } 919 920 func (m *NotificationChannel_Spec_Webhook_Header) Marshal() ([]byte, error) { 921 return proto.Marshal(m) 922 } 923 924 func (m *NotificationChannel_Spec_Webhook_Header) MarshalJSON() ([]byte, error) { 925 return protojson.MarshalOptions{}.Marshal(m) 926 } 927 928 func (m *NotificationChannel_Spec_Webhook_Header) UnmarshalJSON(data []byte) error { 929 return protojson.Unmarshal(data, m) 930 } 931 932 func (m *NotificationChannel_Spec_Webhook_Header) GetKey() string { 933 if m != nil { 934 return m.Key 935 } 936 return "" 937 } 938 939 func (m *NotificationChannel_Spec_Webhook_Header) GetValue() string { 940 if m != nil { 941 return m.Value 942 } 943 return "" 944 } 945 946 func (m *NotificationChannel_Spec_Webhook_Header) SetKey(fv string) { 947 if m == nil { 948 panic(fmt.Errorf("can't set %s on nil %s", "Key", "NotificationChannel_Spec_Webhook_Header")) 949 } 950 m.Key = fv 951 } 952 953 func (m *NotificationChannel_Spec_Webhook_Header) SetValue(fv string) { 954 if m == nil { 955 panic(fmt.Errorf("can't set %s on nil %s", "Value", "NotificationChannel_Spec_Webhook_Header")) 956 } 957 m.Value = fv 958 } 959 960 // Error of NotificationChannel 961 type NotificationChannel_State_Error struct { 962 state protoimpl.MessageState 963 sizeCache protoimpl.SizeCache 964 unknownFields protoimpl.UnknownFields 965 Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` 966 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 967 } 968 969 func (m *NotificationChannel_State_Error) Reset() { 970 *m = NotificationChannel_State_Error{} 971 if protoimpl.UnsafeEnabled { 972 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[8] 973 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 974 ms.StoreMessageInfo(mi) 975 } 976 } 977 978 func (m *NotificationChannel_State_Error) String() string { 979 return protoimpl.X.MessageStringOf(m) 980 } 981 982 func (*NotificationChannel_State_Error) ProtoMessage() {} 983 984 func (m *NotificationChannel_State_Error) ProtoReflect() preflect.Message { 985 mi := &edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[8] 986 if protoimpl.UnsafeEnabled && m != nil { 987 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 988 if ms.LoadMessageInfo() == nil { 989 ms.StoreMessageInfo(mi) 990 } 991 return ms 992 } 993 return mi.MessageOf(m) 994 } 995 996 func (*NotificationChannel_State_Error) GotenMessage() {} 997 998 // Deprecated, Use NotificationChannel_State_Error.ProtoReflect.Descriptor instead. 999 func (*NotificationChannel_State_Error) Descriptor() ([]byte, []int) { 1000 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP(), []int{0, 1, 0} 1001 } 1002 1003 func (m *NotificationChannel_State_Error) Unmarshal(b []byte) error { 1004 return proto.Unmarshal(b, m) 1005 } 1006 1007 func (m *NotificationChannel_State_Error) Marshal() ([]byte, error) { 1008 return proto.Marshal(m) 1009 } 1010 1011 func (m *NotificationChannel_State_Error) MarshalJSON() ([]byte, error) { 1012 return protojson.MarshalOptions{}.Marshal(m) 1013 } 1014 1015 func (m *NotificationChannel_State_Error) UnmarshalJSON(data []byte) error { 1016 return protojson.Unmarshal(data, m) 1017 } 1018 1019 func (m *NotificationChannel_State_Error) GetTime() *timestamppb.Timestamp { 1020 if m != nil { 1021 return m.Time 1022 } 1023 return nil 1024 } 1025 1026 func (m *NotificationChannel_State_Error) GetMessage() string { 1027 if m != nil { 1028 return m.Message 1029 } 1030 return "" 1031 } 1032 1033 func (m *NotificationChannel_State_Error) SetTime(fv *timestamppb.Timestamp) { 1034 if m == nil { 1035 panic(fmt.Errorf("can't set %s on nil %s", "Time", "NotificationChannel_State_Error")) 1036 } 1037 m.Time = fv 1038 } 1039 1040 func (m *NotificationChannel_State_Error) SetMessage(fv string) { 1041 if m == nil { 1042 panic(fmt.Errorf("can't set %s on nil %s", "Message", "NotificationChannel_State_Error")) 1043 } 1044 m.Message = fv 1045 } 1046 1047 var edgelq_monitoring_proto_v3_notification_channel_proto preflect.FileDescriptor 1048 1049 var edgelq_monitoring_proto_v3_notification_channel_proto_rawDesc = []byte{ 1050 0x0a, 0x35, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1051 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x74, 1052 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 1053 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 1054 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 1055 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 1056 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 1057 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 1058 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 1059 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 1060 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 1061 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 1062 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 1063 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 1064 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 1065 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 1066 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 1067 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 1068 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 1069 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 1070 0x6f, 0x1a, 0x20, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x61, 0x6e, 1071 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x69, 0x61, 0x6d, 0x2e, 0x70, 0x72, 1072 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 1073 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 1074 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfa, 0x0e, 0x0a, 0x13, 0x4e, 0x6f, 1075 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 1076 0x6c, 0x12, 0x2f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 1077 0x1b, 0xb2, 0xda, 0x21, 0x17, 0x0a, 0x15, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 1078 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 1079 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 1080 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 1081 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 1082 0x61, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 1083 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 1084 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 1085 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 1086 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 1087 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x52, 1088 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x42, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x05, 1089 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1090 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 1091 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 1092 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 1093 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 1094 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0xf5, 0x05, 0x0a, 0x04, 1095 0x53, 0x70, 0x65, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 1096 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x44, 1097 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x6e, 1098 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 1099 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 1100 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 1101 0x74, 0x79, 0x70, 0x65, 0x12, 0x47, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 1102 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 1103 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 1104 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x63, 1105 0x2e, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x47, 0x0a, 1106 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x6e, 1107 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 1108 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 1109 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x52, 1110 0x05, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x4d, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 1111 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 1112 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 1113 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 1114 0x53, 0x70, 0x65, 0x63, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x77, 0x65, 1115 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x3c, 0x0a, 0x1a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 1116 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 1117 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x18, 0x6e, 0x6f, 0x74, 0x69, 0x66, 1118 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 1119 0x6f, 0x64, 0x65, 0x1a, 0x25, 0x0a, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 1120 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 1121 0x09, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x1a, 0x32, 0x0a, 0x05, 0x53, 0x6c, 1122 0x61, 0x63, 0x6b, 0x12, 0x29, 0x0a, 0x10, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x5f, 1123 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x69, 1124 0x6e, 0x63, 0x6f, 0x6d, 0x69, 0x6e, 0x67, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x1a, 0x2c, 1125 0x0a, 0x09, 0x50, 0x61, 0x67, 0x65, 0x72, 0x44, 0x75, 0x74, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 1126 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 1127 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4b, 0x65, 0x79, 0x1a, 0xa3, 0x01, 0x0a, 1128 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 1129 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x54, 0x0a, 0x07, 0x68, 0x65, 1130 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x6e, 0x74, 1131 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 1132 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 1133 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x70, 0x65, 0x63, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 1134 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 1135 0x1a, 0x30, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 1136 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 1137 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 1138 0x75, 0x65, 0x22, 0x3f, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54, 0x59, 1139 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 1140 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x41, 0x49, 0x4c, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x53, 1141 0x4c, 0x41, 0x43, 0x4b, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x57, 0x45, 0x42, 0x48, 0x4f, 0x4f, 1142 0x4b, 0x10, 0x03, 0x1a, 0xb7, 0x02, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x4b, 0x0a, 1143 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x33, 0x2e, 1144 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 1145 0x33, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 1146 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x61, 0x74, 1147 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x48, 0x0a, 0x05, 0x65, 0x72, 1148 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 1149 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 1150 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 1151 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 1152 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x51, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2e, 0x0a, 1153 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 1154 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 1155 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 1156 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 1157 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x44, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 0x75, 1158 0x73, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 1159 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 1160 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 1161 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x3a, 0x86, 0x04, 1162 0xea, 0x41, 0x6b, 0x0a, 0x29, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 1163 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 1164 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x3e, 1165 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 1166 0x74, 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 1167 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 1168 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x7d, 0x92, 0xd9, 1169 0x21, 0x93, 0x01, 0x0a, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 1170 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 1171 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x1a, 1172 0x07, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x38, 0x05, 0x42, 0x5a, 0x08, 0x02, 0x12, 0x0c, 1173 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0c, 1174 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x44, 0x69, 1175 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x0c, 0x73, 0x70, 1176 0x65, 0x63, 0x2e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x07, 0x45, 0x6e, 0x61, 0x62, 1177 0x6c, 0x65, 0x64, 0x12, 0x11, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x79, 0x70, 0x65, 1178 0x12, 0x04, 0x54, 0x79, 0x70, 0x65, 0xaa, 0xd9, 0x21, 0x5d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 1179 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x0b, 1180 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x0a, 0x0d, 0x6d, 0x65, 0x74, 1181 0x61, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x74, 0x61, 0x67, 0x73, 0x0a, 0x0f, 0x6d, 0x65, 0x74, 0x61, 1182 0x64, 0x61, 0x74, 0x61, 0x2e, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x0c, 0x73, 0x70, 0x65, 1183 0x63, 0x2e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x1a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 1184 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0xb2, 0xdf, 0x21, 0x53, 0x0a, 0x51, 0x0a, 0x4f, 0x0a, 1185 0x0d, 0x62, 0x79, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0c, 1186 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x29, 0x70, 0x72, 1187 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 1188 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 1189 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x2d, 0x2a, 0x05, 0x6d, 0x6f, 0x6e, 0x67, 0x6f, 0xda, 0x94, 1190 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x38, 0x22, 0x04, 1191 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 1192 0x6d, 0x65, 0x22, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 1193 0x04, 0x73, 0x70, 0x65, 0x63, 0x2a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x08, 0x6d, 0x65, 1194 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xe6, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 1195 0x02, 0x61, 0x0a, 0x1a, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 1196 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x43, 1197 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 1198 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 1199 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 1200 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 1201 0x6e, 0x65, 0x6c, 0xa2, 0x80, 0xd1, 0x02, 0x63, 0x0a, 0x1b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 1202 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x61, 1203 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x44, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 1204 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 1205 0x71, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x63, 0x63, 1206 0x65, 0x73, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 1207 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x0a, 0x18, 0x63, 0x6f, 0x6d, 1208 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 1209 0x70, 0x62, 0x2e, 0x76, 0x33, 0x42, 0x18, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 1210 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 1211 0x01, 0x5a, 0x5c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 1212 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x6d, 0x6f, 1213 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 1214 0x65, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 1215 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 1216 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x62, 1217 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 1218 } 1219 1220 var ( 1221 edgelq_monitoring_proto_v3_notification_channel_proto_rawDescOnce sync.Once 1222 edgelq_monitoring_proto_v3_notification_channel_proto_rawDescData = edgelq_monitoring_proto_v3_notification_channel_proto_rawDesc 1223 ) 1224 1225 func edgelq_monitoring_proto_v3_notification_channel_proto_rawDescGZIP() []byte { 1226 edgelq_monitoring_proto_v3_notification_channel_proto_rawDescOnce.Do(func() { 1227 edgelq_monitoring_proto_v3_notification_channel_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_monitoring_proto_v3_notification_channel_proto_rawDescData) 1228 }) 1229 return edgelq_monitoring_proto_v3_notification_channel_proto_rawDescData 1230 } 1231 1232 var edgelq_monitoring_proto_v3_notification_channel_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 1233 var edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes = make([]protoimpl.MessageInfo, 9) 1234 var edgelq_monitoring_proto_v3_notification_channel_proto_goTypes = []interface{}{ 1235 (NotificationChannel_Spec_Type)(0), // 0: ntt.monitoring.v3.NotificationChannel_Spec_Type 1236 (NotificationChannel_State_Status)(0), // 1: ntt.monitoring.v3.NotificationChannel_State_Status 1237 (*NotificationChannel)(nil), // 2: ntt.monitoring.v3.NotificationChannel 1238 (*NotificationChannel_Spec)(nil), // 3: ntt.monitoring.v3.NotificationChannel.Spec 1239 (*NotificationChannel_State)(nil), // 4: ntt.monitoring.v3.NotificationChannel.State 1240 (*NotificationChannel_Spec_Email)(nil), // 5: ntt.monitoring.v3.NotificationChannel.Spec.Email 1241 (*NotificationChannel_Spec_Slack)(nil), // 6: ntt.monitoring.v3.NotificationChannel.Spec.Slack 1242 (*NotificationChannel_Spec_PagerDuty)(nil), // 7: ntt.monitoring.v3.NotificationChannel.Spec.PagerDuty 1243 (*NotificationChannel_Spec_Webhook)(nil), // 8: ntt.monitoring.v3.NotificationChannel.Spec.Webhook 1244 (*NotificationChannel_Spec_Webhook_Header)(nil), // 9: ntt.monitoring.v3.NotificationChannel.Spec.Webhook.Header 1245 (*NotificationChannel_State_Error)(nil), // 10: ntt.monitoring.v3.NotificationChannel.State.Error 1246 (*meta.Meta)(nil), // 11: goten.types.Meta 1247 (*timestamppb.Timestamp)(nil), // 12: google.protobuf.Timestamp 1248 } 1249 var edgelq_monitoring_proto_v3_notification_channel_proto_depIdxs = []int32{ 1250 11, // 0: ntt.monitoring.v3.NotificationChannel.metadata:type_name -> goten.types.Meta 1251 3, // 1: ntt.monitoring.v3.NotificationChannel.spec:type_name -> ntt.monitoring.v3.NotificationChannel.Spec 1252 4, // 2: ntt.monitoring.v3.NotificationChannel.state:type_name -> ntt.monitoring.v3.NotificationChannel.State 1253 0, // 3: ntt.monitoring.v3.NotificationChannel.Spec.type:type_name -> ntt.monitoring.v3.NotificationChannel_Spec_Type 1254 5, // 4: ntt.monitoring.v3.NotificationChannel.Spec.email:type_name -> ntt.monitoring.v3.NotificationChannel.Spec.Email 1255 6, // 5: ntt.monitoring.v3.NotificationChannel.Spec.slack:type_name -> ntt.monitoring.v3.NotificationChannel.Spec.Slack 1256 8, // 6: ntt.monitoring.v3.NotificationChannel.Spec.webhook:type_name -> ntt.monitoring.v3.NotificationChannel.Spec.Webhook 1257 1, // 7: ntt.monitoring.v3.NotificationChannel.State.status:type_name -> ntt.monitoring.v3.NotificationChannel_State_Status 1258 10, // 8: ntt.monitoring.v3.NotificationChannel.State.error:type_name -> ntt.monitoring.v3.NotificationChannel.State.Error 1259 9, // 9: ntt.monitoring.v3.NotificationChannel.Spec.Webhook.headers:type_name -> ntt.monitoring.v3.NotificationChannel.Spec.Webhook.Header 1260 12, // 10: ntt.monitoring.v3.NotificationChannel.State.Error.time:type_name -> google.protobuf.Timestamp 1261 11, // [11:11] is the sub-list for method output_type 1262 11, // [11:11] is the sub-list for method input_type 1263 11, // [11:11] is the sub-list for extension type_name 1264 11, // [11:11] is the sub-list for extension extendee 1265 0, // [0:11] is the sub-list for field type_name 1266 } 1267 1268 func init() { edgelq_monitoring_proto_v3_notification_channel_proto_init() } 1269 func edgelq_monitoring_proto_v3_notification_channel_proto_init() { 1270 if edgelq_monitoring_proto_v3_notification_channel_proto != nil { 1271 return 1272 } 1273 if !protoimpl.UnsafeEnabled { 1274 1275 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 1276 switch v := v.(*NotificationChannel); i { 1277 case 0: 1278 return &v.state 1279 case 1: 1280 return &v.sizeCache 1281 case 2: 1282 return &v.unknownFields 1283 default: 1284 return nil 1285 } 1286 } 1287 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 1288 switch v := v.(*NotificationChannel_Spec); i { 1289 case 0: 1290 return &v.state 1291 case 1: 1292 return &v.sizeCache 1293 case 2: 1294 return &v.unknownFields 1295 default: 1296 return nil 1297 } 1298 } 1299 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 1300 switch v := v.(*NotificationChannel_State); i { 1301 case 0: 1302 return &v.state 1303 case 1: 1304 return &v.sizeCache 1305 case 2: 1306 return &v.unknownFields 1307 default: 1308 return nil 1309 } 1310 } 1311 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 1312 switch v := v.(*NotificationChannel_Spec_Email); i { 1313 case 0: 1314 return &v.state 1315 case 1: 1316 return &v.sizeCache 1317 case 2: 1318 return &v.unknownFields 1319 default: 1320 return nil 1321 } 1322 } 1323 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 1324 switch v := v.(*NotificationChannel_Spec_Slack); i { 1325 case 0: 1326 return &v.state 1327 case 1: 1328 return &v.sizeCache 1329 case 2: 1330 return &v.unknownFields 1331 default: 1332 return nil 1333 } 1334 } 1335 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 1336 switch v := v.(*NotificationChannel_Spec_PagerDuty); i { 1337 case 0: 1338 return &v.state 1339 case 1: 1340 return &v.sizeCache 1341 case 2: 1342 return &v.unknownFields 1343 default: 1344 return nil 1345 } 1346 } 1347 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 1348 switch v := v.(*NotificationChannel_Spec_Webhook); i { 1349 case 0: 1350 return &v.state 1351 case 1: 1352 return &v.sizeCache 1353 case 2: 1354 return &v.unknownFields 1355 default: 1356 return nil 1357 } 1358 } 1359 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 1360 switch v := v.(*NotificationChannel_Spec_Webhook_Header); i { 1361 case 0: 1362 return &v.state 1363 case 1: 1364 return &v.sizeCache 1365 case 2: 1366 return &v.unknownFields 1367 default: 1368 return nil 1369 } 1370 } 1371 edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 1372 switch v := v.(*NotificationChannel_State_Error); i { 1373 case 0: 1374 return &v.state 1375 case 1: 1376 return &v.sizeCache 1377 case 2: 1378 return &v.unknownFields 1379 default: 1380 return nil 1381 } 1382 } 1383 } 1384 1385 type x struct{} 1386 out := protoimpl.TypeBuilder{ 1387 File: protoimpl.DescBuilder{ 1388 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1389 RawDescriptor: edgelq_monitoring_proto_v3_notification_channel_proto_rawDesc, 1390 NumEnums: 2, 1391 NumMessages: 9, 1392 NumExtensions: 0, 1393 NumServices: 0, 1394 }, 1395 GoTypes: edgelq_monitoring_proto_v3_notification_channel_proto_goTypes, 1396 DependencyIndexes: edgelq_monitoring_proto_v3_notification_channel_proto_depIdxs, 1397 EnumInfos: edgelq_monitoring_proto_v3_notification_channel_proto_enumTypes, 1398 MessageInfos: edgelq_monitoring_proto_v3_notification_channel_proto_msgTypes, 1399 }.Build() 1400 edgelq_monitoring_proto_v3_notification_channel_proto = out.File 1401 edgelq_monitoring_proto_v3_notification_channel_proto_rawDesc = nil 1402 edgelq_monitoring_proto_v3_notification_channel_proto_goTypes = nil 1403 edgelq_monitoring_proto_v3_notification_channel_proto_depIdxs = nil 1404 }