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

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.26.0
     4  // 	protoc        v3.17.3
     5  // source: github.com/google/cloudprober/probes/http/proto/config.proto
     6  
     7  package proto
     8  
     9  import (
    10  	proto "github.com/google/cloudprober/common/oauth/proto"
    11  	proto1 "github.com/google/cloudprober/common/tlsconfig/proto"
    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 ProbeConf_ProtocolType int32
    26  
    27  const (
    28  	ProbeConf_HTTP  ProbeConf_ProtocolType = 0
    29  	ProbeConf_HTTPS ProbeConf_ProtocolType = 1
    30  )
    31  
    32  // Enum value maps for ProbeConf_ProtocolType.
    33  var (
    34  	ProbeConf_ProtocolType_name = map[int32]string{
    35  		0: "HTTP",
    36  		1: "HTTPS",
    37  	}
    38  	ProbeConf_ProtocolType_value = map[string]int32{
    39  		"HTTP":  0,
    40  		"HTTPS": 1,
    41  	}
    42  )
    43  
    44  func (x ProbeConf_ProtocolType) Enum() *ProbeConf_ProtocolType {
    45  	p := new(ProbeConf_ProtocolType)
    46  	*p = x
    47  	return p
    48  }
    49  
    50  func (x ProbeConf_ProtocolType) String() string {
    51  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    52  }
    53  
    54  func (ProbeConf_ProtocolType) Descriptor() protoreflect.EnumDescriptor {
    55  	return file_github_com_google_cloudprober_probes_http_proto_config_proto_enumTypes[0].Descriptor()
    56  }
    57  
    58  func (ProbeConf_ProtocolType) Type() protoreflect.EnumType {
    59  	return &file_github_com_google_cloudprober_probes_http_proto_config_proto_enumTypes[0]
    60  }
    61  
    62  func (x ProbeConf_ProtocolType) Number() protoreflect.EnumNumber {
    63  	return protoreflect.EnumNumber(x)
    64  }
    65  
    66  // Deprecated: Do not use.
    67  func (x *ProbeConf_ProtocolType) UnmarshalJSON(b []byte) error {
    68  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
    69  	if err != nil {
    70  		return err
    71  	}
    72  	*x = ProbeConf_ProtocolType(num)
    73  	return nil
    74  }
    75  
    76  // Deprecated: Use ProbeConf_ProtocolType.Descriptor instead.
    77  func (ProbeConf_ProtocolType) EnumDescriptor() ([]byte, []int) {
    78  	return file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescGZIP(), []int{0, 0}
    79  }
    80  
    81  type ProbeConf_Method int32
    82  
    83  const (
    84  	ProbeConf_GET     ProbeConf_Method = 0
    85  	ProbeConf_POST    ProbeConf_Method = 1
    86  	ProbeConf_PUT     ProbeConf_Method = 2
    87  	ProbeConf_HEAD    ProbeConf_Method = 3
    88  	ProbeConf_DELETE  ProbeConf_Method = 4
    89  	ProbeConf_PATCH   ProbeConf_Method = 5
    90  	ProbeConf_OPTIONS ProbeConf_Method = 6
    91  )
    92  
    93  // Enum value maps for ProbeConf_Method.
    94  var (
    95  	ProbeConf_Method_name = map[int32]string{
    96  		0: "GET",
    97  		1: "POST",
    98  		2: "PUT",
    99  		3: "HEAD",
   100  		4: "DELETE",
   101  		5: "PATCH",
   102  		6: "OPTIONS",
   103  	}
   104  	ProbeConf_Method_value = map[string]int32{
   105  		"GET":     0,
   106  		"POST":    1,
   107  		"PUT":     2,
   108  		"HEAD":    3,
   109  		"DELETE":  4,
   110  		"PATCH":   5,
   111  		"OPTIONS": 6,
   112  	}
   113  )
   114  
   115  func (x ProbeConf_Method) Enum() *ProbeConf_Method {
   116  	p := new(ProbeConf_Method)
   117  	*p = x
   118  	return p
   119  }
   120  
   121  func (x ProbeConf_Method) String() string {
   122  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   123  }
   124  
   125  func (ProbeConf_Method) Descriptor() protoreflect.EnumDescriptor {
   126  	return file_github_com_google_cloudprober_probes_http_proto_config_proto_enumTypes[1].Descriptor()
   127  }
   128  
   129  func (ProbeConf_Method) Type() protoreflect.EnumType {
   130  	return &file_github_com_google_cloudprober_probes_http_proto_config_proto_enumTypes[1]
   131  }
   132  
   133  func (x ProbeConf_Method) Number() protoreflect.EnumNumber {
   134  	return protoreflect.EnumNumber(x)
   135  }
   136  
   137  // Deprecated: Do not use.
   138  func (x *ProbeConf_Method) UnmarshalJSON(b []byte) error {
   139  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
   140  	if err != nil {
   141  		return err
   142  	}
   143  	*x = ProbeConf_Method(num)
   144  	return nil
   145  }
   146  
   147  // Deprecated: Use ProbeConf_Method.Descriptor instead.
   148  func (ProbeConf_Method) EnumDescriptor() ([]byte, []int) {
   149  	return file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescGZIP(), []int{0, 1}
   150  }
   151  
   152  // Next tag: 17
   153  type ProbeConf struct {
   154  	state         protoimpl.MessageState
   155  	sizeCache     protoimpl.SizeCache
   156  	unknownFields protoimpl.UnknownFields
   157  
   158  	// Which HTTP protocol to use
   159  	Protocol *ProbeConf_ProtocolType `protobuf:"varint,1,opt,name=protocol,enum=cloudprober.probes.http.ProbeConf_ProtocolType,def=0" json:"protocol,omitempty"`
   160  	// Relative URL (to append to all targets). Must begin with '/'
   161  	RelativeUrl *string `protobuf:"bytes,2,opt,name=relative_url,json=relativeUrl" json:"relative_url,omitempty"`
   162  	// Port for HTTP requests. If not specfied, port is selected in the following
   163  	// order:
   164  	//  - If port is provided by the targets (e.g. kubernetes endpoint or
   165  	//    service), that port is used.
   166  	//  - 80 for HTTP and 443 for HTTPS.
   167  	Port *int32 `protobuf:"varint,3,opt,name=port" json:"port,omitempty"`
   168  	// Whether to resolve the target before making the request. If set to false,
   169  	// we hand over the target and relative_url directly to the golang's HTTP
   170  	// module, Otherwise, we resolve the target first to an IP address and
   171  	// make a request using that while passing target name as Host header.
   172  	ResolveFirst *bool `protobuf:"varint,4,opt,name=resolve_first,json=resolveFirst,def=0" json:"resolve_first,omitempty"`
   173  	// Export response (body) count as a metric
   174  	ExportResponseAsMetrics *bool `protobuf:"varint,5,opt,name=export_response_as_metrics,json=exportResponseAsMetrics,def=0" json:"export_response_as_metrics,omitempty"`
   175  	// HTTP request method
   176  	Method *ProbeConf_Method `protobuf:"varint,7,opt,name=method,enum=cloudprober.probes.http.ProbeConf_Method,def=0" json:"method,omitempty"`
   177  	// HTTP request headers
   178  	Headers []*ProbeConf_Header `protobuf:"bytes,8,rep,name=headers" json:"headers,omitempty"`
   179  	// Request body.
   180  	Body *string `protobuf:"bytes,9,opt,name=body" json:"body,omitempty"`
   181  	// Enable HTTP keep-alive. If set to true, underlying connection is reused
   182  	// for further probes. Default is to close the connection after every request.
   183  	KeepAlive *bool `protobuf:"varint,10,opt,name=keep_alive,json=keepAlive" json:"keep_alive,omitempty"`
   184  	// OAuth Config
   185  	OauthConfig *proto.Config `protobuf:"bytes,11,opt,name=oauth_config,json=oauthConfig" json:"oauth_config,omitempty"`
   186  	// Disable HTTP2
   187  	// Golang HTTP client automatically enables HTTP/2 if server supports it. This
   188  	// option disables that behavior to enforce HTTP/1.1 for testing purpose.
   189  	DisableHttp2 *bool `protobuf:"varint,13,opt,name=disable_http2,json=disableHttp2" json:"disable_http2,omitempty"`
   190  	// Disable TLS certificate validation. If set to true, any certificate
   191  	// presented by the server for any host name will be accepted
   192  	// Deprecation: This option is now subsumed by the tls_config below. To
   193  	// disable cert validation use:
   194  	// tls_config {
   195  	//   disable_cert_validation: true
   196  	// }
   197  	DisableCertValidation *bool `protobuf:"varint,14,opt,name=disable_cert_validation,json=disableCertValidation" json:"disable_cert_validation,omitempty"`
   198  	// TLS config
   199  	TlsConfig *proto1.TLSConfig `protobuf:"bytes,15,opt,name=tls_config,json=tlsConfig" json:"tls_config,omitempty"`
   200  	// Proxy URL, e.g. http://myproxy:3128
   201  	ProxyUrl *string `protobuf:"bytes,16,opt,name=proxy_url,json=proxyUrl" json:"proxy_url,omitempty"`
   202  	// Interval between targets.
   203  	IntervalBetweenTargetsMsec *int32 `protobuf:"varint,97,opt,name=interval_between_targets_msec,json=intervalBetweenTargetsMsec,def=10" json:"interval_between_targets_msec,omitempty"`
   204  	// Requests per probe.
   205  	// Number of HTTP requests per probe. Requests are executed concurrently and
   206  	// each HTTP re contributes to probe results. For example, if you run two
   207  	// requests per probe, "total" counter will be incremented by 2.
   208  	RequestsPerProbe *int32 `protobuf:"varint,98,opt,name=requests_per_probe,json=requestsPerProbe,def=1" json:"requests_per_probe,omitempty"`
   209  	// How long to wait between two requests to the same target
   210  	// NOTE: This field is now deprecated and will be removed after the v0.10.3
   211  	// releases.
   212  	RequestsIntervalMsec *int32 `protobuf:"varint,99,opt,name=requests_interval_msec,json=requestsIntervalMsec,def=25" json:"requests_interval_msec,omitempty"`
   213  }
   214  
   215  // Default values for ProbeConf fields.
   216  const (
   217  	Default_ProbeConf_Protocol                   = ProbeConf_HTTP
   218  	Default_ProbeConf_ResolveFirst               = bool(false)
   219  	Default_ProbeConf_ExportResponseAsMetrics    = bool(false)
   220  	Default_ProbeConf_Method                     = ProbeConf_GET
   221  	Default_ProbeConf_IntervalBetweenTargetsMsec = int32(10)
   222  	Default_ProbeConf_RequestsPerProbe           = int32(1)
   223  	Default_ProbeConf_RequestsIntervalMsec       = int32(25)
   224  )
   225  
   226  func (x *ProbeConf) Reset() {
   227  	*x = ProbeConf{}
   228  	if protoimpl.UnsafeEnabled {
   229  		mi := &file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes[0]
   230  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   231  		ms.StoreMessageInfo(mi)
   232  	}
   233  }
   234  
   235  func (x *ProbeConf) String() string {
   236  	return protoimpl.X.MessageStringOf(x)
   237  }
   238  
   239  func (*ProbeConf) ProtoMessage() {}
   240  
   241  func (x *ProbeConf) ProtoReflect() protoreflect.Message {
   242  	mi := &file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes[0]
   243  	if protoimpl.UnsafeEnabled && x != nil {
   244  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   245  		if ms.LoadMessageInfo() == nil {
   246  			ms.StoreMessageInfo(mi)
   247  		}
   248  		return ms
   249  	}
   250  	return mi.MessageOf(x)
   251  }
   252  
   253  // Deprecated: Use ProbeConf.ProtoReflect.Descriptor instead.
   254  func (*ProbeConf) Descriptor() ([]byte, []int) {
   255  	return file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescGZIP(), []int{0}
   256  }
   257  
   258  func (x *ProbeConf) GetProtocol() ProbeConf_ProtocolType {
   259  	if x != nil && x.Protocol != nil {
   260  		return *x.Protocol
   261  	}
   262  	return Default_ProbeConf_Protocol
   263  }
   264  
   265  func (x *ProbeConf) GetRelativeUrl() string {
   266  	if x != nil && x.RelativeUrl != nil {
   267  		return *x.RelativeUrl
   268  	}
   269  	return ""
   270  }
   271  
   272  func (x *ProbeConf) GetPort() int32 {
   273  	if x != nil && x.Port != nil {
   274  		return *x.Port
   275  	}
   276  	return 0
   277  }
   278  
   279  func (x *ProbeConf) GetResolveFirst() bool {
   280  	if x != nil && x.ResolveFirst != nil {
   281  		return *x.ResolveFirst
   282  	}
   283  	return Default_ProbeConf_ResolveFirst
   284  }
   285  
   286  func (x *ProbeConf) GetExportResponseAsMetrics() bool {
   287  	if x != nil && x.ExportResponseAsMetrics != nil {
   288  		return *x.ExportResponseAsMetrics
   289  	}
   290  	return Default_ProbeConf_ExportResponseAsMetrics
   291  }
   292  
   293  func (x *ProbeConf) GetMethod() ProbeConf_Method {
   294  	if x != nil && x.Method != nil {
   295  		return *x.Method
   296  	}
   297  	return Default_ProbeConf_Method
   298  }
   299  
   300  func (x *ProbeConf) GetHeaders() []*ProbeConf_Header {
   301  	if x != nil {
   302  		return x.Headers
   303  	}
   304  	return nil
   305  }
   306  
   307  func (x *ProbeConf) GetBody() string {
   308  	if x != nil && x.Body != nil {
   309  		return *x.Body
   310  	}
   311  	return ""
   312  }
   313  
   314  func (x *ProbeConf) GetKeepAlive() bool {
   315  	if x != nil && x.KeepAlive != nil {
   316  		return *x.KeepAlive
   317  	}
   318  	return false
   319  }
   320  
   321  func (x *ProbeConf) GetOauthConfig() *proto.Config {
   322  	if x != nil {
   323  		return x.OauthConfig
   324  	}
   325  	return nil
   326  }
   327  
   328  func (x *ProbeConf) GetDisableHttp2() bool {
   329  	if x != nil && x.DisableHttp2 != nil {
   330  		return *x.DisableHttp2
   331  	}
   332  	return false
   333  }
   334  
   335  func (x *ProbeConf) GetDisableCertValidation() bool {
   336  	if x != nil && x.DisableCertValidation != nil {
   337  		return *x.DisableCertValidation
   338  	}
   339  	return false
   340  }
   341  
   342  func (x *ProbeConf) GetTlsConfig() *proto1.TLSConfig {
   343  	if x != nil {
   344  		return x.TlsConfig
   345  	}
   346  	return nil
   347  }
   348  
   349  func (x *ProbeConf) GetProxyUrl() string {
   350  	if x != nil && x.ProxyUrl != nil {
   351  		return *x.ProxyUrl
   352  	}
   353  	return ""
   354  }
   355  
   356  func (x *ProbeConf) GetIntervalBetweenTargetsMsec() int32 {
   357  	if x != nil && x.IntervalBetweenTargetsMsec != nil {
   358  		return *x.IntervalBetweenTargetsMsec
   359  	}
   360  	return Default_ProbeConf_IntervalBetweenTargetsMsec
   361  }
   362  
   363  func (x *ProbeConf) GetRequestsPerProbe() int32 {
   364  	if x != nil && x.RequestsPerProbe != nil {
   365  		return *x.RequestsPerProbe
   366  	}
   367  	return Default_ProbeConf_RequestsPerProbe
   368  }
   369  
   370  func (x *ProbeConf) GetRequestsIntervalMsec() int32 {
   371  	if x != nil && x.RequestsIntervalMsec != nil {
   372  		return *x.RequestsIntervalMsec
   373  	}
   374  	return Default_ProbeConf_RequestsIntervalMsec
   375  }
   376  
   377  type ProbeConf_Header struct {
   378  	state         protoimpl.MessageState
   379  	sizeCache     protoimpl.SizeCache
   380  	unknownFields protoimpl.UnknownFields
   381  
   382  	Name  *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
   383  	Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"`
   384  }
   385  
   386  func (x *ProbeConf_Header) Reset() {
   387  	*x = ProbeConf_Header{}
   388  	if protoimpl.UnsafeEnabled {
   389  		mi := &file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes[1]
   390  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   391  		ms.StoreMessageInfo(mi)
   392  	}
   393  }
   394  
   395  func (x *ProbeConf_Header) String() string {
   396  	return protoimpl.X.MessageStringOf(x)
   397  }
   398  
   399  func (*ProbeConf_Header) ProtoMessage() {}
   400  
   401  func (x *ProbeConf_Header) ProtoReflect() protoreflect.Message {
   402  	mi := &file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes[1]
   403  	if protoimpl.UnsafeEnabled && x != nil {
   404  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   405  		if ms.LoadMessageInfo() == nil {
   406  			ms.StoreMessageInfo(mi)
   407  		}
   408  		return ms
   409  	}
   410  	return mi.MessageOf(x)
   411  }
   412  
   413  // Deprecated: Use ProbeConf_Header.ProtoReflect.Descriptor instead.
   414  func (*ProbeConf_Header) Descriptor() ([]byte, []int) {
   415  	return file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescGZIP(), []int{0, 0}
   416  }
   417  
   418  func (x *ProbeConf_Header) GetName() string {
   419  	if x != nil && x.Name != nil {
   420  		return *x.Name
   421  	}
   422  	return ""
   423  }
   424  
   425  func (x *ProbeConf_Header) GetValue() string {
   426  	if x != nil && x.Value != nil {
   427  		return *x.Value
   428  	}
   429  	return ""
   430  }
   431  
   432  var File_github_com_google_cloudprober_probes_http_proto_config_proto protoreflect.FileDescriptor
   433  
   434  var file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDesc = []byte{
   435  	0x0a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   436  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   437  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74,
   438  	0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17,
   439  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62,
   440  	0x65, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x1a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
   441  	0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   442  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x6f, 0x61,
   443  	0x75, 0x74, 0x68, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67,
   444  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x41, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63,
   445  	0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70,
   446  	0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x74, 0x6c, 0x73,
   447  	0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e,
   448  	0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9d, 0x08, 0x0a, 0x09, 0x50, 0x72,
   449  	0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x51, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   450  	0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   451  	0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x68,
   452  	0x74, 0x74, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x2e, 0x50, 0x72,
   453  	0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x04, 0x48, 0x54, 0x54, 0x50,
   454  	0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65,
   455  	0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
   456  	0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x12, 0x0a,
   457  	0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x70, 0x6f, 0x72,
   458  	0x74, 0x12, 0x2a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x5f, 0x66, 0x69, 0x72,
   459  	0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52,
   460  	0x0c, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x46, 0x69, 0x72, 0x73, 0x74, 0x12, 0x42, 0x0a,
   461  	0x1a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
   462  	0x5f, 0x61, 0x73, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
   463  	0x08, 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x17, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74,
   464  	0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x41, 0x73, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63,
   465  	0x73, 0x12, 0x46, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28,
   466  	0x0e, 0x32, 0x29, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e,
   467  	0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x62,
   468  	0x65, 0x43, 0x6f, 0x6e, 0x66, 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x3a, 0x03, 0x47, 0x45,
   469  	0x54, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x43, 0x0a, 0x07, 0x68, 0x65, 0x61,
   470  	0x64, 0x65, 0x72, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x6c, 0x6f,
   471  	0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x73, 0x2e,
   472  	0x68, 0x74, 0x74, 0x70, 0x2e, 0x50, 0x72, 0x6f, 0x62, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x2e, 0x48,
   473  	0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12,
   474  	0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x62, 0x6f,
   475  	0x64, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x6b, 0x65, 0x65, 0x70, 0x5f, 0x61, 0x6c, 0x69, 0x76, 0x65,
   476  	0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x6b, 0x65, 0x65, 0x70, 0x41, 0x6c, 0x69, 0x76,
   477  	0x65, 0x12, 0x3c, 0x0a, 0x0c, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69,
   478  	0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70,
   479  	0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x2e, 0x43, 0x6f, 0x6e, 0x66,
   480  	0x69, 0x67, 0x52, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12,
   481  	0x23, 0x0a, 0x0d, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x32,
   482  	0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x48,
   483  	0x74, 0x74, 0x70, 0x32, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f,
   484  	0x63, 0x65, 0x72, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
   485  	0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x43, 0x65,
   486  	0x72, 0x74, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x0a,
   487  	0x74, 0x6c, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b,
   488  	0x32, 0x20, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x74,
   489  	0x6c, 0x73, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66,
   490  	0x69, 0x67, 0x52, 0x09, 0x74, 0x6c, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1b, 0x0a,
   491  	0x09, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09,
   492  	0x52, 0x08, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x55, 0x72, 0x6c, 0x12, 0x45, 0x0a, 0x1d, 0x69, 0x6e,
   493  	0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x62, 0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x5f, 0x74,
   494  	0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x5f, 0x6d, 0x73, 0x65, 0x63, 0x18, 0x61, 0x20, 0x01, 0x28,
   495  	0x05, 0x3a, 0x02, 0x31, 0x30, 0x52, 0x1a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x42,
   496  	0x65, 0x74, 0x77, 0x65, 0x65, 0x6e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x73, 0x4d, 0x73, 0x65,
   497  	0x63, 0x12, 0x2f, 0x0a, 0x12, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x5f, 0x70, 0x65,
   498  	0x72, 0x5f, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x18, 0x62, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x01, 0x31,
   499  	0x52, 0x10, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x50, 0x65, 0x72, 0x50, 0x72, 0x6f,
   500  	0x62, 0x65, 0x12, 0x38, 0x0a, 0x16, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x5f, 0x69,
   501  	0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x5f, 0x6d, 0x73, 0x65, 0x63, 0x18, 0x63, 0x20, 0x01,
   502  	0x28, 0x05, 0x3a, 0x02, 0x32, 0x35, 0x52, 0x14, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73,
   503  	0x49, 0x6e, 0x74, 0x65, 0x72, 0x76, 0x61, 0x6c, 0x4d, 0x73, 0x65, 0x63, 0x1a, 0x32, 0x0a, 0x06,
   504  	0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
   505  	0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61,
   506  	0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
   507  	0x22, 0x23, 0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65,
   508  	0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54,
   509  	0x54, 0x50, 0x53, 0x10, 0x01, 0x22, 0x52, 0x0a, 0x06, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
   510  	0x07, 0x0a, 0x03, 0x47, 0x45, 0x54, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54,
   511  	0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x55, 0x54, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x48,
   512  	0x45, 0x41, 0x44, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10,
   513  	0x04, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x41, 0x54, 0x43, 0x48, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07,
   514  	0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x06, 0x42, 0x31, 0x5a, 0x2f, 0x67, 0x69, 0x74,
   515  	0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
   516  	0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f, 0x70, 0x72, 0x6f, 0x62, 0x65,
   517  	0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   518  }
   519  
   520  var (
   521  	file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescOnce sync.Once
   522  	file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescData = file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDesc
   523  )
   524  
   525  func file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescGZIP() []byte {
   526  	file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescOnce.Do(func() {
   527  		file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescData)
   528  	})
   529  	return file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDescData
   530  }
   531  
   532  var file_github_com_google_cloudprober_probes_http_proto_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   533  var file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   534  var file_github_com_google_cloudprober_probes_http_proto_config_proto_goTypes = []interface{}{
   535  	(ProbeConf_ProtocolType)(0), // 0: cloudprober.probes.http.ProbeConf.ProtocolType
   536  	(ProbeConf_Method)(0),       // 1: cloudprober.probes.http.ProbeConf.Method
   537  	(*ProbeConf)(nil),           // 2: cloudprober.probes.http.ProbeConf
   538  	(*ProbeConf_Header)(nil),    // 3: cloudprober.probes.http.ProbeConf.Header
   539  	(*proto.Config)(nil),        // 4: cloudprober.oauth.Config
   540  	(*proto1.TLSConfig)(nil),    // 5: cloudprober.tlsconfig.TLSConfig
   541  }
   542  var file_github_com_google_cloudprober_probes_http_proto_config_proto_depIdxs = []int32{
   543  	0, // 0: cloudprober.probes.http.ProbeConf.protocol:type_name -> cloudprober.probes.http.ProbeConf.ProtocolType
   544  	1, // 1: cloudprober.probes.http.ProbeConf.method:type_name -> cloudprober.probes.http.ProbeConf.Method
   545  	3, // 2: cloudprober.probes.http.ProbeConf.headers:type_name -> cloudprober.probes.http.ProbeConf.Header
   546  	4, // 3: cloudprober.probes.http.ProbeConf.oauth_config:type_name -> cloudprober.oauth.Config
   547  	5, // 4: cloudprober.probes.http.ProbeConf.tls_config:type_name -> cloudprober.tlsconfig.TLSConfig
   548  	5, // [5:5] is the sub-list for method output_type
   549  	5, // [5:5] is the sub-list for method input_type
   550  	5, // [5:5] is the sub-list for extension type_name
   551  	5, // [5:5] is the sub-list for extension extendee
   552  	0, // [0:5] is the sub-list for field type_name
   553  }
   554  
   555  func init() { file_github_com_google_cloudprober_probes_http_proto_config_proto_init() }
   556  func file_github_com_google_cloudprober_probes_http_proto_config_proto_init() {
   557  	if File_github_com_google_cloudprober_probes_http_proto_config_proto != nil {
   558  		return
   559  	}
   560  	if !protoimpl.UnsafeEnabled {
   561  		file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   562  			switch v := v.(*ProbeConf); i {
   563  			case 0:
   564  				return &v.state
   565  			case 1:
   566  				return &v.sizeCache
   567  			case 2:
   568  				return &v.unknownFields
   569  			default:
   570  				return nil
   571  			}
   572  		}
   573  		file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   574  			switch v := v.(*ProbeConf_Header); i {
   575  			case 0:
   576  				return &v.state
   577  			case 1:
   578  				return &v.sizeCache
   579  			case 2:
   580  				return &v.unknownFields
   581  			default:
   582  				return nil
   583  			}
   584  		}
   585  	}
   586  	type x struct{}
   587  	out := protoimpl.TypeBuilder{
   588  		File: protoimpl.DescBuilder{
   589  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   590  			RawDescriptor: file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDesc,
   591  			NumEnums:      2,
   592  			NumMessages:   2,
   593  			NumExtensions: 0,
   594  			NumServices:   0,
   595  		},
   596  		GoTypes:           file_github_com_google_cloudprober_probes_http_proto_config_proto_goTypes,
   597  		DependencyIndexes: file_github_com_google_cloudprober_probes_http_proto_config_proto_depIdxs,
   598  		EnumInfos:         file_github_com_google_cloudprober_probes_http_proto_config_proto_enumTypes,
   599  		MessageInfos:      file_github_com_google_cloudprober_probes_http_proto_config_proto_msgTypes,
   600  	}.Build()
   601  	File_github_com_google_cloudprober_probes_http_proto_config_proto = out.File
   602  	file_github_com_google_cloudprober_probes_http_proto_config_proto_rawDesc = nil
   603  	file_github_com_google_cloudprober_probes_http_proto_config_proto_goTypes = nil
   604  	file_github_com_google_cloudprober_probes_http_proto_config_proto_depIdxs = nil
   605  }