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