1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18class Google_Service_Logging_HttpRequest extends Google_Model 19{ 20 public $cacheFillBytes; 21 public $cacheHit; 22 public $cacheLookup; 23 public $cacheValidatedWithOriginServer; 24 public $latency; 25 public $protocol; 26 public $referer; 27 public $remoteIp; 28 public $requestMethod; 29 public $requestSize; 30 public $requestUrl; 31 public $responseSize; 32 public $serverIp; 33 public $status; 34 public $userAgent; 35 36 public function setCacheFillBytes($cacheFillBytes) 37 { 38 $this->cacheFillBytes = $cacheFillBytes; 39 } 40 public function getCacheFillBytes() 41 { 42 return $this->cacheFillBytes; 43 } 44 public function setCacheHit($cacheHit) 45 { 46 $this->cacheHit = $cacheHit; 47 } 48 public function getCacheHit() 49 { 50 return $this->cacheHit; 51 } 52 public function setCacheLookup($cacheLookup) 53 { 54 $this->cacheLookup = $cacheLookup; 55 } 56 public function getCacheLookup() 57 { 58 return $this->cacheLookup; 59 } 60 public function setCacheValidatedWithOriginServer($cacheValidatedWithOriginServer) 61 { 62 $this->cacheValidatedWithOriginServer = $cacheValidatedWithOriginServer; 63 } 64 public function getCacheValidatedWithOriginServer() 65 { 66 return $this->cacheValidatedWithOriginServer; 67 } 68 public function setLatency($latency) 69 { 70 $this->latency = $latency; 71 } 72 public function getLatency() 73 { 74 return $this->latency; 75 } 76 public function setProtocol($protocol) 77 { 78 $this->protocol = $protocol; 79 } 80 public function getProtocol() 81 { 82 return $this->protocol; 83 } 84 public function setReferer($referer) 85 { 86 $this->referer = $referer; 87 } 88 public function getReferer() 89 { 90 return $this->referer; 91 } 92 public function setRemoteIp($remoteIp) 93 { 94 $this->remoteIp = $remoteIp; 95 } 96 public function getRemoteIp() 97 { 98 return $this->remoteIp; 99 } 100 public function setRequestMethod($requestMethod) 101 { 102 $this->requestMethod = $requestMethod; 103 } 104 public function getRequestMethod() 105 { 106 return $this->requestMethod; 107 } 108 public function setRequestSize($requestSize) 109 { 110 $this->requestSize = $requestSize; 111 } 112 public function getRequestSize() 113 { 114 return $this->requestSize; 115 } 116 public function setRequestUrl($requestUrl) 117 { 118 $this->requestUrl = $requestUrl; 119 } 120 public function getRequestUrl() 121 { 122 return $this->requestUrl; 123 } 124 public function setResponseSize($responseSize) 125 { 126 $this->responseSize = $responseSize; 127 } 128 public function getResponseSize() 129 { 130 return $this->responseSize; 131 } 132 public function setServerIp($serverIp) 133 { 134 $this->serverIp = $serverIp; 135 } 136 public function getServerIp() 137 { 138 return $this->serverIp; 139 } 140 public function setStatus($status) 141 { 142 $this->status = $status; 143 } 144 public function getStatus() 145 { 146 return $this->status; 147 } 148 public function setUserAgent($userAgent) 149 { 150 $this->userAgent = $userAgent; 151 } 152 public function getUserAgent() 153 { 154 return $this->userAgent; 155 } 156} 157