github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/client/v1/alert/alert_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/alert_custom.proto 3 // DO NOT EDIT!!! 4 5 package alert_client 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 alert "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/alert" 21 log_condition "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/log_condition" 22 notification_channel "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/notification_channel" 23 ts_condition "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/ts_condition" 24 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 25 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb" 26 ) 27 28 // Reference imports to suppress errors if they are not otherwise used. 29 var ( 30 _ = fmt.Errorf 31 _ = reflect.Method{} 32 _ = sync.Once{} 33 34 _ = protojson.MarshalOptions{} 35 _ = proto.MarshalOptions{} 36 _ = preflect.Value{} 37 _ = protoimpl.DescBuilder{} 38 ) 39 40 // make sure we're using proto imports 41 var ( 42 _ = &alert.Alert{} 43 _ = &log_condition.LogCondition{} 44 _ = ¬ification_channel.NotificationChannel{} 45 _ = &ts_condition.TsCondition{} 46 _ = &iam_project.Project{} 47 _ = &fieldmaskpb.FieldMask{} 48 ) 49 50 const ( 51 // Verify that this generated code is sufficiently up-to-date. 52 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 53 // Verify that runtime/protoimpl is sufficiently up-to-date. 54 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 55 ) 56 57 // A request message of the BulkSaveAlerts method. 58 type BulkSaveAlertsRequest struct { 59 state protoimpl.MessageState 60 sizeCache protoimpl.SizeCache 61 unknownFields protoimpl.UnknownFields 62 Project *iam_project.Name `protobuf:"bytes,1,opt,customtype=Name,name=project,proto3" json:"project,omitempty"` 63 Alerts []*alert.Alert `protobuf:"bytes,3,rep,name=alerts,proto3" json:"alerts,omitempty"` 64 UpdateMask *alert.Alert_FieldMask `protobuf:"bytes,4,opt,customtype=Alert_FieldMask,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"` 65 } 66 67 func (m *BulkSaveAlertsRequest) Reset() { 68 *m = BulkSaveAlertsRequest{} 69 if protoimpl.UnsafeEnabled { 70 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[0] 71 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 72 ms.StoreMessageInfo(mi) 73 } 74 } 75 76 func (m *BulkSaveAlertsRequest) String() string { 77 return protoimpl.X.MessageStringOf(m) 78 } 79 80 func (*BulkSaveAlertsRequest) ProtoMessage() {} 81 82 func (m *BulkSaveAlertsRequest) ProtoReflect() preflect.Message { 83 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[0] 84 if protoimpl.UnsafeEnabled && m != nil { 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 86 if ms.LoadMessageInfo() == nil { 87 ms.StoreMessageInfo(mi) 88 } 89 return ms 90 } 91 return mi.MessageOf(m) 92 } 93 94 func (*BulkSaveAlertsRequest) GotenMessage() {} 95 96 // Deprecated, Use BulkSaveAlertsRequest.ProtoReflect.Descriptor instead. 97 func (*BulkSaveAlertsRequest) Descriptor() ([]byte, []int) { 98 return edgelq_alerting_proto_v1_alert_custom_proto_rawDescGZIP(), []int{0} 99 } 100 101 func (m *BulkSaveAlertsRequest) Unmarshal(b []byte) error { 102 return proto.Unmarshal(b, m) 103 } 104 105 func (m *BulkSaveAlertsRequest) Marshal() ([]byte, error) { 106 return proto.Marshal(m) 107 } 108 109 func (m *BulkSaveAlertsRequest) MarshalJSON() ([]byte, error) { 110 return protojson.MarshalOptions{}.Marshal(m) 111 } 112 113 func (m *BulkSaveAlertsRequest) UnmarshalJSON(data []byte) error { 114 return protojson.Unmarshal(data, m) 115 } 116 117 func (m *BulkSaveAlertsRequest) GetProject() *iam_project.Name { 118 if m != nil { 119 return m.Project 120 } 121 return nil 122 } 123 124 func (m *BulkSaveAlertsRequest) GetAlerts() []*alert.Alert { 125 if m != nil { 126 return m.Alerts 127 } 128 return nil 129 } 130 131 func (m *BulkSaveAlertsRequest) GetUpdateMask() *alert.Alert_FieldMask { 132 if m != nil { 133 return m.UpdateMask 134 } 135 return nil 136 } 137 138 func (m *BulkSaveAlertsRequest) SetProject(fv *iam_project.Name) { 139 if m == nil { 140 panic(fmt.Errorf("can't set %s on nil %s", "Project", "BulkSaveAlertsRequest")) 141 } 142 m.Project = fv 143 } 144 145 func (m *BulkSaveAlertsRequest) SetAlerts(fv []*alert.Alert) { 146 if m == nil { 147 panic(fmt.Errorf("can't set %s on nil %s", "Alerts", "BulkSaveAlertsRequest")) 148 } 149 m.Alerts = fv 150 } 151 152 func (m *BulkSaveAlertsRequest) SetUpdateMask(fv *alert.Alert_FieldMask) { 153 if m == nil { 154 panic(fmt.Errorf("can't set %s on nil %s", "UpdateMask", "BulkSaveAlertsRequest")) 155 } 156 m.UpdateMask = fv 157 } 158 159 // A response message of the BulkSaveAlerts method. 160 type BulkSaveAlertsResponse struct { 161 state protoimpl.MessageState 162 sizeCache protoimpl.SizeCache 163 unknownFields protoimpl.UnknownFields 164 Alerts []*alert.Alert `protobuf:"bytes,1,rep,name=alerts,proto3" json:"alerts,omitempty"` 165 } 166 167 func (m *BulkSaveAlertsResponse) Reset() { 168 *m = BulkSaveAlertsResponse{} 169 if protoimpl.UnsafeEnabled { 170 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[1] 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 172 ms.StoreMessageInfo(mi) 173 } 174 } 175 176 func (m *BulkSaveAlertsResponse) String() string { 177 return protoimpl.X.MessageStringOf(m) 178 } 179 180 func (*BulkSaveAlertsResponse) ProtoMessage() {} 181 182 func (m *BulkSaveAlertsResponse) ProtoReflect() preflect.Message { 183 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[1] 184 if protoimpl.UnsafeEnabled && m != nil { 185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 186 if ms.LoadMessageInfo() == nil { 187 ms.StoreMessageInfo(mi) 188 } 189 return ms 190 } 191 return mi.MessageOf(m) 192 } 193 194 func (*BulkSaveAlertsResponse) GotenMessage() {} 195 196 // Deprecated, Use BulkSaveAlertsResponse.ProtoReflect.Descriptor instead. 197 func (*BulkSaveAlertsResponse) Descriptor() ([]byte, []int) { 198 return edgelq_alerting_proto_v1_alert_custom_proto_rawDescGZIP(), []int{1} 199 } 200 201 func (m *BulkSaveAlertsResponse) Unmarshal(b []byte) error { 202 return proto.Unmarshal(b, m) 203 } 204 205 func (m *BulkSaveAlertsResponse) Marshal() ([]byte, error) { 206 return proto.Marshal(m) 207 } 208 209 func (m *BulkSaveAlertsResponse) MarshalJSON() ([]byte, error) { 210 return protojson.MarshalOptions{}.Marshal(m) 211 } 212 213 func (m *BulkSaveAlertsResponse) UnmarshalJSON(data []byte) error { 214 return protojson.Unmarshal(data, m) 215 } 216 217 func (m *BulkSaveAlertsResponse) GetAlerts() []*alert.Alert { 218 if m != nil { 219 return m.Alerts 220 } 221 return nil 222 } 223 224 func (m *BulkSaveAlertsResponse) SetAlerts(fv []*alert.Alert) { 225 if m == nil { 226 panic(fmt.Errorf("can't set %s on nil %s", "Alerts", "BulkSaveAlertsResponse")) 227 } 228 m.Alerts = fv 229 } 230 231 type BulkMarkAsNotifiedRequest struct { 232 state protoimpl.MessageState 233 sizeCache protoimpl.SizeCache 234 unknownFields protoimpl.UnknownFields 235 Project *iam_project.Name `protobuf:"bytes,1,opt,customtype=Name,name=project,proto3" json:"project,omitempty"` 236 Alerts []*alert.Name `protobuf:"bytes,2,rep,customtype=Name,name=alerts,proto3" json:"alerts,omitempty"` 237 Channels []*notification_channel.Name `protobuf:"bytes,3,rep,customtype=Name,name=channels,proto3" json:"channels,omitempty"` 238 } 239 240 func (m *BulkMarkAsNotifiedRequest) Reset() { 241 *m = BulkMarkAsNotifiedRequest{} 242 if protoimpl.UnsafeEnabled { 243 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[2] 244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 245 ms.StoreMessageInfo(mi) 246 } 247 } 248 249 func (m *BulkMarkAsNotifiedRequest) String() string { 250 return protoimpl.X.MessageStringOf(m) 251 } 252 253 func (*BulkMarkAsNotifiedRequest) ProtoMessage() {} 254 255 func (m *BulkMarkAsNotifiedRequest) ProtoReflect() preflect.Message { 256 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[2] 257 if protoimpl.UnsafeEnabled && m != nil { 258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 259 if ms.LoadMessageInfo() == nil { 260 ms.StoreMessageInfo(mi) 261 } 262 return ms 263 } 264 return mi.MessageOf(m) 265 } 266 267 func (*BulkMarkAsNotifiedRequest) GotenMessage() {} 268 269 // Deprecated, Use BulkMarkAsNotifiedRequest.ProtoReflect.Descriptor instead. 270 func (*BulkMarkAsNotifiedRequest) Descriptor() ([]byte, []int) { 271 return edgelq_alerting_proto_v1_alert_custom_proto_rawDescGZIP(), []int{2} 272 } 273 274 func (m *BulkMarkAsNotifiedRequest) Unmarshal(b []byte) error { 275 return proto.Unmarshal(b, m) 276 } 277 278 func (m *BulkMarkAsNotifiedRequest) Marshal() ([]byte, error) { 279 return proto.Marshal(m) 280 } 281 282 func (m *BulkMarkAsNotifiedRequest) MarshalJSON() ([]byte, error) { 283 return protojson.MarshalOptions{}.Marshal(m) 284 } 285 286 func (m *BulkMarkAsNotifiedRequest) UnmarshalJSON(data []byte) error { 287 return protojson.Unmarshal(data, m) 288 } 289 290 func (m *BulkMarkAsNotifiedRequest) GetProject() *iam_project.Name { 291 if m != nil { 292 return m.Project 293 } 294 return nil 295 } 296 297 func (m *BulkMarkAsNotifiedRequest) GetAlerts() []*alert.Name { 298 if m != nil { 299 return m.Alerts 300 } 301 return nil 302 } 303 304 func (m *BulkMarkAsNotifiedRequest) GetChannels() []*notification_channel.Name { 305 if m != nil { 306 return m.Channels 307 } 308 return nil 309 } 310 311 func (m *BulkMarkAsNotifiedRequest) SetProject(fv *iam_project.Name) { 312 if m == nil { 313 panic(fmt.Errorf("can't set %s on nil %s", "Project", "BulkMarkAsNotifiedRequest")) 314 } 315 m.Project = fv 316 } 317 318 func (m *BulkMarkAsNotifiedRequest) SetAlerts(fv []*alert.Name) { 319 if m == nil { 320 panic(fmt.Errorf("can't set %s on nil %s", "Alerts", "BulkMarkAsNotifiedRequest")) 321 } 322 m.Alerts = fv 323 } 324 325 func (m *BulkMarkAsNotifiedRequest) SetChannels(fv []*notification_channel.Name) { 326 if m == nil { 327 panic(fmt.Errorf("can't set %s on nil %s", "Channels", "BulkMarkAsNotifiedRequest")) 328 } 329 m.Channels = fv 330 } 331 332 type BulkMarkAsNotifiedResponse struct { 333 state protoimpl.MessageState 334 sizeCache protoimpl.SizeCache 335 unknownFields protoimpl.UnknownFields 336 } 337 338 func (m *BulkMarkAsNotifiedResponse) Reset() { 339 *m = BulkMarkAsNotifiedResponse{} 340 if protoimpl.UnsafeEnabled { 341 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[3] 342 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 343 ms.StoreMessageInfo(mi) 344 } 345 } 346 347 func (m *BulkMarkAsNotifiedResponse) String() string { 348 return protoimpl.X.MessageStringOf(m) 349 } 350 351 func (*BulkMarkAsNotifiedResponse) ProtoMessage() {} 352 353 func (m *BulkMarkAsNotifiedResponse) ProtoReflect() preflect.Message { 354 mi := &edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[3] 355 if protoimpl.UnsafeEnabled && m != nil { 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 357 if ms.LoadMessageInfo() == nil { 358 ms.StoreMessageInfo(mi) 359 } 360 return ms 361 } 362 return mi.MessageOf(m) 363 } 364 365 func (*BulkMarkAsNotifiedResponse) GotenMessage() {} 366 367 // Deprecated, Use BulkMarkAsNotifiedResponse.ProtoReflect.Descriptor instead. 368 func (*BulkMarkAsNotifiedResponse) Descriptor() ([]byte, []int) { 369 return edgelq_alerting_proto_v1_alert_custom_proto_rawDescGZIP(), []int{3} 370 } 371 372 func (m *BulkMarkAsNotifiedResponse) Unmarshal(b []byte) error { 373 return proto.Unmarshal(b, m) 374 } 375 376 func (m *BulkMarkAsNotifiedResponse) Marshal() ([]byte, error) { 377 return proto.Marshal(m) 378 } 379 380 func (m *BulkMarkAsNotifiedResponse) MarshalJSON() ([]byte, error) { 381 return protojson.MarshalOptions{}.Marshal(m) 382 } 383 384 func (m *BulkMarkAsNotifiedResponse) UnmarshalJSON(data []byte) error { 385 return protojson.Unmarshal(data, m) 386 } 387 388 var edgelq_alerting_proto_v1_alert_custom_proto preflect.FileDescriptor 389 390 var edgelq_alerting_proto_v1_alert_custom_proto_rawDesc = []byte{ 391 0x0a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 392 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 393 0x5f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6e, 394 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x20, 395 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 396 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 397 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 398 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 399 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 400 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 401 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 402 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 403 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 404 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 405 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 406 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 407 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 408 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 409 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x63, 410 0x68, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xdd, 0x01, 0x0a, 0x15, 411 0x42, 0x75, 0x6c, 0x6b, 0x53, 0x61, 0x76, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 412 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 413 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 414 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 415 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 416 0x3e, 0x0a, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 417 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 418 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x42, 0x0e, 0xca, 0xc6, 0x27, 0x0a, 0x42, 0x08, 0x0a, 419 0x02, 0x08, 0x01, 0x12, 0x02, 0x08, 0x19, 0x52, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x12, 420 0x4a, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x04, 421 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 422 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 423 0x42, 0x0d, 0xb2, 0xda, 0x21, 0x09, 0x32, 0x07, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 424 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x48, 0x0a, 0x16, 0x42, 425 0x75, 0x6c, 0x6b, 0x53, 0x61, 0x76, 0x65, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x52, 0x65, 0x73, 426 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x18, 427 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 428 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x06, 0x61, 429 0x6c, 0x65, 0x72, 0x74, 0x73, 0x22, 0xb5, 0x01, 0x0a, 0x19, 0x42, 0x75, 0x6c, 0x6b, 0x4d, 0x61, 430 0x72, 0x6b, 0x41, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x65, 0x64, 0x52, 0x65, 0x71, 0x75, 431 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 432 0x20, 0x01, 0x28, 0x09, 0x42, 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x69, 0x61, 433 0x6d, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 434 0x6a, 0x65, 0x63, 0x74, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x25, 0x0a, 435 0x06, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0d, 0xb2, 436 0xda, 0x21, 0x09, 0x0a, 0x07, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x06, 0x61, 0x6c, 437 0x65, 0x72, 0x74, 0x73, 0x12, 0x37, 0x0a, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 438 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x42, 0x1b, 0xb2, 0xda, 0x21, 0x17, 0x0a, 0x15, 0x0a, 0x13, 439 0x4e, 0x6f, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x68, 0x61, 0x6e, 440 0x6e, 0x65, 0x6c, 0x52, 0x08, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x73, 0x22, 0x1c, 0x0a, 441 0x1a, 0x42, 0x75, 0x6c, 0x6b, 0x4d, 0x61, 0x72, 0x6b, 0x41, 0x73, 0x4e, 0x6f, 0x74, 0x69, 0x66, 442 0x69, 0x65, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x72, 0xe8, 0xde, 0x21, 443 0x00, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 444 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x41, 0x6c, 0x65, 0x72, 0x74, 445 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x40, 0x67, 446 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 447 0x61, 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 448 0x6e, 0x67, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 0x65, 449 0x72, 0x74, 0x3b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 450 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 451 } 452 453 var ( 454 edgelq_alerting_proto_v1_alert_custom_proto_rawDescOnce sync.Once 455 edgelq_alerting_proto_v1_alert_custom_proto_rawDescData = edgelq_alerting_proto_v1_alert_custom_proto_rawDesc 456 ) 457 458 func edgelq_alerting_proto_v1_alert_custom_proto_rawDescGZIP() []byte { 459 edgelq_alerting_proto_v1_alert_custom_proto_rawDescOnce.Do(func() { 460 edgelq_alerting_proto_v1_alert_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_alert_custom_proto_rawDescData) 461 }) 462 return edgelq_alerting_proto_v1_alert_custom_proto_rawDescData 463 } 464 465 var edgelq_alerting_proto_v1_alert_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 466 var edgelq_alerting_proto_v1_alert_custom_proto_goTypes = []interface{}{ 467 (*BulkSaveAlertsRequest)(nil), // 0: ntt.alerting.v1.BulkSaveAlertsRequest 468 (*BulkSaveAlertsResponse)(nil), // 1: ntt.alerting.v1.BulkSaveAlertsResponse 469 (*BulkMarkAsNotifiedRequest)(nil), // 2: ntt.alerting.v1.BulkMarkAsNotifiedRequest 470 (*BulkMarkAsNotifiedResponse)(nil), // 3: ntt.alerting.v1.BulkMarkAsNotifiedResponse 471 (*alert.Alert)(nil), // 4: ntt.alerting.v1.Alert 472 (*alert.Alert_FieldMask)(nil), // 5: ntt.alerting.v1.Alert_FieldMask 473 } 474 var edgelq_alerting_proto_v1_alert_custom_proto_depIdxs = []int32{ 475 4, // 0: ntt.alerting.v1.BulkSaveAlertsRequest.alerts:type_name -> ntt.alerting.v1.Alert 476 5, // 1: ntt.alerting.v1.BulkSaveAlertsRequest.update_mask:type_name -> ntt.alerting.v1.Alert_FieldMask 477 4, // 2: ntt.alerting.v1.BulkSaveAlertsResponse.alerts:type_name -> ntt.alerting.v1.Alert 478 3, // [3:3] is the sub-list for method output_type 479 3, // [3:3] is the sub-list for method input_type 480 3, // [3:3] is the sub-list for extension type_name 481 3, // [3:3] is the sub-list for extension extendee 482 0, // [0:3] is the sub-list for field type_name 483 } 484 485 func init() { edgelq_alerting_proto_v1_alert_custom_proto_init() } 486 func edgelq_alerting_proto_v1_alert_custom_proto_init() { 487 if edgelq_alerting_proto_v1_alert_custom_proto != nil { 488 return 489 } 490 if !protoimpl.UnsafeEnabled { 491 492 edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 493 switch v := v.(*BulkSaveAlertsRequest); i { 494 case 0: 495 return &v.state 496 case 1: 497 return &v.sizeCache 498 case 2: 499 return &v.unknownFields 500 default: 501 return nil 502 } 503 } 504 edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 505 switch v := v.(*BulkSaveAlertsResponse); i { 506 case 0: 507 return &v.state 508 case 1: 509 return &v.sizeCache 510 case 2: 511 return &v.unknownFields 512 default: 513 return nil 514 } 515 } 516 edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 517 switch v := v.(*BulkMarkAsNotifiedRequest); i { 518 case 0: 519 return &v.state 520 case 1: 521 return &v.sizeCache 522 case 2: 523 return &v.unknownFields 524 default: 525 return nil 526 } 527 } 528 edgelq_alerting_proto_v1_alert_custom_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 529 switch v := v.(*BulkMarkAsNotifiedResponse); i { 530 case 0: 531 return &v.state 532 case 1: 533 return &v.sizeCache 534 case 2: 535 return &v.unknownFields 536 default: 537 return nil 538 } 539 } 540 } 541 542 type x struct{} 543 out := protoimpl.TypeBuilder{ 544 File: protoimpl.DescBuilder{ 545 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 546 RawDescriptor: edgelq_alerting_proto_v1_alert_custom_proto_rawDesc, 547 NumEnums: 0, 548 NumMessages: 4, 549 NumExtensions: 0, 550 NumServices: 0, 551 }, 552 GoTypes: edgelq_alerting_proto_v1_alert_custom_proto_goTypes, 553 DependencyIndexes: edgelq_alerting_proto_v1_alert_custom_proto_depIdxs, 554 MessageInfos: edgelq_alerting_proto_v1_alert_custom_proto_msgTypes, 555 }.Build() 556 edgelq_alerting_proto_v1_alert_custom_proto = out.File 557 edgelq_alerting_proto_v1_alert_custom_proto_rawDesc = nil 558 edgelq_alerting_proto_v1_alert_custom_proto_goTypes = nil 559 edgelq_alerting_proto_v1_alert_custom_proto_depIdxs = nil 560 }