github.com/google/cloudprober@v0.11.3/config/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/config/proto/config.proto 6 7 package proto 8 9 import ( 10 proto4 "github.com/google/cloudprober/common/tlsconfig/proto" 11 proto "github.com/google/cloudprober/probes/proto" 12 proto3 "github.com/google/cloudprober/rds/server/proto" 13 proto2 "github.com/google/cloudprober/servers/proto" 14 proto1 "github.com/google/cloudprober/surfacers/proto" 15 proto5 "github.com/google/cloudprober/targets/proto" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 type ProberConfig struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 // Probes to run. 35 Probe []*proto.ProbeDef `protobuf:"bytes,1,rep,name=probe" json:"probe,omitempty"` 36 // Surfacers are used to export probe results for further processing. 37 // If no surfacer is configured, a prometheus and a file surfacer are 38 // initialized: 39 // - Prometheus makes probe results available at http://<host>:9313/metrics. 40 // - File surfacer writes results to stdout. 41 // 42 // You can disable default surfacers (in case you want no surfacer at all), by 43 // adding the following to your config: 44 // surfacer {} 45 Surfacer []*proto1.SurfacerDef `protobuf:"bytes,2,rep,name=surfacer" json:"surfacer,omitempty"` 46 // Servers to run inside cloudprober. These servers can serve as targets for 47 // other probes. 48 Server []*proto2.ServerDef `protobuf:"bytes,3,rep,name=server" json:"server,omitempty"` 49 // Shared targets allow you to re-use the same targets copy across multiple 50 // probes. Example usage: 51 // 52 // shared_targets { 53 // name: "internal-vms" 54 // targets { 55 // rds_targets { 56 // .. 57 // } 58 // } 59 // } 60 // 61 // probe { 62 // name: "vm-ping" 63 // type: PING 64 // targets { 65 // shared_targets: "internal-vms" 66 // } 67 // } 68 // 69 // probe { 70 // name: "vm-http" 71 // type: HTTP 72 // targets { 73 // shared_targets: "internal-vms" 74 // } 75 // } 76 SharedTargets []*SharedTargets `protobuf:"bytes,4,rep,name=shared_targets,json=sharedTargets" json:"shared_targets,omitempty"` 77 // Resource discovery server 78 RdsServer *proto3.ServerConf `protobuf:"bytes,95,opt,name=rds_server,json=rdsServer" json:"rds_server,omitempty"` 79 // Port for the default HTTP server. This port is also used for prometheus 80 // exporter (URL /metrics). Default port is 9313. If not specified in the 81 // config, default port can be overridden by the environment variable 82 // CLOUDPROBER_PORT. 83 Port *int32 `protobuf:"varint,96,opt,name=port" json:"port,omitempty"` 84 // Port to run the default gRPC server on. If not specified, and if 85 // environment variable CLOUDPROBER_GRPC_PORT is set, CLOUDPROBER_GRPC_PORT is 86 // used for the default gRPC server. If CLOUDPROBER_GRPC_PORT is not set as 87 // well, default gRPC server is not started. 88 GrpcPort *int32 `protobuf:"varint,104,opt,name=grpc_port,json=grpcPort" json:"grpc_port,omitempty"` 89 // TLS config, it can be used to: 90 // - Specify client's CA cert for client cert verification: 91 // tls_config { 92 // ca_cert_file: "...." 93 // } 94 // 95 // - Specify TLS cert and key: 96 // tls_config { 97 // tls_cert_file: "..." 98 // tls_key_file: "..." 99 // } 100 GrpcTlsConfig *proto4.TLSConfig `protobuf:"bytes,105,opt,name=grpc_tls_config,json=grpcTlsConfig" json:"grpc_tls_config,omitempty"` 101 // Host for the default HTTP server. Default listens on all addresses. If not 102 // specified in the config, default port can be overridden by the environment 103 // variable CLOUDPROBER_HOST. 104 Host *string `protobuf:"bytes,101,opt,name=host" json:"host,omitempty"` 105 // Probes are staggered across time to avoid executing all of them at the 106 // same time. This behavior can be disabled by setting the following option 107 // to true. 108 DisableJitter *bool `protobuf:"varint,102,opt,name=disable_jitter,json=disableJitter,def=0" json:"disable_jitter,omitempty"` 109 // How often to export system variables. To learn more about system variables: 110 // http://godoc.org/github.com/google/cloudprober/sysvars. 111 SysvarsIntervalMsec *int32 `protobuf:"varint,97,opt,name=sysvars_interval_msec,json=sysvarsIntervalMsec,def=10000" json:"sysvars_interval_msec,omitempty"` 112 // Variables specified in this environment variable are exported as it is. 113 // This is specifically useful to export information about system environment, 114 // for example, docker image tag/digest-id, OS version etc. See 115 // tools/cloudprober_startup.sh in the cloudprober directory for an example on 116 // how to use these variables. 117 SysvarsEnvVar *string `protobuf:"bytes,98,opt,name=sysvars_env_var,json=sysvarsEnvVar,def=SYSVARS" json:"sysvars_env_var,omitempty"` 118 // Time between triggering cancelation of various goroutines and exiting the 119 // process. If --stop_time flag is also configured, that gets priority. 120 // You may want to set it to 0 if cloudprober is running as a backend for 121 // the probes and you don't want time lost in stop and start. 122 StopTimeSec *int32 `protobuf:"varint,99,opt,name=stop_time_sec,json=stopTimeSec,def=5" json:"stop_time_sec,omitempty"` 123 // Global targets options. Per-probe options are specified within the probe 124 // stanza. 125 GlobalTargetsOptions *proto5.GlobalTargetsOptions `protobuf:"bytes,100,opt,name=global_targets_options,json=globalTargetsOptions" json:"global_targets_options,omitempty"` 126 } 127 128 // Default values for ProberConfig fields. 129 const ( 130 Default_ProberConfig_DisableJitter = bool(false) 131 Default_ProberConfig_SysvarsIntervalMsec = int32(10000) 132 Default_ProberConfig_SysvarsEnvVar = string("SYSVARS") 133 Default_ProberConfig_StopTimeSec = int32(5) 134 ) 135 136 func (x *ProberConfig) Reset() { 137 *x = ProberConfig{} 138 if protoimpl.UnsafeEnabled { 139 mi := &file_github_com_google_cloudprober_config_proto_config_proto_msgTypes[0] 140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 141 ms.StoreMessageInfo(mi) 142 } 143 } 144 145 func (x *ProberConfig) String() string { 146 return protoimpl.X.MessageStringOf(x) 147 } 148 149 func (*ProberConfig) ProtoMessage() {} 150 151 func (x *ProberConfig) ProtoReflect() protoreflect.Message { 152 mi := &file_github_com_google_cloudprober_config_proto_config_proto_msgTypes[0] 153 if protoimpl.UnsafeEnabled && x != nil { 154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 155 if ms.LoadMessageInfo() == nil { 156 ms.StoreMessageInfo(mi) 157 } 158 return ms 159 } 160 return mi.MessageOf(x) 161 } 162 163 // Deprecated: Use ProberConfig.ProtoReflect.Descriptor instead. 164 func (*ProberConfig) Descriptor() ([]byte, []int) { 165 return file_github_com_google_cloudprober_config_proto_config_proto_rawDescGZIP(), []int{0} 166 } 167 168 func (x *ProberConfig) GetProbe() []*proto.ProbeDef { 169 if x != nil { 170 return x.Probe 171 } 172 return nil 173 } 174 175 func (x *ProberConfig) GetSurfacer() []*proto1.SurfacerDef { 176 if x != nil { 177 return x.Surfacer 178 } 179 return nil 180 } 181 182 func (x *ProberConfig) GetServer() []*proto2.ServerDef { 183 if x != nil { 184 return x.Server 185 } 186 return nil 187 } 188 189 func (x *ProberConfig) GetSharedTargets() []*SharedTargets { 190 if x != nil { 191 return x.SharedTargets 192 } 193 return nil 194 } 195 196 func (x *ProberConfig) GetRdsServer() *proto3.ServerConf { 197 if x != nil { 198 return x.RdsServer 199 } 200 return nil 201 } 202 203 func (x *ProberConfig) GetPort() int32 { 204 if x != nil && x.Port != nil { 205 return *x.Port 206 } 207 return 0 208 } 209 210 func (x *ProberConfig) GetGrpcPort() int32 { 211 if x != nil && x.GrpcPort != nil { 212 return *x.GrpcPort 213 } 214 return 0 215 } 216 217 func (x *ProberConfig) GetGrpcTlsConfig() *proto4.TLSConfig { 218 if x != nil { 219 return x.GrpcTlsConfig 220 } 221 return nil 222 } 223 224 func (x *ProberConfig) GetHost() string { 225 if x != nil && x.Host != nil { 226 return *x.Host 227 } 228 return "" 229 } 230 231 func (x *ProberConfig) GetDisableJitter() bool { 232 if x != nil && x.DisableJitter != nil { 233 return *x.DisableJitter 234 } 235 return Default_ProberConfig_DisableJitter 236 } 237 238 func (x *ProberConfig) GetSysvarsIntervalMsec() int32 { 239 if x != nil && x.SysvarsIntervalMsec != nil { 240 return *x.SysvarsIntervalMsec 241 } 242 return Default_ProberConfig_SysvarsIntervalMsec 243 } 244 245 func (x *ProberConfig) GetSysvarsEnvVar() string { 246 if x != nil && x.SysvarsEnvVar != nil { 247 return *x.SysvarsEnvVar 248 } 249 return Default_ProberConfig_SysvarsEnvVar 250 } 251 252 func (x *ProberConfig) GetStopTimeSec() int32 { 253 if x != nil && x.StopTimeSec != nil { 254 return *x.StopTimeSec 255 } 256 return Default_ProberConfig_StopTimeSec 257 } 258 259 func (x *ProberConfig) GetGlobalTargetsOptions() *proto5.GlobalTargetsOptions { 260 if x != nil { 261 return x.GlobalTargetsOptions 262 } 263 return nil 264 } 265 266 type SharedTargets struct { 267 state protoimpl.MessageState 268 sizeCache protoimpl.SizeCache 269 unknownFields protoimpl.UnknownFields 270 271 Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` 272 Targets *proto5.TargetsDef `protobuf:"bytes,2,req,name=targets" json:"targets,omitempty"` 273 } 274 275 func (x *SharedTargets) Reset() { 276 *x = SharedTargets{} 277 if protoimpl.UnsafeEnabled { 278 mi := &file_github_com_google_cloudprober_config_proto_config_proto_msgTypes[1] 279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 280 ms.StoreMessageInfo(mi) 281 } 282 } 283 284 func (x *SharedTargets) String() string { 285 return protoimpl.X.MessageStringOf(x) 286 } 287 288 func (*SharedTargets) ProtoMessage() {} 289 290 func (x *SharedTargets) ProtoReflect() protoreflect.Message { 291 mi := &file_github_com_google_cloudprober_config_proto_config_proto_msgTypes[1] 292 if protoimpl.UnsafeEnabled && x != nil { 293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 294 if ms.LoadMessageInfo() == nil { 295 ms.StoreMessageInfo(mi) 296 } 297 return ms 298 } 299 return mi.MessageOf(x) 300 } 301 302 // Deprecated: Use SharedTargets.ProtoReflect.Descriptor instead. 303 func (*SharedTargets) Descriptor() ([]byte, []int) { 304 return file_github_com_google_cloudprober_config_proto_config_proto_rawDescGZIP(), []int{1} 305 } 306 307 func (x *SharedTargets) GetName() string { 308 if x != nil && x.Name != nil { 309 return *x.Name 310 } 311 return "" 312 } 313 314 func (x *SharedTargets) GetTargets() *proto5.TargetsDef { 315 if x != nil { 316 return x.Targets 317 } 318 return nil 319 } 320 321 var File_github_com_google_cloudprober_config_proto_config_proto protoreflect.FileDescriptor 322 323 var file_github_com_google_cloudprober_config_proto_config_proto_rawDesc = []byte{ 324 0x0a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 325 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 326 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 327 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 328 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x1a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 329 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 330 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x6c, 0x73, 331 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 332 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x37, 0x67, 0x69, 0x74, 0x68, 0x75, 333 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 334 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 335 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 336 0x74, 0x6f, 0x1a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 337 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 338 0x72, 0x2f, 0x72, 0x64, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 339 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 340 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 341 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 342 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 343 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x3a, 0x67, 0x69, 0x74, 0x68, 0x75, 344 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 345 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 346 0x72, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 347 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 348 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 349 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 350 0x74, 0x6f, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 351 0x22, 0xe9, 0x05, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 352 0x67, 0x12, 0x32, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 353 0x32, 0x1c, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 354 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x44, 0x65, 0x66, 0x52, 0x05, 355 0x70, 0x72, 0x6f, 0x62, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 356 0x72, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 357 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x2e, 0x53, 358 0x75, 0x72, 0x66, 0x61, 0x63, 0x65, 0x72, 0x44, 0x65, 0x66, 0x52, 0x08, 0x73, 0x75, 0x72, 0x66, 359 0x61, 0x63, 0x65, 0x72, 0x12, 0x36, 0x0a, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x03, 360 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 361 0x65, 0x72, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 362 0x72, 0x44, 0x65, 0x66, 0x52, 0x06, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x41, 0x0a, 0x0e, 363 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x04, 364 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 365 0x65, 0x72, 0x2e, 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 366 0x52, 0x0d, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 367 0x3a, 0x0a, 0x0a, 0x72, 0x64, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x18, 0x5f, 0x20, 368 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 369 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 370 0x52, 0x09, 0x72, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x70, 371 0x6f, 0x72, 0x74, 0x18, 0x60, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 372 0x1b, 0x0a, 0x09, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x68, 0x20, 0x01, 373 0x28, 0x05, 0x52, 0x08, 0x67, 0x72, 0x70, 0x63, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x48, 0x0a, 0x0f, 374 0x67, 0x72, 0x70, 0x63, 0x5f, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 375 0x69, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 376 0x62, 0x65, 0x72, 0x2e, 0x74, 0x6c, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x4c, 377 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x54, 0x6c, 0x73, 378 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x65, 379 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x0e, 0x64, 0x69, 380 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6a, 0x69, 0x74, 0x74, 0x65, 0x72, 0x18, 0x66, 0x20, 0x01, 381 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 382 0x6c, 0x65, 0x4a, 0x69, 0x74, 0x74, 0x65, 0x72, 0x12, 0x39, 0x0a, 0x15, 0x73, 0x79, 0x73, 0x76, 383 0x61, 0x72, 0x73, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x73, 0x65, 384 0x63, 0x18, 0x61, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x05, 0x31, 0x30, 0x30, 0x30, 0x30, 0x52, 0x13, 385 0x73, 0x79, 0x73, 0x76, 0x61, 0x72, 0x73, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 386 0x73, 0x65, 0x63, 0x12, 0x2f, 0x0a, 0x0f, 0x73, 0x79, 0x73, 0x76, 0x61, 0x72, 0x73, 0x5f, 0x65, 387 0x6e, 0x76, 0x5f, 0x76, 0x61, 0x72, 0x18, 0x62, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x07, 0x53, 0x59, 388 0x53, 0x56, 0x41, 0x52, 0x53, 0x52, 0x0d, 0x73, 0x79, 0x73, 0x76, 0x61, 0x72, 0x73, 0x45, 0x6e, 389 0x76, 0x56, 0x61, 0x72, 0x12, 0x25, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x74, 0x69, 0x6d, 390 0x65, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x63, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x01, 0x35, 0x52, 0x0b, 391 0x73, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x63, 0x12, 0x5f, 0x0a, 0x16, 0x67, 392 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x6f, 0x70, 393 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x64, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6c, 394 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 395 0x73, 0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x4f, 396 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x14, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x54, 0x61, 397 0x72, 0x67, 0x65, 0x74, 0x73, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5e, 0x0a, 0x0d, 398 0x53, 0x68, 0x61, 0x72, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x12, 0x0a, 399 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 400 0x65, 0x12, 0x39, 0x0a, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x02, 0x20, 0x02, 401 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 402 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 403 0x44, 0x65, 0x66, 0x52, 0x07, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x42, 0x2c, 0x5a, 0x2a, 404 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 405 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x6f, 406 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 407 } 408 409 var ( 410 file_github_com_google_cloudprober_config_proto_config_proto_rawDescOnce sync.Once 411 file_github_com_google_cloudprober_config_proto_config_proto_rawDescData = file_github_com_google_cloudprober_config_proto_config_proto_rawDesc 412 ) 413 414 func file_github_com_google_cloudprober_config_proto_config_proto_rawDescGZIP() []byte { 415 file_github_com_google_cloudprober_config_proto_config_proto_rawDescOnce.Do(func() { 416 file_github_com_google_cloudprober_config_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_config_proto_config_proto_rawDescData) 417 }) 418 return file_github_com_google_cloudprober_config_proto_config_proto_rawDescData 419 } 420 421 var file_github_com_google_cloudprober_config_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 422 var file_github_com_google_cloudprober_config_proto_config_proto_goTypes = []interface{}{ 423 (*ProberConfig)(nil), // 0: cloudprober.ProberConfig 424 (*SharedTargets)(nil), // 1: cloudprober.SharedTargets 425 (*proto.ProbeDef)(nil), // 2: cloudprober.probes.ProbeDef 426 (*proto1.SurfacerDef)(nil), // 3: cloudprober.surfacer.SurfacerDef 427 (*proto2.ServerDef)(nil), // 4: cloudprober.servers.ServerDef 428 (*proto3.ServerConf)(nil), // 5: cloudprober.rds.ServerConf 429 (*proto4.TLSConfig)(nil), // 6: cloudprober.tlsconfig.TLSConfig 430 (*proto5.GlobalTargetsOptions)(nil), // 7: cloudprober.targets.GlobalTargetsOptions 431 (*proto5.TargetsDef)(nil), // 8: cloudprober.targets.TargetsDef 432 } 433 var file_github_com_google_cloudprober_config_proto_config_proto_depIdxs = []int32{ 434 2, // 0: cloudprober.ProberConfig.probe:type_name -> cloudprober.probes.ProbeDef 435 3, // 1: cloudprober.ProberConfig.surfacer:type_name -> cloudprober.surfacer.SurfacerDef 436 4, // 2: cloudprober.ProberConfig.server:type_name -> cloudprober.servers.ServerDef 437 1, // 3: cloudprober.ProberConfig.shared_targets:type_name -> cloudprober.SharedTargets 438 5, // 4: cloudprober.ProberConfig.rds_server:type_name -> cloudprober.rds.ServerConf 439 6, // 5: cloudprober.ProberConfig.grpc_tls_config:type_name -> cloudprober.tlsconfig.TLSConfig 440 7, // 6: cloudprober.ProberConfig.global_targets_options:type_name -> cloudprober.targets.GlobalTargetsOptions 441 8, // 7: cloudprober.SharedTargets.targets:type_name -> cloudprober.targets.TargetsDef 442 8, // [8:8] is the sub-list for method output_type 443 8, // [8:8] is the sub-list for method input_type 444 8, // [8:8] is the sub-list for extension type_name 445 8, // [8:8] is the sub-list for extension extendee 446 0, // [0:8] is the sub-list for field type_name 447 } 448 449 func init() { file_github_com_google_cloudprober_config_proto_config_proto_init() } 450 func file_github_com_google_cloudprober_config_proto_config_proto_init() { 451 if File_github_com_google_cloudprober_config_proto_config_proto != nil { 452 return 453 } 454 if !protoimpl.UnsafeEnabled { 455 file_github_com_google_cloudprober_config_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 456 switch v := v.(*ProberConfig); i { 457 case 0: 458 return &v.state 459 case 1: 460 return &v.sizeCache 461 case 2: 462 return &v.unknownFields 463 default: 464 return nil 465 } 466 } 467 file_github_com_google_cloudprober_config_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 468 switch v := v.(*SharedTargets); i { 469 case 0: 470 return &v.state 471 case 1: 472 return &v.sizeCache 473 case 2: 474 return &v.unknownFields 475 default: 476 return nil 477 } 478 } 479 } 480 type x struct{} 481 out := protoimpl.TypeBuilder{ 482 File: protoimpl.DescBuilder{ 483 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 484 RawDescriptor: file_github_com_google_cloudprober_config_proto_config_proto_rawDesc, 485 NumEnums: 0, 486 NumMessages: 2, 487 NumExtensions: 0, 488 NumServices: 0, 489 }, 490 GoTypes: file_github_com_google_cloudprober_config_proto_config_proto_goTypes, 491 DependencyIndexes: file_github_com_google_cloudprober_config_proto_config_proto_depIdxs, 492 MessageInfos: file_github_com_google_cloudprober_config_proto_config_proto_msgTypes, 493 }.Build() 494 File_github_com_google_cloudprober_config_proto_config_proto = out.File 495 file_github_com_google_cloudprober_config_proto_config_proto_rawDesc = nil 496 file_github_com_google_cloudprober_config_proto_config_proto_goTypes = nil 497 file_github_com_google_cloudprober_config_proto_config_proto_depIdxs = nil 498 }