github.com/google/cloudprober@v0.11.3/targets/gce/proto/config.pb.go (about) 1 // Configuration proto for GCE targets. 2 3 // Code generated by protoc-gen-go. DO NOT EDIT. 4 // versions: 5 // protoc-gen-go v1.26.0 6 // protoc v3.17.3 7 // source: github.com/google/cloudprober/targets/gce/proto/config.proto 8 9 package proto 10 11 import ( 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16 ) 17 18 const ( 19 // Verify that this generated code is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 21 // Verify that runtime/protoimpl is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 23 ) 24 25 type Instances_NetworkInterface_IPType int32 26 27 const ( 28 // Private IP address. 29 Instances_NetworkInterface_PRIVATE Instances_NetworkInterface_IPType = 0 30 // IP address of the first access config. 31 Instances_NetworkInterface_PUBLIC Instances_NetworkInterface_IPType = 1 32 // First IP address from the first Alias IP range. For example, for 33 // alias IP range "192.168.12.0/24", 192.168.12.0 will be returned. 34 Instances_NetworkInterface_ALIAS Instances_NetworkInterface_IPType = 2 35 ) 36 37 // Enum value maps for Instances_NetworkInterface_IPType. 38 var ( 39 Instances_NetworkInterface_IPType_name = map[int32]string{ 40 0: "PRIVATE", 41 1: "PUBLIC", 42 2: "ALIAS", 43 } 44 Instances_NetworkInterface_IPType_value = map[string]int32{ 45 "PRIVATE": 0, 46 "PUBLIC": 1, 47 "ALIAS": 2, 48 } 49 ) 50 51 func (x Instances_NetworkInterface_IPType) Enum() *Instances_NetworkInterface_IPType { 52 p := new(Instances_NetworkInterface_IPType) 53 *p = x 54 return p 55 } 56 57 func (x Instances_NetworkInterface_IPType) String() string { 58 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 59 } 60 61 func (Instances_NetworkInterface_IPType) Descriptor() protoreflect.EnumDescriptor { 62 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_enumTypes[0].Descriptor() 63 } 64 65 func (Instances_NetworkInterface_IPType) Type() protoreflect.EnumType { 66 return &file_github_com_google_cloudprober_targets_gce_proto_config_proto_enumTypes[0] 67 } 68 69 func (x Instances_NetworkInterface_IPType) Number() protoreflect.EnumNumber { 70 return protoreflect.EnumNumber(x) 71 } 72 73 // Deprecated: Do not use. 74 func (x *Instances_NetworkInterface_IPType) UnmarshalJSON(b []byte) error { 75 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 76 if err != nil { 77 return err 78 } 79 *x = Instances_NetworkInterface_IPType(num) 80 return nil 81 } 82 83 // Deprecated: Use Instances_NetworkInterface_IPType.Descriptor instead. 84 func (Instances_NetworkInterface_IPType) EnumDescriptor() ([]byte, []int) { 85 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescGZIP(), []int{1, 0, 0} 86 } 87 88 // TargetsConf represents GCE targets, e.g. instances, forwarding rules etc. 89 type TargetsConf struct { 90 state protoimpl.MessageState 91 sizeCache protoimpl.SizeCache 92 unknownFields protoimpl.UnknownFields 93 94 // If running on GCE, this defaults to the local project. 95 // Note: Multiple projects support in targets is experimental and may go away 96 // with future iterations. 97 Project []string `protobuf:"bytes,1,rep,name=project" json:"project,omitempty"` 98 // Types that are assignable to Type: 99 // *TargetsConf_Instances 100 // *TargetsConf_ForwardingRules 101 Type isTargetsConf_Type `protobuf_oneof:"type"` 102 } 103 104 func (x *TargetsConf) Reset() { 105 *x = TargetsConf{} 106 if protoimpl.UnsafeEnabled { 107 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[0] 108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 109 ms.StoreMessageInfo(mi) 110 } 111 } 112 113 func (x *TargetsConf) String() string { 114 return protoimpl.X.MessageStringOf(x) 115 } 116 117 func (*TargetsConf) ProtoMessage() {} 118 119 func (x *TargetsConf) ProtoReflect() protoreflect.Message { 120 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[0] 121 if protoimpl.UnsafeEnabled && x != nil { 122 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 123 if ms.LoadMessageInfo() == nil { 124 ms.StoreMessageInfo(mi) 125 } 126 return ms 127 } 128 return mi.MessageOf(x) 129 } 130 131 // Deprecated: Use TargetsConf.ProtoReflect.Descriptor instead. 132 func (*TargetsConf) Descriptor() ([]byte, []int) { 133 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescGZIP(), []int{0} 134 } 135 136 func (x *TargetsConf) GetProject() []string { 137 if x != nil { 138 return x.Project 139 } 140 return nil 141 } 142 143 func (m *TargetsConf) GetType() isTargetsConf_Type { 144 if m != nil { 145 return m.Type 146 } 147 return nil 148 } 149 150 func (x *TargetsConf) GetInstances() *Instances { 151 if x, ok := x.GetType().(*TargetsConf_Instances); ok { 152 return x.Instances 153 } 154 return nil 155 } 156 157 func (x *TargetsConf) GetForwardingRules() *ForwardingRules { 158 if x, ok := x.GetType().(*TargetsConf_ForwardingRules); ok { 159 return x.ForwardingRules 160 } 161 return nil 162 } 163 164 type isTargetsConf_Type interface { 165 isTargetsConf_Type() 166 } 167 168 type TargetsConf_Instances struct { 169 Instances *Instances `protobuf:"bytes,2,opt,name=instances,oneof"` 170 } 171 172 type TargetsConf_ForwardingRules struct { 173 ForwardingRules *ForwardingRules `protobuf:"bytes,3,opt,name=forwarding_rules,json=forwardingRules,oneof"` 174 } 175 176 func (*TargetsConf_Instances) isTargetsConf_Type() {} 177 178 func (*TargetsConf_ForwardingRules) isTargetsConf_Type() {} 179 180 // Represents GCE instances 181 type Instances struct { 182 state protoimpl.MessageState 183 sizeCache protoimpl.SizeCache 184 unknownFields protoimpl.UnknownFields 185 186 // Use DNS to resolve target names (instances). If set to false (default), 187 // IP addresses specified in the compute.Instance resource is used. If set 188 // to true all the other resolving options are ignored. 189 UseDnsToResolve *bool `protobuf:"varint,1,opt,name=use_dns_to_resolve,json=useDnsToResolve,def=0" json:"use_dns_to_resolve,omitempty"` 190 NetworkInterface *Instances_NetworkInterface `protobuf:"bytes,2,opt,name=network_interface,json=networkInterface" json:"network_interface,omitempty"` 191 // Labels to filter instances by ("key:value-regex" format). 192 Label []string `protobuf:"bytes,3,rep,name=label" json:"label,omitempty"` 193 } 194 195 // Default values for Instances fields. 196 const ( 197 Default_Instances_UseDnsToResolve = bool(false) 198 ) 199 200 func (x *Instances) Reset() { 201 *x = Instances{} 202 if protoimpl.UnsafeEnabled { 203 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[1] 204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 205 ms.StoreMessageInfo(mi) 206 } 207 } 208 209 func (x *Instances) String() string { 210 return protoimpl.X.MessageStringOf(x) 211 } 212 213 func (*Instances) ProtoMessage() {} 214 215 func (x *Instances) ProtoReflect() protoreflect.Message { 216 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[1] 217 if protoimpl.UnsafeEnabled && x != nil { 218 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 219 if ms.LoadMessageInfo() == nil { 220 ms.StoreMessageInfo(mi) 221 } 222 return ms 223 } 224 return mi.MessageOf(x) 225 } 226 227 // Deprecated: Use Instances.ProtoReflect.Descriptor instead. 228 func (*Instances) Descriptor() ([]byte, []int) { 229 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescGZIP(), []int{1} 230 } 231 232 func (x *Instances) GetUseDnsToResolve() bool { 233 if x != nil && x.UseDnsToResolve != nil { 234 return *x.UseDnsToResolve 235 } 236 return Default_Instances_UseDnsToResolve 237 } 238 239 func (x *Instances) GetNetworkInterface() *Instances_NetworkInterface { 240 if x != nil { 241 return x.NetworkInterface 242 } 243 return nil 244 } 245 246 func (x *Instances) GetLabel() []string { 247 if x != nil { 248 return x.Label 249 } 250 return nil 251 } 252 253 // Represents GCE forwarding rules. Does not support multiple projects 254 type ForwardingRules struct { 255 state protoimpl.MessageState 256 sizeCache protoimpl.SizeCache 257 unknownFields protoimpl.UnknownFields 258 259 // Important: if multiple probes use forwarding_rules targets, only the 260 // settings in the definition will take effect. 261 // TODO(manugarg): Fix this behavior. 262 // 263 // For regional forwarding rules, regions to return forwarding rules for. 264 // Default is to return forwarding rules from the region that the VM is 265 // running in. To return forwarding rules from all regions, specify region as 266 // "all". 267 Region []string `protobuf:"bytes,1,rep,name=region" json:"region,omitempty"` 268 } 269 270 func (x *ForwardingRules) Reset() { 271 *x = ForwardingRules{} 272 if protoimpl.UnsafeEnabled { 273 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[2] 274 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 275 ms.StoreMessageInfo(mi) 276 } 277 } 278 279 func (x *ForwardingRules) String() string { 280 return protoimpl.X.MessageStringOf(x) 281 } 282 283 func (*ForwardingRules) ProtoMessage() {} 284 285 func (x *ForwardingRules) ProtoReflect() protoreflect.Message { 286 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[2] 287 if protoimpl.UnsafeEnabled && x != nil { 288 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 289 if ms.LoadMessageInfo() == nil { 290 ms.StoreMessageInfo(mi) 291 } 292 return ms 293 } 294 return mi.MessageOf(x) 295 } 296 297 // Deprecated: Use ForwardingRules.ProtoReflect.Descriptor instead. 298 func (*ForwardingRules) Descriptor() ([]byte, []int) { 299 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescGZIP(), []int{2} 300 } 301 302 func (x *ForwardingRules) GetRegion() []string { 303 if x != nil { 304 return x.Region 305 } 306 return nil 307 } 308 309 // Global GCE targets options. These options are independent of the per-probe 310 // targets which are defined by the "GCETargets" type above. 311 type GlobalOptions struct { 312 state protoimpl.MessageState 313 sizeCache protoimpl.SizeCache 314 unknownFields protoimpl.UnknownFields 315 316 // How often targets should be evaluated/expanded 317 ReEvalSec *int32 `protobuf:"varint,1,opt,name=re_eval_sec,json=reEvalSec,def=900" json:"re_eval_sec,omitempty"` // default 15 min 318 // Compute API version. 319 ApiVersion *string `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,def=v1" json:"api_version,omitempty"` 320 } 321 322 // Default values for GlobalOptions fields. 323 const ( 324 Default_GlobalOptions_ReEvalSec = int32(900) 325 Default_GlobalOptions_ApiVersion = string("v1") 326 ) 327 328 func (x *GlobalOptions) Reset() { 329 *x = GlobalOptions{} 330 if protoimpl.UnsafeEnabled { 331 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[3] 332 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 333 ms.StoreMessageInfo(mi) 334 } 335 } 336 337 func (x *GlobalOptions) String() string { 338 return protoimpl.X.MessageStringOf(x) 339 } 340 341 func (*GlobalOptions) ProtoMessage() {} 342 343 func (x *GlobalOptions) ProtoReflect() protoreflect.Message { 344 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[3] 345 if protoimpl.UnsafeEnabled && x != nil { 346 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 347 if ms.LoadMessageInfo() == nil { 348 ms.StoreMessageInfo(mi) 349 } 350 return ms 351 } 352 return mi.MessageOf(x) 353 } 354 355 // Deprecated: Use GlobalOptions.ProtoReflect.Descriptor instead. 356 func (*GlobalOptions) Descriptor() ([]byte, []int) { 357 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescGZIP(), []int{3} 358 } 359 360 func (x *GlobalOptions) GetReEvalSec() int32 { 361 if x != nil && x.ReEvalSec != nil { 362 return *x.ReEvalSec 363 } 364 return Default_GlobalOptions_ReEvalSec 365 } 366 367 func (x *GlobalOptions) GetApiVersion() string { 368 if x != nil && x.ApiVersion != nil { 369 return *x.ApiVersion 370 } 371 return Default_GlobalOptions_ApiVersion 372 } 373 374 // Get the IP address from Network Interface 375 type Instances_NetworkInterface struct { 376 state protoimpl.MessageState 377 sizeCache protoimpl.SizeCache 378 unknownFields protoimpl.UnknownFields 379 380 Index *int32 `protobuf:"varint,1,opt,name=index,def=0" json:"index,omitempty"` 381 IpType *Instances_NetworkInterface_IPType `protobuf:"varint,2,opt,name=ip_type,json=ipType,enum=cloudprober.targets.gce.Instances_NetworkInterface_IPType,def=0" json:"ip_type,omitempty"` 382 } 383 384 // Default values for Instances_NetworkInterface fields. 385 const ( 386 Default_Instances_NetworkInterface_Index = int32(0) 387 Default_Instances_NetworkInterface_IpType = Instances_NetworkInterface_PRIVATE 388 ) 389 390 func (x *Instances_NetworkInterface) Reset() { 391 *x = Instances_NetworkInterface{} 392 if protoimpl.UnsafeEnabled { 393 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[4] 394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 395 ms.StoreMessageInfo(mi) 396 } 397 } 398 399 func (x *Instances_NetworkInterface) String() string { 400 return protoimpl.X.MessageStringOf(x) 401 } 402 403 func (*Instances_NetworkInterface) ProtoMessage() {} 404 405 func (x *Instances_NetworkInterface) ProtoReflect() protoreflect.Message { 406 mi := &file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[4] 407 if protoimpl.UnsafeEnabled && x != nil { 408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 409 if ms.LoadMessageInfo() == nil { 410 ms.StoreMessageInfo(mi) 411 } 412 return ms 413 } 414 return mi.MessageOf(x) 415 } 416 417 // Deprecated: Use Instances_NetworkInterface.ProtoReflect.Descriptor instead. 418 func (*Instances_NetworkInterface) Descriptor() ([]byte, []int) { 419 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescGZIP(), []int{1, 0} 420 } 421 422 func (x *Instances_NetworkInterface) GetIndex() int32 { 423 if x != nil && x.Index != nil { 424 return *x.Index 425 } 426 return Default_Instances_NetworkInterface_Index 427 } 428 429 func (x *Instances_NetworkInterface) GetIpType() Instances_NetworkInterface_IPType { 430 if x != nil && x.IpType != nil { 431 return *x.IpType 432 } 433 return Default_Instances_NetworkInterface_IpType 434 } 435 436 var File_github_com_google_cloudprober_targets_gce_proto_config_proto protoreflect.FileDescriptor 437 438 var file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDesc = []byte{ 439 0x0a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 440 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 441 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x67, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 442 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 443 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 444 0x65, 0x74, 0x73, 0x2e, 0x67, 0x63, 0x65, 0x22, 0xca, 0x01, 0x0a, 0x0b, 0x54, 0x61, 0x72, 0x67, 445 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 446 0x63, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 447 0x74, 0x12, 0x42, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 448 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 449 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x63, 0x65, 0x2e, 0x49, 450 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x48, 0x00, 0x52, 0x09, 0x69, 0x6e, 0x73, 0x74, 451 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x55, 0x0a, 0x10, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 452 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 453 0x28, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 454 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x63, 0x65, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 455 0x64, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x48, 0x00, 0x52, 0x0f, 0x66, 0x6f, 0x72, 456 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 457 0x74, 0x79, 0x70, 0x65, 0x22, 0xf1, 0x02, 0x0a, 0x09, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 458 0x65, 0x73, 0x12, 0x32, 0x0a, 0x12, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x6e, 0x73, 0x5f, 0x74, 0x6f, 459 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 460 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x0f, 0x75, 0x73, 0x65, 0x44, 0x6e, 0x73, 0x54, 0x6f, 0x52, 461 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x12, 0x60, 0x0a, 0x11, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 462 0x6b, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 463 0x0b, 0x32, 0x33, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 464 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74, 465 0x61, 0x6e, 0x63, 0x65, 0x73, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74, 466 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x10, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 467 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 0x63, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 468 0x6c, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x1a, 0xb7, 469 0x01, 0x0a, 0x10, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 470 0x61, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20, 0x01, 471 0x28, 0x05, 0x3a, 0x01, 0x30, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x5c, 0x0a, 0x07, 472 0x69, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 473 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 474 0x65, 0x74, 0x73, 0x2e, 0x67, 0x63, 0x65, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 475 0x73, 0x2e, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x66, 0x61, 476 0x63, 0x65, 0x2e, 0x49, 0x50, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x07, 0x50, 0x52, 0x49, 0x56, 0x41, 477 0x54, 0x45, 0x52, 0x06, 0x69, 0x70, 0x54, 0x79, 0x70, 0x65, 0x22, 0x2c, 0x0a, 0x06, 0x49, 0x50, 478 0x54, 0x79, 0x70, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54, 0x45, 0x10, 479 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x01, 0x12, 0x09, 0x0a, 480 0x05, 0x41, 0x4c, 0x49, 0x41, 0x53, 0x10, 0x02, 0x22, 0x29, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x77, 481 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x72, 482 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 483 0x69, 0x6f, 0x6e, 0x22, 0x59, 0x0a, 0x0d, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 484 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0b, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x5f, 485 0x73, 0x65, 0x63, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x03, 0x39, 0x30, 0x30, 0x52, 0x09, 486 0x72, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x53, 0x65, 0x63, 0x12, 0x23, 0x0a, 0x0b, 0x61, 0x70, 0x69, 487 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x02, 488 0x76, 0x31, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x31, 489 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 490 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 491 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x67, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 492 0x6f, 493 } 494 495 var ( 496 file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescOnce sync.Once 497 file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescData = file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDesc 498 ) 499 500 func file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescGZIP() []byte { 501 file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescOnce.Do(func() { 502 file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescData) 503 }) 504 return file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDescData 505 } 506 507 var file_github_com_google_cloudprober_targets_gce_proto_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 508 var file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 509 var file_github_com_google_cloudprober_targets_gce_proto_config_proto_goTypes = []interface{}{ 510 (Instances_NetworkInterface_IPType)(0), // 0: cloudprober.targets.gce.Instances.NetworkInterface.IPType 511 (*TargetsConf)(nil), // 1: cloudprober.targets.gce.TargetsConf 512 (*Instances)(nil), // 2: cloudprober.targets.gce.Instances 513 (*ForwardingRules)(nil), // 3: cloudprober.targets.gce.ForwardingRules 514 (*GlobalOptions)(nil), // 4: cloudprober.targets.gce.GlobalOptions 515 (*Instances_NetworkInterface)(nil), // 5: cloudprober.targets.gce.Instances.NetworkInterface 516 } 517 var file_github_com_google_cloudprober_targets_gce_proto_config_proto_depIdxs = []int32{ 518 2, // 0: cloudprober.targets.gce.TargetsConf.instances:type_name -> cloudprober.targets.gce.Instances 519 3, // 1: cloudprober.targets.gce.TargetsConf.forwarding_rules:type_name -> cloudprober.targets.gce.ForwardingRules 520 5, // 2: cloudprober.targets.gce.Instances.network_interface:type_name -> cloudprober.targets.gce.Instances.NetworkInterface 521 0, // 3: cloudprober.targets.gce.Instances.NetworkInterface.ip_type:type_name -> cloudprober.targets.gce.Instances.NetworkInterface.IPType 522 4, // [4:4] is the sub-list for method output_type 523 4, // [4:4] is the sub-list for method input_type 524 4, // [4:4] is the sub-list for extension type_name 525 4, // [4:4] is the sub-list for extension extendee 526 0, // [0:4] is the sub-list for field type_name 527 } 528 529 func init() { file_github_com_google_cloudprober_targets_gce_proto_config_proto_init() } 530 func file_github_com_google_cloudprober_targets_gce_proto_config_proto_init() { 531 if File_github_com_google_cloudprober_targets_gce_proto_config_proto != nil { 532 return 533 } 534 if !protoimpl.UnsafeEnabled { 535 file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 536 switch v := v.(*TargetsConf); i { 537 case 0: 538 return &v.state 539 case 1: 540 return &v.sizeCache 541 case 2: 542 return &v.unknownFields 543 default: 544 return nil 545 } 546 } 547 file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 548 switch v := v.(*Instances); i { 549 case 0: 550 return &v.state 551 case 1: 552 return &v.sizeCache 553 case 2: 554 return &v.unknownFields 555 default: 556 return nil 557 } 558 } 559 file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 560 switch v := v.(*ForwardingRules); i { 561 case 0: 562 return &v.state 563 case 1: 564 return &v.sizeCache 565 case 2: 566 return &v.unknownFields 567 default: 568 return nil 569 } 570 } 571 file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 572 switch v := v.(*GlobalOptions); i { 573 case 0: 574 return &v.state 575 case 1: 576 return &v.sizeCache 577 case 2: 578 return &v.unknownFields 579 default: 580 return nil 581 } 582 } 583 file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 584 switch v := v.(*Instances_NetworkInterface); i { 585 case 0: 586 return &v.state 587 case 1: 588 return &v.sizeCache 589 case 2: 590 return &v.unknownFields 591 default: 592 return nil 593 } 594 } 595 } 596 file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes[0].OneofWrappers = []interface{}{ 597 (*TargetsConf_Instances)(nil), 598 (*TargetsConf_ForwardingRules)(nil), 599 } 600 type x struct{} 601 out := protoimpl.TypeBuilder{ 602 File: protoimpl.DescBuilder{ 603 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 604 RawDescriptor: file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDesc, 605 NumEnums: 1, 606 NumMessages: 5, 607 NumExtensions: 0, 608 NumServices: 0, 609 }, 610 GoTypes: file_github_com_google_cloudprober_targets_gce_proto_config_proto_goTypes, 611 DependencyIndexes: file_github_com_google_cloudprober_targets_gce_proto_config_proto_depIdxs, 612 EnumInfos: file_github_com_google_cloudprober_targets_gce_proto_config_proto_enumTypes, 613 MessageInfos: file_github_com_google_cloudprober_targets_gce_proto_config_proto_msgTypes, 614 }.Build() 615 File_github_com_google_cloudprober_targets_gce_proto_config_proto = out.File 616 file_github_com_google_cloudprober_targets_gce_proto_config_proto_rawDesc = nil 617 file_github_com_google_cloudprober_targets_gce_proto_config_proto_goTypes = nil 618 file_github_com_google_cloudprober_targets_gce_proto_config_proto_depIdxs = nil 619 }