// Code generated by protoc-gen-go.
// source: google/logging/type/http_request.proto
// DO NOT EDIT!

/*
Package _type is a generated protocol buffer package.

It is generated from these files:
	google/logging/type/http_request.proto
	google/logging/type/log_severity.proto

It has these top-level messages:
	HttpRequest
*/
package _type

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

// A common proto for logging HTTP requests.
//
// (-- Next tag: 9 --)
type HttpRequest struct {
	// Request method, such as `GET`, `HEAD`, `PUT` or `POST`.
	RequestMethod string `protobuf:"bytes,1,opt,name=request_method,json=requestMethod" json:"request_method,omitempty"`
	// Contains the scheme (http|https), the host name, the path and the query
	// portion of the URL that was requested.
	RequestUrl string `protobuf:"bytes,2,opt,name=request_url,json=requestUrl" json:"request_url,omitempty"`
	// Size of the HTTP request message in bytes, including request headers and
	// the request body.
	RequestSize int64 `protobuf:"varint,3,opt,name=request_size,json=requestSize" json:"request_size,omitempty"`
	// A response code indicates the status of response, e.g., 200.
	Status int32 `protobuf:"varint,4,opt,name=status" json:"status,omitempty"`
	// Size of the HTTP response message in bytes sent back to the client,
	// including response headers and response body.
	ResponseSize int64 `protobuf:"varint,5,opt,name=response_size,json=responseSize" json:"response_size,omitempty"`
	// User agent sent by the client, e.g., "Mozilla/4.0 (compatible; MSIE 6.0;
	// Windows 98; Q312461; .NET CLR 1.0.3705)".
	UserAgent string `protobuf:"bytes,6,opt,name=user_agent,json=userAgent" json:"user_agent,omitempty"`
	// IP address of the client who issues the HTTP request. Could be either IPv4
	// or IPv6.
	RemoteIp string `protobuf:"bytes,7,opt,name=remote_ip,json=remoteIp" json:"remote_ip,omitempty"`
	// Referer (a.k.a. referrer) URL of request, as defined in
	// http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html.
	Referer string `protobuf:"bytes,8,opt,name=referer" json:"referer,omitempty"`
	// Whether or not an entity was served from cache
	// (with or without validation).
	CacheHit bool `protobuf:"varint,9,opt,name=cache_hit,json=cacheHit" json:"cache_hit,omitempty"`
	// Whether or not the response was validated with the origin server before
	// being served from cache. This field is only meaningful if cache_hit is
	// True.
	ValidatedWithOriginServer bool `protobuf:"varint,10,opt,name=validated_with_origin_server,json=validatedWithOriginServer" json:"validated_with_origin_server,omitempty"`
}

func (m *HttpRequest) Reset()                    { *m = HttpRequest{} }
func (m *HttpRequest) String() string            { return proto.CompactTextString(m) }
func (*HttpRequest) ProtoMessage()               {}
func (*HttpRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }

func init() {
	proto.RegisterType((*HttpRequest)(nil), "google.logging.type.HttpRequest")
}

func init() { proto.RegisterFile("google/logging/type/http_request.proto", fileDescriptor0) }

var fileDescriptor0 = []byte{
	// 324 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x91, 0xc1, 0x4a, 0xeb, 0x40,
	0x14, 0x86, 0x49, 0x7b, 0xdb, 0x26, 0xa7, 0xed, 0xe5, 0x32, 0x17, 0xee, 0x1d, 0x51, 0x31, 0x2a,
	0x4a, 0x36, 0xa6, 0x0b, 0x1f, 0x40, 0xec, 0xaa, 0x2e, 0xc4, 0x92, 0x22, 0x2e, 0x87, 0xd8, 0x1e,
	0x93, 0x81, 0x34, 0x33, 0xce, 0x9c, 0x54, 0xec, 0x1b, 0xfb, 0x16, 0x92, 0x49, 0x22, 0x2e, 0x5c,
	0xce, 0x77, 0xbe, 0x8f, 0x59, 0xfc, 0x70, 0x99, 0x29, 0x95, 0x15, 0x38, 0x2b, 0x54, 0x96, 0xc9,
	0x32, 0x9b, 0xd1, 0xbb, 0xc6, 0x59, 0x4e, 0xa4, 0x85, 0xc1, 0xd7, 0x0a,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