github.com/ava-labs/avalanchego@v1.11.11/proto/pb/http/http.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.33.0
     4  // 	protoc        (unknown)
     5  // source: http/http.proto
     6  
     7  package http
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	emptypb "google.golang.org/protobuf/types/known/emptypb"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  // URL is a net.URL see: https://pkg.go.dev/net/url#URL
    25  type URL struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	// scheme is the url scheme name
    31  	Scheme string `protobuf:"bytes,1,opt,name=scheme,proto3" json:"scheme,omitempty"`
    32  	// opaque is encoded opaque data
    33  	Opaque string `protobuf:"bytes,2,opt,name=opaque,proto3" json:"opaque,omitempty"`
    34  	// user is username and password information
    35  	User *Userinfo `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`
    36  	// host can be in the format host or host:port
    37  	Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
    38  	// path (relative paths may omit leading slash)
    39  	Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
    40  	// raw_path is encoded path hint (see EscapedPath method)
    41  	RawPath string `protobuf:"bytes,6,opt,name=raw_path,json=rawPath,proto3" json:"raw_path,omitempty"`
    42  	// force is append a query ('?') even if RawQuery is empty
    43  	ForceQuery bool `protobuf:"varint,7,opt,name=force_query,json=forceQuery,proto3" json:"force_query,omitempty"`
    44  	// raw_query is encoded query values, without '?'
    45  	RawQuery string `protobuf:"bytes,8,opt,name=raw_query,json=rawQuery,proto3" json:"raw_query,omitempty"`
    46  	// fragment is fragment for references, without '#'
    47  	Fragment string `protobuf:"bytes,9,opt,name=fragment,proto3" json:"fragment,omitempty"`
    48  }
    49  
    50  func (x *URL) Reset() {
    51  	*x = URL{}
    52  	if protoimpl.UnsafeEnabled {
    53  		mi := &file_http_http_proto_msgTypes[0]
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		ms.StoreMessageInfo(mi)
    56  	}
    57  }
    58  
    59  func (x *URL) String() string {
    60  	return protoimpl.X.MessageStringOf(x)
    61  }
    62  
    63  func (*URL) ProtoMessage() {}
    64  
    65  func (x *URL) ProtoReflect() protoreflect.Message {
    66  	mi := &file_http_http_proto_msgTypes[0]
    67  	if protoimpl.UnsafeEnabled && x != nil {
    68  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    69  		if ms.LoadMessageInfo() == nil {
    70  			ms.StoreMessageInfo(mi)
    71  		}
    72  		return ms
    73  	}
    74  	return mi.MessageOf(x)
    75  }
    76  
    77  // Deprecated: Use URL.ProtoReflect.Descriptor instead.
    78  func (*URL) Descriptor() ([]byte, []int) {
    79  	return file_http_http_proto_rawDescGZIP(), []int{0}
    80  }
    81  
    82  func (x *URL) GetScheme() string {
    83  	if x != nil {
    84  		return x.Scheme
    85  	}
    86  	return ""
    87  }
    88  
    89  func (x *URL) GetOpaque() string {
    90  	if x != nil {
    91  		return x.Opaque
    92  	}
    93  	return ""
    94  }
    95  
    96  func (x *URL) GetUser() *Userinfo {
    97  	if x != nil {
    98  		return x.User
    99  	}
   100  	return nil
   101  }
   102  
   103  func (x *URL) GetHost() string {
   104  	if x != nil {
   105  		return x.Host
   106  	}
   107  	return ""
   108  }
   109  
   110  func (x *URL) GetPath() string {
   111  	if x != nil {
   112  		return x.Path
   113  	}
   114  	return ""
   115  }
   116  
   117  func (x *URL) GetRawPath() string {
   118  	if x != nil {
   119  		return x.RawPath
   120  	}
   121  	return ""
   122  }
   123  
   124  func (x *URL) GetForceQuery() bool {
   125  	if x != nil {
   126  		return x.ForceQuery
   127  	}
   128  	return false
   129  }
   130  
   131  func (x *URL) GetRawQuery() string {
   132  	if x != nil {
   133  		return x.RawQuery
   134  	}
   135  	return ""
   136  }
   137  
   138  func (x *URL) GetFragment() string {
   139  	if x != nil {
   140  		return x.Fragment
   141  	}
   142  	return ""
   143  }
   144  
   145  // UserInfo is net.Userinfo see: https://pkg.go.dev/net/url#Userinfo
   146  type Userinfo struct {
   147  	state         protoimpl.MessageState
   148  	sizeCache     protoimpl.SizeCache
   149  	unknownFields protoimpl.UnknownFields
   150  
   151  	// username is the username for the user
   152  	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
   153  	// password is the password for the user
   154  	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
   155  	// password_set is a boolean which is true if the password is set
   156  	PasswordSet bool `protobuf:"varint,3,opt,name=password_set,json=passwordSet,proto3" json:"password_set,omitempty"`
   157  }
   158  
   159  func (x *Userinfo) Reset() {
   160  	*x = Userinfo{}
   161  	if protoimpl.UnsafeEnabled {
   162  		mi := &file_http_http_proto_msgTypes[1]
   163  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   164  		ms.StoreMessageInfo(mi)
   165  	}
   166  }
   167  
   168  func (x *Userinfo) String() string {
   169  	return protoimpl.X.MessageStringOf(x)
   170  }
   171  
   172  func (*Userinfo) ProtoMessage() {}
   173  
   174  func (x *Userinfo) ProtoReflect() protoreflect.Message {
   175  	mi := &file_http_http_proto_msgTypes[1]
   176  	if protoimpl.UnsafeEnabled && x != nil {
   177  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   178  		if ms.LoadMessageInfo() == nil {
   179  			ms.StoreMessageInfo(mi)
   180  		}
   181  		return ms
   182  	}
   183  	return mi.MessageOf(x)
   184  }
   185  
   186  // Deprecated: Use Userinfo.ProtoReflect.Descriptor instead.
   187  func (*Userinfo) Descriptor() ([]byte, []int) {
   188  	return file_http_http_proto_rawDescGZIP(), []int{1}
   189  }
   190  
   191  func (x *Userinfo) GetUsername() string {
   192  	if x != nil {
   193  		return x.Username
   194  	}
   195  	return ""
   196  }
   197  
   198  func (x *Userinfo) GetPassword() string {
   199  	if x != nil {
   200  		return x.Password
   201  	}
   202  	return ""
   203  }
   204  
   205  func (x *Userinfo) GetPasswordSet() bool {
   206  	if x != nil {
   207  		return x.PasswordSet
   208  	}
   209  	return false
   210  }
   211  
   212  type Element struct {
   213  	state         protoimpl.MessageState
   214  	sizeCache     protoimpl.SizeCache
   215  	unknownFields protoimpl.UnknownFields
   216  
   217  	// key is a element key in a key value pair
   218  	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
   219  	// values are a list of strings corresponding to the key
   220  	Values []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
   221  }
   222  
   223  func (x *Element) Reset() {
   224  	*x = Element{}
   225  	if protoimpl.UnsafeEnabled {
   226  		mi := &file_http_http_proto_msgTypes[2]
   227  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   228  		ms.StoreMessageInfo(mi)
   229  	}
   230  }
   231  
   232  func (x *Element) String() string {
   233  	return protoimpl.X.MessageStringOf(x)
   234  }
   235  
   236  func (*Element) ProtoMessage() {}
   237  
   238  func (x *Element) ProtoReflect() protoreflect.Message {
   239  	mi := &file_http_http_proto_msgTypes[2]
   240  	if protoimpl.UnsafeEnabled && x != nil {
   241  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   242  		if ms.LoadMessageInfo() == nil {
   243  			ms.StoreMessageInfo(mi)
   244  		}
   245  		return ms
   246  	}
   247  	return mi.MessageOf(x)
   248  }
   249  
   250  // Deprecated: Use Element.ProtoReflect.Descriptor instead.
   251  func (*Element) Descriptor() ([]byte, []int) {
   252  	return file_http_http_proto_rawDescGZIP(), []int{2}
   253  }
   254  
   255  func (x *Element) GetKey() string {
   256  	if x != nil {
   257  		return x.Key
   258  	}
   259  	return ""
   260  }
   261  
   262  func (x *Element) GetValues() []string {
   263  	if x != nil {
   264  		return x.Values
   265  	}
   266  	return nil
   267  }
   268  
   269  type Certificates struct {
   270  	state         protoimpl.MessageState
   271  	sizeCache     protoimpl.SizeCache
   272  	unknownFields protoimpl.UnknownFields
   273  
   274  	// cert is the certificate body
   275  	Cert [][]byte `protobuf:"bytes,1,rep,name=cert,proto3" json:"cert,omitempty"`
   276  }
   277  
   278  func (x *Certificates) Reset() {
   279  	*x = Certificates{}
   280  	if protoimpl.UnsafeEnabled {
   281  		mi := &file_http_http_proto_msgTypes[3]
   282  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   283  		ms.StoreMessageInfo(mi)
   284  	}
   285  }
   286  
   287  func (x *Certificates) String() string {
   288  	return protoimpl.X.MessageStringOf(x)
   289  }
   290  
   291  func (*Certificates) ProtoMessage() {}
   292  
   293  func (x *Certificates) ProtoReflect() protoreflect.Message {
   294  	mi := &file_http_http_proto_msgTypes[3]
   295  	if protoimpl.UnsafeEnabled && x != nil {
   296  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   297  		if ms.LoadMessageInfo() == nil {
   298  			ms.StoreMessageInfo(mi)
   299  		}
   300  		return ms
   301  	}
   302  	return mi.MessageOf(x)
   303  }
   304  
   305  // Deprecated: Use Certificates.ProtoReflect.Descriptor instead.
   306  func (*Certificates) Descriptor() ([]byte, []int) {
   307  	return file_http_http_proto_rawDescGZIP(), []int{3}
   308  }
   309  
   310  func (x *Certificates) GetCert() [][]byte {
   311  	if x != nil {
   312  		return x.Cert
   313  	}
   314  	return nil
   315  }
   316  
   317  // ConnectionState is tls.ConnectionState see: https://pkg.go.dev/crypto/tls#ConnectionState
   318  type ConnectionState struct {
   319  	state         protoimpl.MessageState
   320  	sizeCache     protoimpl.SizeCache
   321  	unknownFields protoimpl.UnknownFields
   322  
   323  	// version is the TLS version used by the connection (e.g. VersionTLS12)
   324  	Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"`
   325  	// handshake_complete is true if the handshake has concluded
   326  	HandshakeComplete bool `protobuf:"varint,2,opt,name=handshake_complete,json=handshakeComplete,proto3" json:"handshake_complete,omitempty"`
   327  	// did_resume is true if this connection was successfully resumed from a
   328  	// previous session with a session ticket or similar mechanism
   329  	DidResume bool `protobuf:"varint,3,opt,name=did_resume,json=didResume,proto3" json:"did_resume,omitempty"`
   330  	// cipher_suite is the cipher suite negotiated for the connection
   331  	CipherSuite uint32 `protobuf:"varint,4,opt,name=cipher_suite,json=cipherSuite,proto3" json:"cipher_suite,omitempty"`
   332  	// negotiated_protocol is the application protocol negotiated with ALPN
   333  	NegotiatedProtocol string `protobuf:"bytes,5,opt,name=negotiated_protocol,json=negotiatedProtocol,proto3" json:"negotiated_protocol,omitempty"`
   334  	// server_name is the value of the Server Name Indication extension sent by
   335  	// the client
   336  	ServerName string `protobuf:"bytes,6,opt,name=server_name,json=serverName,proto3" json:"server_name,omitempty"`
   337  	// peer_certificates are the parsed certificates sent by the peer, in the
   338  	// order in which they were sent
   339  	PeerCertificates *Certificates `protobuf:"bytes,7,opt,name=peer_certificates,json=peerCertificates,proto3" json:"peer_certificates,omitempty"`
   340  	// verified_chains is a list of one or more chains where the first element is
   341  	// PeerCertificates[0] and the last element is from Config.RootCAs (on the
   342  	// client side) or Config.ClientCAs (on the server side).
   343  	VerifiedChains []*Certificates `protobuf:"bytes,8,rep,name=verified_chains,json=verifiedChains,proto3" json:"verified_chains,omitempty"`
   344  	// signed_certificate_timestamps is a list of SCTs provided by the peer
   345  	// through the TLS handshake for the leaf certificate, if any
   346  	SignedCertificateTimestamps [][]byte `protobuf:"bytes,9,rep,name=signed_certificate_timestamps,json=signedCertificateTimestamps,proto3" json:"signed_certificate_timestamps,omitempty"`
   347  	// ocsp_response is a stapled Online Certificate Status Protocol (OCSP)
   348  	// response provided by the peer for the leaf certificate, if any.
   349  	OcspResponse []byte `protobuf:"bytes,10,opt,name=ocsp_response,json=ocspResponse,proto3" json:"ocsp_response,omitempty"`
   350  }
   351  
   352  func (x *ConnectionState) Reset() {
   353  	*x = ConnectionState{}
   354  	if protoimpl.UnsafeEnabled {
   355  		mi := &file_http_http_proto_msgTypes[4]
   356  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   357  		ms.StoreMessageInfo(mi)
   358  	}
   359  }
   360  
   361  func (x *ConnectionState) String() string {
   362  	return protoimpl.X.MessageStringOf(x)
   363  }
   364  
   365  func (*ConnectionState) ProtoMessage() {}
   366  
   367  func (x *ConnectionState) ProtoReflect() protoreflect.Message {
   368  	mi := &file_http_http_proto_msgTypes[4]
   369  	if protoimpl.UnsafeEnabled && x != nil {
   370  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   371  		if ms.LoadMessageInfo() == nil {
   372  			ms.StoreMessageInfo(mi)
   373  		}
   374  		return ms
   375  	}
   376  	return mi.MessageOf(x)
   377  }
   378  
   379  // Deprecated: Use ConnectionState.ProtoReflect.Descriptor instead.
   380  func (*ConnectionState) Descriptor() ([]byte, []int) {
   381  	return file_http_http_proto_rawDescGZIP(), []int{4}
   382  }
   383  
   384  func (x *ConnectionState) GetVersion() uint32 {
   385  	if x != nil {
   386  		return x.Version
   387  	}
   388  	return 0
   389  }
   390  
   391  func (x *ConnectionState) GetHandshakeComplete() bool {
   392  	if x != nil {
   393  		return x.HandshakeComplete
   394  	}
   395  	return false
   396  }
   397  
   398  func (x *ConnectionState) GetDidResume() bool {
   399  	if x != nil {
   400  		return x.DidResume
   401  	}
   402  	return false
   403  }
   404  
   405  func (x *ConnectionState) GetCipherSuite() uint32 {
   406  	if x != nil {
   407  		return x.CipherSuite
   408  	}
   409  	return 0
   410  }
   411  
   412  func (x *ConnectionState) GetNegotiatedProtocol() string {
   413  	if x != nil {
   414  		return x.NegotiatedProtocol
   415  	}
   416  	return ""
   417  }
   418  
   419  func (x *ConnectionState) GetServerName() string {
   420  	if x != nil {
   421  		return x.ServerName
   422  	}
   423  	return ""
   424  }
   425  
   426  func (x *ConnectionState) GetPeerCertificates() *Certificates {
   427  	if x != nil {
   428  		return x.PeerCertificates
   429  	}
   430  	return nil
   431  }
   432  
   433  func (x *ConnectionState) GetVerifiedChains() []*Certificates {
   434  	if x != nil {
   435  		return x.VerifiedChains
   436  	}
   437  	return nil
   438  }
   439  
   440  func (x *ConnectionState) GetSignedCertificateTimestamps() [][]byte {
   441  	if x != nil {
   442  		return x.SignedCertificateTimestamps
   443  	}
   444  	return nil
   445  }
   446  
   447  func (x *ConnectionState) GetOcspResponse() []byte {
   448  	if x != nil {
   449  		return x.OcspResponse
   450  	}
   451  	return nil
   452  }
   453  
   454  // Request is an http.Request see: https://pkg.go.dev/net/http#Request
   455  type Request struct {
   456  	state         protoimpl.MessageState
   457  	sizeCache     protoimpl.SizeCache
   458  	unknownFields protoimpl.UnknownFields
   459  
   460  	// method specifies the HTTP method (GET, POST, PUT, etc.)
   461  	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
   462  	// url specifies either the URI being requested (for server requests)
   463  	// or the URL to access (for client requests)
   464  	Url *URL `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
   465  	// proto is the protocol version for incoming server requests
   466  	Proto string `protobuf:"bytes,3,opt,name=proto,proto3" json:"proto,omitempty"`
   467  	// proto_major is the major version
   468  	ProtoMajor int32 `protobuf:"varint,4,opt,name=proto_major,json=protoMajor,proto3" json:"proto_major,omitempty"`
   469  	// proto_minor is the minor version
   470  	ProtoMinor int32 `protobuf:"varint,5,opt,name=proto_minor,json=protoMinor,proto3" json:"proto_minor,omitempty"`
   471  	// header contains the request header fields either received
   472  	// by the server or to be sent by the client
   473  	Header []*Element `protobuf:"bytes,6,rep,name=header,proto3" json:"header,omitempty"`
   474  	// body is the request payload in bytes
   475  	Body []byte `protobuf:"bytes,7,opt,name=body,proto3" json:"body,omitempty"`
   476  	// content_length records the length of the associated content
   477  	ContentLength int64 `protobuf:"varint,8,opt,name=content_length,json=contentLength,proto3" json:"content_length,omitempty"`
   478  	// transfer_encoding lists the transfer encodings from outermost to
   479  	// innermost
   480  	TransferEncoding []string `protobuf:"bytes,9,rep,name=transfer_encoding,json=transferEncoding,proto3" json:"transfer_encoding,omitempty"`
   481  	// host specifies the host on which the URL is sought
   482  	Host string `protobuf:"bytes,10,opt,name=host,proto3" json:"host,omitempty"`
   483  	// form contains the parsed form data, including both the URL
   484  	// field's query parameters and the PATCH, POST, or PUT form data
   485  	Form []*Element `protobuf:"bytes,11,rep,name=form,proto3" json:"form,omitempty"`
   486  	// post_form contains the parsed form data from PATCH, POST
   487  	// or PUT body parameters
   488  	PostForm []*Element `protobuf:"bytes,12,rep,name=post_form,json=postForm,proto3" json:"post_form,omitempty"`
   489  	// trailer_keys specifies additional headers that are sent after the request
   490  	TrailerKeys []string `protobuf:"bytes,13,rep,name=trailer_keys,json=trailerKeys,proto3" json:"trailer_keys,omitempty"`
   491  	// remote_addr allows HTTP servers and other software to record
   492  	// the network address that sent the request
   493  	RemoteAddr string `protobuf:"bytes,14,opt,name=remote_addr,json=remoteAddr,proto3" json:"remote_addr,omitempty"`
   494  	// request_uri is the unmodified request-target
   495  	RequestUri string `protobuf:"bytes,15,opt,name=request_uri,json=requestUri,proto3" json:"request_uri,omitempty"`
   496  	// tls connection state
   497  	Tls *ConnectionState `protobuf:"bytes,16,opt,name=tls,proto3" json:"tls,omitempty"`
   498  }
   499  
   500  func (x *Request) Reset() {
   501  	*x = Request{}
   502  	if protoimpl.UnsafeEnabled {
   503  		mi := &file_http_http_proto_msgTypes[5]
   504  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   505  		ms.StoreMessageInfo(mi)
   506  	}
   507  }
   508  
   509  func (x *Request) String() string {
   510  	return protoimpl.X.MessageStringOf(x)
   511  }
   512  
   513  func (*Request) ProtoMessage() {}
   514  
   515  func (x *Request) ProtoReflect() protoreflect.Message {
   516  	mi := &file_http_http_proto_msgTypes[5]
   517  	if protoimpl.UnsafeEnabled && x != nil {
   518  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   519  		if ms.LoadMessageInfo() == nil {
   520  			ms.StoreMessageInfo(mi)
   521  		}
   522  		return ms
   523  	}
   524  	return mi.MessageOf(x)
   525  }
   526  
   527  // Deprecated: Use Request.ProtoReflect.Descriptor instead.
   528  func (*Request) Descriptor() ([]byte, []int) {
   529  	return file_http_http_proto_rawDescGZIP(), []int{5}
   530  }
   531  
   532  func (x *Request) GetMethod() string {
   533  	if x != nil {
   534  		return x.Method
   535  	}
   536  	return ""
   537  }
   538  
   539  func (x *Request) GetUrl() *URL {
   540  	if x != nil {
   541  		return x.Url
   542  	}
   543  	return nil
   544  }
   545  
   546  func (x *Request) GetProto() string {
   547  	if x != nil {
   548  		return x.Proto
   549  	}
   550  	return ""
   551  }
   552  
   553  func (x *Request) GetProtoMajor() int32 {
   554  	if x != nil {
   555  		return x.ProtoMajor
   556  	}
   557  	return 0
   558  }
   559  
   560  func (x *Request) GetProtoMinor() int32 {
   561  	if x != nil {
   562  		return x.ProtoMinor
   563  	}
   564  	return 0
   565  }
   566  
   567  func (x *Request) GetHeader() []*Element {
   568  	if x != nil {
   569  		return x.Header
   570  	}
   571  	return nil
   572  }
   573  
   574  func (x *Request) GetBody() []byte {
   575  	if x != nil {
   576  		return x.Body
   577  	}
   578  	return nil
   579  }
   580  
   581  func (x *Request) GetContentLength() int64 {
   582  	if x != nil {
   583  		return x.ContentLength
   584  	}
   585  	return 0
   586  }
   587  
   588  func (x *Request) GetTransferEncoding() []string {
   589  	if x != nil {
   590  		return x.TransferEncoding
   591  	}
   592  	return nil
   593  }
   594  
   595  func (x *Request) GetHost() string {
   596  	if x != nil {
   597  		return x.Host
   598  	}
   599  	return ""
   600  }
   601  
   602  func (x *Request) GetForm() []*Element {
   603  	if x != nil {
   604  		return x.Form
   605  	}
   606  	return nil
   607  }
   608  
   609  func (x *Request) GetPostForm() []*Element {
   610  	if x != nil {
   611  		return x.PostForm
   612  	}
   613  	return nil
   614  }
   615  
   616  func (x *Request) GetTrailerKeys() []string {
   617  	if x != nil {
   618  		return x.TrailerKeys
   619  	}
   620  	return nil
   621  }
   622  
   623  func (x *Request) GetRemoteAddr() string {
   624  	if x != nil {
   625  		return x.RemoteAddr
   626  	}
   627  	return ""
   628  }
   629  
   630  func (x *Request) GetRequestUri() string {
   631  	if x != nil {
   632  		return x.RequestUri
   633  	}
   634  	return ""
   635  }
   636  
   637  func (x *Request) GetTls() *ConnectionState {
   638  	if x != nil {
   639  		return x.Tls
   640  	}
   641  	return nil
   642  }
   643  
   644  type ResponseWriter struct {
   645  	state         protoimpl.MessageState
   646  	sizeCache     protoimpl.SizeCache
   647  	unknownFields protoimpl.UnknownFields
   648  
   649  	// header returns the header map that will be sent by
   650  	// WriteHeader.
   651  	Header []*Element `protobuf:"bytes,1,rep,name=header,proto3" json:"header,omitempty"`
   652  	// server_addr is the address of the gRPC server hosting the Writer service
   653  	ServerAddr string `protobuf:"bytes,2,opt,name=server_addr,json=serverAddr,proto3" json:"server_addr,omitempty"`
   654  }
   655  
   656  func (x *ResponseWriter) Reset() {
   657  	*x = ResponseWriter{}
   658  	if protoimpl.UnsafeEnabled {
   659  		mi := &file_http_http_proto_msgTypes[6]
   660  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   661  		ms.StoreMessageInfo(mi)
   662  	}
   663  }
   664  
   665  func (x *ResponseWriter) String() string {
   666  	return protoimpl.X.MessageStringOf(x)
   667  }
   668  
   669  func (*ResponseWriter) ProtoMessage() {}
   670  
   671  func (x *ResponseWriter) ProtoReflect() protoreflect.Message {
   672  	mi := &file_http_http_proto_msgTypes[6]
   673  	if protoimpl.UnsafeEnabled && x != nil {
   674  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   675  		if ms.LoadMessageInfo() == nil {
   676  			ms.StoreMessageInfo(mi)
   677  		}
   678  		return ms
   679  	}
   680  	return mi.MessageOf(x)
   681  }
   682  
   683  // Deprecated: Use ResponseWriter.ProtoReflect.Descriptor instead.
   684  func (*ResponseWriter) Descriptor() ([]byte, []int) {
   685  	return file_http_http_proto_rawDescGZIP(), []int{6}
   686  }
   687  
   688  func (x *ResponseWriter) GetHeader() []*Element {
   689  	if x != nil {
   690  		return x.Header
   691  	}
   692  	return nil
   693  }
   694  
   695  func (x *ResponseWriter) GetServerAddr() string {
   696  	if x != nil {
   697  		return x.ServerAddr
   698  	}
   699  	return ""
   700  }
   701  
   702  type HTTPRequest struct {
   703  	state         protoimpl.MessageState
   704  	sizeCache     protoimpl.SizeCache
   705  	unknownFields protoimpl.UnknownFields
   706  
   707  	// response_writer is used by an HTTP handler to construct an HTTP response
   708  	ResponseWriter *ResponseWriter `protobuf:"bytes,1,opt,name=response_writer,json=responseWriter,proto3" json:"response_writer,omitempty"`
   709  	// request is an http request
   710  	Request *Request `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
   711  }
   712  
   713  func (x *HTTPRequest) Reset() {
   714  	*x = HTTPRequest{}
   715  	if protoimpl.UnsafeEnabled {
   716  		mi := &file_http_http_proto_msgTypes[7]
   717  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   718  		ms.StoreMessageInfo(mi)
   719  	}
   720  }
   721  
   722  func (x *HTTPRequest) String() string {
   723  	return protoimpl.X.MessageStringOf(x)
   724  }
   725  
   726  func (*HTTPRequest) ProtoMessage() {}
   727  
   728  func (x *HTTPRequest) ProtoReflect() protoreflect.Message {
   729  	mi := &file_http_http_proto_msgTypes[7]
   730  	if protoimpl.UnsafeEnabled && x != nil {
   731  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   732  		if ms.LoadMessageInfo() == nil {
   733  			ms.StoreMessageInfo(mi)
   734  		}
   735  		return ms
   736  	}
   737  	return mi.MessageOf(x)
   738  }
   739  
   740  // Deprecated: Use HTTPRequest.ProtoReflect.Descriptor instead.
   741  func (*HTTPRequest) Descriptor() ([]byte, []int) {
   742  	return file_http_http_proto_rawDescGZIP(), []int{7}
   743  }
   744  
   745  func (x *HTTPRequest) GetResponseWriter() *ResponseWriter {
   746  	if x != nil {
   747  		return x.ResponseWriter
   748  	}
   749  	return nil
   750  }
   751  
   752  func (x *HTTPRequest) GetRequest() *Request {
   753  	if x != nil {
   754  		return x.Request
   755  	}
   756  	return nil
   757  }
   758  
   759  type HandleSimpleHTTPRequest struct {
   760  	state         protoimpl.MessageState
   761  	sizeCache     protoimpl.SizeCache
   762  	unknownFields protoimpl.UnknownFields
   763  
   764  	// method specifies the HTTP method (GET, POST, PUT, etc.)
   765  	Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
   766  	// url specifies either the URI being requested
   767  	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
   768  	// headers contains the request header fields either received
   769  	// by the server or to be sent by the client
   770  	Headers []*Element `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty"`
   771  	// body is the request payload in bytes
   772  	Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
   773  }
   774  
   775  func (x *HandleSimpleHTTPRequest) Reset() {
   776  	*x = HandleSimpleHTTPRequest{}
   777  	if protoimpl.UnsafeEnabled {
   778  		mi := &file_http_http_proto_msgTypes[8]
   779  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   780  		ms.StoreMessageInfo(mi)
   781  	}
   782  }
   783  
   784  func (x *HandleSimpleHTTPRequest) String() string {
   785  	return protoimpl.X.MessageStringOf(x)
   786  }
   787  
   788  func (*HandleSimpleHTTPRequest) ProtoMessage() {}
   789  
   790  func (x *HandleSimpleHTTPRequest) ProtoReflect() protoreflect.Message {
   791  	mi := &file_http_http_proto_msgTypes[8]
   792  	if protoimpl.UnsafeEnabled && x != nil {
   793  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   794  		if ms.LoadMessageInfo() == nil {
   795  			ms.StoreMessageInfo(mi)
   796  		}
   797  		return ms
   798  	}
   799  	return mi.MessageOf(x)
   800  }
   801  
   802  // Deprecated: Use HandleSimpleHTTPRequest.ProtoReflect.Descriptor instead.
   803  func (*HandleSimpleHTTPRequest) Descriptor() ([]byte, []int) {
   804  	return file_http_http_proto_rawDescGZIP(), []int{8}
   805  }
   806  
   807  func (x *HandleSimpleHTTPRequest) GetMethod() string {
   808  	if x != nil {
   809  		return x.Method
   810  	}
   811  	return ""
   812  }
   813  
   814  func (x *HandleSimpleHTTPRequest) GetUrl() string {
   815  	if x != nil {
   816  		return x.Url
   817  	}
   818  	return ""
   819  }
   820  
   821  func (x *HandleSimpleHTTPRequest) GetHeaders() []*Element {
   822  	if x != nil {
   823  		return x.Headers
   824  	}
   825  	return nil
   826  }
   827  
   828  func (x *HandleSimpleHTTPRequest) GetBody() []byte {
   829  	if x != nil {
   830  		return x.Body
   831  	}
   832  	return nil
   833  }
   834  
   835  type HandleSimpleHTTPResponse struct {
   836  	state         protoimpl.MessageState
   837  	sizeCache     protoimpl.SizeCache
   838  	unknownFields protoimpl.UnknownFields
   839  
   840  	// code is the response code
   841  	Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
   842  	// headers contains the request header fields either received
   843  	// by the server or to be sent by the client
   844  	Headers []*Element `protobuf:"bytes,2,rep,name=headers,proto3" json:"headers,omitempty"`
   845  	// body is the response payload in bytes
   846  	Body []byte `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
   847  }
   848  
   849  func (x *HandleSimpleHTTPResponse) Reset() {
   850  	*x = HandleSimpleHTTPResponse{}
   851  	if protoimpl.UnsafeEnabled {
   852  		mi := &file_http_http_proto_msgTypes[9]
   853  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   854  		ms.StoreMessageInfo(mi)
   855  	}
   856  }
   857  
   858  func (x *HandleSimpleHTTPResponse) String() string {
   859  	return protoimpl.X.MessageStringOf(x)
   860  }
   861  
   862  func (*HandleSimpleHTTPResponse) ProtoMessage() {}
   863  
   864  func (x *HandleSimpleHTTPResponse) ProtoReflect() protoreflect.Message {
   865  	mi := &file_http_http_proto_msgTypes[9]
   866  	if protoimpl.UnsafeEnabled && x != nil {
   867  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   868  		if ms.LoadMessageInfo() == nil {
   869  			ms.StoreMessageInfo(mi)
   870  		}
   871  		return ms
   872  	}
   873  	return mi.MessageOf(x)
   874  }
   875  
   876  // Deprecated: Use HandleSimpleHTTPResponse.ProtoReflect.Descriptor instead.
   877  func (*HandleSimpleHTTPResponse) Descriptor() ([]byte, []int) {
   878  	return file_http_http_proto_rawDescGZIP(), []int{9}
   879  }
   880  
   881  func (x *HandleSimpleHTTPResponse) GetCode() int32 {
   882  	if x != nil {
   883  		return x.Code
   884  	}
   885  	return 0
   886  }
   887  
   888  func (x *HandleSimpleHTTPResponse) GetHeaders() []*Element {
   889  	if x != nil {
   890  		return x.Headers
   891  	}
   892  	return nil
   893  }
   894  
   895  func (x *HandleSimpleHTTPResponse) GetBody() []byte {
   896  	if x != nil {
   897  		return x.Body
   898  	}
   899  	return nil
   900  }
   901  
   902  var File_http_http_proto protoreflect.FileDescriptor
   903  
   904  var file_http_http_proto_rawDesc = []byte{
   905  	0x0a, 0x0f, 0x68, 0x74, 0x74, 0x70, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   906  	0x6f, 0x12, 0x04, 0x68, 0x74, 0x74, 0x70, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   907  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70,
   908  	0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf6, 0x01, 0x0a, 0x03, 0x55, 0x52, 0x4c, 0x12, 0x16, 0x0a, 0x06,
   909  	0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63,
   910  	0x68, 0x65, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x18, 0x02,
   911  	0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x61, 0x71, 0x75, 0x65, 0x12, 0x22, 0x0a, 0x04,
   912  	0x75, 0x73, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x68, 0x74, 0x74,
   913  	0x70, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72,
   914  	0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
   915  	0x68, 0x6f, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01,
   916  	0x28, 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x61, 0x77, 0x5f,
   917  	0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x61, 0x77, 0x50,
   918  	0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x5f, 0x71, 0x75, 0x65,
   919  	0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x51,
   920  	0x75, 0x65, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x61, 0x77, 0x5f, 0x71, 0x75, 0x65, 0x72,
   921  	0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x61, 0x77, 0x51, 0x75, 0x65, 0x72,
   922  	0x79, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x09, 0x20,
   923  	0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x72, 0x61, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x65, 0x0a,
   924  	0x08, 0x55, 0x73, 0x65, 0x72, 0x69, 0x6e, 0x66, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65,
   925  	0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65,
   926  	0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
   927  	0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
   928  	0x64, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x5f, 0x73, 0x65,
   929  	0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72,
   930  	0x64, 0x53, 0x65, 0x74, 0x22, 0x33, 0x0a, 0x07, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x12,
   931  	0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
   932  	0x79, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
   933  	0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x22, 0x0a, 0x0c, 0x43, 0x65, 0x72,
   934  	0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x65, 0x72,
   935  	0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c, 0x52, 0x04, 0x63, 0x65, 0x72, 0x74, 0x22, 0xd5, 0x03,
   936  	0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74,
   937  	0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01,
   938  	0x28, 0x0d, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x12, 0x68,
   939  	0x61, 0x6e, 0x64, 0x73, 0x68, 0x61, 0x6b, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
   940  	0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x68, 0x61, 0x6e, 0x64, 0x73, 0x68, 0x61,
   941  	0x6b, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x69,
   942  	0x64, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09,
   943  	0x64, 0x69, 0x64, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x69, 0x70,
   944  	0x68, 0x65, 0x72, 0x5f, 0x73, 0x75, 0x69, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0d, 0x52,
   945  	0x0b, 0x63, 0x69, 0x70, 0x68, 0x65, 0x72, 0x53, 0x75, 0x69, 0x74, 0x65, 0x12, 0x2f, 0x0a, 0x13,
   946  	0x6e, 0x65, 0x67, 0x6f, 0x74, 0x69, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   947  	0x63, 0x6f, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6e, 0x65, 0x67, 0x6f, 0x74,
   948  	0x69, 0x61, 0x74, 0x65, 0x64, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x1f, 0x0a,
   949  	0x0b, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01,
   950  	0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x3f,
   951  	0x0a, 0x11, 0x70, 0x65, 0x65, 0x72, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
   952  	0x74, 0x65, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x68, 0x74, 0x74, 0x70,
   953  	0x2e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x52, 0x10, 0x70,
   954  	0x65, 0x65, 0x72, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x12,
   955  	0x3b, 0x0a, 0x0f, 0x76, 0x65, 0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x5f, 0x63, 0x68, 0x61, 0x69,
   956  	0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e,
   957  	0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x52, 0x0e, 0x76, 0x65,
   958  	0x72, 0x69, 0x66, 0x69, 0x65, 0x64, 0x43, 0x68, 0x61, 0x69, 0x6e, 0x73, 0x12, 0x42, 0x0a, 0x1d,
   959  	0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61,
   960  	0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x18, 0x09, 0x20,
   961  	0x03, 0x28, 0x0c, 0x52, 0x1b, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x43, 0x65, 0x72, 0x74, 0x69,
   962  	0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73,
   963  	0x12, 0x23, 0x0a, 0x0d, 0x6f, 0x63, 0x73, 0x70, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
   964  	0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x6f, 0x63, 0x73, 0x70, 0x52, 0x65, 0x73,
   965  	0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x96, 0x04, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
   966  	0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
   967  	0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1b, 0x0a, 0x03, 0x75, 0x72, 0x6c,
   968  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x09, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x55, 0x52,
   969  	0x4c, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x18,
   970  	0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x0a, 0x0b,
   971  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28,
   972  	0x05, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x4d, 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x1f, 0x0a,
   973  	0x0b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x05, 0x20, 0x01,
   974  	0x28, 0x05, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x4d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x25,
   975  	0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d,
   976  	0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x06, 0x68,
   977  	0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x07, 0x20,
   978  	0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e,
   979  	0x74, 0x65, 0x6e, 0x74, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x08, 0x20, 0x01, 0x28,
   980  	0x03, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68,
   981  	0x12, 0x2b, 0x0a, 0x11, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x66, 0x65, 0x72, 0x5f, 0x65, 0x6e, 0x63,
   982  	0x6f, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x74, 0x72, 0x61,
   983  	0x6e, 0x73, 0x66, 0x65, 0x72, 0x45, 0x6e, 0x63, 0x6f, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x12, 0x0a,
   984  	0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73,
   985  	0x74, 0x12, 0x21, 0x0a, 0x04, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32,
   986  	0x0d, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04,
   987  	0x66, 0x6f, 0x72, 0x6d, 0x12, 0x2a, 0x0a, 0x09, 0x70, 0x6f, 0x73, 0x74, 0x5f, 0x66, 0x6f, 0x72,
   988  	0x6d, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x45,
   989  	0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x74, 0x46, 0x6f, 0x72, 0x6d,
   990  	0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x6b, 0x65, 0x79, 0x73,
   991  	0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x69, 0x6c, 0x65, 0x72, 0x4b,
   992  	0x65, 0x79, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65, 0x5f, 0x61, 0x64,
   993  	0x64, 0x72, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6d, 0x6f, 0x74, 0x65,
   994  	0x41, 0x64, 0x64, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f,
   995  	0x75, 0x72, 0x69, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65,
   996  	0x73, 0x74, 0x55, 0x72, 0x69, 0x12, 0x27, 0x0a, 0x03, 0x74, 0x6c, 0x73, 0x18, 0x10, 0x20, 0x01,
   997  	0x28, 0x0b, 0x32, 0x15, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63,
   998  	0x74, 0x69, 0x6f, 0x6e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x03, 0x74, 0x6c, 0x73, 0x22, 0x58,
   999  	0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x57, 0x72, 0x69, 0x74, 0x65, 0x72,
  1000  	0x12, 0x25, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  1001  	0x32, 0x0d, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52,
  1002  	0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x65,
  1003  	0x72, 0x5f, 0x61, 0x64, 0x64, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65,
  1004  	0x72, 0x76, 0x65, 0x72, 0x41, 0x64, 0x64, 0x72, 0x22, 0x75, 0x0a, 0x0b, 0x48, 0x54, 0x54, 0x50,
  1005  	0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x70, 0x6f,
  1006  	0x6e, 0x73, 0x65, 0x5f, 0x77, 0x72, 0x69, 0x74, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1007  	0x32, 0x14, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1008  	0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1009  	0x57, 0x72, 0x69, 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
  1010  	0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x52,
  1011  	0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x07, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
  1012  	0x80, 0x01, 0x0a, 0x17, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65,
  1013  	0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x6d,
  1014  	0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74,
  1015  	0x68, 0x6f, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
  1016  	0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x27, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73,
  1017  	0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x45, 0x6c,
  1018  	0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12,
  1019  	0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f,
  1020  	0x64, 0x79, 0x22, 0x6b, 0x0a, 0x18, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x69, 0x6d, 0x70,
  1021  	0x6c, 0x65, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12,
  1022  	0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f,
  1023  	0x64, 0x65, 0x12, 0x27, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x02, 0x20,
  1024  	0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x45, 0x6c, 0x65, 0x6d, 0x65,
  1025  	0x6e, 0x74, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62,
  1026  	0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x32,
  1027  	0x8a, 0x01, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x12, 0x33, 0x0a, 0x06, 0x48, 0x61, 0x6e, 0x64,
  1028  	0x6c, 0x65, 0x12, 0x11, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65,
  1029  	0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  1030  	0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x4d, 0x0a,
  1031  	0x0c, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x12, 0x1d, 0x2e,
  1032  	0x68, 0x74, 0x74, 0x70, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x69, 0x6d, 0x70, 0x6c,
  1033  	0x65, 0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x68,
  1034  	0x74, 0x74, 0x70, 0x2e, 0x48, 0x61, 0x6e, 0x64, 0x6c, 0x65, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65,
  1035  	0x48, 0x54, 0x54, 0x50, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2f, 0x5a, 0x2d,
  1036  	0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x76, 0x61, 0x2d, 0x6c,
  1037  	0x61, 0x62, 0x73, 0x2f, 0x61, 0x76, 0x61, 0x6c, 0x61, 0x6e, 0x63, 0x68, 0x65, 0x67, 0x6f, 0x2f,
  1038  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x70, 0x62, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x62, 0x06, 0x70,
  1039  	0x72, 0x6f, 0x74, 0x6f, 0x33,
  1040  }
  1041  
  1042  var (
  1043  	file_http_http_proto_rawDescOnce sync.Once
  1044  	file_http_http_proto_rawDescData = file_http_http_proto_rawDesc
  1045  )
  1046  
  1047  func file_http_http_proto_rawDescGZIP() []byte {
  1048  	file_http_http_proto_rawDescOnce.Do(func() {
  1049  		file_http_http_proto_rawDescData = protoimpl.X.CompressGZIP(file_http_http_proto_rawDescData)
  1050  	})
  1051  	return file_http_http_proto_rawDescData
  1052  }
  1053  
  1054  var file_http_http_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
  1055  var file_http_http_proto_goTypes = []interface{}{
  1056  	(*URL)(nil),                      // 0: http.URL
  1057  	(*Userinfo)(nil),                 // 1: http.Userinfo
  1058  	(*Element)(nil),                  // 2: http.Element
  1059  	(*Certificates)(nil),             // 3: http.Certificates
  1060  	(*ConnectionState)(nil),          // 4: http.ConnectionState
  1061  	(*Request)(nil),                  // 5: http.Request
  1062  	(*ResponseWriter)(nil),           // 6: http.ResponseWriter
  1063  	(*HTTPRequest)(nil),              // 7: http.HTTPRequest
  1064  	(*HandleSimpleHTTPRequest)(nil),  // 8: http.HandleSimpleHTTPRequest
  1065  	(*HandleSimpleHTTPResponse)(nil), // 9: http.HandleSimpleHTTPResponse
  1066  	(*emptypb.Empty)(nil),            // 10: google.protobuf.Empty
  1067  }
  1068  var file_http_http_proto_depIdxs = []int32{
  1069  	1,  // 0: http.URL.user:type_name -> http.Userinfo
  1070  	3,  // 1: http.ConnectionState.peer_certificates:type_name -> http.Certificates
  1071  	3,  // 2: http.ConnectionState.verified_chains:type_name -> http.Certificates
  1072  	0,  // 3: http.Request.url:type_name -> http.URL
  1073  	2,  // 4: http.Request.header:type_name -> http.Element
  1074  	2,  // 5: http.Request.form:type_name -> http.Element
  1075  	2,  // 6: http.Request.post_form:type_name -> http.Element
  1076  	4,  // 7: http.Request.tls:type_name -> http.ConnectionState
  1077  	2,  // 8: http.ResponseWriter.header:type_name -> http.Element
  1078  	6,  // 9: http.HTTPRequest.response_writer:type_name -> http.ResponseWriter
  1079  	5,  // 10: http.HTTPRequest.request:type_name -> http.Request
  1080  	2,  // 11: http.HandleSimpleHTTPRequest.headers:type_name -> http.Element
  1081  	2,  // 12: http.HandleSimpleHTTPResponse.headers:type_name -> http.Element
  1082  	7,  // 13: http.HTTP.Handle:input_type -> http.HTTPRequest
  1083  	8,  // 14: http.HTTP.HandleSimple:input_type -> http.HandleSimpleHTTPRequest
  1084  	10, // 15: http.HTTP.Handle:output_type -> google.protobuf.Empty
  1085  	9,  // 16: http.HTTP.HandleSimple:output_type -> http.HandleSimpleHTTPResponse
  1086  	15, // [15:17] is the sub-list for method output_type
  1087  	13, // [13:15] is the sub-list for method input_type
  1088  	13, // [13:13] is the sub-list for extension type_name
  1089  	13, // [13:13] is the sub-list for extension extendee
  1090  	0,  // [0:13] is the sub-list for field type_name
  1091  }
  1092  
  1093  func init() { file_http_http_proto_init() }
  1094  func file_http_http_proto_init() {
  1095  	if File_http_http_proto != nil {
  1096  		return
  1097  	}
  1098  	if !protoimpl.UnsafeEnabled {
  1099  		file_http_http_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  1100  			switch v := v.(*URL); i {
  1101  			case 0:
  1102  				return &v.state
  1103  			case 1:
  1104  				return &v.sizeCache
  1105  			case 2:
  1106  				return &v.unknownFields
  1107  			default:
  1108  				return nil
  1109  			}
  1110  		}
  1111  		file_http_http_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  1112  			switch v := v.(*Userinfo); i {
  1113  			case 0:
  1114  				return &v.state
  1115  			case 1:
  1116  				return &v.sizeCache
  1117  			case 2:
  1118  				return &v.unknownFields
  1119  			default:
  1120  				return nil
  1121  			}
  1122  		}
  1123  		file_http_http_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  1124  			switch v := v.(*Element); i {
  1125  			case 0:
  1126  				return &v.state
  1127  			case 1:
  1128  				return &v.sizeCache
  1129  			case 2:
  1130  				return &v.unknownFields
  1131  			default:
  1132  				return nil
  1133  			}
  1134  		}
  1135  		file_http_http_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  1136  			switch v := v.(*Certificates); i {
  1137  			case 0:
  1138  				return &v.state
  1139  			case 1:
  1140  				return &v.sizeCache
  1141  			case 2:
  1142  				return &v.unknownFields
  1143  			default:
  1144  				return nil
  1145  			}
  1146  		}
  1147  		file_http_http_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  1148  			switch v := v.(*ConnectionState); i {
  1149  			case 0:
  1150  				return &v.state
  1151  			case 1:
  1152  				return &v.sizeCache
  1153  			case 2:
  1154  				return &v.unknownFields
  1155  			default:
  1156  				return nil
  1157  			}
  1158  		}
  1159  		file_http_http_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  1160  			switch v := v.(*Request); i {
  1161  			case 0:
  1162  				return &v.state
  1163  			case 1:
  1164  				return &v.sizeCache
  1165  			case 2:
  1166  				return &v.unknownFields
  1167  			default:
  1168  				return nil
  1169  			}
  1170  		}
  1171  		file_http_http_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  1172  			switch v := v.(*ResponseWriter); i {
  1173  			case 0:
  1174  				return &v.state
  1175  			case 1:
  1176  				return &v.sizeCache
  1177  			case 2:
  1178  				return &v.unknownFields
  1179  			default:
  1180  				return nil
  1181  			}
  1182  		}
  1183  		file_http_http_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  1184  			switch v := v.(*HTTPRequest); i {
  1185  			case 0:
  1186  				return &v.state
  1187  			case 1:
  1188  				return &v.sizeCache
  1189  			case 2:
  1190  				return &v.unknownFields
  1191  			default:
  1192  				return nil
  1193  			}
  1194  		}
  1195  		file_http_http_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  1196  			switch v := v.(*HandleSimpleHTTPRequest); i {
  1197  			case 0:
  1198  				return &v.state
  1199  			case 1:
  1200  				return &v.sizeCache
  1201  			case 2:
  1202  				return &v.unknownFields
  1203  			default:
  1204  				return nil
  1205  			}
  1206  		}
  1207  		file_http_http_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  1208  			switch v := v.(*HandleSimpleHTTPResponse); i {
  1209  			case 0:
  1210  				return &v.state
  1211  			case 1:
  1212  				return &v.sizeCache
  1213  			case 2:
  1214  				return &v.unknownFields
  1215  			default:
  1216  				return nil
  1217  			}
  1218  		}
  1219  	}
  1220  	type x struct{}
  1221  	out := protoimpl.TypeBuilder{
  1222  		File: protoimpl.DescBuilder{
  1223  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1224  			RawDescriptor: file_http_http_proto_rawDesc,
  1225  			NumEnums:      0,
  1226  			NumMessages:   10,
  1227  			NumExtensions: 0,
  1228  			NumServices:   1,
  1229  		},
  1230  		GoTypes:           file_http_http_proto_goTypes,
  1231  		DependencyIndexes: file_http_http_proto_depIdxs,
  1232  		MessageInfos:      file_http_http_proto_msgTypes,
  1233  	}.Build()
  1234  	File_http_http_proto = out.File
  1235  	file_http_http_proto_rawDesc = nil
  1236  	file_http_http_proto_goTypes = nil
  1237  	file_http_http_proto_depIdxs = nil
  1238  }