github.com/google/cloudprober@v0.11.3/surfacers/proto/config.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.26.0 4 // protoc v3.17.3 5 // source: github.com/google/cloudprober/surfacers/proto/config.proto 6 7 package proto 8 9 import ( 10 proto5 "github.com/google/cloudprober/surfacers/cloudwatch/proto" 11 proto6 "github.com/google/cloudprober/surfacers/datadog/proto" 12 proto2 "github.com/google/cloudprober/surfacers/file/proto" 13 proto3 "github.com/google/cloudprober/surfacers/postgres/proto" 14 proto "github.com/google/cloudprober/surfacers/prometheus/proto" 15 proto4 "github.com/google/cloudprober/surfacers/pubsub/proto" 16 proto1 "github.com/google/cloudprober/surfacers/stackdriver/proto" 17 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 18 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 19 reflect "reflect" 20 sync "sync" 21 ) 22 23 const ( 24 // Verify that this generated code is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 26 // Verify that runtime/protoimpl is sufficiently up-to-date. 27 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 28 ) 29 30 // Enumeration for each type of surfacer we can parse and create 31 type Type int32 32 33 const ( 34 Type_NONE Type = 0 35 Type_PROMETHEUS Type = 1 36 Type_STACKDRIVER Type = 2 37 Type_FILE Type = 3 38 Type_POSTGRES Type = 4 39 Type_PUBSUB Type = 5 40 Type_CLOUDWATCH Type = 6 // Experimental mode. 41 Type_DATADOG Type = 7 // Experimental mode. 42 Type_USER_DEFINED Type = 99 43 ) 44 45 // Enum value maps for Type. 46 var ( 47 Type_name = map[int32]string{ 48 0: "NONE", 49 1: "PROMETHEUS", 50 2: "STACKDRIVER", 51 3: "FILE", 52 4: "POSTGRES", 53 5: "PUBSUB", 54 6: "CLOUDWATCH", 55 7: "DATADOG", 56 99: "USER_DEFINED", 57 } 58 Type_value = map[string]int32{ 59 "NONE": 0, 60 "PROMETHEUS": 1, 61 "STACKDRIVER": 2, 62 "FILE": 3, 63 "POSTGRES": 4, 64 "PUBSUB": 5, 65 "CLOUDWATCH": 6, 66 "DATADOG": 7, 67 "USER_DEFINED": 99, 68 } 69 ) 70 71 func (x Type) Enum() *Type { 72 p := new(Type) 73 *p = x 74 return p 75 } 76 77 func (x Type) String() string { 78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 79 } 80 81 func (Type) Descriptor() protoreflect.EnumDescriptor { 82 return file_github_com_google_cloudprober_surfacers_proto_config_proto_enumTypes[0].Descriptor() 83 } 84 85 func (Type) Type() protoreflect.EnumType { 86 return &file_github_com_google_cloudprober_surfacers_proto_config_proto_enumTypes[0] 87 } 88 89 func (x Type) Number() protoreflect.EnumNumber { 90 return protoreflect.EnumNumber(x) 91 } 92 93 // Deprecated: Do not use. 94 func (x *Type) UnmarshalJSON(b []byte) error { 95 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 96 if err != nil { 97 return err 98 } 99 *x = Type(num) 100 return nil 101 } 102 103 // Deprecated: Use Type.Descriptor instead. 104 func (Type) EnumDescriptor() ([]byte, []int) { 105 return file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescGZIP(), []int{0} 106 } 107 108 type LabelFilter struct { 109 state protoimpl.MessageState 110 sizeCache protoimpl.SizeCache 111 unknownFields protoimpl.UnknownFields 112 113 Key *string `protobuf:"bytes,1,opt,name=key" json:"key,omitempty"` 114 Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` 115 } 116 117 func (x *LabelFilter) Reset() { 118 *x = LabelFilter{} 119 if protoimpl.UnsafeEnabled { 120 mi := &file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes[0] 121 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 122 ms.StoreMessageInfo(mi) 123 } 124 } 125 126 func (x *LabelFilter) String() string { 127 return protoimpl.X.MessageStringOf(x) 128 } 129 130 func (*LabelFilter) ProtoMessage() {} 131 132 func (x *LabelFilter) ProtoReflect() protoreflect.Message { 133 mi := &file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes[0] 134 if protoimpl.UnsafeEnabled && x != nil { 135 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 136 if ms.LoadMessageInfo() == nil { 137 ms.StoreMessageInfo(mi) 138 } 139 return ms 140 } 141 return mi.MessageOf(x) 142 } 143 144 // Deprecated: Use LabelFilter.ProtoReflect.Descriptor instead. 145 func (*LabelFilter) Descriptor() ([]byte, []int) { 146 return file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescGZIP(), []int{0} 147 } 148 149 func (x *LabelFilter) GetKey() string { 150 if x != nil && x.Key != nil { 151 return *x.Key 152 } 153 return "" 154 } 155 156 func (x *LabelFilter) GetValue() string { 157 if x != nil && x.Value != nil { 158 return *x.Value 159 } 160 return "" 161 } 162 163 type SurfacerDef struct { 164 state protoimpl.MessageState 165 sizeCache protoimpl.SizeCache 166 unknownFields protoimpl.UnknownFields 167 168 // This name is used for logging. If not defined, it's derived from the type. 169 // Note that this field is required for the USER_DEFINED surfacer type and 170 // should match with the name that you used while registering the user defined 171 // surfacer. 172 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` 173 Type *Type `protobuf:"varint,2,opt,name=type,enum=cloudprober.surfacer.Type" json:"type,omitempty"` 174 // How many metrics entries (EventMetrics) to buffer. This is the buffer 175 // between incoming metrics and the metrics that are being processed. Default 176 // value should work in most cases. You may need to increase it on a busy 177 // system, but that's usually a sign that you metrics processing pipeline is 178 // slow for some reason, e.g. slow writes to a remote file. 179 // Note: Only file and pubsub surfacer supports this option right now. 180 MetricsBufferSize *int64 `protobuf:"varint,3,opt,name=metrics_buffer_size,json=metricsBufferSize,def=10000" json:"metrics_buffer_size,omitempty"` 181 // If specified, only allow metrics that match any of these label filters. 182 // Example: 183 // allow_metrics_with_label { 184 // key: "probe", 185 // value: "check_homepage", 186 // } 187 AllowMetricsWithLabel []*LabelFilter `protobuf:"bytes,4,rep,name=allow_metrics_with_label,json=allowMetricsWithLabel" json:"allow_metrics_with_label,omitempty"` 188 // Ignore metrics that match any of these label filters. Ignore has precedence 189 // over allow filters. 190 // Example: 191 // ignore_metrics_with_label { 192 // key: "probe", 193 // value: "sysvars", 194 // } 195 IgnoreMetricsWithLabel []*LabelFilter `protobuf:"bytes,5,rep,name=ignore_metrics_with_label,json=ignoreMetricsWithLabel" json:"ignore_metrics_with_label,omitempty"` 196 // Allow and ignore metrics based on their names. You can specify regexes 197 // here. Ignore has precendence over allow. 198 // Examples: 199 // ignore_metrics_with_name: "validation_failure" 200 // allow_metrics_with_name: "(total|success|latency)" 201 // 202 // For efficiency reasons, filtering by metric name has to be implemented by 203 // individual surfacers (while going through metrics within an EventMetrics). 204 // Currently following surfacers implement it: 205 // CLOUDWATCH, PROMETHEUS, STACKDRIVER 206 AllowMetricsWithName *string `protobuf:"bytes,6,opt,name=allow_metrics_with_name,json=allowMetricsWithName" json:"allow_metrics_with_name,omitempty"` 207 IgnoreMetricsWithName *string `protobuf:"bytes,7,opt,name=ignore_metrics_with_name,json=ignoreMetricsWithName" json:"ignore_metrics_with_name,omitempty"` 208 // Whether to add failure metric or not. For stackdriver surfacer, we add 209 // failure metric by default. 210 AddFailureMetric *bool `protobuf:"varint,8,opt,name=add_failure_metric,json=addFailureMetric" json:"add_failure_metric,omitempty"` 211 // If set to true, cloudprober will export all metrics as gauge metrics. Note 212 // that cloudprober inherently generates only cumulative metrics. To create 213 // gauge metrics from cumulative metrics, we keep a copy of the old metrics 214 // and subtract new metrics from the previous metrics. This transformation in 215 // metrics has an increased memory-overhead because extra copies required. 216 // However, it should not be noticeable unless you're producing large number 217 // of metrics (say > 10000 metrics per second). 218 ExportAsGauge *bool `protobuf:"varint,9,opt,name=export_as_gauge,json=exportAsGauge" json:"export_as_gauge,omitempty"` 219 // Matching surfacer specific configuration (one for each type in the above 220 // enum) 221 // 222 // Types that are assignable to Surfacer: 223 // *SurfacerDef_PrometheusSurfacer 224 // *SurfacerDef_StackdriverSurfacer 225 // *SurfacerDef_FileSurfacer 226 // *SurfacerDef_PostgresSurfacer 227 // *SurfacerDef_PubsubSurfacer 228 // *SurfacerDef_CloudwatchSurfacer 229 // *SurfacerDef_DatadogSurfacer 230 Surfacer isSurfacerDef_Surfacer `protobuf_oneof:"surfacer"` 231 } 232 233 // Default values for SurfacerDef fields. 234 const ( 235 Default_SurfacerDef_MetricsBufferSize = int64(10000) 236 ) 237 238 func (x *SurfacerDef) Reset() { 239 *x = SurfacerDef{} 240 if protoimpl.UnsafeEnabled { 241 mi := &file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes[1] 242 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 243 ms.StoreMessageInfo(mi) 244 } 245 } 246 247 func (x *SurfacerDef) String() string { 248 return protoimpl.X.MessageStringOf(x) 249 } 250 251 func (*SurfacerDef) ProtoMessage() {} 252 253 func (x *SurfacerDef) ProtoReflect() protoreflect.Message { 254 mi := &file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes[1] 255 if protoimpl.UnsafeEnabled && x != nil { 256 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 257 if ms.LoadMessageInfo() == nil { 258 ms.StoreMessageInfo(mi) 259 } 260 return ms 261 } 262 return mi.MessageOf(x) 263 } 264 265 // Deprecated: Use SurfacerDef.ProtoReflect.Descriptor instead. 266 func (*SurfacerDef) Descriptor() ([]byte, []int) { 267 return file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescGZIP(), []int{1} 268 } 269 270 func (x *SurfacerDef) GetName() string { 271 if x != nil && x.Name != nil { 272 return *x.Name 273 } 274 return "" 275 } 276 277 func (x *SurfacerDef) GetType() Type { 278 if x != nil && x.Type != nil { 279 return *x.Type 280 } 281 return Type_NONE 282 } 283 284 func (x *SurfacerDef) GetMetricsBufferSize() int64 { 285 if x != nil && x.MetricsBufferSize != nil { 286 return *x.MetricsBufferSize 287 } 288 return Default_SurfacerDef_MetricsBufferSize 289 } 290 291 func (x *SurfacerDef) GetAllowMetricsWithLabel() []*LabelFilter { 292 if x != nil { 293 return x.AllowMetricsWithLabel 294 } 295 return nil 296 } 297 298 func (x *SurfacerDef) GetIgnoreMetricsWithLabel() []*LabelFilter { 299 if x != nil { 300 return x.IgnoreMetricsWithLabel 301 } 302 return nil 303 } 304 305 func (x *SurfacerDef) GetAllowMetricsWithName() string { 306 if x != nil && x.AllowMetricsWithName != nil { 307 return *x.AllowMetricsWithName 308 } 309 return "" 310 } 311 312 func (x *SurfacerDef) GetIgnoreMetricsWithName() string { 313 if x != nil && x.IgnoreMetricsWithName != nil { 314 return *x.IgnoreMetricsWithName 315 } 316 return "" 317 } 318 319 func (x *SurfacerDef) GetAddFailureMetric() bool { 320 if x != nil && x.AddFailureMetric != nil { 321 return *x.AddFailureMetric 322 } 323 return false 324 } 325 326 func (x *SurfacerDef) GetExportAsGauge() bool { 327 if x != nil && x.ExportAsGauge != nil { 328 return *x.ExportAsGauge 329 } 330 return false 331 } 332 333 func (m *SurfacerDef) GetSurfacer() isSurfacerDef_Surfacer { 334 if m != nil { 335 return m.Surfacer 336 } 337 return nil 338 } 339 340 func (x *SurfacerDef) GetPrometheusSurfacer() *proto.SurfacerConf { 341 if x, ok := x.GetSurfacer().(*SurfacerDef_PrometheusSurfacer); ok { 342 return x.PrometheusSurfacer 343 } 344 return nil 345 } 346 347 func (x *SurfacerDef) GetStackdriverSurfacer() *proto1.SurfacerConf { 348 if x, ok := x.GetSurfacer().(*SurfacerDef_StackdriverSurfacer); ok { 349 return x.StackdriverSurfacer 350 } 351 return nil 352 } 353 354 func (x *SurfacerDef) GetFileSurfacer() *proto2.SurfacerConf { 355 if x, ok := x.GetSurfacer().(*SurfacerDef_FileSurfacer); ok { 356 return x.FileSurfacer 357 } 358 return nil 359 } 360 361 func (x *SurfacerDef) GetPostgresSurfacer() *proto3.SurfacerConf { 362 if x, ok := x.GetSurfacer().(*SurfacerDef_PostgresSurfacer); ok { 363 return x.PostgresSurfacer 364 } 365 return nil 366 } 367 368 func (x *SurfacerDef) GetPubsubSurfacer() *proto4.SurfacerConf { 369 if x, ok := x.GetSurfacer().(*SurfacerDef_PubsubSurfacer); ok { 370 return x.PubsubSurfacer 371 } 372 return nil 373 } 374 375 func (x *SurfacerDef) GetCloudwatchSurfacer() *proto5.SurfacerConf { 376 if x, ok := x.GetSurfacer().(*SurfacerDef_CloudwatchSurfacer); ok { 377 return x.CloudwatchSurfacer 378 } 379 return nil 380 } 381 382 func (x *SurfacerDef) GetDatadogSurfacer() *proto6.SurfacerConf { 383 if x, ok := x.GetSurfacer().(*SurfacerDef_DatadogSurfacer); ok { 384 return x.DatadogSurfacer 385 } 386 return nil 387 } 388 389 type isSurfacerDef_Surfacer interface { 390 isSurfacerDef_Surfacer() 391 } 392 393 type SurfacerDef_PrometheusSurfacer struct { 394 PrometheusSurfacer *proto.SurfacerConf `protobuf:"bytes,10,opt,name=prometheus_surfacer,json=prometheusSurfacer,oneof"` 395 } 396 397 type SurfacerDef_StackdriverSurfacer struct { 398 StackdriverSurfacer *proto1.SurfacerConf `protobuf:"bytes,11,opt,name=stackdriver_surfacer,json=stackdriverSurfacer,oneof"` 399 } 400 401 type SurfacerDef_FileSurfacer struct { 402 FileSurfacer *proto2.SurfacerConf `protobuf:"bytes,12,opt,name=file_surfacer,json=fileSurfacer,oneof"` 403 } 404 405 type SurfacerDef_PostgresSurfacer struct { 406 PostgresSurfacer *proto3.SurfacerConf `protobuf:"bytes,13,opt,name=postgres_surfacer,json=postgresSurfacer,oneof"` 407 } 408 409 type SurfacerDef_PubsubSurfacer struct { 410 PubsubSurfacer *proto4.SurfacerConf `protobuf:"bytes,14,opt,name=pubsub_surfacer,json=pubsubSurfacer,oneof"` 411 } 412 413 type SurfacerDef_CloudwatchSurfacer struct { 414 CloudwatchSurfacer *proto5.SurfacerConf `protobuf:"bytes,15,opt,name=cloudwatch_surfacer,json=cloudwatchSurfacer,oneof"` 415 } 416 417 type SurfacerDef_DatadogSurfacer struct { 418 DatadogSurfacer *proto6.SurfacerConf `protobuf:"bytes,16,opt,name=datadog_surfacer,json=datadogSurfacer,oneof"` 419 } 420 421 func (*SurfacerDef_PrometheusSurfacer) isSurfacerDef_Surfacer() {} 422 423 func (*SurfacerDef_StackdriverSurfacer) isSurfacerDef_Surfacer() {} 424 425 func (*SurfacerDef_FileSurfacer) isSurfacerDef_Surfacer() {} 426 427 func (*SurfacerDef_PostgresSurfacer) isSurfacerDef_Surfacer() {} 428 429 func (*SurfacerDef_PubsubSurfacer) isSurfacerDef_Surfacer() {} 430 431 func (*SurfacerDef_CloudwatchSurfacer) isSurfacerDef_Surfacer() {} 432 433 func (*SurfacerDef_DatadogSurfacer) isSurfacerDef_Surfacer() {} 434 435 var File_github_com_google_cloudprober_surfacers_proto_config_proto protoreflect.FileDescriptor 436 437 var file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDesc = []byte{ 438 0x0a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 439 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 440 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 441 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x6c, 442 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 443 0x65, 0x72, 0x1a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 444 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 445 0x72, 0x2f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 446 0x64, 0x77, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 447 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 448 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 449 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 450 0x72, 0x73, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 451 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3f, 0x67, 452 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 453 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x72, 454 0x66, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 455 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x43, 456 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 457 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x75, 458 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 459 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 460 0x6f, 0x74, 0x6f, 0x1a, 0x45, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 461 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 462 0x65, 0x72, 0x2f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 463 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 464 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x69, 0x74, 0x68, 465 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 466 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 467 0x65, 0x72, 0x73, 0x2f, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 468 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x46, 0x67, 469 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 470 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x72, 471 0x66, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 472 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 473 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x35, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x46, 0x69, 474 0x6c, 0x74, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 475 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 476 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x98, 0x09, 0x0a, 477 0x0b, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 478 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 479 0x12, 0x2e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1a, 480 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 481 0x66, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 482 0x12, 0x35, 0x0a, 0x13, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x62, 0x75, 0x66, 0x66, 483 0x65, 0x72, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x3a, 0x05, 0x31, 484 0x30, 0x30, 0x30, 0x30, 0x52, 0x11, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x75, 0x66, 485 0x66, 0x65, 0x72, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x5a, 0x0a, 0x18, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 486 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x6c, 0x61, 487 0x62, 0x65, 0x6c, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 488 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 489 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x15, 0x61, 0x6c, 490 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x61, 491 0x62, 0x65, 0x6c, 0x12, 0x5c, 0x0a, 0x19, 0x69, 0x67, 0x6e, 0x6f, 0x72, 0x65, 0x5f, 0x6d, 0x65, 492 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 493 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 494 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x4c, 0x61, 495 0x62, 0x65, 0x6c, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x16, 0x69, 0x67, 0x6e, 0x6f, 0x72, 496 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4c, 0x61, 0x62, 0x65, 497 0x6c, 0x12, 0x35, 0x0a, 0x17, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 498 0x63, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 499 0x28, 0x09, 0x52, 0x14, 0x61, 0x6c, 0x6c, 0x6f, 0x77, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 500 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x67, 0x6e, 0x6f, 501 0x72, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 502 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x15, 0x69, 0x67, 0x6e, 0x6f, 503 0x72, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4e, 0x61, 0x6d, 504 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x61, 0x64, 0x64, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 505 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x61, 506 0x64, 0x64, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x12, 507 0x26, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x61, 0x73, 0x5f, 0x67, 0x61, 0x75, 508 0x67, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 509 0x41, 0x73, 0x47, 0x61, 0x75, 0x67, 0x65, 0x12, 0x60, 0x0a, 0x13, 0x70, 0x72, 0x6f, 0x6d, 0x65, 510 0x74, 0x68, 0x65, 0x75, 0x73, 0x5f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x18, 0x0a, 511 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 512 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x6d, 513 0x65, 0x74, 0x68, 0x65, 0x75, 0x73, 0x2e, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x43, 514 0x6f, 0x6e, 0x66, 0x48, 0x00, 0x52, 0x12, 0x70, 0x72, 0x6f, 0x6d, 0x65, 0x74, 0x68, 0x65, 0x75, 515 0x73, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x12, 0x63, 0x0a, 0x14, 0x73, 0x74, 0x61, 516 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x5f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 517 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 518 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x73, 519 0x74, 0x61, 0x63, 0x6b, 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x2e, 0x53, 0x75, 0x72, 0x66, 0x61, 520 0x63, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 0x52, 0x13, 0x73, 0x74, 0x61, 0x63, 0x6b, 521 0x64, 0x72, 0x69, 0x76, 0x65, 0x72, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x12, 0x4e, 522 0x0a, 0x0d, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x18, 523 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 524 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x66, 0x69, 0x6c, 525 0x65, 0x2e, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 526 0x52, 0x0c, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x12, 0x5a, 527 0x0a, 0x11, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x5f, 0x73, 0x75, 0x72, 0x66, 0x61, 528 0x63, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 529 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 530 0x2e, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 0x65, 0x73, 0x2e, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 531 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 0x52, 0x10, 0x70, 0x6f, 0x73, 0x74, 0x67, 0x72, 532 0x65, 0x73, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x12, 0x54, 0x0a, 0x0f, 0x70, 0x75, 533 0x62, 0x73, 0x75, 0x62, 0x5f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x18, 0x0e, 0x20, 534 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 535 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x70, 0x75, 0x62, 0x73, 0x75, 536 0x62, 0x2e, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 537 0x52, 0x0e, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 538 0x12, 0x60, 0x0a, 0x13, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x74, 0x63, 0x68, 0x5f, 0x73, 539 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 540 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 541 0x61, 0x63, 0x65, 0x72, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x74, 0x63, 0x68, 0x2e, 542 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 0x52, 0x12, 543 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x74, 0x63, 0x68, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 544 0x65, 0x72, 0x12, 0x57, 0x0a, 0x10, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x5f, 0x73, 0x75, 545 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x63, 546 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 547 0x63, 0x65, 0x72, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x64, 0x6f, 0x67, 0x2e, 0x53, 0x75, 0x72, 0x66, 548 0x61, 0x63, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 0x52, 0x0f, 0x64, 0x61, 0x74, 0x61, 549 0x64, 0x6f, 0x67, 0x53, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x42, 0x0a, 0x0a, 0x08, 0x73, 550 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x2a, 0x84, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 551 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x52, 552 0x4f, 0x4d, 0x45, 0x54, 0x48, 0x45, 0x55, 0x53, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54, 553 0x41, 0x43, 0x4b, 0x44, 0x52, 0x49, 0x56, 0x45, 0x52, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x46, 554 0x49, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x4f, 0x53, 0x54, 0x47, 0x52, 0x45, 555 0x53, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x53, 0x55, 0x42, 0x10, 0x05, 0x12, 556 0x0e, 0x0a, 0x0a, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x57, 0x41, 0x54, 0x43, 0x48, 0x10, 0x06, 0x12, 557 0x0b, 0x0a, 0x07, 0x44, 0x41, 0x54, 0x41, 0x44, 0x4f, 0x47, 0x10, 0x07, 0x12, 0x10, 0x0a, 0x0c, 558 0x55, 0x53, 0x45, 0x52, 0x5f, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x63, 0x42, 0x2f, 559 0x5a, 0x2d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 560 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 561 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 562 } 563 564 var ( 565 file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescOnce sync.Once 566 file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescData = file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDesc 567 ) 568 569 func file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescGZIP() []byte { 570 file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescOnce.Do(func() { 571 file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescData) 572 }) 573 return file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDescData 574 } 575 576 var file_github_com_google_cloudprober_surfacers_proto_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 577 var file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 578 var file_github_com_google_cloudprober_surfacers_proto_config_proto_goTypes = []interface{}{ 579 (Type)(0), // 0: cloudprober.surfacer.Type 580 (*LabelFilter)(nil), // 1: cloudprober.surfacer.LabelFilter 581 (*SurfacerDef)(nil), // 2: cloudprober.surfacer.SurfacerDef 582 (*proto.SurfacerConf)(nil), // 3: cloudprober.surfacer.prometheus.SurfacerConf 583 (*proto1.SurfacerConf)(nil), // 4: cloudprober.surfacer.stackdriver.SurfacerConf 584 (*proto2.SurfacerConf)(nil), // 5: cloudprober.surfacer.file.SurfacerConf 585 (*proto3.SurfacerConf)(nil), // 6: cloudprober.surfacer.postgres.SurfacerConf 586 (*proto4.SurfacerConf)(nil), // 7: cloudprober.surfacer.pubsub.SurfacerConf 587 (*proto5.SurfacerConf)(nil), // 8: cloudprober.surfacer.cloudwatch.SurfacerConf 588 (*proto6.SurfacerConf)(nil), // 9: cloudprober.surfacer.datadog.SurfacerConf 589 } 590 var file_github_com_google_cloudprober_surfacers_proto_config_proto_depIdxs = []int32{ 591 0, // 0: cloudprober.surfacer.SurfacerDef.type:type_name -> cloudprober.surfacer.Type 592 1, // 1: cloudprober.surfacer.SurfacerDef.allow_metrics_with_label:type_name -> cloudprober.surfacer.LabelFilter 593 1, // 2: cloudprober.surfacer.SurfacerDef.ignore_metrics_with_label:type_name -> cloudprober.surfacer.LabelFilter 594 3, // 3: cloudprober.surfacer.SurfacerDef.prometheus_surfacer:type_name -> cloudprober.surfacer.prometheus.SurfacerConf 595 4, // 4: cloudprober.surfacer.SurfacerDef.stackdriver_surfacer:type_name -> cloudprober.surfacer.stackdriver.SurfacerConf 596 5, // 5: cloudprober.surfacer.SurfacerDef.file_surfacer:type_name -> cloudprober.surfacer.file.SurfacerConf 597 6, // 6: cloudprober.surfacer.SurfacerDef.postgres_surfacer:type_name -> cloudprober.surfacer.postgres.SurfacerConf 598 7, // 7: cloudprober.surfacer.SurfacerDef.pubsub_surfacer:type_name -> cloudprober.surfacer.pubsub.SurfacerConf 599 8, // 8: cloudprober.surfacer.SurfacerDef.cloudwatch_surfacer:type_name -> cloudprober.surfacer.cloudwatch.SurfacerConf 600 9, // 9: cloudprober.surfacer.SurfacerDef.datadog_surfacer:type_name -> cloudprober.surfacer.datadog.SurfacerConf 601 10, // [10:10] is the sub-list for method output_type 602 10, // [10:10] is the sub-list for method input_type 603 10, // [10:10] is the sub-list for extension type_name 604 10, // [10:10] is the sub-list for extension extendee 605 0, // [0:10] is the sub-list for field type_name 606 } 607 608 func init() { file_github_com_google_cloudprober_surfacers_proto_config_proto_init() } 609 func file_github_com_google_cloudprober_surfacers_proto_config_proto_init() { 610 if File_github_com_google_cloudprober_surfacers_proto_config_proto != nil { 611 return 612 } 613 if !protoimpl.UnsafeEnabled { 614 file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 615 switch v := v.(*LabelFilter); 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 file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 627 switch v := v.(*SurfacerDef); 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 file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes[1].OneofWrappers = []interface{}{ 640 (*SurfacerDef_PrometheusSurfacer)(nil), 641 (*SurfacerDef_StackdriverSurfacer)(nil), 642 (*SurfacerDef_FileSurfacer)(nil), 643 (*SurfacerDef_PostgresSurfacer)(nil), 644 (*SurfacerDef_PubsubSurfacer)(nil), 645 (*SurfacerDef_CloudwatchSurfacer)(nil), 646 (*SurfacerDef_DatadogSurfacer)(nil), 647 } 648 type x struct{} 649 out := protoimpl.TypeBuilder{ 650 File: protoimpl.DescBuilder{ 651 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 652 RawDescriptor: file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDesc, 653 NumEnums: 1, 654 NumMessages: 2, 655 NumExtensions: 0, 656 NumServices: 0, 657 }, 658 GoTypes: file_github_com_google_cloudprober_surfacers_proto_config_proto_goTypes, 659 DependencyIndexes: file_github_com_google_cloudprober_surfacers_proto_config_proto_depIdxs, 660 EnumInfos: file_github_com_google_cloudprober_surfacers_proto_config_proto_enumTypes, 661 MessageInfos: file_github_com_google_cloudprober_surfacers_proto_config_proto_msgTypes, 662 }.Build() 663 File_github_com_google_cloudprober_surfacers_proto_config_proto = out.File 664 file_github_com_google_cloudprober_surfacers_proto_config_proto_rawDesc = nil 665 file_github_com_google_cloudprober_surfacers_proto_config_proto_goTypes = nil 666 file_github_com_google_cloudprober_surfacers_proto_config_proto_depIdxs = nil 667 }