github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/notification_channel/notification_channel.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/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 rcommon "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/common" 21 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 22 meta "github.com/cloudwan/goten-sdk/types/meta" 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 _ = &rcommon.LogCndSpec{} 41 _ = &iam_project.Project{} 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 // State of NotificationChannel 54 type NotificationChannel_State_Status int32 55 56 const ( 57 // State is unknown 58 NotificationChannel_State_STATE_UNSPECIFIED NotificationChannel_State_Status = 0 59 // NotificationChannel is active 60 NotificationChannel_State_ACTIVE NotificationChannel_State_Status = 1 61 // NotificationChannel is disabled 62 NotificationChannel_State_DISABLED NotificationChannel_State_Status = 2 63 // Error of NotificationChannel 64 NotificationChannel_State_ERROR NotificationChannel_State_Status = 3 65 ) 66 67 var ( 68 NotificationChannel_State_Status_name = map[int32]string{ 69 0: "STATE_UNSPECIFIED", 70 1: "ACTIVE", 71 2: "DISABLED", 72 3: "ERROR", 73 } 74 75 NotificationChannel_State_Status_value = map[string]int32{ 76 "STATE_UNSPECIFIED": 0, 77 "ACTIVE": 1, 78 "DISABLED": 2, 79 "ERROR": 3, 80 } 81 ) 82 83 func (x NotificationChannel_State_Status) Enum() *NotificationChannel_State_Status { 84 p := new(NotificationChannel_State_Status) 85 *p = x 86 return p 87 } 88 89 func (x NotificationChannel_State_Status) String() string { 90 return protoimpl.X.EnumStringOf(x.Descriptor(), preflect.EnumNumber(x)) 91 } 92 93 func (NotificationChannel_State_Status) Descriptor() preflect.EnumDescriptor { 94 return edgelq_alerting_proto_v1_notification_channel_proto_enumTypes[0].Descriptor() 95 } 96 97 func (NotificationChannel_State_Status) Type() preflect.EnumType { 98 return &edgelq_alerting_proto_v1_notification_channel_proto_enumTypes[0] 99 } 100 101 func (x NotificationChannel_State_Status) Number() preflect.EnumNumber { 102 return preflect.EnumNumber(x) 103 } 104 105 // Deprecated, Use NotificationChannel_State_Status.ProtoReflect.Descriptor instead. 106 func (NotificationChannel_State_Status) EnumDescriptor() ([]byte, []int) { 107 return edgelq_alerting_proto_v1_notification_channel_proto_rawDescGZIP(), []int{0, 0, 0} 108 } 109 110 // NotificationChannel specifies channel where notifications about 111 // alert updates can be sent. 112 type NotificationChannel struct { 113 state protoimpl.MessageState 114 sizeCache protoimpl.SizeCache 115 unknownFields protoimpl.UnknownFields 116 // Name of NotificationChannel 117 // When creating a new instance, this field is optional and if not provided, 118 // it will be generated automatically. Last ID segment must conform to the 119 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 120 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 121 // Metadata is an object with information like create, update and delete time 122 // (for async deleted resources), has user labels/annotations, sharding 123 // information, multi-region syncing information and may have non-schema 124 // owners (useful for taking ownership of resources belonging to lower level 125 // services by higher ones). 126 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 127 // Display Name 128 DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` 129 // description 130 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` 131 // Specification 132 Spec *rcommon.NotificationChannelSpec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"` 133 // State 134 State *NotificationChannel_State `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"` 135 } 136 137 func (m *NotificationChannel) Reset() { 138 *m = NotificationChannel{} 139 if protoimpl.UnsafeEnabled { 140 mi := &edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[0] 141 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 142 ms.StoreMessageInfo(mi) 143 } 144 } 145 146 func (m *NotificationChannel) String() string { 147 return protoimpl.X.MessageStringOf(m) 148 } 149 150 func (*NotificationChannel) ProtoMessage() {} 151 152 func (m *NotificationChannel) ProtoReflect() preflect.Message { 153 mi := &edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[0] 154 if protoimpl.UnsafeEnabled && m != nil { 155 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 156 if ms.LoadMessageInfo() == nil { 157 ms.StoreMessageInfo(mi) 158 } 159 return ms 160 } 161 return mi.MessageOf(m) 162 } 163 164 func (*NotificationChannel) GotenMessage() {} 165 166 // Deprecated, Use NotificationChannel.ProtoReflect.Descriptor instead. 167 func (*NotificationChannel) Descriptor() ([]byte, []int) { 168 return edgelq_alerting_proto_v1_notification_channel_proto_rawDescGZIP(), []int{0} 169 } 170 171 func (m *NotificationChannel) Unmarshal(b []byte) error { 172 return proto.Unmarshal(b, m) 173 } 174 175 func (m *NotificationChannel) Marshal() ([]byte, error) { 176 return proto.Marshal(m) 177 } 178 179 func (m *NotificationChannel) MarshalJSON() ([]byte, error) { 180 return protojson.MarshalOptions{}.Marshal(m) 181 } 182 183 func (m *NotificationChannel) UnmarshalJSON(data []byte) error { 184 return protojson.Unmarshal(data, m) 185 } 186 187 func (m *NotificationChannel) GetName() *Name { 188 if m != nil { 189 return m.Name 190 } 191 return nil 192 } 193 194 func (m *NotificationChannel) GetMetadata() *meta.Meta { 195 if m != nil { 196 return m.Metadata 197 } 198 return nil 199 } 200 201 func (m *NotificationChannel) GetDisplayName() string { 202 if m != nil { 203 return m.DisplayName 204 } 205 return "" 206 } 207 208 func (m *NotificationChannel) GetDescription() string { 209 if m != nil { 210 return m.Description 211 } 212 return "" 213 } 214 215 func (m *NotificationChannel) GetSpec() *rcommon.NotificationChannelSpec { 216 if m != nil { 217 return m.Spec 218 } 219 return nil 220 } 221 222 func (m *NotificationChannel) GetState() *NotificationChannel_State { 223 if m != nil { 224 return m.State 225 } 226 return nil 227 } 228 229 func (m *NotificationChannel) SetName(fv *Name) { 230 if m == nil { 231 panic(fmt.Errorf("can't set %s on nil %s", "Name", "NotificationChannel")) 232 } 233 m.Name = fv 234 } 235 236 func (m *NotificationChannel) SetMetadata(fv *meta.Meta) { 237 if m == nil { 238 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "NotificationChannel")) 239 } 240 m.Metadata = fv 241 } 242 243 func (m *NotificationChannel) SetDisplayName(fv string) { 244 if m == nil { 245 panic(fmt.Errorf("can't set %s on nil %s", "DisplayName", "NotificationChannel")) 246 } 247 m.DisplayName = fv 248 } 249 250 func (m *NotificationChannel) SetDescription(fv string) { 251 if m == nil { 252 panic(fmt.Errorf("can't set %s on nil %s", "Description", "NotificationChannel")) 253 } 254 m.Description = fv 255 } 256 257 func (m *NotificationChannel) SetSpec(fv *rcommon.NotificationChannelSpec) { 258 if m == nil { 259 panic(fmt.Errorf("can't set %s on nil %s", "Spec", "NotificationChannel")) 260 } 261 m.Spec = fv 262 } 263 264 func (m *NotificationChannel) SetState(fv *NotificationChannel_State) { 265 if m == nil { 266 panic(fmt.Errorf("can't set %s on nil %s", "State", "NotificationChannel")) 267 } 268 m.State = fv 269 } 270 271 // State of NotificationChannel 272 type NotificationChannel_State struct { 273 state protoimpl.MessageState 274 sizeCache protoimpl.SizeCache 275 unknownFields protoimpl.UnknownFields 276 // Status 277 Status NotificationChannel_State_Status `protobuf:"varint,1,opt,name=status,proto3,enum=ntt.alerting.v1.NotificationChannel_State_Status" json:"status,omitempty"` 278 // Error 279 Error *NotificationChannel_State_Error `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` 280 } 281 282 func (m *NotificationChannel_State) Reset() { 283 *m = NotificationChannel_State{} 284 if protoimpl.UnsafeEnabled { 285 mi := &edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[1] 286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 287 ms.StoreMessageInfo(mi) 288 } 289 } 290 291 func (m *NotificationChannel_State) String() string { 292 return protoimpl.X.MessageStringOf(m) 293 } 294 295 func (*NotificationChannel_State) ProtoMessage() {} 296 297 func (m *NotificationChannel_State) ProtoReflect() preflect.Message { 298 mi := &edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[1] 299 if protoimpl.UnsafeEnabled && m != nil { 300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 301 if ms.LoadMessageInfo() == nil { 302 ms.StoreMessageInfo(mi) 303 } 304 return ms 305 } 306 return mi.MessageOf(m) 307 } 308 309 func (*NotificationChannel_State) GotenMessage() {} 310 311 // Deprecated, Use NotificationChannel_State.ProtoReflect.Descriptor instead. 312 func (*NotificationChannel_State) Descriptor() ([]byte, []int) { 313 return edgelq_alerting_proto_v1_notification_channel_proto_rawDescGZIP(), []int{0, 0} 314 } 315 316 func (m *NotificationChannel_State) Unmarshal(b []byte) error { 317 return proto.Unmarshal(b, m) 318 } 319 320 func (m *NotificationChannel_State) Marshal() ([]byte, error) { 321 return proto.Marshal(m) 322 } 323 324 func (m *NotificationChannel_State) MarshalJSON() ([]byte, error) { 325 return protojson.MarshalOptions{}.Marshal(m) 326 } 327 328 func (m *NotificationChannel_State) UnmarshalJSON(data []byte) error { 329 return protojson.Unmarshal(data, m) 330 } 331 332 func (m *NotificationChannel_State) GetStatus() NotificationChannel_State_Status { 333 if m != nil { 334 return m.Status 335 } 336 return NotificationChannel_State_STATE_UNSPECIFIED 337 } 338 339 func (m *NotificationChannel_State) GetError() *NotificationChannel_State_Error { 340 if m != nil { 341 return m.Error 342 } 343 return nil 344 } 345 346 func (m *NotificationChannel_State) SetStatus(fv NotificationChannel_State_Status) { 347 if m == nil { 348 panic(fmt.Errorf("can't set %s on nil %s", "Status", "NotificationChannel_State")) 349 } 350 m.Status = fv 351 } 352 353 func (m *NotificationChannel_State) SetError(fv *NotificationChannel_State_Error) { 354 if m == nil { 355 panic(fmt.Errorf("can't set %s on nil %s", "Error", "NotificationChannel_State")) 356 } 357 m.Error = fv 358 } 359 360 // Error of NotificationChannel 361 type NotificationChannel_State_Error struct { 362 state protoimpl.MessageState 363 sizeCache protoimpl.SizeCache 364 unknownFields protoimpl.UnknownFields 365 Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"` 366 Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` 367 } 368 369 func (m *NotificationChannel_State_Error) Reset() { 370 *m = NotificationChannel_State_Error{} 371 if protoimpl.UnsafeEnabled { 372 mi := &edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[2] 373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 374 ms.StoreMessageInfo(mi) 375 } 376 } 377 378 func (m *NotificationChannel_State_Error) String() string { 379 return protoimpl.X.MessageStringOf(m) 380 } 381 382 func (*NotificationChannel_State_Error) ProtoMessage() {} 383 384 func (m *NotificationChannel_State_Error) ProtoReflect() preflect.Message { 385 mi := &edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[2] 386 if protoimpl.UnsafeEnabled && m != nil { 387 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 388 if ms.LoadMessageInfo() == nil { 389 ms.StoreMessageInfo(mi) 390 } 391 return ms 392 } 393 return mi.MessageOf(m) 394 } 395 396 func (*NotificationChannel_State_Error) GotenMessage() {} 397 398 // Deprecated, Use NotificationChannel_State_Error.ProtoReflect.Descriptor instead. 399 func (*NotificationChannel_State_Error) Descriptor() ([]byte, []int) { 400 return edgelq_alerting_proto_v1_notification_channel_proto_rawDescGZIP(), []int{0, 0, 0} 401 } 402 403 func (m *NotificationChannel_State_Error) Unmarshal(b []byte) error { 404 return proto.Unmarshal(b, m) 405 } 406 407 func (m *NotificationChannel_State_Error) Marshal() ([]byte, error) { 408 return proto.Marshal(m) 409 } 410 411 func (m *NotificationChannel_State_Error) MarshalJSON() ([]byte, error) { 412 return protojson.MarshalOptions{}.Marshal(m) 413 } 414 415 func (m *NotificationChannel_State_Error) UnmarshalJSON(data []byte) error { 416 return protojson.Unmarshal(data, m) 417 } 418 419 func (m *NotificationChannel_State_Error) GetTime() *timestamppb.Timestamp { 420 if m != nil { 421 return m.Time 422 } 423 return nil 424 } 425 426 func (m *NotificationChannel_State_Error) GetMessage() string { 427 if m != nil { 428 return m.Message 429 } 430 return "" 431 } 432 433 func (m *NotificationChannel_State_Error) SetTime(fv *timestamppb.Timestamp) { 434 if m == nil { 435 panic(fmt.Errorf("can't set %s on nil %s", "Time", "NotificationChannel_State_Error")) 436 } 437 m.Time = fv 438 } 439 440 func (m *NotificationChannel_State_Error) SetMessage(fv string) { 441 if m == nil { 442 panic(fmt.Errorf("can't set %s on nil %s", "Message", "NotificationChannel_State_Error")) 443 } 444 m.Message = fv 445 } 446 447 var edgelq_alerting_proto_v1_notification_channel_proto preflect.FileDescriptor 448 449 var edgelq_alerting_proto_v1_notification_channel_proto_rawDesc = []byte{ 450 0x0a, 0x33, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 451 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 452 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 453 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 454 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 455 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 456 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 457 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 458 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 459 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 460 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 461 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 462 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 463 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 464 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 465 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 466 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 467 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 468 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 469 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 470 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 471 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 472 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 473 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 474 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 475 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 476 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 477 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 478 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 479 0x6f, 0x22, 0x9c, 0x0a, 0x0a, 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 480 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x2f, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 481 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1b, 0xb2, 0xda, 0x21, 0x17, 0x0a, 0x15, 0x0a, 482 0x13, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 483 0x6e, 0x6e, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x08, 0x6d, 0x65, 484 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 485 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x4d, 0x65, 0x74, 0x61, 0x52, 486 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x2e, 0x0a, 0x0c, 0x64, 0x69, 0x73, 487 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 488 0x0b, 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x02, 0x52, 0x0b, 0x64, 0x69, 489 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x0b, 0x64, 0x65, 0x73, 490 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0b, 491 0xca, 0xc6, 0x27, 0x07, 0x2a, 0x05, 0x22, 0x03, 0x08, 0x80, 0x04, 0x52, 0x0b, 0x64, 0x65, 0x73, 492 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3c, 0x0a, 0x04, 0x73, 0x70, 0x65, 0x63, 493 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 494 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 495 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x53, 0x70, 0x65, 0x63, 496 0x52, 0x04, 0x73, 0x70, 0x65, 0x63, 0x12, 0x40, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 497 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 498 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 499 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 500 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x1a, 0xb3, 0x02, 0x0a, 0x05, 0x53, 0x74, 0x61, 501 0x74, 0x65, 0x12, 0x49, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 502 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 503 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 504 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x53, 505 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x46, 0x0a, 506 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x6e, 507 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x4e, 508 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 509 0x65, 0x6c, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 510 0x65, 0x72, 0x72, 0x6f, 0x72, 0x1a, 0x51, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2e, 511 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 512 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 513 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x18, 514 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 515 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x44, 0x0a, 0x06, 0x53, 0x74, 0x61, 0x74, 516 0x75, 0x73, 0x12, 0x15, 0x0a, 0x11, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 517 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 518 0x49, 0x56, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 519 0x44, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x03, 0x3a, 0x8f, 520 0x05, 0xea, 0x41, 0x69, 0x0a, 0x27, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x65, 521 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 522 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x3e, 0x70, 523 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 524 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 525 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x7b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 526 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x7d, 0x92, 0xd9, 0x21, 527 0x86, 0x03, 0x0a, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 528 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x12, 0x14, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 529 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x1a, 0x16, 530 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 531 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x38, 0x05, 0x42, 0x62, 0x08, 0x02, 0x12, 0x0c, 0x0a, 0x04, 532 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x0c, 0x64, 0x69, 533 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x0c, 0x44, 0x69, 0x73, 0x70, 534 0x6c, 0x61, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x17, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 535 0x2e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x07, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 536 0x64, 0x12, 0x19, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0c, 537 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x20, 0x74, 0x79, 0x70, 0x65, 0x42, 0xd9, 0x01, 0x08, 538 0x03, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 539 0x1c, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x12, 540 0x0c, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x20, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 541 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x44, 0x65, 542 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x17, 0x0a, 0x0c, 0x73, 0x70, 0x65, 543 0x63, 0x2e, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x07, 0x45, 0x6e, 0x61, 0x62, 0x6c, 544 0x65, 0x64, 0x12, 0x19, 0x0a, 0x09, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x12, 545 0x0c, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x20, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 546 0x0a, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x0d, 0x45, 0x6d, 0x61, 547 0x69, 0x6c, 0x20, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1b, 0x0a, 0x0a, 0x73, 0x70, 548 0x65, 0x63, 0x2e, 0x73, 0x6c, 0x61, 0x63, 0x6b, 0x12, 0x0d, 0x53, 0x6c, 0x61, 0x63, 0x6b, 0x20, 549 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x12, 0x1f, 0x0a, 0x0c, 0x73, 0x70, 0x65, 0x63, 0x2e, 550 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x0f, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 551 0x20, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0xb2, 0xdf, 0x21, 0x4c, 0x0a, 0x4a, 0x0a, 0x48, 552 0x0a, 0x0d, 0x62, 0x79, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 553 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x29, 0x70, 554 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 555 0x7d, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 556 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x2f, 0x2d, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 557 0x6e, 0x61, 0x6d, 0x65, 0xc2, 0x85, 0x2c, 0x38, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0c, 558 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x0b, 0x64, 0x65, 559 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x04, 0x73, 0x70, 0x65, 0x63, 0x2a, 560 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 561 0x42, 0xde, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x5f, 0x0a, 0x1a, 0x6e, 0x6f, 562 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 563 0x65, 0x6c, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 564 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 565 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x74, 566 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 567 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0xa2, 0x80, 0xd1, 0x02, 0x61, 568 0x0a, 0x1b, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 569 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x42, 0x67, 570 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 571 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 572 0x6e, 0x67, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 573 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 574 0x6c, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 575 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x4e, 0x6f, 0x74, 0x69, 0x66, 576 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x50, 0x72, 577 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x5a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 578 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 579 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 580 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 581 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x3b, 0x6e, 0x6f, 0x74, 582 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 583 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 584 } 585 586 var ( 587 edgelq_alerting_proto_v1_notification_channel_proto_rawDescOnce sync.Once 588 edgelq_alerting_proto_v1_notification_channel_proto_rawDescData = edgelq_alerting_proto_v1_notification_channel_proto_rawDesc 589 ) 590 591 func edgelq_alerting_proto_v1_notification_channel_proto_rawDescGZIP() []byte { 592 edgelq_alerting_proto_v1_notification_channel_proto_rawDescOnce.Do(func() { 593 edgelq_alerting_proto_v1_notification_channel_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_notification_channel_proto_rawDescData) 594 }) 595 return edgelq_alerting_proto_v1_notification_channel_proto_rawDescData 596 } 597 598 var edgelq_alerting_proto_v1_notification_channel_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 599 var edgelq_alerting_proto_v1_notification_channel_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 600 var edgelq_alerting_proto_v1_notification_channel_proto_goTypes = []interface{}{ 601 (NotificationChannel_State_Status)(0), // 0: ntt.alerting.v1.NotificationChannel_State_Status 602 (*NotificationChannel)(nil), // 1: ntt.alerting.v1.NotificationChannel 603 (*NotificationChannel_State)(nil), // 2: ntt.alerting.v1.NotificationChannel.State 604 (*NotificationChannel_State_Error)(nil), // 3: ntt.alerting.v1.NotificationChannel.State.Error 605 (*meta.Meta)(nil), // 4: goten.types.Meta 606 (*rcommon.NotificationChannelSpec)(nil), // 5: ntt.alerting.v1.NotificationChannelSpec 607 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp 608 } 609 var edgelq_alerting_proto_v1_notification_channel_proto_depIdxs = []int32{ 610 4, // 0: ntt.alerting.v1.NotificationChannel.metadata:type_name -> goten.types.Meta 611 5, // 1: ntt.alerting.v1.NotificationChannel.spec:type_name -> ntt.alerting.v1.NotificationChannelSpec 612 2, // 2: ntt.alerting.v1.NotificationChannel.state:type_name -> ntt.alerting.v1.NotificationChannel.State 613 0, // 3: ntt.alerting.v1.NotificationChannel.State.status:type_name -> ntt.alerting.v1.NotificationChannel_State_Status 614 3, // 4: ntt.alerting.v1.NotificationChannel.State.error:type_name -> ntt.alerting.v1.NotificationChannel.State.Error 615 6, // 5: ntt.alerting.v1.NotificationChannel.State.Error.time:type_name -> google.protobuf.Timestamp 616 6, // [6:6] is the sub-list for method output_type 617 6, // [6:6] is the sub-list for method input_type 618 6, // [6:6] is the sub-list for extension type_name 619 6, // [6:6] is the sub-list for extension extendee 620 0, // [0:6] is the sub-list for field type_name 621 } 622 623 func init() { edgelq_alerting_proto_v1_notification_channel_proto_init() } 624 func edgelq_alerting_proto_v1_notification_channel_proto_init() { 625 if edgelq_alerting_proto_v1_notification_channel_proto != nil { 626 return 627 } 628 if !protoimpl.UnsafeEnabled { 629 630 edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 631 switch v := v.(*NotificationChannel); i { 632 case 0: 633 return &v.state 634 case 1: 635 return &v.sizeCache 636 case 2: 637 return &v.unknownFields 638 default: 639 return nil 640 } 641 } 642 edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 643 switch v := v.(*NotificationChannel_State); i { 644 case 0: 645 return &v.state 646 case 1: 647 return &v.sizeCache 648 case 2: 649 return &v.unknownFields 650 default: 651 return nil 652 } 653 } 654 edgelq_alerting_proto_v1_notification_channel_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 655 switch v := v.(*NotificationChannel_State_Error); i { 656 case 0: 657 return &v.state 658 case 1: 659 return &v.sizeCache 660 case 2: 661 return &v.unknownFields 662 default: 663 return nil 664 } 665 } 666 } 667 668 type x struct{} 669 out := protoimpl.TypeBuilder{ 670 File: protoimpl.DescBuilder{ 671 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 672 RawDescriptor: edgelq_alerting_proto_v1_notification_channel_proto_rawDesc, 673 NumEnums: 1, 674 NumMessages: 3, 675 NumExtensions: 0, 676 NumServices: 0, 677 }, 678 GoTypes: edgelq_alerting_proto_v1_notification_channel_proto_goTypes, 679 DependencyIndexes: edgelq_alerting_proto_v1_notification_channel_proto_depIdxs, 680 EnumInfos: edgelq_alerting_proto_v1_notification_channel_proto_enumTypes, 681 MessageInfos: edgelq_alerting_proto_v1_notification_channel_proto_msgTypes, 682 }.Build() 683 edgelq_alerting_proto_v1_notification_channel_proto = out.File 684 edgelq_alerting_proto_v1_notification_channel_proto_rawDesc = nil 685 edgelq_alerting_proto_v1_notification_channel_proto_goTypes = nil 686 edgelq_alerting_proto_v1_notification_channel_proto_depIdxs = nil 687 }