github.com/google/cloudprober@v0.11.3/probes/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/probes/proto/config.proto 6 7 package proto 8 9 import ( 10 proto1 "github.com/google/cloudprober/metrics/proto" 11 proto5 "github.com/google/cloudprober/probes/dns/proto" 12 proto6 "github.com/google/cloudprober/probes/external/proto" 13 proto9 "github.com/google/cloudprober/probes/grpc/proto" 14 proto4 "github.com/google/cloudprober/probes/http/proto" 15 proto3 "github.com/google/cloudprober/probes/ping/proto" 16 proto7 "github.com/google/cloudprober/probes/udp/proto" 17 proto8 "github.com/google/cloudprober/probes/udplistener/proto" 18 proto "github.com/google/cloudprober/targets/proto" 19 proto2 "github.com/google/cloudprober/validators/proto" 20 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 21 protoiface "google.golang.org/protobuf/runtime/protoiface" 22 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 23 reflect "reflect" 24 sync "sync" 25 ) 26 27 const ( 28 // Verify that this generated code is sufficiently up-to-date. 29 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 30 // Verify that runtime/protoimpl is sufficiently up-to-date. 31 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 32 ) 33 34 type ProbeDef_Type int32 35 36 const ( 37 ProbeDef_PING ProbeDef_Type = 0 38 ProbeDef_HTTP ProbeDef_Type = 1 39 ProbeDef_DNS ProbeDef_Type = 2 40 ProbeDef_EXTERNAL ProbeDef_Type = 3 41 ProbeDef_UDP ProbeDef_Type = 4 42 ProbeDef_UDP_LISTENER ProbeDef_Type = 5 43 ProbeDef_GRPC ProbeDef_Type = 6 44 // One of the extension probe types. See "extensions" below for more 45 // details. 46 ProbeDef_EXTENSION ProbeDef_Type = 98 47 // USER_DEFINED probe type is for a one off probe that you want to compile 48 // into cloudprober, but you don't expect it to be reused. If you expect 49 // it to be reused, you should consider adding it using the extensions 50 // mechanism. 51 ProbeDef_USER_DEFINED ProbeDef_Type = 99 52 ) 53 54 // Enum value maps for ProbeDef_Type. 55 var ( 56 ProbeDef_Type_name = map[int32]string{ 57 0: "PING", 58 1: "HTTP", 59 2: "DNS", 60 3: "EXTERNAL", 61 4: "UDP", 62 5: "UDP_LISTENER", 63 6: "GRPC", 64 98: "EXTENSION", 65 99: "USER_DEFINED", 66 } 67 ProbeDef_Type_value = map[string]int32{ 68 "PING": 0, 69 "HTTP": 1, 70 "DNS": 2, 71 "EXTERNAL": 3, 72 "UDP": 4, 73 "UDP_LISTENER": 5, 74 "GRPC": 6, 75 "EXTENSION": 98, 76 "USER_DEFINED": 99, 77 } 78 ) 79 80 func (x ProbeDef_Type) Enum() *ProbeDef_Type { 81 p := new(ProbeDef_Type) 82 *p = x 83 return p 84 } 85 86 func (x ProbeDef_Type) String() string { 87 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 88 } 89 90 func (ProbeDef_Type) Descriptor() protoreflect.EnumDescriptor { 91 return file_github_com_google_cloudprober_probes_proto_config_proto_enumTypes[0].Descriptor() 92 } 93 94 func (ProbeDef_Type) Type() protoreflect.EnumType { 95 return &file_github_com_google_cloudprober_probes_proto_config_proto_enumTypes[0] 96 } 97 98 func (x ProbeDef_Type) Number() protoreflect.EnumNumber { 99 return protoreflect.EnumNumber(x) 100 } 101 102 // Deprecated: Do not use. 103 func (x *ProbeDef_Type) UnmarshalJSON(b []byte) error { 104 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 105 if err != nil { 106 return err 107 } 108 *x = ProbeDef_Type(num) 109 return nil 110 } 111 112 // Deprecated: Use ProbeDef_Type.Descriptor instead. 113 func (ProbeDef_Type) EnumDescriptor() ([]byte, []int) { 114 return file_github_com_google_cloudprober_probes_proto_config_proto_rawDescGZIP(), []int{0, 0} 115 } 116 117 // IP version to use for networking probes. If specified, this is used at the 118 // time of resolving a target, picking the correct IP for the source IP if 119 // source_interface option is provided, and to craft the packet correctly 120 // for PING probes. 121 // 122 // If ip_version is not configured but source_ip is provided, we get 123 // ip_version from it. If both are confgiured, an error is returned if there 124 // is a conflict between the two. 125 // 126 // If left unspecified and both addresses are available in resolve call or on 127 // source interface, IPv4 is preferred. 128 // Future work: provide an option to prefer IPv4 and IPv6 explicitly. 129 type ProbeDef_IPVersion int32 130 131 const ( 132 ProbeDef_IP_VERSION_UNSPECIFIED ProbeDef_IPVersion = 0 133 ProbeDef_IPV4 ProbeDef_IPVersion = 1 134 ProbeDef_IPV6 ProbeDef_IPVersion = 2 135 ) 136 137 // Enum value maps for ProbeDef_IPVersion. 138 var ( 139 ProbeDef_IPVersion_name = map[int32]string{ 140 0: "IP_VERSION_UNSPECIFIED", 141 1: "IPV4", 142 2: "IPV6", 143 } 144 ProbeDef_IPVersion_value = map[string]int32{ 145 "IP_VERSION_UNSPECIFIED": 0, 146 "IPV4": 1, 147 "IPV6": 2, 148 } 149 ) 150 151 func (x ProbeDef_IPVersion) Enum() *ProbeDef_IPVersion { 152 p := new(ProbeDef_IPVersion) 153 *p = x 154 return p 155 } 156 157 func (x ProbeDef_IPVersion) String() string { 158 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 159 } 160 161 func (ProbeDef_IPVersion) Descriptor() protoreflect.EnumDescriptor { 162 return file_github_com_google_cloudprober_probes_proto_config_proto_enumTypes[1].Descriptor() 163 } 164 165 func (ProbeDef_IPVersion) Type() protoreflect.EnumType { 166 return &file_github_com_google_cloudprober_probes_proto_config_proto_enumTypes[1] 167 } 168 169 func (x ProbeDef_IPVersion) Number() protoreflect.EnumNumber { 170 return protoreflect.EnumNumber(x) 171 } 172 173 // Deprecated: Do not use. 174 func (x *ProbeDef_IPVersion) UnmarshalJSON(b []byte) error { 175 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 176 if err != nil { 177 return err 178 } 179 *x = ProbeDef_IPVersion(num) 180 return nil 181 } 182 183 // Deprecated: Use ProbeDef_IPVersion.Descriptor instead. 184 func (ProbeDef_IPVersion) EnumDescriptor() ([]byte, []int) { 185 return file_github_com_google_cloudprober_probes_proto_config_proto_rawDescGZIP(), []int{0, 1} 186 } 187 188 type ProbeDef struct { 189 state protoimpl.MessageState 190 sizeCache protoimpl.SizeCache 191 unknownFields protoimpl.UnknownFields 192 extensionFields protoimpl.ExtensionFields 193 194 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 195 Type *ProbeDef_Type `protobuf:"varint,2,req,name=type,enum=cloudprober.probes.ProbeDef_Type" json:"type,omitempty"` 196 // Which machines this probe should run on. If defined, cloudprober will run 197 // this probe only if machine's hostname matches this value. 198 RunOn *string `protobuf:"bytes,3,opt,name=run_on,json=runOn" json:"run_on,omitempty"` 199 // Interval between two probes 200 IntervalMsec *int32 `protobuf:"varint,4,opt,name=interval_msec,json=intervalMsec,def=2000" json:"interval_msec,omitempty"` 201 // Timeout for each probe 202 TimeoutMsec *int32 `protobuf:"varint,5,opt,name=timeout_msec,json=timeoutMsec,def=1000" json:"timeout_msec,omitempty"` 203 // Targets for the probe 204 Targets *proto.TargetsDef `protobuf:"bytes,6,req,name=targets" json:"targets,omitempty"` 205 // Latency distribution. If specified, latency is stored as a distribution. 206 LatencyDistribution *proto1.Dist `protobuf:"bytes,7,opt,name=latency_distribution,json=latencyDistribution" json:"latency_distribution,omitempty"` 207 // Latency unit. Any string that's parseable by time.ParseDuration. 208 // Valid values: "ns", "us" (or "µs"), "ms", "s", "m", "h". 209 LatencyUnit *string `protobuf:"bytes,8,opt,name=latency_unit,json=latencyUnit,def=us" json:"latency_unit,omitempty"` 210 // Validators are in experimental phase right now and can change at any time. 211 // NOTE: Only PING, HTTP and DNS probes support validators. 212 Validator []*proto2.Validator `protobuf:"bytes,9,rep,name=validator" json:"validator,omitempty"` 213 // Set the source IP to send packets from, either by providing an IP address 214 // directly, or a network interface. 215 // 216 // Types that are assignable to SourceIpConfig: 217 // *ProbeDef_SourceIp 218 // *ProbeDef_SourceInterface 219 SourceIpConfig isProbeDef_SourceIpConfig `protobuf_oneof:"source_ip_config"` 220 IpVersion *ProbeDef_IPVersion `protobuf:"varint,12,opt,name=ip_version,json=ipVersion,enum=cloudprober.probes.ProbeDef_IPVersion" json:"ip_version,omitempty"` 221 // How often to export stats. Probes usually run at a higher frequency (e.g. 222 // every second); stats from individual probes are aggregated within 223 // cloudprober until exported. In most cases, users don't need to change the 224 // default. 225 // 226 // By default this field is set in the following way: 227 // For all probes except UDP: 228 // stats_export_interval=max(interval, 10s) 229 // For UDP: 230 // stats_export_interval=max(2*max(interval, timeout), 10s) 231 StatsExportIntervalMsec *int32 `protobuf:"varint,13,opt,name=stats_export_interval_msec,json=statsExportIntervalMsec" json:"stats_export_interval_msec,omitempty"` 232 // Additional labels to add to the probe results. Label's value can either be 233 // static or can be derived from target's labels. 234 // 235 // Example: 236 // additional_label { 237 // key: "src_zone" 238 // value: "{{.zone}}" 239 // } 240 // additional_label { 241 // key: "app" 242 // value: "@target.label.app@" 243 // } 244 AdditionalLabel []*AdditionalLabel `protobuf:"bytes,14,rep,name=additional_label,json=additionalLabel" json:"additional_label,omitempty"` 245 // Types that are assignable to Probe: 246 // *ProbeDef_PingProbe 247 // *ProbeDef_HttpProbe 248 // *ProbeDef_DnsProbe 249 // *ProbeDef_ExternalProbe 250 // *ProbeDef_UdpProbe 251 // *ProbeDef_UdpListenerProbe 252 // *ProbeDef_GrpcProbe 253 // *ProbeDef_UserDefinedProbe 254 Probe isProbeDef_Probe `protobuf_oneof:"probe"` 255 DebugOptions *DebugOptions `protobuf:"bytes,100,opt,name=debug_options,json=debugOptions" json:"debug_options,omitempty"` 256 } 257 258 // Default values for ProbeDef fields. 259 const ( 260 Default_ProbeDef_IntervalMsec = int32(2000) 261 Default_ProbeDef_TimeoutMsec = int32(1000) 262 Default_ProbeDef_LatencyUnit = string("us") 263 ) 264 265 func (x *ProbeDef) Reset() { 266 *x = ProbeDef{} 267 if protoimpl.UnsafeEnabled { 268 mi := &file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[0] 269 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 270 ms.StoreMessageInfo(mi) 271 } 272 } 273 274 func (x *ProbeDef) String() string { 275 return protoimpl.X.MessageStringOf(x) 276 } 277 278 func (*ProbeDef) ProtoMessage() {} 279 280 func (x *ProbeDef) ProtoReflect() protoreflect.Message { 281 mi := &file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[0] 282 if protoimpl.UnsafeEnabled && x != nil { 283 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 284 if ms.LoadMessageInfo() == nil { 285 ms.StoreMessageInfo(mi) 286 } 287 return ms 288 } 289 return mi.MessageOf(x) 290 } 291 292 // Deprecated: Use ProbeDef.ProtoReflect.Descriptor instead. 293 func (*ProbeDef) Descriptor() ([]byte, []int) { 294 return file_github_com_google_cloudprober_probes_proto_config_proto_rawDescGZIP(), []int{0} 295 } 296 297 var extRange_ProbeDef = []protoiface.ExtensionRangeV1{ 298 {Start: 200, End: 536870911}, 299 } 300 301 // Deprecated: Use ProbeDef.ProtoReflect.Descriptor.ExtensionRanges instead. 302 func (*ProbeDef) ExtensionRangeArray() []protoiface.ExtensionRangeV1 { 303 return extRange_ProbeDef 304 } 305 306 func (x *ProbeDef) GetName() string { 307 if x != nil && x.Name != nil { 308 return *x.Name 309 } 310 return "" 311 } 312 313 func (x *ProbeDef) GetType() ProbeDef_Type { 314 if x != nil && x.Type != nil { 315 return *x.Type 316 } 317 return ProbeDef_PING 318 } 319 320 func (x *ProbeDef) GetRunOn() string { 321 if x != nil && x.RunOn != nil { 322 return *x.RunOn 323 } 324 return "" 325 } 326 327 func (x *ProbeDef) GetIntervalMsec() int32 { 328 if x != nil && x.IntervalMsec != nil { 329 return *x.IntervalMsec 330 } 331 return Default_ProbeDef_IntervalMsec 332 } 333 334 func (x *ProbeDef) GetTimeoutMsec() int32 { 335 if x != nil && x.TimeoutMsec != nil { 336 return *x.TimeoutMsec 337 } 338 return Default_ProbeDef_TimeoutMsec 339 } 340 341 func (x *ProbeDef) GetTargets() *proto.TargetsDef { 342 if x != nil { 343 return x.Targets 344 } 345 return nil 346 } 347 348 func (x *ProbeDef) GetLatencyDistribution() *proto1.Dist { 349 if x != nil { 350 return x.LatencyDistribution 351 } 352 return nil 353 } 354 355 func (x *ProbeDef) GetLatencyUnit() string { 356 if x != nil && x.LatencyUnit != nil { 357 return *x.LatencyUnit 358 } 359 return Default_ProbeDef_LatencyUnit 360 } 361 362 func (x *ProbeDef) GetValidator() []*proto2.Validator { 363 if x != nil { 364 return x.Validator 365 } 366 return nil 367 } 368 369 func (m *ProbeDef) GetSourceIpConfig() isProbeDef_SourceIpConfig { 370 if m != nil { 371 return m.SourceIpConfig 372 } 373 return nil 374 } 375 376 func (x *ProbeDef) GetSourceIp() string { 377 if x, ok := x.GetSourceIpConfig().(*ProbeDef_SourceIp); ok { 378 return x.SourceIp 379 } 380 return "" 381 } 382 383 func (x *ProbeDef) GetSourceInterface() string { 384 if x, ok := x.GetSourceIpConfig().(*ProbeDef_SourceInterface); ok { 385 return x.SourceInterface 386 } 387 return "" 388 } 389 390 func (x *ProbeDef) GetIpVersion() ProbeDef_IPVersion { 391 if x != nil && x.IpVersion != nil { 392 return *x.IpVersion 393 } 394 return ProbeDef_IP_VERSION_UNSPECIFIED 395 } 396 397 func (x *ProbeDef) GetStatsExportIntervalMsec() int32 { 398 if x != nil && x.StatsExportIntervalMsec != nil { 399 return *x.StatsExportIntervalMsec 400 } 401 return 0 402 } 403 404 func (x *ProbeDef) GetAdditionalLabel() []*AdditionalLabel { 405 if x != nil { 406 return x.AdditionalLabel 407 } 408 return nil 409 } 410 411 func (m *ProbeDef) GetProbe() isProbeDef_Probe { 412 if m != nil { 413 return m.Probe 414 } 415 return nil 416 } 417 418 func (x *ProbeDef) GetPingProbe() *proto3.ProbeConf { 419 if x, ok := x.GetProbe().(*ProbeDef_PingProbe); ok { 420 return x.PingProbe 421 } 422 return nil 423 } 424 425 func (x *ProbeDef) GetHttpProbe() *proto4.ProbeConf { 426 if x, ok := x.GetProbe().(*ProbeDef_HttpProbe); ok { 427 return x.HttpProbe 428 } 429 return nil 430 } 431 432 func (x *ProbeDef) GetDnsProbe() *proto5.ProbeConf { 433 if x, ok := x.GetProbe().(*ProbeDef_DnsProbe); ok { 434 return x.DnsProbe 435 } 436 return nil 437 } 438 439 func (x *ProbeDef) GetExternalProbe() *proto6.ProbeConf { 440 if x, ok := x.GetProbe().(*ProbeDef_ExternalProbe); ok { 441 return x.ExternalProbe 442 } 443 return nil 444 } 445 446 func (x *ProbeDef) GetUdpProbe() *proto7.ProbeConf { 447 if x, ok := x.GetProbe().(*ProbeDef_UdpProbe); ok { 448 return x.UdpProbe 449 } 450 return nil 451 } 452 453 func (x *ProbeDef) GetUdpListenerProbe() *proto8.ProbeConf { 454 if x, ok := x.GetProbe().(*ProbeDef_UdpListenerProbe); ok { 455 return x.UdpListenerProbe 456 } 457 return nil 458 } 459 460 func (x *ProbeDef) GetGrpcProbe() *proto9.ProbeConf { 461 if x, ok := x.GetProbe().(*ProbeDef_GrpcProbe); ok { 462 return x.GrpcProbe 463 } 464 return nil 465 } 466 467 func (x *ProbeDef) GetUserDefinedProbe() string { 468 if x, ok := x.GetProbe().(*ProbeDef_UserDefinedProbe); ok { 469 return x.UserDefinedProbe 470 } 471 return "" 472 } 473 474 func (x *ProbeDef) GetDebugOptions() *DebugOptions { 475 if x != nil { 476 return x.DebugOptions 477 } 478 return nil 479 } 480 481 type isProbeDef_SourceIpConfig interface { 482 isProbeDef_SourceIpConfig() 483 } 484 485 type ProbeDef_SourceIp struct { 486 SourceIp string `protobuf:"bytes,10,opt,name=source_ip,json=sourceIp,oneof"` 487 } 488 489 type ProbeDef_SourceInterface struct { 490 SourceInterface string `protobuf:"bytes,11,opt,name=source_interface,json=sourceInterface,oneof"` 491 } 492 493 func (*ProbeDef_SourceIp) isProbeDef_SourceIpConfig() {} 494 495 func (*ProbeDef_SourceInterface) isProbeDef_SourceIpConfig() {} 496 497 type isProbeDef_Probe interface { 498 isProbeDef_Probe() 499 } 500 501 type ProbeDef_PingProbe struct { 502 PingProbe *proto3.ProbeConf `protobuf:"bytes,20,opt,name=ping_probe,json=pingProbe,oneof"` 503 } 504 505 type ProbeDef_HttpProbe struct { 506 HttpProbe *proto4.ProbeConf `protobuf:"bytes,21,opt,name=http_probe,json=httpProbe,oneof"` 507 } 508 509 type ProbeDef_DnsProbe struct { 510 DnsProbe *proto5.ProbeConf `protobuf:"bytes,22,opt,name=dns_probe,json=dnsProbe,oneof"` 511 } 512 513 type ProbeDef_ExternalProbe struct { 514 ExternalProbe *proto6.ProbeConf `protobuf:"bytes,23,opt,name=external_probe,json=externalProbe,oneof"` 515 } 516 517 type ProbeDef_UdpProbe struct { 518 UdpProbe *proto7.ProbeConf `protobuf:"bytes,24,opt,name=udp_probe,json=udpProbe,oneof"` 519 } 520 521 type ProbeDef_UdpListenerProbe struct { 522 UdpListenerProbe *proto8.ProbeConf `protobuf:"bytes,25,opt,name=udp_listener_probe,json=udpListenerProbe,oneof"` 523 } 524 525 type ProbeDef_GrpcProbe struct { 526 GrpcProbe *proto9.ProbeConf `protobuf:"bytes,26,opt,name=grpc_probe,json=grpcProbe,oneof"` 527 } 528 529 type ProbeDef_UserDefinedProbe struct { 530 // This field's contents are passed on to the user defined probe, registered 531 // for this probe's name through probes.RegisterUserDefined(). 532 UserDefinedProbe string `protobuf:"bytes,99,opt,name=user_defined_probe,json=userDefinedProbe,oneof"` 533 } 534 535 func (*ProbeDef_PingProbe) isProbeDef_Probe() {} 536 537 func (*ProbeDef_HttpProbe) isProbeDef_Probe() {} 538 539 func (*ProbeDef_DnsProbe) isProbeDef_Probe() {} 540 541 func (*ProbeDef_ExternalProbe) isProbeDef_Probe() {} 542 543 func (*ProbeDef_UdpProbe) isProbeDef_Probe() {} 544 545 func (*ProbeDef_UdpListenerProbe) isProbeDef_Probe() {} 546 547 func (*ProbeDef_GrpcProbe) isProbeDef_Probe() {} 548 549 func (*ProbeDef_UserDefinedProbe) isProbeDef_Probe() {} 550 551 type AdditionalLabel struct { 552 state protoimpl.MessageState 553 sizeCache protoimpl.SizeCache 554 unknownFields protoimpl.UnknownFields 555 556 Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` 557 // Value can either be a static value or can be derived from target's labels. 558 // To get value from target's labels, use target.labels.<target's label key> 559 // as value. 560 Value *string `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` 561 } 562 563 func (x *AdditionalLabel) Reset() { 564 *x = AdditionalLabel{} 565 if protoimpl.UnsafeEnabled { 566 mi := &file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[1] 567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 568 ms.StoreMessageInfo(mi) 569 } 570 } 571 572 func (x *AdditionalLabel) String() string { 573 return protoimpl.X.MessageStringOf(x) 574 } 575 576 func (*AdditionalLabel) ProtoMessage() {} 577 578 func (x *AdditionalLabel) ProtoReflect() protoreflect.Message { 579 mi := &file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[1] 580 if protoimpl.UnsafeEnabled && x != nil { 581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 582 if ms.LoadMessageInfo() == nil { 583 ms.StoreMessageInfo(mi) 584 } 585 return ms 586 } 587 return mi.MessageOf(x) 588 } 589 590 // Deprecated: Use AdditionalLabel.ProtoReflect.Descriptor instead. 591 func (*AdditionalLabel) Descriptor() ([]byte, []int) { 592 return file_github_com_google_cloudprober_probes_proto_config_proto_rawDescGZIP(), []int{1} 593 } 594 595 func (x *AdditionalLabel) GetKey() string { 596 if x != nil && x.Key != nil { 597 return *x.Key 598 } 599 return "" 600 } 601 602 func (x *AdditionalLabel) GetValue() string { 603 if x != nil && x.Value != nil { 604 return *x.Value 605 } 606 return "" 607 } 608 609 type DebugOptions struct { 610 state protoimpl.MessageState 611 sizeCache protoimpl.SizeCache 612 unknownFields protoimpl.UnknownFields 613 614 // Whether to log metrics or not. 615 LogMetrics *bool `protobuf:"varint,1,opt,name=log_metrics,json=logMetrics" json:"log_metrics,omitempty"` 616 } 617 618 func (x *DebugOptions) Reset() { 619 *x = DebugOptions{} 620 if protoimpl.UnsafeEnabled { 621 mi := &file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[2] 622 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 623 ms.StoreMessageInfo(mi) 624 } 625 } 626 627 func (x *DebugOptions) String() string { 628 return protoimpl.X.MessageStringOf(x) 629 } 630 631 func (*DebugOptions) ProtoMessage() {} 632 633 func (x *DebugOptions) ProtoReflect() protoreflect.Message { 634 mi := &file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[2] 635 if protoimpl.UnsafeEnabled && x != nil { 636 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 637 if ms.LoadMessageInfo() == nil { 638 ms.StoreMessageInfo(mi) 639 } 640 return ms 641 } 642 return mi.MessageOf(x) 643 } 644 645 // Deprecated: Use DebugOptions.ProtoReflect.Descriptor instead. 646 func (*DebugOptions) Descriptor() ([]byte, []int) { 647 return file_github_com_google_cloudprober_probes_proto_config_proto_rawDescGZIP(), []int{2} 648 } 649 650 func (x *DebugOptions) GetLogMetrics() bool { 651 if x != nil && x.LogMetrics != nil { 652 return *x.LogMetrics 653 } 654 return false 655 } 656 657 var File_github_com_google_cloudprober_probes_proto_config_proto protoreflect.FileDescriptor 658 659 var file_github_com_google_cloudprober_probes_proto_config_proto_rawDesc = []byte{ 660 0x0a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 661 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 662 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 663 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x63, 0x6c, 0x6f, 0x75, 0x64, 664 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x1a, 0x36, 0x67, 665 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 666 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x6d, 0x65, 0x74, 667 0x72, 0x69, 0x63, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x64, 0x69, 0x73, 0x74, 0x2e, 668 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 669 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 670 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x64, 0x6e, 0x73, 0x2f, 671 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 672 0x74, 0x6f, 0x1a, 0x40, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 673 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 674 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 675 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 676 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 677 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 678 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2f, 679 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 680 0x74, 0x6f, 0x1a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 681 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 682 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x70, 0x72, 683 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 684 0x1a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 685 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 686 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x70, 0x69, 0x6e, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 687 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 688 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 689 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 690 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x75, 0x64, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 691 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x43, 0x67, 0x69, 0x74, 692 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 693 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 694 0x73, 0x2f, 0x75, 0x64, 0x70, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x2f, 0x70, 0x72, 695 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 696 0x1a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 697 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 698 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x61, 699 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x69, 0x74, 700 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 701 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 702 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 703 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa5, 0x0c, 0x0a, 0x08, 0x50, 0x72, 0x6f, 704 0x62, 0x65, 0x44, 0x65, 0x66, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 705 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x35, 0x0a, 0x04, 0x74, 0x79, 0x70, 706 0x65, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 707 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 708 0x62, 0x65, 0x44, 0x65, 0x66, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 709 0x12, 0x15, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x5f, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 710 0x52, 0x05, 0x72, 0x75, 0x6e, 0x4f, 0x6e, 0x12, 0x29, 0x0a, 0x0d, 0x69, 0x6e, 0x74, 0x65, 0x72, 711 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x73, 0x65, 0x63, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x04, 712 0x32, 0x30, 0x30, 0x30, 0x52, 0x0c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x73, 713 0x65, 0x63, 0x12, 0x27, 0x0a, 0x0c, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x73, 714 0x65, 0x63, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x04, 0x31, 0x30, 0x30, 0x30, 0x52, 0x0b, 715 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x65, 0x63, 0x12, 0x39, 0x0a, 0x07, 0x74, 716 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 717 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 718 0x74, 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x44, 0x65, 0x66, 0x52, 0x07, 0x74, 719 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x4c, 0x0a, 0x14, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 720 0x79, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x07, 721 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 722 0x65, 0x72, 0x2e, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x44, 0x69, 0x73, 0x74, 0x52, 723 0x13, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x44, 0x69, 0x73, 0x74, 0x72, 0x69, 0x62, 0x75, 724 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x25, 0x0a, 0x0c, 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x5f, 725 0x75, 0x6e, 0x69, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x02, 0x75, 0x73, 0x52, 0x0b, 726 0x6c, 0x61, 0x74, 0x65, 0x6e, 0x63, 0x79, 0x55, 0x6e, 0x69, 0x74, 0x12, 0x3f, 0x0a, 0x09, 0x76, 727 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 728 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x76, 0x61, 0x6c, 729 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 730 0x72, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x1d, 0x0a, 0x09, 731 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x70, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x48, 732 0x00, 0x52, 0x08, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 0x70, 0x12, 0x2b, 0x0a, 0x10, 0x73, 733 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 734 0x0b, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x49, 735 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x0a, 0x69, 0x70, 0x5f, 0x76, 736 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x63, 737 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 738 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x44, 0x65, 0x66, 0x2e, 0x49, 0x50, 0x56, 0x65, 0x72, 739 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x69, 0x70, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 740 0x3b, 0x0a, 0x1a, 0x73, 0x74, 0x61, 0x74, 0x73, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 741 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x73, 0x65, 0x63, 0x18, 0x0d, 0x20, 742 0x01, 0x28, 0x05, 0x52, 0x17, 0x73, 0x74, 0x61, 0x74, 0x73, 0x45, 0x78, 0x70, 0x6f, 0x72, 0x74, 743 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x73, 0x65, 0x63, 0x12, 0x4e, 0x0a, 0x10, 744 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 745 0x18, 0x0e, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 746 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x41, 0x64, 0x64, 0x69, 747 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0f, 0x61, 0x64, 0x64, 748 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x43, 0x0a, 0x0a, 749 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 750 0x32, 0x22, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 751 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x70, 0x69, 0x6e, 0x67, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 752 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x01, 0x52, 0x09, 0x70, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x62, 753 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x18, 754 0x15, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 755 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 756 0x50, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x01, 0x52, 0x09, 0x68, 0x74, 0x74, 757 0x70, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x64, 0x6e, 0x73, 0x5f, 0x70, 0x72, 758 0x6f, 0x62, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 759 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x64, 760 0x6e, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x01, 0x52, 0x08, 761 0x64, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x4f, 0x0a, 0x0e, 0x65, 0x78, 0x74, 0x65, 762 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, 0x0b, 763 0x32, 0x26, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 764 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x50, 765 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x01, 0x52, 0x0d, 0x65, 0x78, 0x74, 0x65, 766 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x75, 0x64, 0x70, 767 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 768 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 769 0x73, 0x2e, 0x75, 0x64, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x48, 770 0x01, 0x52, 0x08, 0x75, 0x64, 0x70, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x59, 0x0a, 0x12, 0x75, 771 0x64, 0x70, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x72, 0x6f, 0x62, 772 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 773 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x75, 0x64, 0x70, 774 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 775 0x6e, 0x66, 0x48, 0x01, 0x52, 0x10, 0x75, 0x64, 0x70, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 776 0x72, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 777 0x72, 0x6f, 0x62, 0x65, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6c, 0x6f, 778 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 779 0x67, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x01, 780 0x52, 0x09, 0x67, 0x72, 0x70, 0x63, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x2e, 0x0a, 0x12, 0x75, 781 0x73, 0x65, 0x72, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x62, 782 0x65, 0x18, 0x63, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x10, 0x75, 0x73, 0x65, 0x72, 0x44, 783 0x65, 0x66, 0x69, 0x6e, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x45, 0x0a, 0x0d, 0x64, 784 0x65, 0x62, 0x75, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x64, 0x20, 0x01, 785 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 786 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 787 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0c, 0x64, 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 788 0x6e, 0x73, 0x22, 0x77, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 789 0x4e, 0x47, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x07, 790 0x0a, 0x03, 0x44, 0x4e, 0x53, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x45, 0x58, 0x54, 0x45, 0x52, 791 0x4e, 0x41, 0x4c, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x44, 0x50, 0x10, 0x04, 0x12, 0x10, 792 0x0a, 0x0c, 0x55, 0x44, 0x50, 0x5f, 0x4c, 0x49, 0x53, 0x54, 0x45, 0x4e, 0x45, 0x52, 0x10, 0x05, 793 0x12, 0x08, 0x0a, 0x04, 0x47, 0x52, 0x50, 0x43, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x58, 794 0x54, 0x45, 0x4e, 0x53, 0x49, 0x4f, 0x4e, 0x10, 0x62, 0x12, 0x10, 0x0a, 0x0c, 0x55, 0x53, 0x45, 795 0x52, 0x5f, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x63, 0x22, 0x3b, 0x0a, 0x09, 0x49, 796 0x50, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x16, 0x49, 0x50, 0x5f, 0x56, 797 0x45, 0x52, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 798 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x50, 0x56, 0x34, 0x10, 0x01, 0x12, 0x08, 799 0x0a, 0x04, 0x49, 0x50, 0x56, 0x36, 0x10, 0x02, 0x2a, 0x09, 0x08, 0xc8, 0x01, 0x10, 0x80, 0x80, 800 0x80, 0x80, 0x02, 0x42, 0x12, 0x0a, 0x10, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x69, 0x70, 801 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x07, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x62, 0x65, 802 0x22, 0x39, 0x0a, 0x0f, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x4c, 0x61, 803 0x62, 0x65, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 804 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 805 0x20, 0x02, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x2f, 0x0a, 0x0c, 0x44, 806 0x65, 0x62, 0x75, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 807 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 808 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x42, 0x2c, 0x5a, 0x2a, 809 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 810 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 811 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 812 } 813 814 var ( 815 file_github_com_google_cloudprober_probes_proto_config_proto_rawDescOnce sync.Once 816 file_github_com_google_cloudprober_probes_proto_config_proto_rawDescData = file_github_com_google_cloudprober_probes_proto_config_proto_rawDesc 817 ) 818 819 func file_github_com_google_cloudprober_probes_proto_config_proto_rawDescGZIP() []byte { 820 file_github_com_google_cloudprober_probes_proto_config_proto_rawDescOnce.Do(func() { 821 file_github_com_google_cloudprober_probes_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_probes_proto_config_proto_rawDescData) 822 }) 823 return file_github_com_google_cloudprober_probes_proto_config_proto_rawDescData 824 } 825 826 var file_github_com_google_cloudprober_probes_proto_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 827 var file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 3) 828 var file_github_com_google_cloudprober_probes_proto_config_proto_goTypes = []interface{}{ 829 (ProbeDef_Type)(0), // 0: cloudprober.probes.ProbeDef.Type 830 (ProbeDef_IPVersion)(0), // 1: cloudprober.probes.ProbeDef.IPVersion 831 (*ProbeDef)(nil), // 2: cloudprober.probes.ProbeDef 832 (*AdditionalLabel)(nil), // 3: cloudprober.probes.AdditionalLabel 833 (*DebugOptions)(nil), // 4: cloudprober.probes.DebugOptions 834 (*proto.TargetsDef)(nil), // 5: cloudprober.targets.TargetsDef 835 (*proto1.Dist)(nil), // 6: cloudprober.metrics.Dist 836 (*proto2.Validator)(nil), // 7: cloudprober.validators.Validator 837 (*proto3.ProbeConf)(nil), // 8: cloudprober.probes.ping.ProbeConf 838 (*proto4.ProbeConf)(nil), // 9: cloudprober.probes.http.ProbeConf 839 (*proto5.ProbeConf)(nil), // 10: cloudprober.probes.dns.ProbeConf 840 (*proto6.ProbeConf)(nil), // 11: cloudprober.probes.external.ProbeConf 841 (*proto7.ProbeConf)(nil), // 12: cloudprober.probes.udp.ProbeConf 842 (*proto8.ProbeConf)(nil), // 13: cloudprober.probes.udplistener.ProbeConf 843 (*proto9.ProbeConf)(nil), // 14: cloudprober.probes.grpc.ProbeConf 844 } 845 var file_github_com_google_cloudprober_probes_proto_config_proto_depIdxs = []int32{ 846 0, // 0: cloudprober.probes.ProbeDef.type:type_name -> cloudprober.probes.ProbeDef.Type 847 5, // 1: cloudprober.probes.ProbeDef.targets:type_name -> cloudprober.targets.TargetsDef 848 6, // 2: cloudprober.probes.ProbeDef.latency_distribution:type_name -> cloudprober.metrics.Dist 849 7, // 3: cloudprober.probes.ProbeDef.validator:type_name -> cloudprober.validators.Validator 850 1, // 4: cloudprober.probes.ProbeDef.ip_version:type_name -> cloudprober.probes.ProbeDef.IPVersion 851 3, // 5: cloudprober.probes.ProbeDef.additional_label:type_name -> cloudprober.probes.AdditionalLabel 852 8, // 6: cloudprober.probes.ProbeDef.ping_probe:type_name -> cloudprober.probes.ping.ProbeConf 853 9, // 7: cloudprober.probes.ProbeDef.http_probe:type_name -> cloudprober.probes.http.ProbeConf 854 10, // 8: cloudprober.probes.ProbeDef.dns_probe:type_name -> cloudprober.probes.dns.ProbeConf 855 11, // 9: cloudprober.probes.ProbeDef.external_probe:type_name -> cloudprober.probes.external.ProbeConf 856 12, // 10: cloudprober.probes.ProbeDef.udp_probe:type_name -> cloudprober.probes.udp.ProbeConf 857 13, // 11: cloudprober.probes.ProbeDef.udp_listener_probe:type_name -> cloudprober.probes.udplistener.ProbeConf 858 14, // 12: cloudprober.probes.ProbeDef.grpc_probe:type_name -> cloudprober.probes.grpc.ProbeConf 859 4, // 13: cloudprober.probes.ProbeDef.debug_options:type_name -> cloudprober.probes.DebugOptions 860 14, // [14:14] is the sub-list for method output_type 861 14, // [14:14] is the sub-list for method input_type 862 14, // [14:14] is the sub-list for extension type_name 863 14, // [14:14] is the sub-list for extension extendee 864 0, // [0:14] is the sub-list for field type_name 865 } 866 867 func init() { file_github_com_google_cloudprober_probes_proto_config_proto_init() } 868 func file_github_com_google_cloudprober_probes_proto_config_proto_init() { 869 if File_github_com_google_cloudprober_probes_proto_config_proto != nil { 870 return 871 } 872 if !protoimpl.UnsafeEnabled { 873 file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 874 switch v := v.(*ProbeDef); i { 875 case 0: 876 return &v.state 877 case 1: 878 return &v.sizeCache 879 case 2: 880 return &v.unknownFields 881 case 3: 882 return &v.extensionFields 883 default: 884 return nil 885 } 886 } 887 file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 888 switch v := v.(*AdditionalLabel); i { 889 case 0: 890 return &v.state 891 case 1: 892 return &v.sizeCache 893 case 2: 894 return &v.unknownFields 895 default: 896 return nil 897 } 898 } 899 file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 900 switch v := v.(*DebugOptions); i { 901 case 0: 902 return &v.state 903 case 1: 904 return &v.sizeCache 905 case 2: 906 return &v.unknownFields 907 default: 908 return nil 909 } 910 } 911 } 912 file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes[0].OneofWrappers = []interface{}{ 913 (*ProbeDef_SourceIp)(nil), 914 (*ProbeDef_SourceInterface)(nil), 915 (*ProbeDef_PingProbe)(nil), 916 (*ProbeDef_HttpProbe)(nil), 917 (*ProbeDef_DnsProbe)(nil), 918 (*ProbeDef_ExternalProbe)(nil), 919 (*ProbeDef_UdpProbe)(nil), 920 (*ProbeDef_UdpListenerProbe)(nil), 921 (*ProbeDef_GrpcProbe)(nil), 922 (*ProbeDef_UserDefinedProbe)(nil), 923 } 924 type x struct{} 925 out := protoimpl.TypeBuilder{ 926 File: protoimpl.DescBuilder{ 927 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 928 RawDescriptor: file_github_com_google_cloudprober_probes_proto_config_proto_rawDesc, 929 NumEnums: 2, 930 NumMessages: 3, 931 NumExtensions: 0, 932 NumServices: 0, 933 }, 934 GoTypes: file_github_com_google_cloudprober_probes_proto_config_proto_goTypes, 935 DependencyIndexes: file_github_com_google_cloudprober_probes_proto_config_proto_depIdxs, 936 EnumInfos: file_github_com_google_cloudprober_probes_proto_config_proto_enumTypes, 937 MessageInfos: file_github_com_google_cloudprober_probes_proto_config_proto_msgTypes, 938 }.Build() 939 File_github_com_google_cloudprober_probes_proto_config_proto = out.File 940 file_github_com_google_cloudprober_probes_proto_config_proto_rawDesc = nil 941 file_github_com_google_cloudprober_probes_proto_config_proto_goTypes = nil 942 file_github_com_google_cloudprober_probes_proto_config_proto_depIdxs = nil 943 }