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

     1  // Copyright 2017-2019 Google Inc.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.17.3
    19  // source: github.com/google/cloudprober/servers/http/proto/config.proto
    20  
    21  package proto
    22  
    23  import (
    24  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    25  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    26  	reflect "reflect"
    27  	sync "sync"
    28  )
    29  
    30  const (
    31  	// Verify that this generated code is sufficiently up-to-date.
    32  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    33  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    35  )
    36  
    37  // tls_cert_file and tls_key_file field should be set for HTTPS.
    38  type ServerConf_ProtocolType int32
    39  
    40  const (
    41  	ServerConf_HTTP  ServerConf_ProtocolType = 0
    42  	ServerConf_HTTPS ServerConf_ProtocolType = 1
    43  )
    44  
    45  // Enum value maps for ServerConf_ProtocolType.
    46  var (
    47  	ServerConf_ProtocolType_name = map[int32]string{
    48  		0: "HTTP",
    49  		1: "HTTPS",
    50  	}
    51  	ServerConf_ProtocolType_value = map[string]int32{
    52  		"HTTP":  0,
    53  		"HTTPS": 1,
    54  	}
    55  )
    56  
    57  func (x ServerConf_ProtocolType) Enum() *ServerConf_ProtocolType {
    58  	p := new(ServerConf_ProtocolType)
    59  	*p = x
    60  	return p
    61  }
    62  
    63  func (x ServerConf_ProtocolType) String() string {
    64  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    65  }
    66  
    67  func (ServerConf_ProtocolType) Descriptor() protoreflect.EnumDescriptor {
    68  	return file_github_com_google_cloudprober_servers_http_proto_config_proto_enumTypes[0].Descriptor()
    69  }
    70  
    71  func (ServerConf_ProtocolType) Type() protoreflect.EnumType {
    72  	return &file_github_com_google_cloudprober_servers_http_proto_config_proto_enumTypes[0]
    73  }
    74  
    75  func (x ServerConf_ProtocolType) Number() protoreflect.EnumNumber {
    76  	return protoreflect.EnumNumber(x)
    77  }
    78  
    79  // Deprecated: Do not use.
    80  func (x *ServerConf_ProtocolType) UnmarshalJSON(b []byte) error {
    81  	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
    82  	if err != nil {
    83  		return err
    84  	}
    85  	*x = ServerConf_ProtocolType(num)
    86  	return nil
    87  }
    88  
    89  // Deprecated: Use ServerConf_ProtocolType.Descriptor instead.
    90  func (ServerConf_ProtocolType) EnumDescriptor() ([]byte, []int) {
    91  	return file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescGZIP(), []int{0, 0}
    92  }
    93  
    94  // Next available tag = 10
    95  type ServerConf struct {
    96  	state         protoimpl.MessageState
    97  	sizeCache     protoimpl.SizeCache
    98  	unknownFields protoimpl.UnknownFields
    99  
   100  	Port     *int32                   `protobuf:"varint,1,opt,name=port,def=3141" json:"port,omitempty"`
   101  	Protocol *ServerConf_ProtocolType `protobuf:"varint,6,opt,name=protocol,enum=cloudprober.servers.http.ServerConf_ProtocolType,def=0" json:"protocol,omitempty"`
   102  	// Maximum duration for reading the entire request, including the body.
   103  	ReadTimeoutMs *int32 `protobuf:"varint,2,opt,name=read_timeout_ms,json=readTimeoutMs,def=10000" json:"read_timeout_ms,omitempty"` // default: 10s
   104  	// Maximum duration before timing out writes of the response.
   105  	WriteTimeoutMs *int32 `protobuf:"varint,3,opt,name=write_timeout_ms,json=writeTimeoutMs,def=10000" json:"write_timeout_ms,omitempty"` // default: 10s
   106  	// Maximum amount of time to wait for the next request when keep-alives are
   107  	// enabled.
   108  	IdleTimeoutMs *int32 `protobuf:"varint,4,opt,name=idle_timeout_ms,json=idleTimeoutMs,def=60000" json:"idle_timeout_ms,omitempty"` // default: 1m
   109  	// Certificate file to use for HTTPS servers.
   110  	TlsCertFile *string `protobuf:"bytes,7,opt,name=tls_cert_file,json=tlsCertFile" json:"tls_cert_file,omitempty"`
   111  	// Private key file corresponding to the certificate above.
   112  	TlsKeyFile *string `protobuf:"bytes,8,opt,name=tls_key_file,json=tlsKeyFile" json:"tls_key_file,omitempty"`
   113  	// Disable HTTP/2 for HTTPS servers.
   114  	DisableHttp2 *bool `protobuf:"varint,9,opt,name=disable_http2,json=disableHttp2" json:"disable_http2,omitempty"`
   115  	// Pattern data handler returns pattern data at the url /data_<size_in_bytes>,
   116  	// e.g. "/data_2048".
   117  	PatternDataHandler []*ServerConf_PatternDataHandler `protobuf:"bytes,5,rep,name=pattern_data_handler,json=patternDataHandler" json:"pattern_data_handler,omitempty"`
   118  }
   119  
   120  // Default values for ServerConf fields.
   121  const (
   122  	Default_ServerConf_Port           = int32(3141)
   123  	Default_ServerConf_Protocol       = ServerConf_HTTP
   124  	Default_ServerConf_ReadTimeoutMs  = int32(10000)
   125  	Default_ServerConf_WriteTimeoutMs = int32(10000)
   126  	Default_ServerConf_IdleTimeoutMs  = int32(60000)
   127  )
   128  
   129  func (x *ServerConf) Reset() {
   130  	*x = ServerConf{}
   131  	if protoimpl.UnsafeEnabled {
   132  		mi := &file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes[0]
   133  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   134  		ms.StoreMessageInfo(mi)
   135  	}
   136  }
   137  
   138  func (x *ServerConf) String() string {
   139  	return protoimpl.X.MessageStringOf(x)
   140  }
   141  
   142  func (*ServerConf) ProtoMessage() {}
   143  
   144  func (x *ServerConf) ProtoReflect() protoreflect.Message {
   145  	mi := &file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes[0]
   146  	if protoimpl.UnsafeEnabled && x != nil {
   147  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   148  		if ms.LoadMessageInfo() == nil {
   149  			ms.StoreMessageInfo(mi)
   150  		}
   151  		return ms
   152  	}
   153  	return mi.MessageOf(x)
   154  }
   155  
   156  // Deprecated: Use ServerConf.ProtoReflect.Descriptor instead.
   157  func (*ServerConf) Descriptor() ([]byte, []int) {
   158  	return file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescGZIP(), []int{0}
   159  }
   160  
   161  func (x *ServerConf) GetPort() int32 {
   162  	if x != nil && x.Port != nil {
   163  		return *x.Port
   164  	}
   165  	return Default_ServerConf_Port
   166  }
   167  
   168  func (x *ServerConf) GetProtocol() ServerConf_ProtocolType {
   169  	if x != nil && x.Protocol != nil {
   170  		return *x.Protocol
   171  	}
   172  	return Default_ServerConf_Protocol
   173  }
   174  
   175  func (x *ServerConf) GetReadTimeoutMs() int32 {
   176  	if x != nil && x.ReadTimeoutMs != nil {
   177  		return *x.ReadTimeoutMs
   178  	}
   179  	return Default_ServerConf_ReadTimeoutMs
   180  }
   181  
   182  func (x *ServerConf) GetWriteTimeoutMs() int32 {
   183  	if x != nil && x.WriteTimeoutMs != nil {
   184  		return *x.WriteTimeoutMs
   185  	}
   186  	return Default_ServerConf_WriteTimeoutMs
   187  }
   188  
   189  func (x *ServerConf) GetIdleTimeoutMs() int32 {
   190  	if x != nil && x.IdleTimeoutMs != nil {
   191  		return *x.IdleTimeoutMs
   192  	}
   193  	return Default_ServerConf_IdleTimeoutMs
   194  }
   195  
   196  func (x *ServerConf) GetTlsCertFile() string {
   197  	if x != nil && x.TlsCertFile != nil {
   198  		return *x.TlsCertFile
   199  	}
   200  	return ""
   201  }
   202  
   203  func (x *ServerConf) GetTlsKeyFile() string {
   204  	if x != nil && x.TlsKeyFile != nil {
   205  		return *x.TlsKeyFile
   206  	}
   207  	return ""
   208  }
   209  
   210  func (x *ServerConf) GetDisableHttp2() bool {
   211  	if x != nil && x.DisableHttp2 != nil {
   212  		return *x.DisableHttp2
   213  	}
   214  	return false
   215  }
   216  
   217  func (x *ServerConf) GetPatternDataHandler() []*ServerConf_PatternDataHandler {
   218  	if x != nil {
   219  		return x.PatternDataHandler
   220  	}
   221  	return nil
   222  }
   223  
   224  type ServerConf_PatternDataHandler struct {
   225  	state         protoimpl.MessageState
   226  	sizeCache     protoimpl.SizeCache
   227  	unknownFields protoimpl.UnknownFields
   228  
   229  	// Response sizes to server, e.g. 1024.
   230  	ResponseSize *int32 `protobuf:"varint,1,req,name=response_size,json=responseSize" json:"response_size,omitempty"`
   231  	// Pattern is repeated to build the response, with "response_size mod
   232  	// pattern_size" filled by '0' bytes.
   233  	Pattern *string `protobuf:"bytes,2,opt,name=pattern,def=cloudprober" json:"pattern,omitempty"`
   234  }
   235  
   236  // Default values for ServerConf_PatternDataHandler fields.
   237  const (
   238  	Default_ServerConf_PatternDataHandler_Pattern = string("cloudprober")
   239  )
   240  
   241  func (x *ServerConf_PatternDataHandler) Reset() {
   242  	*x = ServerConf_PatternDataHandler{}
   243  	if protoimpl.UnsafeEnabled {
   244  		mi := &file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes[1]
   245  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   246  		ms.StoreMessageInfo(mi)
   247  	}
   248  }
   249  
   250  func (x *ServerConf_PatternDataHandler) String() string {
   251  	return protoimpl.X.MessageStringOf(x)
   252  }
   253  
   254  func (*ServerConf_PatternDataHandler) ProtoMessage() {}
   255  
   256  func (x *ServerConf_PatternDataHandler) ProtoReflect() protoreflect.Message {
   257  	mi := &file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes[1]
   258  	if protoimpl.UnsafeEnabled && x != nil {
   259  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   260  		if ms.LoadMessageInfo() == nil {
   261  			ms.StoreMessageInfo(mi)
   262  		}
   263  		return ms
   264  	}
   265  	return mi.MessageOf(x)
   266  }
   267  
   268  // Deprecated: Use ServerConf_PatternDataHandler.ProtoReflect.Descriptor instead.
   269  func (*ServerConf_PatternDataHandler) Descriptor() ([]byte, []int) {
   270  	return file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescGZIP(), []int{0, 0}
   271  }
   272  
   273  func (x *ServerConf_PatternDataHandler) GetResponseSize() int32 {
   274  	if x != nil && x.ResponseSize != nil {
   275  		return *x.ResponseSize
   276  	}
   277  	return 0
   278  }
   279  
   280  func (x *ServerConf_PatternDataHandler) GetPattern() string {
   281  	if x != nil && x.Pattern != nil {
   282  		return *x.Pattern
   283  	}
   284  	return Default_ServerConf_PatternDataHandler_Pattern
   285  }
   286  
   287  var File_github_com_google_cloudprober_servers_http_proto_config_proto protoreflect.FileDescriptor
   288  
   289  var file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDesc = []byte{
   290  	0x0a, 0x3d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f,
   291  	0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2f,
   292  	0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x70, 0x72, 0x6f,
   293  	0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   294  	0x18, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x65, 0x72,
   295  	0x76, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x22, 0xe7, 0x04, 0x0a, 0x0a, 0x53, 0x65,
   296  	0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x12, 0x18, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74,
   297  	0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x3a, 0x04, 0x33, 0x31, 0x34, 0x31, 0x52, 0x04, 0x70, 0x6f,
   298  	0x72, 0x74, 0x12, 0x53, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x06,
   299  	0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62,
   300  	0x65, 0x72, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e,
   301  	0x53, 0x65, 0x72, 0x76, 0x65, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f,
   302  	0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x3a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x52, 0x08, 0x70,
   303  	0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x2d, 0x0a, 0x0f, 0x72, 0x65, 0x61, 0x64, 0x5f,
   304  	0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
   305  	0x3a, 0x05, 0x31, 0x30, 0x30, 0x30, 0x30, 0x52, 0x0d, 0x72, 0x65, 0x61, 0x64, 0x54, 0x69, 0x6d,
   306  	0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x12, 0x2f, 0x0a, 0x10, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f,
   307  	0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05,
   308  	0x3a, 0x05, 0x31, 0x30, 0x30, 0x30, 0x30, 0x52, 0x0e, 0x77, 0x72, 0x69, 0x74, 0x65, 0x54, 0x69,
   309  	0x6d, 0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x12, 0x2d, 0x0a, 0x0f, 0x69, 0x64, 0x6c, 0x65, 0x5f,
   310  	0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x5f, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05,
   311  	0x3a, 0x05, 0x36, 0x30, 0x30, 0x30, 0x30, 0x52, 0x0d, 0x69, 0x64, 0x6c, 0x65, 0x54, 0x69, 0x6d,
   312  	0x65, 0x6f, 0x75, 0x74, 0x4d, 0x73, 0x12, 0x22, 0x0a, 0x0d, 0x74, 0x6c, 0x73, 0x5f, 0x63, 0x65,
   313  	0x72, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x74,
   314  	0x6c, 0x73, 0x43, 0x65, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0c, 0x74, 0x6c,
   315  	0x73, 0x5f, 0x6b, 0x65, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09,
   316  	0x52, 0x0a, 0x74, 0x6c, 0x73, 0x4b, 0x65, 0x79, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d,
   317  	0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x32, 0x18, 0x09, 0x20,
   318  	0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x48, 0x74, 0x74, 0x70,
   319  	0x32, 0x12, 0x69, 0x0a, 0x14, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x5f, 0x64, 0x61, 0x74,
   320  	0x61, 0x5f, 0x68, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32,
   321  	0x37, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72, 0x6f, 0x62, 0x65, 0x72, 0x2e, 0x73, 0x65,
   322  	0x72, 0x76, 0x65, 0x72, 0x73, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x65,
   323  	0x72, 0x43, 0x6f, 0x6e, 0x66, 0x2e, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x44, 0x61, 0x74,
   324  	0x61, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x52, 0x12, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72,
   325  	0x6e, 0x44, 0x61, 0x74, 0x61, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x72, 0x1a, 0x60, 0x0a, 0x12,
   326  	0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x48, 0x61, 0x6e, 0x64, 0x6c,
   327  	0x65, 0x72, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x73,
   328  	0x69, 0x7a, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f,
   329  	0x6e, 0x73, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x25, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65,
   330  	0x72, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x3a, 0x0b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70,
   331  	0x72, 0x6f, 0x62, 0x65, 0x72, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x22, 0x23,
   332  	0x0a, 0x0c, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08,
   333  	0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50,
   334  	0x53, 0x10, 0x01, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   335  	0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x70, 0x72,
   336  	0x6f, 0x62, 0x65, 0x72, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x73, 0x2f, 0x68, 0x74, 0x74,
   337  	0x70, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   338  }
   339  
   340  var (
   341  	file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescOnce sync.Once
   342  	file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescData = file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDesc
   343  )
   344  
   345  func file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescGZIP() []byte {
   346  	file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescOnce.Do(func() {
   347  		file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescData)
   348  	})
   349  	return file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDescData
   350  }
   351  
   352  var file_github_com_google_cloudprober_servers_http_proto_config_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   353  var file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   354  var file_github_com_google_cloudprober_servers_http_proto_config_proto_goTypes = []interface{}{
   355  	(ServerConf_ProtocolType)(0),          // 0: cloudprober.servers.http.ServerConf.ProtocolType
   356  	(*ServerConf)(nil),                    // 1: cloudprober.servers.http.ServerConf
   357  	(*ServerConf_PatternDataHandler)(nil), // 2: cloudprober.servers.http.ServerConf.PatternDataHandler
   358  }
   359  var file_github_com_google_cloudprober_servers_http_proto_config_proto_depIdxs = []int32{
   360  	0, // 0: cloudprober.servers.http.ServerConf.protocol:type_name -> cloudprober.servers.http.ServerConf.ProtocolType
   361  	2, // 1: cloudprober.servers.http.ServerConf.pattern_data_handler:type_name -> cloudprober.servers.http.ServerConf.PatternDataHandler
   362  	2, // [2:2] is the sub-list for method output_type
   363  	2, // [2:2] is the sub-list for method input_type
   364  	2, // [2:2] is the sub-list for extension type_name
   365  	2, // [2:2] is the sub-list for extension extendee
   366  	0, // [0:2] is the sub-list for field type_name
   367  }
   368  
   369  func init() { file_github_com_google_cloudprober_servers_http_proto_config_proto_init() }
   370  func file_github_com_google_cloudprober_servers_http_proto_config_proto_init() {
   371  	if File_github_com_google_cloudprober_servers_http_proto_config_proto != nil {
   372  		return
   373  	}
   374  	if !protoimpl.UnsafeEnabled {
   375  		file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   376  			switch v := v.(*ServerConf); i {
   377  			case 0:
   378  				return &v.state
   379  			case 1:
   380  				return &v.sizeCache
   381  			case 2:
   382  				return &v.unknownFields
   383  			default:
   384  				return nil
   385  			}
   386  		}
   387  		file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   388  			switch v := v.(*ServerConf_PatternDataHandler); i {
   389  			case 0:
   390  				return &v.state
   391  			case 1:
   392  				return &v.sizeCache
   393  			case 2:
   394  				return &v.unknownFields
   395  			default:
   396  				return nil
   397  			}
   398  		}
   399  	}
   400  	type x struct{}
   401  	out := protoimpl.TypeBuilder{
   402  		File: protoimpl.DescBuilder{
   403  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   404  			RawDescriptor: file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDesc,
   405  			NumEnums:      1,
   406  			NumMessages:   2,
   407  			NumExtensions: 0,
   408  			NumServices:   0,
   409  		},
   410  		GoTypes:           file_github_com_google_cloudprober_servers_http_proto_config_proto_goTypes,
   411  		DependencyIndexes: file_github_com_google_cloudprober_servers_http_proto_config_proto_depIdxs,
   412  		EnumInfos:         file_github_com_google_cloudprober_servers_http_proto_config_proto_enumTypes,
   413  		MessageInfos:      file_github_com_google_cloudprober_servers_http_proto_config_proto_msgTypes,
   414  	}.Build()
   415  	File_github_com_google_cloudprober_servers_http_proto_config_proto = out.File
   416  	file_github_com_google_cloudprober_servers_http_proto_config_proto_rawDesc = nil
   417  	file_github_com_google_cloudprober_servers_http_proto_config_proto_goTypes = nil
   418  	file_github_com_google_cloudprober_servers_http_proto_config_proto_depIdxs = nil
   419  }