github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/client/v1/edge_watch_service/edge_watch_service_custom.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/edge_watch_service_custom.proto 3 // DO NOT EDIT!!! 4 5 package edge_watch_service_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 policy "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/policy" 23 ts_condition "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/ts_condition" 24 ts_entry "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/ts_entry" 25 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 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 _ = &policy.Policy{} 45 _ = &ts_condition.TsCondition{} 46 _ = &ts_entry.TsEntry{} 47 _ = &iam_project.Project{} 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 WatchAlertData method. 58 // This is special combined watch of 5 streams dedicated specifically 59 // for edge alerter component. It reduces number of watch streams and 60 // therefore connections maintained by server (and slightly agent). 61 type WatchAlertDataRequest struct { 62 state protoimpl.MessageState 63 sizeCache protoimpl.SizeCache 64 unknownFields protoimpl.UnknownFields 65 Project *iam_project.Name `protobuf:"bytes,1,opt,customtype=Name,name=project,proto3" json:"project,omitempty"` 66 AlertingResourceName string `protobuf:"bytes,2,opt,name=alerting_resource_name,json=alertingResourceName,proto3" json:"alerting_resource_name,omitempty"` 67 AlertingResourceKind string `protobuf:"bytes,3,opt,name=alerting_resource_kind,json=alertingResourceKind,proto3" json:"alerting_resource_kind,omitempty"` 68 } 69 70 func (m *WatchAlertDataRequest) Reset() { 71 *m = WatchAlertDataRequest{} 72 if protoimpl.UnsafeEnabled { 73 mi := &edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes[0] 74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 75 ms.StoreMessageInfo(mi) 76 } 77 } 78 79 func (m *WatchAlertDataRequest) String() string { 80 return protoimpl.X.MessageStringOf(m) 81 } 82 83 func (*WatchAlertDataRequest) ProtoMessage() {} 84 85 func (m *WatchAlertDataRequest) ProtoReflect() preflect.Message { 86 mi := &edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes[0] 87 if protoimpl.UnsafeEnabled && m != nil { 88 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 89 if ms.LoadMessageInfo() == nil { 90 ms.StoreMessageInfo(mi) 91 } 92 return ms 93 } 94 return mi.MessageOf(m) 95 } 96 97 func (*WatchAlertDataRequest) GotenMessage() {} 98 99 // Deprecated, Use WatchAlertDataRequest.ProtoReflect.Descriptor instead. 100 func (*WatchAlertDataRequest) Descriptor() ([]byte, []int) { 101 return edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescGZIP(), []int{0} 102 } 103 104 func (m *WatchAlertDataRequest) Unmarshal(b []byte) error { 105 return proto.Unmarshal(b, m) 106 } 107 108 func (m *WatchAlertDataRequest) Marshal() ([]byte, error) { 109 return proto.Marshal(m) 110 } 111 112 func (m *WatchAlertDataRequest) MarshalJSON() ([]byte, error) { 113 return protojson.MarshalOptions{}.Marshal(m) 114 } 115 116 func (m *WatchAlertDataRequest) UnmarshalJSON(data []byte) error { 117 return protojson.Unmarshal(data, m) 118 } 119 120 func (m *WatchAlertDataRequest) GetProject() *iam_project.Name { 121 if m != nil { 122 return m.Project 123 } 124 return nil 125 } 126 127 func (m *WatchAlertDataRequest) GetAlertingResourceName() string { 128 if m != nil { 129 return m.AlertingResourceName 130 } 131 return "" 132 } 133 134 func (m *WatchAlertDataRequest) GetAlertingResourceKind() string { 135 if m != nil { 136 return m.AlertingResourceKind 137 } 138 return "" 139 } 140 141 func (m *WatchAlertDataRequest) SetProject(fv *iam_project.Name) { 142 if m == nil { 143 panic(fmt.Errorf("can't set %s on nil %s", "Project", "WatchAlertDataRequest")) 144 } 145 m.Project = fv 146 } 147 148 func (m *WatchAlertDataRequest) SetAlertingResourceName(fv string) { 149 if m == nil { 150 panic(fmt.Errorf("can't set %s on nil %s", "AlertingResourceName", "WatchAlertDataRequest")) 151 } 152 m.AlertingResourceName = fv 153 } 154 155 func (m *WatchAlertDataRequest) SetAlertingResourceKind(fv string) { 156 if m == nil { 157 panic(fmt.Errorf("can't set %s on nil %s", "AlertingResourceKind", "WatchAlertDataRequest")) 158 } 159 m.AlertingResourceKind = fv 160 } 161 162 // A response message of the WatchAlertData method. 163 type WatchAlertDataResponse struct { 164 state protoimpl.MessageState 165 sizeCache protoimpl.SizeCache 166 unknownFields protoimpl.UnknownFields 167 AlertsToAdd []*alert.Alert `protobuf:"bytes,1,rep,name=alerts_to_add,json=alertsToAdd,proto3" json:"alerts_to_add,omitempty"` 168 TsEntriesToAdd []*ts_entry.TsEntry `protobuf:"bytes,2,rep,name=ts_entries_to_add,json=tsEntriesToAdd,proto3" json:"ts_entries_to_add,omitempty"` 169 PoliciesToAdd []*policy.Policy `protobuf:"bytes,3,rep,name=policies_to_add,json=policiesToAdd,proto3" json:"policies_to_add,omitempty"` 170 TsCndsToAdd []*ts_condition.TsCondition `protobuf:"bytes,4,rep,name=ts_cnds_to_add,json=tsCndsToAdd,proto3" json:"ts_cnds_to_add,omitempty"` 171 LogCndsToAdd []*log_condition.LogCondition `protobuf:"bytes,5,rep,name=log_cnds_to_add,json=logCndsToAdd,proto3" json:"log_cnds_to_add,omitempty"` 172 AlertNamesToRemove []*alert.Name `protobuf:"bytes,6,rep,customtype=Name,name=alert_names_to_remove,json=alertNamesToRemove,proto3" json:"alert_names_to_remove,omitempty"` 173 TsEntryNamesToRemove []*ts_entry.Name `protobuf:"bytes,7,rep,customtype=Name,name=ts_entry_names_to_remove,json=tsEntryNamesToRemove,proto3" json:"ts_entry_names_to_remove,omitempty"` 174 PolicyNamesToRemove []*policy.Name `protobuf:"bytes,8,rep,customtype=Name,name=policy_names_to_remove,json=policyNamesToRemove,proto3" json:"policy_names_to_remove,omitempty"` 175 TsCndNamesToRemove []*ts_condition.Name `protobuf:"bytes,9,rep,customtype=Name,name=ts_cnd_names_to_remove,json=tsCndNamesToRemove,proto3" json:"ts_cnd_names_to_remove,omitempty"` 176 LogCndNamesToRemove []*log_condition.Name `protobuf:"bytes,10,rep,customtype=Name,name=log_cnd_names_to_remove,json=logCndNamesToRemove,proto3" json:"log_cnd_names_to_remove,omitempty"` 177 ResetAlerts bool `protobuf:"varint,11,opt,name=reset_alerts,json=resetAlerts,proto3" json:"reset_alerts,omitempty"` 178 ResetTsEntries bool `protobuf:"varint,12,opt,name=reset_ts_entries,json=resetTsEntries,proto3" json:"reset_ts_entries,omitempty"` 179 ResetPolicies bool `protobuf:"varint,13,opt,name=reset_policies,json=resetPolicies,proto3" json:"reset_policies,omitempty"` 180 ResetTsCnds bool `protobuf:"varint,14,opt,name=reset_ts_cnds,json=resetTsCnds,proto3" json:"reset_ts_cnds,omitempty"` 181 ResetLogCnds bool `protobuf:"varint,15,opt,name=reset_log_cnds,json=resetLogCnds,proto3" json:"reset_log_cnds,omitempty"` 182 } 183 184 func (m *WatchAlertDataResponse) Reset() { 185 *m = WatchAlertDataResponse{} 186 if protoimpl.UnsafeEnabled { 187 mi := &edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes[1] 188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 189 ms.StoreMessageInfo(mi) 190 } 191 } 192 193 func (m *WatchAlertDataResponse) String() string { 194 return protoimpl.X.MessageStringOf(m) 195 } 196 197 func (*WatchAlertDataResponse) ProtoMessage() {} 198 199 func (m *WatchAlertDataResponse) ProtoReflect() preflect.Message { 200 mi := &edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes[1] 201 if protoimpl.UnsafeEnabled && m != nil { 202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 203 if ms.LoadMessageInfo() == nil { 204 ms.StoreMessageInfo(mi) 205 } 206 return ms 207 } 208 return mi.MessageOf(m) 209 } 210 211 func (*WatchAlertDataResponse) GotenMessage() {} 212 213 // Deprecated, Use WatchAlertDataResponse.ProtoReflect.Descriptor instead. 214 func (*WatchAlertDataResponse) Descriptor() ([]byte, []int) { 215 return edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescGZIP(), []int{1} 216 } 217 218 func (m *WatchAlertDataResponse) Unmarshal(b []byte) error { 219 return proto.Unmarshal(b, m) 220 } 221 222 func (m *WatchAlertDataResponse) Marshal() ([]byte, error) { 223 return proto.Marshal(m) 224 } 225 226 func (m *WatchAlertDataResponse) MarshalJSON() ([]byte, error) { 227 return protojson.MarshalOptions{}.Marshal(m) 228 } 229 230 func (m *WatchAlertDataResponse) UnmarshalJSON(data []byte) error { 231 return protojson.Unmarshal(data, m) 232 } 233 234 func (m *WatchAlertDataResponse) GetAlertsToAdd() []*alert.Alert { 235 if m != nil { 236 return m.AlertsToAdd 237 } 238 return nil 239 } 240 241 func (m *WatchAlertDataResponse) GetTsEntriesToAdd() []*ts_entry.TsEntry { 242 if m != nil { 243 return m.TsEntriesToAdd 244 } 245 return nil 246 } 247 248 func (m *WatchAlertDataResponse) GetPoliciesToAdd() []*policy.Policy { 249 if m != nil { 250 return m.PoliciesToAdd 251 } 252 return nil 253 } 254 255 func (m *WatchAlertDataResponse) GetTsCndsToAdd() []*ts_condition.TsCondition { 256 if m != nil { 257 return m.TsCndsToAdd 258 } 259 return nil 260 } 261 262 func (m *WatchAlertDataResponse) GetLogCndsToAdd() []*log_condition.LogCondition { 263 if m != nil { 264 return m.LogCndsToAdd 265 } 266 return nil 267 } 268 269 func (m *WatchAlertDataResponse) GetAlertNamesToRemove() []*alert.Name { 270 if m != nil { 271 return m.AlertNamesToRemove 272 } 273 return nil 274 } 275 276 func (m *WatchAlertDataResponse) GetTsEntryNamesToRemove() []*ts_entry.Name { 277 if m != nil { 278 return m.TsEntryNamesToRemove 279 } 280 return nil 281 } 282 283 func (m *WatchAlertDataResponse) GetPolicyNamesToRemove() []*policy.Name { 284 if m != nil { 285 return m.PolicyNamesToRemove 286 } 287 return nil 288 } 289 290 func (m *WatchAlertDataResponse) GetTsCndNamesToRemove() []*ts_condition.Name { 291 if m != nil { 292 return m.TsCndNamesToRemove 293 } 294 return nil 295 } 296 297 func (m *WatchAlertDataResponse) GetLogCndNamesToRemove() []*log_condition.Name { 298 if m != nil { 299 return m.LogCndNamesToRemove 300 } 301 return nil 302 } 303 304 func (m *WatchAlertDataResponse) GetResetAlerts() bool { 305 if m != nil { 306 return m.ResetAlerts 307 } 308 return false 309 } 310 311 func (m *WatchAlertDataResponse) GetResetTsEntries() bool { 312 if m != nil { 313 return m.ResetTsEntries 314 } 315 return false 316 } 317 318 func (m *WatchAlertDataResponse) GetResetPolicies() bool { 319 if m != nil { 320 return m.ResetPolicies 321 } 322 return false 323 } 324 325 func (m *WatchAlertDataResponse) GetResetTsCnds() bool { 326 if m != nil { 327 return m.ResetTsCnds 328 } 329 return false 330 } 331 332 func (m *WatchAlertDataResponse) GetResetLogCnds() bool { 333 if m != nil { 334 return m.ResetLogCnds 335 } 336 return false 337 } 338 339 func (m *WatchAlertDataResponse) SetAlertsToAdd(fv []*alert.Alert) { 340 if m == nil { 341 panic(fmt.Errorf("can't set %s on nil %s", "AlertsToAdd", "WatchAlertDataResponse")) 342 } 343 m.AlertsToAdd = fv 344 } 345 346 func (m *WatchAlertDataResponse) SetTsEntriesToAdd(fv []*ts_entry.TsEntry) { 347 if m == nil { 348 panic(fmt.Errorf("can't set %s on nil %s", "TsEntriesToAdd", "WatchAlertDataResponse")) 349 } 350 m.TsEntriesToAdd = fv 351 } 352 353 func (m *WatchAlertDataResponse) SetPoliciesToAdd(fv []*policy.Policy) { 354 if m == nil { 355 panic(fmt.Errorf("can't set %s on nil %s", "PoliciesToAdd", "WatchAlertDataResponse")) 356 } 357 m.PoliciesToAdd = fv 358 } 359 360 func (m *WatchAlertDataResponse) SetTsCndsToAdd(fv []*ts_condition.TsCondition) { 361 if m == nil { 362 panic(fmt.Errorf("can't set %s on nil %s", "TsCndsToAdd", "WatchAlertDataResponse")) 363 } 364 m.TsCndsToAdd = fv 365 } 366 367 func (m *WatchAlertDataResponse) SetLogCndsToAdd(fv []*log_condition.LogCondition) { 368 if m == nil { 369 panic(fmt.Errorf("can't set %s on nil %s", "LogCndsToAdd", "WatchAlertDataResponse")) 370 } 371 m.LogCndsToAdd = fv 372 } 373 374 func (m *WatchAlertDataResponse) SetAlertNamesToRemove(fv []*alert.Name) { 375 if m == nil { 376 panic(fmt.Errorf("can't set %s on nil %s", "AlertNamesToRemove", "WatchAlertDataResponse")) 377 } 378 m.AlertNamesToRemove = fv 379 } 380 381 func (m *WatchAlertDataResponse) SetTsEntryNamesToRemove(fv []*ts_entry.Name) { 382 if m == nil { 383 panic(fmt.Errorf("can't set %s on nil %s", "TsEntryNamesToRemove", "WatchAlertDataResponse")) 384 } 385 m.TsEntryNamesToRemove = fv 386 } 387 388 func (m *WatchAlertDataResponse) SetPolicyNamesToRemove(fv []*policy.Name) { 389 if m == nil { 390 panic(fmt.Errorf("can't set %s on nil %s", "PolicyNamesToRemove", "WatchAlertDataResponse")) 391 } 392 m.PolicyNamesToRemove = fv 393 } 394 395 func (m *WatchAlertDataResponse) SetTsCndNamesToRemove(fv []*ts_condition.Name) { 396 if m == nil { 397 panic(fmt.Errorf("can't set %s on nil %s", "TsCndNamesToRemove", "WatchAlertDataResponse")) 398 } 399 m.TsCndNamesToRemove = fv 400 } 401 402 func (m *WatchAlertDataResponse) SetLogCndNamesToRemove(fv []*log_condition.Name) { 403 if m == nil { 404 panic(fmt.Errorf("can't set %s on nil %s", "LogCndNamesToRemove", "WatchAlertDataResponse")) 405 } 406 m.LogCndNamesToRemove = fv 407 } 408 409 func (m *WatchAlertDataResponse) SetResetAlerts(fv bool) { 410 if m == nil { 411 panic(fmt.Errorf("can't set %s on nil %s", "ResetAlerts", "WatchAlertDataResponse")) 412 } 413 m.ResetAlerts = fv 414 } 415 416 func (m *WatchAlertDataResponse) SetResetTsEntries(fv bool) { 417 if m == nil { 418 panic(fmt.Errorf("can't set %s on nil %s", "ResetTsEntries", "WatchAlertDataResponse")) 419 } 420 m.ResetTsEntries = fv 421 } 422 423 func (m *WatchAlertDataResponse) SetResetPolicies(fv bool) { 424 if m == nil { 425 panic(fmt.Errorf("can't set %s on nil %s", "ResetPolicies", "WatchAlertDataResponse")) 426 } 427 m.ResetPolicies = fv 428 } 429 430 func (m *WatchAlertDataResponse) SetResetTsCnds(fv bool) { 431 if m == nil { 432 panic(fmt.Errorf("can't set %s on nil %s", "ResetTsCnds", "WatchAlertDataResponse")) 433 } 434 m.ResetTsCnds = fv 435 } 436 437 func (m *WatchAlertDataResponse) SetResetLogCnds(fv bool) { 438 if m == nil { 439 panic(fmt.Errorf("can't set %s on nil %s", "ResetLogCnds", "WatchAlertDataResponse")) 440 } 441 m.ResetLogCnds = fv 442 } 443 444 var edgelq_alerting_proto_v1_edge_watch_service_custom_proto preflect.FileDescriptor 445 446 var edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDesc = []byte{ 447 0x0a, 0x38, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 448 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x5f, 449 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x63, 0x75, 450 0x73, 0x74, 0x6f, 0x6d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6e, 0x74, 0x74, 0x2e, 451 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, 0x6f, 0x74, 452 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 453 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 454 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 455 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 456 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 457 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 458 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 459 0x2f, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 460 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 461 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x6c, 462 0x65, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 463 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 464 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 465 0x74, 0x6f, 0x1a, 0x25, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 466 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 467 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x65, 0x64, 0x67, 0x65, 0x6c, 468 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 469 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 470 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 471 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 472 0x2f, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 473 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbd, 0x01, 0x0a, 0x15, 0x57, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 474 0x65, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 475 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 476 0x1e, 0xb2, 0xda, 0x21, 0x1a, 0x0a, 0x18, 0x0a, 0x16, 0x69, 0x61, 0x6d, 0x2e, 0x65, 0x64, 0x67, 477 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x52, 478 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x34, 0x0a, 0x16, 0x61, 0x6c, 0x65, 0x72, 479 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 480 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 481 0x6e, 0x67, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x34, 482 0x0a, 0x16, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 483 0x72, 0x63, 0x65, 0x5f, 0x6b, 0x69, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 484 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 485 0x4b, 0x69, 0x6e, 0x64, 0x22, 0x86, 0x07, 0x0a, 0x16, 0x57, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6c, 486 0x65, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 487 0x3a, 0x0a, 0x0d, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 488 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 489 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x0b, 490 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x12, 0x43, 0x0a, 0x11, 0x74, 491 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 492 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 493 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 494 0x52, 0x0e, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x54, 0x6f, 0x41, 0x64, 0x64, 495 0x12, 0x3f, 0x0a, 0x0f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 496 0x61, 0x64, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 497 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 498 0x63, 0x79, 0x52, 0x0d, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x54, 0x6f, 0x41, 0x64, 499 0x64, 0x12, 0x41, 0x0a, 0x0e, 0x74, 0x73, 0x5f, 0x63, 0x6e, 0x64, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 500 0x61, 0x64, 0x64, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 501 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x73, 0x43, 0x6f, 502 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x74, 0x73, 0x43, 0x6e, 0x64, 0x73, 0x54, 503 0x6f, 0x41, 0x64, 0x64, 0x12, 0x44, 0x0a, 0x0f, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x6e, 0x64, 0x73, 504 0x5f, 0x74, 0x6f, 0x5f, 0x61, 0x64, 0x64, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 505 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x2e, 506 0x4c, 0x6f, 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6c, 0x6f, 507 0x67, 0x43, 0x6e, 0x64, 0x73, 0x54, 0x6f, 0x41, 0x64, 0x64, 0x12, 0x40, 0x0a, 0x15, 0x61, 0x6c, 508 0x65, 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x6d, 509 0x6f, 0x76, 0x65, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0d, 0xb2, 0xda, 0x21, 0x09, 0x0a, 510 0x07, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x12, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x4e, 511 0x61, 0x6d, 0x65, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x47, 0x0a, 0x18, 512 0x74, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x74, 513 0x6f, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0f, 514 0xb2, 0xda, 0x21, 0x0b, 0x0a, 0x09, 0x0a, 0x07, 0x54, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 515 0x14, 0x74, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x54, 0x6f, 0x52, 516 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x43, 0x0a, 0x16, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x5f, 517 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 518 0x08, 0x20, 0x03, 0x28, 0x09, 0x42, 0x0e, 0xb2, 0xda, 0x21, 0x0a, 0x0a, 0x08, 0x0a, 0x06, 0x50, 519 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x13, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x4e, 0x61, 0x6d, 520 0x65, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 0x47, 0x0a, 0x16, 0x74, 0x73, 521 0x5f, 0x63, 0x6e, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 522 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x42, 0x13, 0xb2, 0xda, 0x21, 0x0f, 523 0x0a, 0x0d, 0x0a, 0x0b, 0x54, 0x73, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 524 0x12, 0x74, 0x73, 0x43, 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x6d, 525 0x6f, 0x76, 0x65, 0x12, 0x4a, 0x0a, 0x17, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x6e, 0x64, 0x5f, 0x6e, 526 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x18, 0x0a, 527 0x20, 0x03, 0x28, 0x09, 0x42, 0x14, 0xb2, 0xda, 0x21, 0x10, 0x0a, 0x0e, 0x0a, 0x0c, 0x4c, 0x6f, 528 0x67, 0x43, 0x6f, 0x6e, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6c, 0x6f, 0x67, 0x43, 529 0x6e, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x12, 530 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x73, 0x18, 531 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x65, 0x74, 0x41, 0x6c, 0x65, 0x72, 532 0x74, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x73, 0x5f, 0x65, 533 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x72, 0x65, 534 0x73, 0x65, 0x74, 0x54, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 535 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x69, 0x65, 0x73, 0x18, 0x0d, 536 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 537 0x69, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x74, 0x5f, 0x74, 0x73, 0x5f, 538 0x63, 0x6e, 0x64, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x72, 0x65, 0x73, 0x65, 539 0x74, 0x54, 0x73, 0x43, 0x6e, 0x64, 0x73, 0x12, 0x24, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x65, 0x74, 540 0x5f, 0x6c, 0x6f, 0x67, 0x5f, 0x63, 0x6e, 0x64, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 541 0x0c, 0x72, 0x65, 0x73, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x43, 0x6e, 0x64, 0x73, 0x42, 0x97, 0x01, 542 0xe8, 0xde, 0x21, 0x00, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 543 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x1b, 0x45, 0x64, 544 0x67, 0x65, 0x57, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x75, 545 0x73, 0x74, 0x6f, 0x6d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x00, 0x5a, 0x5a, 0x67, 0x69, 0x74, 546 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 547 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 548 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x5f, 549 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x3b, 0x65, 0x64, 550 0x67, 0x65, 0x5f, 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 551 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 552 } 553 554 var ( 555 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescOnce sync.Once 556 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescData = edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDesc 557 ) 558 559 func edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescGZIP() []byte { 560 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescOnce.Do(func() { 561 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescData) 562 }) 563 return edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDescData 564 } 565 566 var edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 567 var edgelq_alerting_proto_v1_edge_watch_service_custom_proto_goTypes = []interface{}{ 568 (*WatchAlertDataRequest)(nil), // 0: ntt.alerting.v1.WatchAlertDataRequest 569 (*WatchAlertDataResponse)(nil), // 1: ntt.alerting.v1.WatchAlertDataResponse 570 (*alert.Alert)(nil), // 2: ntt.alerting.v1.Alert 571 (*ts_entry.TsEntry)(nil), // 3: ntt.alerting.v1.TsEntry 572 (*policy.Policy)(nil), // 4: ntt.alerting.v1.Policy 573 (*ts_condition.TsCondition)(nil), // 5: ntt.alerting.v1.TsCondition 574 (*log_condition.LogCondition)(nil), // 6: ntt.alerting.v1.LogCondition 575 } 576 var edgelq_alerting_proto_v1_edge_watch_service_custom_proto_depIdxs = []int32{ 577 2, // 0: ntt.alerting.v1.WatchAlertDataResponse.alerts_to_add:type_name -> ntt.alerting.v1.Alert 578 3, // 1: ntt.alerting.v1.WatchAlertDataResponse.ts_entries_to_add:type_name -> ntt.alerting.v1.TsEntry 579 4, // 2: ntt.alerting.v1.WatchAlertDataResponse.policies_to_add:type_name -> ntt.alerting.v1.Policy 580 5, // 3: ntt.alerting.v1.WatchAlertDataResponse.ts_cnds_to_add:type_name -> ntt.alerting.v1.TsCondition 581 6, // 4: ntt.alerting.v1.WatchAlertDataResponse.log_cnds_to_add:type_name -> ntt.alerting.v1.LogCondition 582 5, // [5:5] is the sub-list for method output_type 583 5, // [5:5] is the sub-list for method input_type 584 5, // [5:5] is the sub-list for extension type_name 585 5, // [5:5] is the sub-list for extension extendee 586 0, // [0:5] is the sub-list for field type_name 587 } 588 589 func init() { edgelq_alerting_proto_v1_edge_watch_service_custom_proto_init() } 590 func edgelq_alerting_proto_v1_edge_watch_service_custom_proto_init() { 591 if edgelq_alerting_proto_v1_edge_watch_service_custom_proto != nil { 592 return 593 } 594 if !protoimpl.UnsafeEnabled { 595 596 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 597 switch v := v.(*WatchAlertDataRequest); i { 598 case 0: 599 return &v.state 600 case 1: 601 return &v.sizeCache 602 case 2: 603 return &v.unknownFields 604 default: 605 return nil 606 } 607 } 608 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 609 switch v := v.(*WatchAlertDataResponse); i { 610 case 0: 611 return &v.state 612 case 1: 613 return &v.sizeCache 614 case 2: 615 return &v.unknownFields 616 default: 617 return nil 618 } 619 } 620 } 621 622 type x struct{} 623 out := protoimpl.TypeBuilder{ 624 File: protoimpl.DescBuilder{ 625 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 626 RawDescriptor: edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDesc, 627 NumEnums: 0, 628 NumMessages: 2, 629 NumExtensions: 0, 630 NumServices: 0, 631 }, 632 GoTypes: edgelq_alerting_proto_v1_edge_watch_service_custom_proto_goTypes, 633 DependencyIndexes: edgelq_alerting_proto_v1_edge_watch_service_custom_proto_depIdxs, 634 MessageInfos: edgelq_alerting_proto_v1_edge_watch_service_custom_proto_msgTypes, 635 }.Build() 636 edgelq_alerting_proto_v1_edge_watch_service_custom_proto = out.File 637 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_rawDesc = nil 638 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_goTypes = nil 639 edgelq_alerting_proto_v1_edge_watch_service_custom_proto_depIdxs = nil 640 }