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