github.com/google/cloudprober@v0.11.3/rds/gcp/proto/config.pb.go (about)

     1  // Configuration proto for GCP provider.
     2  // Example config:
     3  // {
     4  //   project: 'test-project-id'
     5  //
     6  //   # GCE instances
     7  //   gce_instances {}
     8  //
     9  //   # RTC variables from the config lame-duck-targets, re-evaluated every 10s.
    10  //   rtc_variables {
    11  //     rtc_config {
    12  //       name: "lame-duck-targets"
    13  //     }
    14  //   }
    15  //
    16  //   # Pub/Sub messages from the topic lame-duck-targets.
    17  //   pubsub_messages {
    18  //     subscription {
    19  //       name: "lame-duck-targets-{{.hostname}}"
    20  //       topic_name: "lame-duck-targets"
    21  //     }
    22  //   }
    23  // }
    24  
    25  // Code generated by protoc-gen-go. DO NOT EDIT.
    26  // versions:
    27  // 	protoc-gen-go v1.26.0
    28  // 	protoc        v3.17.3
    29  // source: github.com/google/cloudprober/rds/gcp/proto/config.proto
    30  
    31  package proto
    32  
    33  import (
    34  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    35  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    36  	reflect "reflect"
    37  	sync "sync"
    38  )
    39  
    40  const (
    41  	// Verify that this generated code is sufficiently up-to-date.
    42  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    43  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    44  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    45  )
    46  
    47  type GCEInstances struct {
    48  	state         protoimpl.MessageState
    49  	sizeCache     protoimpl.SizeCache
    50  	unknownFields protoimpl.UnknownFields
    51  
    52  	// Optional zone filter regex to limit discovery to the specific zones
    53  	// For example, zone_filter: "us-east1-*" will limit instances discovery to
    54  	// only to the zones in the "us-east1" region.
    55  	ZoneFilter *string `protobuf:"bytes,1,opt,name=zone_filter,json=zoneFilter" json:"zone_filter,omitempty"`
    56  	// How often resources should be refreshed.
    57  	ReEvalSec *int32 `protobuf:"varint,98,opt,name=re_eval_sec,json=reEvalSec,def=300" json:"re_eval_sec,omitempty"` // default 5 min
    58  }
    59  
    60  // Default values for GCEInstances fields.
    61  const (
    62  	Default_GCEInstances_ReEvalSec = int32(300)
    63  )
    64  
    65  func (x *GCEInstances) Reset() {
    66  	*x = GCEInstances{}
    67  	if protoimpl.UnsafeEnabled {
    68  		mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[0]
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		ms.StoreMessageInfo(mi)
    71  	}
    72  }
    73  
    74  func (x *GCEInstances) String() string {
    75  	return protoimpl.X.MessageStringOf(x)
    76  }
    77  
    78  func (*GCEInstances) ProtoMessage() {}
    79  
    80  func (x *GCEInstances) ProtoReflect() protoreflect.Message {
    81  	mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[0]
    82  	if protoimpl.UnsafeEnabled && x != nil {
    83  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    84  		if ms.LoadMessageInfo() == nil {
    85  			ms.StoreMessageInfo(mi)
    86  		}
    87  		return ms
    88  	}
    89  	return mi.MessageOf(x)
    90  }
    91  
    92  // Deprecated: Use GCEInstances.ProtoReflect.Descriptor instead.
    93  func (*GCEInstances) Descriptor() ([]byte, []int) {
    94  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP(), []int{0}
    95  }
    96  
    97  func (x *GCEInstances) GetZoneFilter() string {
    98  	if x != nil && x.ZoneFilter != nil {
    99  		return *x.ZoneFilter
   100  	}
   101  	return ""
   102  }
   103  
   104  func (x *GCEInstances) GetReEvalSec() int32 {
   105  	if x != nil && x.ReEvalSec != nil {
   106  		return *x.ReEvalSec
   107  	}
   108  	return Default_GCEInstances_ReEvalSec
   109  }
   110  
   111  type ForwardingRules struct {
   112  	state         protoimpl.MessageState
   113  	sizeCache     protoimpl.SizeCache
   114  	unknownFields protoimpl.UnknownFields
   115  
   116  	// Optionl region filter regex to limit discovery to specific regions, e.g.
   117  	// "region_filter:europe-*"
   118  	RegionFilter *string `protobuf:"bytes,1,opt,name=region_filter,json=regionFilter" json:"region_filter,omitempty"`
   119  	// How often resources should be refreshed.
   120  	ReEvalSec *int32 `protobuf:"varint,98,opt,name=re_eval_sec,json=reEvalSec,def=300" json:"re_eval_sec,omitempty"` // default 5 min
   121  }
   122  
   123  // Default values for ForwardingRules fields.
   124  const (
   125  	Default_ForwardingRules_ReEvalSec = int32(300)
   126  )
   127  
   128  func (x *ForwardingRules) Reset() {
   129  	*x = ForwardingRules{}
   130  	if protoimpl.UnsafeEnabled {
   131  		mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[1]
   132  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   133  		ms.StoreMessageInfo(mi)
   134  	}
   135  }
   136  
   137  func (x *ForwardingRules) String() string {
   138  	return protoimpl.X.MessageStringOf(x)
   139  }
   140  
   141  func (*ForwardingRules) ProtoMessage() {}
   142  
   143  func (x *ForwardingRules) ProtoReflect() protoreflect.Message {
   144  	mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[1]
   145  	if protoimpl.UnsafeEnabled && x != nil {
   146  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   147  		if ms.LoadMessageInfo() == nil {
   148  			ms.StoreMessageInfo(mi)
   149  		}
   150  		return ms
   151  	}
   152  	return mi.MessageOf(x)
   153  }
   154  
   155  // Deprecated: Use ForwardingRules.ProtoReflect.Descriptor instead.
   156  func (*ForwardingRules) Descriptor() ([]byte, []int) {
   157  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP(), []int{1}
   158  }
   159  
   160  func (x *ForwardingRules) GetRegionFilter() string {
   161  	if x != nil && x.RegionFilter != nil {
   162  		return *x.RegionFilter
   163  	}
   164  	return ""
   165  }
   166  
   167  func (x *ForwardingRules) GetReEvalSec() int32 {
   168  	if x != nil && x.ReEvalSec != nil {
   169  		return *x.ReEvalSec
   170  	}
   171  	return Default_ForwardingRules_ReEvalSec
   172  }
   173  
   174  // Runtime configurator variables.
   175  type RTCVariables struct {
   176  	state         protoimpl.MessageState
   177  	sizeCache     protoimpl.SizeCache
   178  	unknownFields protoimpl.UnknownFields
   179  
   180  	RtcConfig []*RTCVariables_RTCConfig `protobuf:"bytes,1,rep,name=rtc_config,json=rtcConfig" json:"rtc_config,omitempty"`
   181  }
   182  
   183  func (x *RTCVariables) Reset() {
   184  	*x = RTCVariables{}
   185  	if protoimpl.UnsafeEnabled {
   186  		mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[2]
   187  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   188  		ms.StoreMessageInfo(mi)
   189  	}
   190  }
   191  
   192  func (x *RTCVariables) String() string {
   193  	return protoimpl.X.MessageStringOf(x)
   194  }
   195  
   196  func (*RTCVariables) ProtoMessage() {}
   197  
   198  func (x *RTCVariables) ProtoReflect() protoreflect.Message {
   199  	mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[2]
   200  	if protoimpl.UnsafeEnabled && x != nil {
   201  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   202  		if ms.LoadMessageInfo() == nil {
   203  			ms.StoreMessageInfo(mi)
   204  		}
   205  		return ms
   206  	}
   207  	return mi.MessageOf(x)
   208  }
   209  
   210  // Deprecated: Use RTCVariables.ProtoReflect.Descriptor instead.
   211  func (*RTCVariables) Descriptor() ([]byte, []int) {
   212  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP(), []int{2}
   213  }
   214  
   215  func (x *RTCVariables) GetRtcConfig() []*RTCVariables_RTCConfig {
   216  	if x != nil {
   217  		return x.RtcConfig
   218  	}
   219  	return nil
   220  }
   221  
   222  // Runtime configurator variables.
   223  type PubSubMessages struct {
   224  	state         protoimpl.MessageState
   225  	sizeCache     protoimpl.SizeCache
   226  	unknownFields protoimpl.UnknownFields
   227  
   228  	Subscription []*PubSubMessages_Subscription `protobuf:"bytes,1,rep,name=subscription" json:"subscription,omitempty"`
   229  	// Only for testing.
   230  	ApiEndpoint *string `protobuf:"bytes,2,opt,name=api_endpoint,json=apiEndpoint" json:"api_endpoint,omitempty"`
   231  }
   232  
   233  func (x *PubSubMessages) Reset() {
   234  	*x = PubSubMessages{}
   235  	if protoimpl.UnsafeEnabled {
   236  		mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[3]
   237  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   238  		ms.StoreMessageInfo(mi)
   239  	}
   240  }
   241  
   242  func (x *PubSubMessages) String() string {
   243  	return protoimpl.X.MessageStringOf(x)
   244  }
   245  
   246  func (*PubSubMessages) ProtoMessage() {}
   247  
   248  func (x *PubSubMessages) ProtoReflect() protoreflect.Message {
   249  	mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[3]
   250  	if protoimpl.UnsafeEnabled && x != nil {
   251  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   252  		if ms.LoadMessageInfo() == nil {
   253  			ms.StoreMessageInfo(mi)
   254  		}
   255  		return ms
   256  	}
   257  	return mi.MessageOf(x)
   258  }
   259  
   260  // Deprecated: Use PubSubMessages.ProtoReflect.Descriptor instead.
   261  func (*PubSubMessages) Descriptor() ([]byte, []int) {
   262  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP(), []int{3}
   263  }
   264  
   265  func (x *PubSubMessages) GetSubscription() []*PubSubMessages_Subscription {
   266  	if x != nil {
   267  		return x.Subscription
   268  	}
   269  	return nil
   270  }
   271  
   272  func (x *PubSubMessages) GetApiEndpoint() string {
   273  	if x != nil && x.ApiEndpoint != nil {
   274  		return *x.ApiEndpoint
   275  	}
   276  	return ""
   277  }
   278  
   279  // GCP provider config.
   280  type ProviderConfig struct {
   281  	state         protoimpl.MessageState
   282  	sizeCache     protoimpl.SizeCache
   283  	unknownFields protoimpl.UnknownFields
   284  
   285  	// GCP projects. If running on GCE, it defaults to the local project.
   286  	Project []string `protobuf:"bytes,1,rep,name=project" json:"project,omitempty"`
   287  	// GCE instances discovery options. This field should be declared for the GCE
   288  	// instances discovery to be enabled.
   289  	GceInstances *GCEInstances `protobuf:"bytes,2,opt,name=gce_instances,json=gceInstances" json:"gce_instances,omitempty"`
   290  	// Forwarding rules discovery options. This field should be declared for the
   291  	// forwarding rules discovery to be enabled.
   292  	// Note that RDS supports only regional forwarding rules.
   293  	ForwardingRules *ForwardingRules `protobuf:"bytes,3,opt,name=forwarding_rules,json=forwardingRules" json:"forwarding_rules,omitempty"`
   294  	// RTC variables discovery options.
   295  	RtcVariables *RTCVariables `protobuf:"bytes,4,opt,name=rtc_variables,json=rtcVariables" json:"rtc_variables,omitempty"`
   296  	// PubSub messages discovery options.
   297  	PubsubMessages *PubSubMessages `protobuf:"bytes,5,opt,name=pubsub_messages,json=pubsubMessages" json:"pubsub_messages,omitempty"`
   298  	// Compute API version.
   299  	ApiVersion *string `protobuf:"bytes,99,opt,name=api_version,json=apiVersion,def=v1" json:"api_version,omitempty"`
   300  }
   301  
   302  // Default values for ProviderConfig fields.
   303  const (
   304  	Default_ProviderConfig_ApiVersion = string("v1")
   305  )
   306  
   307  func (x *ProviderConfig) Reset() {
   308  	*x = ProviderConfig{}
   309  	if protoimpl.UnsafeEnabled {
   310  		mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[4]
   311  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   312  		ms.StoreMessageInfo(mi)
   313  	}
   314  }
   315  
   316  func (x *ProviderConfig) String() string {
   317  	return protoimpl.X.MessageStringOf(x)
   318  }
   319  
   320  func (*ProviderConfig) ProtoMessage() {}
   321  
   322  func (x *ProviderConfig) ProtoReflect() protoreflect.Message {
   323  	mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[4]
   324  	if protoimpl.UnsafeEnabled && x != nil {
   325  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   326  		if ms.LoadMessageInfo() == nil {
   327  			ms.StoreMessageInfo(mi)
   328  		}
   329  		return ms
   330  	}
   331  	return mi.MessageOf(x)
   332  }
   333  
   334  // Deprecated: Use ProviderConfig.ProtoReflect.Descriptor instead.
   335  func (*ProviderConfig) Descriptor() ([]byte, []int) {
   336  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP(), []int{4}
   337  }
   338  
   339  func (x *ProviderConfig) GetProject() []string {
   340  	if x != nil {
   341  		return x.Project
   342  	}
   343  	return nil
   344  }
   345  
   346  func (x *ProviderConfig) GetGceInstances() *GCEInstances {
   347  	if x != nil {
   348  		return x.GceInstances
   349  	}
   350  	return nil
   351  }
   352  
   353  func (x *ProviderConfig) GetForwardingRules() *ForwardingRules {
   354  	if x != nil {
   355  		return x.ForwardingRules
   356  	}
   357  	return nil
   358  }
   359  
   360  func (x *ProviderConfig) GetRtcVariables() *RTCVariables {
   361  	if x != nil {
   362  		return x.RtcVariables
   363  	}
   364  	return nil
   365  }
   366  
   367  func (x *ProviderConfig) GetPubsubMessages() *PubSubMessages {
   368  	if x != nil {
   369  		return x.PubsubMessages
   370  	}
   371  	return nil
   372  }
   373  
   374  func (x *ProviderConfig) GetApiVersion() string {
   375  	if x != nil && x.ApiVersion != nil {
   376  		return *x.ApiVersion
   377  	}
   378  	return Default_ProviderConfig_ApiVersion
   379  }
   380  
   381  type RTCVariables_RTCConfig struct {
   382  	state         protoimpl.MessageState
   383  	sizeCache     protoimpl.SizeCache
   384  	unknownFields protoimpl.UnknownFields
   385  
   386  	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
   387  	// How often RTC variables should be evaluated/expanded.
   388  	ReEvalSec *int32 `protobuf:"varint,2,opt,name=re_eval_sec,json=reEvalSec,def=10" json:"re_eval_sec,omitempty"` // default 10 sec
   389  }
   390  
   391  // Default values for RTCVariables_RTCConfig fields.
   392  const (
   393  	Default_RTCVariables_RTCConfig_ReEvalSec = int32(10)
   394  )
   395  
   396  func (x *RTCVariables_RTCConfig) Reset() {
   397  	*x = RTCVariables_RTCConfig{}
   398  	if protoimpl.UnsafeEnabled {
   399  		mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[5]
   400  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   401  		ms.StoreMessageInfo(mi)
   402  	}
   403  }
   404  
   405  func (x *RTCVariables_RTCConfig) String() string {
   406  	return protoimpl.X.MessageStringOf(x)
   407  }
   408  
   409  func (*RTCVariables_RTCConfig) ProtoMessage() {}
   410  
   411  func (x *RTCVariables_RTCConfig) ProtoReflect() protoreflect.Message {
   412  	mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[5]
   413  	if protoimpl.UnsafeEnabled && x != nil {
   414  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   415  		if ms.LoadMessageInfo() == nil {
   416  			ms.StoreMessageInfo(mi)
   417  		}
   418  		return ms
   419  	}
   420  	return mi.MessageOf(x)
   421  }
   422  
   423  // Deprecated: Use RTCVariables_RTCConfig.ProtoReflect.Descriptor instead.
   424  func (*RTCVariables_RTCConfig) Descriptor() ([]byte, []int) {
   425  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP(), []int{2, 0}
   426  }
   427  
   428  func (x *RTCVariables_RTCConfig) GetName() string {
   429  	if x != nil && x.Name != nil {
   430  		return *x.Name
   431  	}
   432  	return ""
   433  }
   434  
   435  func (x *RTCVariables_RTCConfig) GetReEvalSec() int32 {
   436  	if x != nil && x.ReEvalSec != nil {
   437  		return *x.ReEvalSec
   438  	}
   439  	return Default_RTCVariables_RTCConfig_ReEvalSec
   440  }
   441  
   442  type PubSubMessages_Subscription struct {
   443  	state         protoimpl.MessageState
   444  	sizeCache     protoimpl.SizeCache
   445  	unknownFields protoimpl.UnknownFields
   446  
   447  	// Subscription name. If it doesn't exist already, we try to create one.
   448  	Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"`
   449  	// Topic name. This is used to create the subscription if it doesn't exist
   450  	// already.
   451  	TopicName *string `protobuf:"bytes,2,opt,name=topic_name,json=topicName" json:"topic_name,omitempty"`
   452  	// If subscription already exists, how far back to seek back on restart.
   453  	// Note that duplicate data is fine as we filter by publish time.
   454  	SeekBackDurationSec *int32 `protobuf:"varint,3,opt,name=seek_back_duration_sec,json=seekBackDurationSec,def=3600" json:"seek_back_duration_sec,omitempty"`
   455  }
   456  
   457  // Default values for PubSubMessages_Subscription fields.
   458  const (
   459  	Default_PubSubMessages_Subscription_SeekBackDurationSec = int32(3600)
   460  )
   461  
   462  func (x *PubSubMessages_Subscription) Reset() {
   463  	*x = PubSubMessages_Subscription{}
   464  	if protoimpl.UnsafeEnabled {
   465  		mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[6]
   466  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   467  		ms.StoreMessageInfo(mi)
   468  	}
   469  }
   470  
   471  func (x *PubSubMessages_Subscription) String() string {
   472  	return protoimpl.X.MessageStringOf(x)
   473  }
   474  
   475  func (*PubSubMessages_Subscription) ProtoMessage() {}
   476  
   477  func (x *PubSubMessages_Subscription) ProtoReflect() protoreflect.Message {
   478  	mi := &file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[6]
   479  	if protoimpl.UnsafeEnabled && x != nil {
   480  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   481  		if ms.LoadMessageInfo() == nil {
   482  			ms.StoreMessageInfo(mi)
   483  		}
   484  		return ms
   485  	}
   486  	return mi.MessageOf(x)
   487  }
   488  
   489  // Deprecated: Use PubSubMessages_Subscription.ProtoReflect.Descriptor instead.
   490  func (*PubSubMessages_Subscription) Descriptor() ([]byte, []int) {
   491  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP(), []int{3, 0}
   492  }
   493  
   494  func (x *PubSubMessages_Subscription) GetName() string {
   495  	if x != nil && x.Name != nil {
   496  		return *x.Name
   497  	}
   498  	return ""
   499  }
   500  
   501  func (x *PubSubMessages_Subscription) GetTopicName() string {
   502  	if x != nil && x.TopicName != nil {
   503  		return *x.TopicName
   504  	}
   505  	return ""
   506  }
   507  
   508  func (x *PubSubMessages_Subscription) GetSeekBackDurationSec() int32 {
   509  	if x != nil && x.SeekBackDurationSec != nil {
   510  		return *x.SeekBackDurationSec
   511  	}
   512  	return Default_PubSubMessages_Subscription_SeekBackDurationSec
   513  }
   514  
   515  var File_github_com_google_cloudprober_rds_gcp_proto_config_proto protoreflect.FileDescriptor
   516  
   517  var file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDesc = []byte{
   518  	0x0a, 0x38, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   519  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   520  	0x72, 0x64, 0x73, 0x2f, 0x67, 0x63, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f,
   521  	0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x63, 0x6c, 0x6f, 0x75,
   522  	0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x67, 0x63, 0x70, 0x22,
   523  	0x54, 0x0a, 0x0c, 0x47, 0x43, 0x45, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x12,
   524  	0x1f, 0x0a, 0x0b, 0x7a, 0x6f, 0x6e, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01,
   525  	0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x7a, 0x6f, 0x6e, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
   526  	0x12, 0x23, 0x0a, 0x0b, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18,
   527  	0x62, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x03, 0x33, 0x30, 0x30, 0x52, 0x09, 0x72, 0x65, 0x45, 0x76,
   528  	0x61, 0x6c, 0x53, 0x65, 0x63, 0x22, 0x5b, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64,
   529  	0x69, 0x6e, 0x67, 0x52, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x67, 0x69,
   530  	0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
   531  	0x0c, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x23, 0x0a,
   532  	0x0b, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x62, 0x20, 0x01,
   533  	0x28, 0x05, 0x3a, 0x03, 0x33, 0x30, 0x30, 0x52, 0x09, 0x72, 0x65, 0x45, 0x76, 0x61, 0x6c, 0x53,
   534  	0x65, 0x63, 0x22, 0x9f, 0x01, 0x0a, 0x0c, 0x52, 0x54, 0x43, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62,
   535  	0x6c, 0x65, 0x73, 0x12, 0x4a, 0x0a, 0x0a, 0x72, 0x74, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   536  	0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70,
   537  	0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x52, 0x54,
   538  	0x43, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x54, 0x43, 0x43, 0x6f,
   539  	0x6e, 0x66, 0x69, 0x67, 0x52, 0x09, 0x72, 0x74, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a,
   540  	0x43, 0x0a, 0x09, 0x52, 0x54, 0x43, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04,
   541  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   542  	0x12, 0x22, 0x0a, 0x0b, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x61, 0x6c, 0x5f, 0x73, 0x65, 0x63, 0x18,
   543  	0x02, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x02, 0x31, 0x30, 0x52, 0x09, 0x72, 0x65, 0x45, 0x76, 0x61,
   544  	0x6c, 0x53, 0x65, 0x63, 0x22, 0x87, 0x02, 0x0a, 0x0e, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, 0x4d,
   545  	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x54, 0x0a, 0x0c, 0x73, 0x75, 0x62, 0x73, 0x63,
   546  	0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e,
   547  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e,
   548  	0x67, 0x63, 0x70, 0x2e, 0x50, 0x75, 0x62, 0x53, 0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
   549  	0x65, 0x73, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52,
   550  	0x0c, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, 0x0a,
   551  	0x0c, 0x61, 0x70, 0x69, 0x5f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20,
   552  	0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x70, 0x69, 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74,
   553  	0x1a, 0x7c, 0x0a, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
   554  	0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04,
   555  	0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x6e, 0x61,
   556  	0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x4e,
   557  	0x61, 0x6d, 0x65, 0x12, 0x39, 0x0a, 0x16, 0x73, 0x65, 0x65, 0x6b, 0x5f, 0x62, 0x61, 0x63, 0x6b,
   558  	0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x63, 0x18, 0x03, 0x20,
   559  	0x01, 0x28, 0x05, 0x3a, 0x04, 0x33, 0x36, 0x30, 0x30, 0x52, 0x13, 0x73, 0x65, 0x65, 0x6b, 0x42,
   560  	0x61, 0x63, 0x6b, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x63, 0x22, 0xfe,
   561  	0x02, 0x0a, 0x0e, 0x50, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69,
   562  	0x67, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x03,
   563  	0x28, 0x09, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x46, 0x0a, 0x0d, 0x67,
   564  	0x63, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x01,
   565  	0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72,
   566  	0x2e, 0x72, 0x64, 0x73, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x47, 0x43, 0x45, 0x49, 0x6e, 0x73, 0x74,
   567  	0x61, 0x6e, 0x63, 0x65, 0x73, 0x52, 0x0c, 0x67, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e,
   568  	0x63, 0x65, 0x73, 0x12, 0x4f, 0x0a, 0x10, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e,
   569  	0x67, 0x5f, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e,
   570  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e,
   571  	0x67, 0x63, 0x70, 0x2e, 0x46, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x52, 0x75,
   572  	0x6c, 0x65, 0x73, 0x52, 0x0f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x52,
   573  	0x75, 0x6c, 0x65, 0x73, 0x12, 0x46, 0x0a, 0x0d, 0x72, 0x74, 0x63, 0x5f, 0x76, 0x61, 0x72, 0x69,
   574  	0x61, 0x62, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6c,
   575  	0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x67, 0x63,
   576  	0x70, 0x2e, 0x52, 0x54, 0x43, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x52, 0x0c,
   577  	0x72, 0x74, 0x63, 0x56, 0x61, 0x72, 0x69, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0f,
   578  	0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x18,
   579  	0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f,
   580  	0x62, 0x65, 0x72, 0x2e, 0x72, 0x64, 0x73, 0x2e, 0x67, 0x63, 0x70, 0x2e, 0x50, 0x75, 0x62, 0x53,
   581  	0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x52, 0x0e, 0x70, 0x75, 0x62, 0x73,
   582  	0x75, 0x62, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0b, 0x61, 0x70,
   583  	0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x63, 0x20, 0x01, 0x28, 0x09, 0x3a,
   584  	0x02, 0x76, 0x31, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42,
   585  	0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
   586  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72,
   587  	0x2f, 0x72, 0x64, 0x73, 0x2f, 0x67, 0x63, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   588  }
   589  
   590  var (
   591  	file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescOnce sync.Once
   592  	file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescData = file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDesc
   593  )
   594  
   595  func file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescGZIP() []byte {
   596  	file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescOnce.Do(func() {
   597  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescData)
   598  	})
   599  	return file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDescData
   600  }
   601  
   602  var file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
   603  var file_github_com_google_cloudprober_rds_gcp_proto_config_proto_goTypes = []interface{}{
   604  	(*GCEInstances)(nil),                // 0: cloudprober.rds.gcp.GCEInstances
   605  	(*ForwardingRules)(nil),             // 1: cloudprober.rds.gcp.ForwardingRules
   606  	(*RTCVariables)(nil),                // 2: cloudprober.rds.gcp.RTCVariables
   607  	(*PubSubMessages)(nil),              // 3: cloudprober.rds.gcp.PubSubMessages
   608  	(*ProviderConfig)(nil),              // 4: cloudprober.rds.gcp.ProviderConfig
   609  	(*RTCVariables_RTCConfig)(nil),      // 5: cloudprober.rds.gcp.RTCVariables.RTCConfig
   610  	(*PubSubMessages_Subscription)(nil), // 6: cloudprober.rds.gcp.PubSubMessages.Subscription
   611  }
   612  var file_github_com_google_cloudprober_rds_gcp_proto_config_proto_depIdxs = []int32{
   613  	5, // 0: cloudprober.rds.gcp.RTCVariables.rtc_config:type_name -> cloudprober.rds.gcp.RTCVariables.RTCConfig
   614  	6, // 1: cloudprober.rds.gcp.PubSubMessages.subscription:type_name -> cloudprober.rds.gcp.PubSubMessages.Subscription
   615  	0, // 2: cloudprober.rds.gcp.ProviderConfig.gce_instances:type_name -> cloudprober.rds.gcp.GCEInstances
   616  	1, // 3: cloudprober.rds.gcp.ProviderConfig.forwarding_rules:type_name -> cloudprober.rds.gcp.ForwardingRules
   617  	2, // 4: cloudprober.rds.gcp.ProviderConfig.rtc_variables:type_name -> cloudprober.rds.gcp.RTCVariables
   618  	3, // 5: cloudprober.rds.gcp.ProviderConfig.pubsub_messages:type_name -> cloudprober.rds.gcp.PubSubMessages
   619  	6, // [6:6] is the sub-list for method output_type
   620  	6, // [6:6] is the sub-list for method input_type
   621  	6, // [6:6] is the sub-list for extension type_name
   622  	6, // [6:6] is the sub-list for extension extendee
   623  	0, // [0:6] is the sub-list for field type_name
   624  }
   625  
   626  func init() { file_github_com_google_cloudprober_rds_gcp_proto_config_proto_init() }
   627  func file_github_com_google_cloudprober_rds_gcp_proto_config_proto_init() {
   628  	if File_github_com_google_cloudprober_rds_gcp_proto_config_proto != nil {
   629  		return
   630  	}
   631  	if !protoimpl.UnsafeEnabled {
   632  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   633  			switch v := v.(*GCEInstances); i {
   634  			case 0:
   635  				return &v.state
   636  			case 1:
   637  				return &v.sizeCache
   638  			case 2:
   639  				return &v.unknownFields
   640  			default:
   641  				return nil
   642  			}
   643  		}
   644  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   645  			switch v := v.(*ForwardingRules); i {
   646  			case 0:
   647  				return &v.state
   648  			case 1:
   649  				return &v.sizeCache
   650  			case 2:
   651  				return &v.unknownFields
   652  			default:
   653  				return nil
   654  			}
   655  		}
   656  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   657  			switch v := v.(*RTCVariables); i {
   658  			case 0:
   659  				return &v.state
   660  			case 1:
   661  				return &v.sizeCache
   662  			case 2:
   663  				return &v.unknownFields
   664  			default:
   665  				return nil
   666  			}
   667  		}
   668  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   669  			switch v := v.(*PubSubMessages); i {
   670  			case 0:
   671  				return &v.state
   672  			case 1:
   673  				return &v.sizeCache
   674  			case 2:
   675  				return &v.unknownFields
   676  			default:
   677  				return nil
   678  			}
   679  		}
   680  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   681  			switch v := v.(*ProviderConfig); i {
   682  			case 0:
   683  				return &v.state
   684  			case 1:
   685  				return &v.sizeCache
   686  			case 2:
   687  				return &v.unknownFields
   688  			default:
   689  				return nil
   690  			}
   691  		}
   692  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
   693  			switch v := v.(*RTCVariables_RTCConfig); i {
   694  			case 0:
   695  				return &v.state
   696  			case 1:
   697  				return &v.sizeCache
   698  			case 2:
   699  				return &v.unknownFields
   700  			default:
   701  				return nil
   702  			}
   703  		}
   704  		file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
   705  			switch v := v.(*PubSubMessages_Subscription); i {
   706  			case 0:
   707  				return &v.state
   708  			case 1:
   709  				return &v.sizeCache
   710  			case 2:
   711  				return &v.unknownFields
   712  			default:
   713  				return nil
   714  			}
   715  		}
   716  	}
   717  	type x struct{}
   718  	out := protoimpl.TypeBuilder{
   719  		File: protoimpl.DescBuilder{
   720  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   721  			RawDescriptor: file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDesc,
   722  			NumEnums:      0,
   723  			NumMessages:   7,
   724  			NumExtensions: 0,
   725  			NumServices:   0,
   726  		},
   727  		GoTypes:           file_github_com_google_cloudprober_rds_gcp_proto_config_proto_goTypes,
   728  		DependencyIndexes: file_github_com_google_cloudprober_rds_gcp_proto_config_proto_depIdxs,
   729  		MessageInfos:      file_github_com_google_cloudprober_rds_gcp_proto_config_proto_msgTypes,
   730  	}.Build()
   731  	File_github_com_google_cloudprober_rds_gcp_proto_config_proto = out.File
   732  	file_github_com_google_cloudprober_rds_gcp_proto_config_proto_rawDesc = nil
   733  	file_github_com_google_cloudprober_rds_gcp_proto_config_proto_goTypes = nil
   734  	file_github_com_google_cloudprober_rds_gcp_proto_config_proto_depIdxs = nil
   735  }