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