github.com/google/cloudprober@v0.11.3/targets/proto/targets.pb.go (about)

     1  // Provides all configuration necessary to list targets for a cloudprober probe.
     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/proto/targets.proto
     8  
     9  package proto
    10  
    11  import (
    12  	proto "github.com/google/cloudprober/rds/client/proto"
    13  	proto1 "github.com/google/cloudprober/rds/proto"
    14  	proto3 "github.com/google/cloudprober/targets/file/proto"
    15  	proto2 "github.com/google/cloudprober/targets/gce/proto"
    16  	proto4 "github.com/google/cloudprober/targets/lameduck/proto"
    17  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    18  	protoiface "google.golang.org/protobuf/runtime/protoiface"
    19  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    20  	reflect "reflect"
    21  	sync "sync"
    22  )
    23  
    24  const (
    25  	// Verify that this generated code is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    27  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    28  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    29  )
    30  
    31  type RDSTargets struct {
    32  	state         protoimpl.MessageState
    33  	sizeCache     protoimpl.SizeCache
    34  	unknownFields protoimpl.UnknownFields
    35  
    36  	// RDS server options, for example:
    37  	// rds_server_options {
    38  	//   server_address: "rds-server.xyz:9314"
    39  	//   oauth_config: {
    40  	//     ...
    41  	//   }
    42  	// }
    43  	RdsServerOptions *proto.ClientConf_ServerOptions `protobuf:"bytes,1,opt,name=rds_server_options,json=rdsServerOptions" json:"rds_server_options,omitempty"`
    44  	// Resource path specifies the resources to return. Resources paths have the
    45  	// following format:
    46  	// <resource_provider>://<resource_type>/<additional_params>
    47  	//
    48  	// Examples:
    49  	// For GCE instances in projectA: "gcp://gce_instances/<projectA>"
    50  	// Kubernetes Pods : "k8s://pods"
    51  	ResourcePath *string `protobuf:"bytes,2,opt,name=resource_path,json=resourcePath" json:"resource_path,omitempty"`
    52  	// Filters to filter resources by.
    53  	Filter []*proto1.Filter `protobuf:"bytes,3,rep,name=filter" json:"filter,omitempty"`
    54  	// IP config to specify the IP address to pick for a resource.
    55  	IpConfig *proto1.IPConfig `protobuf:"bytes,4,opt,name=ip_config,json=ipConfig" json:"ip_config,omitempty"`
    56  }
    57  
    58  func (x *RDSTargets) Reset() {
    59  	*x = RDSTargets{}
    60  	if protoimpl.UnsafeEnabled {
    61  		mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[0]
    62  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    63  		ms.StoreMessageInfo(mi)
    64  	}
    65  }
    66  
    67  func (x *RDSTargets) String() string {
    68  	return protoimpl.X.MessageStringOf(x)
    69  }
    70  
    71  func (*RDSTargets) ProtoMessage() {}
    72  
    73  func (x *RDSTargets) ProtoReflect() protoreflect.Message {
    74  	mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[0]
    75  	if protoimpl.UnsafeEnabled && x != nil {
    76  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    77  		if ms.LoadMessageInfo() == nil {
    78  			ms.StoreMessageInfo(mi)
    79  		}
    80  		return ms
    81  	}
    82  	return mi.MessageOf(x)
    83  }
    84  
    85  // Deprecated: Use RDSTargets.ProtoReflect.Descriptor instead.
    86  func (*RDSTargets) Descriptor() ([]byte, []int) {
    87  	return file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescGZIP(), []int{0}
    88  }
    89  
    90  func (x *RDSTargets) GetRdsServerOptions() *proto.ClientConf_ServerOptions {
    91  	if x != nil {
    92  		return x.RdsServerOptions
    93  	}
    94  	return nil
    95  }
    96  
    97  func (x *RDSTargets) GetResourcePath() string {
    98  	if x != nil && x.ResourcePath != nil {
    99  		return *x.ResourcePath
   100  	}
   101  	return ""
   102  }
   103  
   104  func (x *RDSTargets) GetFilter() []*proto1.Filter {
   105  	if x != nil {
   106  		return x.Filter
   107  	}
   108  	return nil
   109  }
   110  
   111  func (x *RDSTargets) GetIpConfig() *proto1.IPConfig {
   112  	if x != nil {
   113  		return x.IpConfig
   114  	}
   115  	return nil
   116  }
   117  
   118  type TargetsDef struct {
   119  	state           protoimpl.MessageState
   120  	sizeCache       protoimpl.SizeCache
   121  	unknownFields   protoimpl.UnknownFields
   122  	extensionFields protoimpl.ExtensionFields
   123  
   124  	// Types that are assignable to Type:
   125  	//	*TargetsDef_HostNames
   126  	//	*TargetsDef_SharedTargets
   127  	//	*TargetsDef_GceTargets
   128  	//	*TargetsDef_RdsTargets
   129  	//	*TargetsDef_FileTargets
   130  	//	*TargetsDef_DummyTargets
   131  	Type isTargetsDef_Type `protobuf_oneof:"type"`
   132  	// Regex to apply on the targets.
   133  	Regex *string `protobuf:"bytes,21,opt,name=regex" json:"regex,omitempty"`
   134  	// Exclude lameducks. Lameduck targets can be set through RTC (realtime
   135  	// configurator) service. This functionality works only if lame_duck_options
   136  	// are specified.
   137  	ExcludeLameducks *bool `protobuf:"varint,22,opt,name=exclude_lameducks,json=excludeLameducks,def=1" json:"exclude_lameducks,omitempty"`
   138  }
   139  
   140  // Default values for TargetsDef fields.
   141  const (
   142  	Default_TargetsDef_ExcludeLameducks = bool(true)
   143  )
   144  
   145  func (x *TargetsDef) Reset() {
   146  	*x = TargetsDef{}
   147  	if protoimpl.UnsafeEnabled {
   148  		mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[1]
   149  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   150  		ms.StoreMessageInfo(mi)
   151  	}
   152  }
   153  
   154  func (x *TargetsDef) String() string {
   155  	return protoimpl.X.MessageStringOf(x)
   156  }
   157  
   158  func (*TargetsDef) ProtoMessage() {}
   159  
   160  func (x *TargetsDef) ProtoReflect() protoreflect.Message {
   161  	mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[1]
   162  	if protoimpl.UnsafeEnabled && x != nil {
   163  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   164  		if ms.LoadMessageInfo() == nil {
   165  			ms.StoreMessageInfo(mi)
   166  		}
   167  		return ms
   168  	}
   169  	return mi.MessageOf(x)
   170  }
   171  
   172  // Deprecated: Use TargetsDef.ProtoReflect.Descriptor instead.
   173  func (*TargetsDef) Descriptor() ([]byte, []int) {
   174  	return file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescGZIP(), []int{1}
   175  }
   176  
   177  var extRange_TargetsDef = []protoiface.ExtensionRangeV1{
   178  	{Start: 200, End: 536870911},
   179  }
   180  
   181  // Deprecated: Use TargetsDef.ProtoReflect.Descriptor.ExtensionRanges instead.
   182  func (*TargetsDef) ExtensionRangeArray() []protoiface.ExtensionRangeV1 {
   183  	return extRange_TargetsDef
   184  }
   185  
   186  func (m *TargetsDef) GetType() isTargetsDef_Type {
   187  	if m != nil {
   188  		return m.Type
   189  	}
   190  	return nil
   191  }
   192  
   193  func (x *TargetsDef) GetHostNames() string {
   194  	if x, ok := x.GetType().(*TargetsDef_HostNames); ok {
   195  		return x.HostNames
   196  	}
   197  	return ""
   198  }
   199  
   200  func (x *TargetsDef) GetSharedTargets() string {
   201  	if x, ok := x.GetType().(*TargetsDef_SharedTargets); ok {
   202  		return x.SharedTargets
   203  	}
   204  	return ""
   205  }
   206  
   207  func (x *TargetsDef) GetGceTargets() *proto2.TargetsConf {
   208  	if x, ok := x.GetType().(*TargetsDef_GceTargets); ok {
   209  		return x.GceTargets
   210  	}
   211  	return nil
   212  }
   213  
   214  func (x *TargetsDef) GetRdsTargets() *RDSTargets {
   215  	if x, ok := x.GetType().(*TargetsDef_RdsTargets); ok {
   216  		return x.RdsTargets
   217  	}
   218  	return nil
   219  }
   220  
   221  func (x *TargetsDef) GetFileTargets() *proto3.TargetsConf {
   222  	if x, ok := x.GetType().(*TargetsDef_FileTargets); ok {
   223  		return x.FileTargets
   224  	}
   225  	return nil
   226  }
   227  
   228  func (x *TargetsDef) GetDummyTargets() *DummyTargets {
   229  	if x, ok := x.GetType().(*TargetsDef_DummyTargets); ok {
   230  		return x.DummyTargets
   231  	}
   232  	return nil
   233  }
   234  
   235  func (x *TargetsDef) GetRegex() string {
   236  	if x != nil && x.Regex != nil {
   237  		return *x.Regex
   238  	}
   239  	return ""
   240  }
   241  
   242  func (x *TargetsDef) GetExcludeLameducks() bool {
   243  	if x != nil && x.ExcludeLameducks != nil {
   244  		return *x.ExcludeLameducks
   245  	}
   246  	return Default_TargetsDef_ExcludeLameducks
   247  }
   248  
   249  type isTargetsDef_Type interface {
   250  	isTargetsDef_Type()
   251  }
   252  
   253  type TargetsDef_HostNames struct {
   254  	// Static host names, for example:
   255  	// host_name: "www.google.com,8.8.8.8,en.wikipedia.org"
   256  	HostNames string `protobuf:"bytes,1,opt,name=host_names,json=hostNames,oneof"`
   257  }
   258  
   259  type TargetsDef_SharedTargets struct {
   260  	// Shared targets are accessed through their names.
   261  	// Example:
   262  	// shared_targets {
   263  	//   name:"backend-vms"
   264  	//   targets {
   265  	//     rds_targets {
   266  	//       ..
   267  	//     }
   268  	//   }
   269  	// }
   270  	//
   271  	// probe {
   272  	//   targets {
   273  	//     shared_targets: "backend-vms"
   274  	//   }
   275  	// }
   276  	SharedTargets string `protobuf:"bytes,5,opt,name=shared_targets,json=sharedTargets,oneof"`
   277  }
   278  
   279  type TargetsDef_GceTargets struct {
   280  	// GCE targets: instances and forwarding_rules, for example:
   281  	// gce_targets {
   282  	//   instances {}
   283  	// }
   284  	GceTargets *proto2.TargetsConf `protobuf:"bytes,2,opt,name=gce_targets,json=gceTargets,oneof"`
   285  }
   286  
   287  type TargetsDef_RdsTargets struct {
   288  	// ResourceDiscovery service based targets.
   289  	// Example:
   290  	// rds_targets {
   291  	//   resource_path: "gcp://gce_instances/{{.project}}"
   292  	//   filter {
   293  	//     key: "name"
   294  	//     value: ".*backend.*"
   295  	//   }
   296  	// }
   297  	RdsTargets *RDSTargets `protobuf:"bytes,3,opt,name=rds_targets,json=rdsTargets,oneof"`
   298  }
   299  
   300  type TargetsDef_FileTargets struct {
   301  	// File based targets.
   302  	// Example:
   303  	// file_targets {
   304  	//   file_path: "/var/run/cloudprober/vips.textpb"
   305  	// }
   306  	FileTargets *proto3.TargetsConf `protobuf:"bytes,4,opt,name=file_targets,json=fileTargets,oneof"`
   307  }
   308  
   309  type TargetsDef_DummyTargets struct {
   310  	// Empty targets to meet the probe definition requirement where there are
   311  	// actually no targets, for example in case of some external probes.
   312  	DummyTargets *DummyTargets `protobuf:"bytes,20,opt,name=dummy_targets,json=dummyTargets,oneof"`
   313  }
   314  
   315  func (*TargetsDef_HostNames) isTargetsDef_Type() {}
   316  
   317  func (*TargetsDef_SharedTargets) isTargetsDef_Type() {}
   318  
   319  func (*TargetsDef_GceTargets) isTargetsDef_Type() {}
   320  
   321  func (*TargetsDef_RdsTargets) isTargetsDef_Type() {}
   322  
   323  func (*TargetsDef_FileTargets) isTargetsDef_Type() {}
   324  
   325  func (*TargetsDef_DummyTargets) isTargetsDef_Type() {}
   326  
   327  // DummyTargets represent empty targets, which are useful for external
   328  // probes that do not have any "proper" targets.  Such as ilbprober.
   329  type DummyTargets struct {
   330  	state         protoimpl.MessageState
   331  	sizeCache     protoimpl.SizeCache
   332  	unknownFields protoimpl.UnknownFields
   333  }
   334  
   335  func (x *DummyTargets) Reset() {
   336  	*x = DummyTargets{}
   337  	if protoimpl.UnsafeEnabled {
   338  		mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[2]
   339  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   340  		ms.StoreMessageInfo(mi)
   341  	}
   342  }
   343  
   344  func (x *DummyTargets) String() string {
   345  	return protoimpl.X.MessageStringOf(x)
   346  }
   347  
   348  func (*DummyTargets) ProtoMessage() {}
   349  
   350  func (x *DummyTargets) ProtoReflect() protoreflect.Message {
   351  	mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[2]
   352  	if protoimpl.UnsafeEnabled && x != nil {
   353  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   354  		if ms.LoadMessageInfo() == nil {
   355  			ms.StoreMessageInfo(mi)
   356  		}
   357  		return ms
   358  	}
   359  	return mi.MessageOf(x)
   360  }
   361  
   362  // Deprecated: Use DummyTargets.ProtoReflect.Descriptor instead.
   363  func (*DummyTargets) Descriptor() ([]byte, []int) {
   364  	return file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescGZIP(), []int{2}
   365  }
   366  
   367  // Global targets options. These options are independent of the per-probe
   368  // targets which are defined by the "Targets" type above.
   369  //
   370  // Currently these options are used only for GCE targets to control things like
   371  // how often to re-evaluate the targets and whether to check for lame ducks or
   372  // not.
   373  type GlobalTargetsOptions struct {
   374  	state         protoimpl.MessageState
   375  	sizeCache     protoimpl.SizeCache
   376  	unknownFields protoimpl.UnknownFields
   377  
   378  	// RDS server address
   379  	// Deprecated: This option is now deprecated, please use rds_server_options
   380  	// instead.
   381  	//
   382  	// Deprecated: Do not use.
   383  	RdsServerAddress *string `protobuf:"bytes,3,opt,name=rds_server_address,json=rdsServerAddress" json:"rds_server_address,omitempty"`
   384  	// RDS server options, for example:
   385  	// rds_server_options {
   386  	//   server_address: "rds-server.xyz:9314"
   387  	//   oauth_config: {
   388  	//     ...
   389  	//   }
   390  	// }
   391  	RdsServerOptions *proto.ClientConf_ServerOptions `protobuf:"bytes,4,opt,name=rds_server_options,json=rdsServerOptions" json:"rds_server_options,omitempty"`
   392  	// GCE targets options.
   393  	GlobalGceTargetsOptions *proto2.GlobalOptions `protobuf:"bytes,1,opt,name=global_gce_targets_options,json=globalGceTargetsOptions" json:"global_gce_targets_options,omitempty"`
   394  	// Lame duck options. If provided, targets module checks for the lame duck
   395  	// targets and removes them from the targets list.
   396  	LameDuckOptions *proto4.Options `protobuf:"bytes,2,opt,name=lame_duck_options,json=lameDuckOptions" json:"lame_duck_options,omitempty"`
   397  }
   398  
   399  func (x *GlobalTargetsOptions) Reset() {
   400  	*x = GlobalTargetsOptions{}
   401  	if protoimpl.UnsafeEnabled {
   402  		mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[3]
   403  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   404  		ms.StoreMessageInfo(mi)
   405  	}
   406  }
   407  
   408  func (x *GlobalTargetsOptions) String() string {
   409  	return protoimpl.X.MessageStringOf(x)
   410  }
   411  
   412  func (*GlobalTargetsOptions) ProtoMessage() {}
   413  
   414  func (x *GlobalTargetsOptions) ProtoReflect() protoreflect.Message {
   415  	mi := &file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[3]
   416  	if protoimpl.UnsafeEnabled && x != nil {
   417  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   418  		if ms.LoadMessageInfo() == nil {
   419  			ms.StoreMessageInfo(mi)
   420  		}
   421  		return ms
   422  	}
   423  	return mi.MessageOf(x)
   424  }
   425  
   426  // Deprecated: Use GlobalTargetsOptions.ProtoReflect.Descriptor instead.
   427  func (*GlobalTargetsOptions) Descriptor() ([]byte, []int) {
   428  	return file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescGZIP(), []int{3}
   429  }
   430  
   431  // Deprecated: Do not use.
   432  func (x *GlobalTargetsOptions) GetRdsServerAddress() string {
   433  	if x != nil && x.RdsServerAddress != nil {
   434  		return *x.RdsServerAddress
   435  	}
   436  	return ""
   437  }
   438  
   439  func (x *GlobalTargetsOptions) GetRdsServerOptions() *proto.ClientConf_ServerOptions {
   440  	if x != nil {
   441  		return x.RdsServerOptions
   442  	}
   443  	return nil
   444  }
   445  
   446  func (x *GlobalTargetsOptions) GetGlobalGceTargetsOptions() *proto2.GlobalOptions {
   447  	if x != nil {
   448  		return x.GlobalGceTargetsOptions
   449  	}
   450  	return nil
   451  }
   452  
   453  func (x *GlobalTargetsOptions) GetLameDuckOptions() *proto4.Options {
   454  	if x != nil {
   455  		return x.LameDuckOptions
   456  	}
   457  	return nil
   458  }
   459  
   460  var File_github_com_google_cloudprober_targets_proto_targets_proto protoreflect.FileDescriptor
   461  
   462  var file_github_com_google_cloudprober_targets_proto_targets_proto_rawDesc = []byte{
   463  	0x0a, 0x39, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   464  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   465  	0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x74, 0x61,
   466  	0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x63, 0x6c, 0x6f,
   467  	0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73,
   468  	0x1a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   469  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   470  	0x72, 0x64, 0x73, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   471  	0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x31, 0x67,
   472  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   473  	0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x72, 0x64, 0x73,
   474  	0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   475  	0x1a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   476  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   477  	0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x66, 0x69, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
   478  	0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
   479  	0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67,
   480  	0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x74,
   481  	0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2f, 0x67, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   482  	0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67,
   483  	0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   484  	0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x74, 0x61, 0x72,
   485  	0x67, 0x65, 0x74, 0x73, 0x2f, 0x6c, 0x61, 0x6d, 0x65, 0x64, 0x75, 0x63, 0x6b, 0x2f, 0x70, 0x72,
   486  	0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   487  	0x22, 0xf3, 0x01, 0x0a, 0x0a, 0x52, 0x44, 0x53, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12,
   488  	0x57, 0x0a, 0x12, 0x72, 0x64, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6f, 0x70,
   489  	0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6c,
   490  	0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x43, 0x6c,
   491  	0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4f,
   492  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x10, 0x72, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65,
   493  	0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f,
   494  	0x75, 0x72, 0x63, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
   495  	0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2f, 0x0a,
   496  	0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e,
   497  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e,
   498  	0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x36,
   499  	0x0a, 0x09, 0x69, 0x70, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28,
   500  	0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e,
   501  	0x72, 0x64, 0x73, 0x2e, 0x49, 0x50, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x08, 0x69, 0x70,
   502  	0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0xd5, 0x03, 0x0a, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65,
   503  	0x74, 0x73, 0x44, 0x65, 0x66, 0x12, 0x1f, 0x0a, 0x0a, 0x68, 0x6f, 0x73, 0x74, 0x5f, 0x6e, 0x61,
   504  	0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x68, 0x6f, 0x73,
   505  	0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0e, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64,
   506  	0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00,
   507  	0x52, 0x0d, 0x73, 0x68, 0x61, 0x72, 0x65, 0x64, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12,
   508  	0x47, 0x0a, 0x0b, 0x67, 0x63, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x02,
   509  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62,
   510  	0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x63, 0x65, 0x2e, 0x54,
   511  	0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 0x52, 0x0a, 0x67, 0x63,
   512  	0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x0b, 0x72, 0x64, 0x73, 0x5f,
   513  	0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e,
   514  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67,
   515  	0x65, 0x74, 0x73, 0x2e, 0x52, 0x44, 0x53, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x48, 0x00,
   516  	0x52, 0x0a, 0x72, 0x64, 0x73, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x4a, 0x0a, 0x0c,
   517  	0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x04, 0x20, 0x01,
   518  	0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72,
   519  	0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x54, 0x61,
   520  	0x72, 0x67, 0x65, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x48, 0x00, 0x52, 0x0b, 0x66, 0x69, 0x6c,
   521  	0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x12, 0x48, 0x0a, 0x0d, 0x64, 0x75, 0x6d, 0x6d,
   522  	0x79, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32,
   523  	0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61,
   524  	0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x44, 0x75, 0x6d, 0x6d, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65,
   525  	0x74, 0x73, 0x48, 0x00, 0x52, 0x0c, 0x64, 0x75, 0x6d, 0x6d, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65,
   526  	0x74, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x65, 0x67, 0x65, 0x78, 0x18, 0x15, 0x20, 0x01, 0x28,
   527  	0x09, 0x52, 0x05, 0x72, 0x65, 0x67, 0x65, 0x78, 0x12, 0x31, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c,
   528  	0x75, 0x64, 0x65, 0x5f, 0x6c, 0x61, 0x6d, 0x65, 0x64, 0x75, 0x63, 0x6b, 0x73, 0x18, 0x16, 0x20,
   529  	0x01, 0x28, 0x08, 0x3a, 0x04, 0x74, 0x72, 0x75, 0x65, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75,
   530  	0x64, 0x65, 0x4c, 0x61, 0x6d, 0x65, 0x64, 0x75, 0x63, 0x6b, 0x73, 0x2a, 0x09, 0x08, 0xc8, 0x01,
   531  	0x10, 0x80, 0x80, 0x80, 0x80, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x0e,
   532  	0x0a, 0x0c, 0x44, 0x75, 0x6d, 0x6d, 0x79, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x22, 0xd9,
   533  	0x02, 0x0a, 0x14, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73,
   534  	0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x30, 0x0a, 0x12, 0x72, 0x64, 0x73, 0x5f, 0x73,
   535  	0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20,
   536  	0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x10, 0x72, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76,
   537  	0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x57, 0x0a, 0x12, 0x72, 0x64, 0x73,
   538  	0x5f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
   539  	0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f,
   540  	0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f,
   541  	0x6e, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   542  	0x52, 0x10, 0x72, 0x64, 0x73, 0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f,
   543  	0x6e, 0x73, 0x12, 0x63, 0x0a, 0x1a, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x67, 0x63, 0x65,
   544  	0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73,
   545  	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72,
   546  	0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x67, 0x63, 0x65,
   547  	0x2e, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x17,
   548  	0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x47, 0x63, 0x65, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73,
   549  	0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x51, 0x0a, 0x11, 0x6c, 0x61, 0x6d, 0x65, 0x5f,
   550  	0x64, 0x75, 0x63, 0x6b, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x01,
   551  	0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72,
   552  	0x2e, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x2e, 0x6c, 0x61, 0x6d, 0x65, 0x64, 0x75, 0x63,
   553  	0x6b, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x0f, 0x6c, 0x61, 0x6d, 0x65, 0x44,
   554  	0x75, 0x63, 0x6b, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69,
   555  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   556  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x74, 0x61, 0x72, 0x67,
   557  	0x65, 0x74, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   558  }
   559  
   560  var (
   561  	file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescOnce sync.Once
   562  	file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescData = file_github_com_google_cloudprober_targets_proto_targets_proto_rawDesc
   563  )
   564  
   565  func file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescGZIP() []byte {
   566  	file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescOnce.Do(func() {
   567  		file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescData)
   568  	})
   569  	return file_github_com_google_cloudprober_targets_proto_targets_proto_rawDescData
   570  }
   571  
   572  var file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
   573  var file_github_com_google_cloudprober_targets_proto_targets_proto_goTypes = []interface{}{
   574  	(*RDSTargets)(nil),                     // 0: cloudprober.targets.RDSTargets
   575  	(*TargetsDef)(nil),                     // 1: cloudprober.targets.TargetsDef
   576  	(*DummyTargets)(nil),                   // 2: cloudprober.targets.DummyTargets
   577  	(*GlobalTargetsOptions)(nil),           // 3: cloudprober.targets.GlobalTargetsOptions
   578  	(*proto.ClientConf_ServerOptions)(nil), // 4: cloudprober.rds.ClientConf.ServerOptions
   579  	(*proto1.Filter)(nil),                  // 5: cloudprober.rds.Filter
   580  	(*proto1.IPConfig)(nil),                // 6: cloudprober.rds.IPConfig
   581  	(*proto2.TargetsConf)(nil),             // 7: cloudprober.targets.gce.TargetsConf
   582  	(*proto3.TargetsConf)(nil),             // 8: cloudprober.targets.file.TargetsConf
   583  	(*proto2.GlobalOptions)(nil),           // 9: cloudprober.targets.gce.GlobalOptions
   584  	(*proto4.Options)(nil),                 // 10: cloudprober.targets.lameduck.Options
   585  }
   586  var file_github_com_google_cloudprober_targets_proto_targets_proto_depIdxs = []int32{
   587  	4,  // 0: cloudprober.targets.RDSTargets.rds_server_options:type_name -> cloudprober.rds.ClientConf.ServerOptions
   588  	5,  // 1: cloudprober.targets.RDSTargets.filter:type_name -> cloudprober.rds.Filter
   589  	6,  // 2: cloudprober.targets.RDSTargets.ip_config:type_name -> cloudprober.rds.IPConfig
   590  	7,  // 3: cloudprober.targets.TargetsDef.gce_targets:type_name -> cloudprober.targets.gce.TargetsConf
   591  	0,  // 4: cloudprober.targets.TargetsDef.rds_targets:type_name -> cloudprober.targets.RDSTargets
   592  	8,  // 5: cloudprober.targets.TargetsDef.file_targets:type_name -> cloudprober.targets.file.TargetsConf
   593  	2,  // 6: cloudprober.targets.TargetsDef.dummy_targets:type_name -> cloudprober.targets.DummyTargets
   594  	4,  // 7: cloudprober.targets.GlobalTargetsOptions.rds_server_options:type_name -> cloudprober.rds.ClientConf.ServerOptions
   595  	9,  // 8: cloudprober.targets.GlobalTargetsOptions.global_gce_targets_options:type_name -> cloudprober.targets.gce.GlobalOptions
   596  	10, // 9: cloudprober.targets.GlobalTargetsOptions.lame_duck_options:type_name -> cloudprober.targets.lameduck.Options
   597  	10, // [10:10] is the sub-list for method output_type
   598  	10, // [10:10] is the sub-list for method input_type
   599  	10, // [10:10] is the sub-list for extension type_name
   600  	10, // [10:10] is the sub-list for extension extendee
   601  	0,  // [0:10] is the sub-list for field type_name
   602  }
   603  
   604  func init() { file_github_com_google_cloudprober_targets_proto_targets_proto_init() }
   605  func file_github_com_google_cloudprober_targets_proto_targets_proto_init() {
   606  	if File_github_com_google_cloudprober_targets_proto_targets_proto != nil {
   607  		return
   608  	}
   609  	if !protoimpl.UnsafeEnabled {
   610  		file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   611  			switch v := v.(*RDSTargets); i {
   612  			case 0:
   613  				return &v.state
   614  			case 1:
   615  				return &v.sizeCache
   616  			case 2:
   617  				return &v.unknownFields
   618  			default:
   619  				return nil
   620  			}
   621  		}
   622  		file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   623  			switch v := v.(*TargetsDef); i {
   624  			case 0:
   625  				return &v.state
   626  			case 1:
   627  				return &v.sizeCache
   628  			case 2:
   629  				return &v.unknownFields
   630  			case 3:
   631  				return &v.extensionFields
   632  			default:
   633  				return nil
   634  			}
   635  		}
   636  		file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   637  			switch v := v.(*DummyTargets); i {
   638  			case 0:
   639  				return &v.state
   640  			case 1:
   641  				return &v.sizeCache
   642  			case 2:
   643  				return &v.unknownFields
   644  			default:
   645  				return nil
   646  			}
   647  		}
   648  		file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   649  			switch v := v.(*GlobalTargetsOptions); i {
   650  			case 0:
   651  				return &v.state
   652  			case 1:
   653  				return &v.sizeCache
   654  			case 2:
   655  				return &v.unknownFields
   656  			default:
   657  				return nil
   658  			}
   659  		}
   660  	}
   661  	file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes[1].OneofWrappers = []interface{}{
   662  		(*TargetsDef_HostNames)(nil),
   663  		(*TargetsDef_SharedTargets)(nil),
   664  		(*TargetsDef_GceTargets)(nil),
   665  		(*TargetsDef_RdsTargets)(nil),
   666  		(*TargetsDef_FileTargets)(nil),
   667  		(*TargetsDef_DummyTargets)(nil),
   668  	}
   669  	type x struct{}
   670  	out := protoimpl.TypeBuilder{
   671  		File: protoimpl.DescBuilder{
   672  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   673  			RawDescriptor: file_github_com_google_cloudprober_targets_proto_targets_proto_rawDesc,
   674  			NumEnums:      0,
   675  			NumMessages:   4,
   676  			NumExtensions: 0,
   677  			NumServices:   0,
   678  		},
   679  		GoTypes:           file_github_com_google_cloudprober_targets_proto_targets_proto_goTypes,
   680  		DependencyIndexes: file_github_com_google_cloudprober_targets_proto_targets_proto_depIdxs,
   681  		MessageInfos:      file_github_com_google_cloudprober_targets_proto_targets_proto_msgTypes,
   682  	}.Build()
   683  	File_github_com_google_cloudprober_targets_proto_targets_proto = out.File
   684  	file_github_com_google_cloudprober_targets_proto_targets_proto_rawDesc = nil
   685  	file_github_com_google_cloudprober_targets_proto_targets_proto_goTypes = nil
   686  	file_github_com_google_cloudprober_targets_proto_targets_proto_depIdxs = nil
   687  }