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 18namespace Google\Service\Bigquery; 19 20class GetQueryResultsResponse extends \Google\Collection 21{ 22 protected $collection_key = 'rows'; 23 /** 24 * @var bool 25 */ 26 public $cacheHit; 27 protected $errorsType = ErrorProto::class; 28 protected $errorsDataType = 'array'; 29 /** 30 * @var string 31 */ 32 public $etag; 33 /** 34 * @var bool 35 */ 36 public $jobComplete; 37 protected $jobReferenceType = JobReference::class; 38 protected $jobReferenceDataType = ''; 39 /** 40 * @var string 41 */ 42 public $kind; 43 /** 44 * @var string 45 */ 46 public $numDmlAffectedRows; 47 /** 48 * @var string 49 */ 50 public $pageToken; 51 protected $rowsType = TableRow::class; 52 protected $rowsDataType = 'array'; 53 protected $schemaType = TableSchema::class; 54 protected $schemaDataType = ''; 55 /** 56 * @var string 57 */ 58 public $totalBytesProcessed; 59 /** 60 * @var string 61 */ 62 public $totalRows; 63 64 /** 65 * @param bool 66 */ 67 public function setCacheHit($cacheHit) 68 { 69 $this->cacheHit = $cacheHit; 70 } 71 /** 72 * @return bool 73 */ 74 public function getCacheHit() 75 { 76 return $this->cacheHit; 77 } 78 /** 79 * @param ErrorProto[] 80 */ 81 public function setErrors($errors) 82 { 83 $this->errors = $errors; 84 } 85 /** 86 * @return ErrorProto[] 87 */ 88 public function getErrors() 89 { 90 return $this->errors; 91 } 92 /** 93 * @param string 94 */ 95 public function setEtag($etag) 96 { 97 $this->etag = $etag; 98 } 99 /** 100 * @return string 101 */ 102 public function getEtag() 103 { 104 return $this->etag; 105 } 106 /** 107 * @param bool 108 */ 109 public function setJobComplete($jobComplete) 110 { 111 $this->jobComplete = $jobComplete; 112 } 113 /** 114 * @return bool 115 */ 116 public function getJobComplete() 117 { 118 return $this->jobComplete; 119 } 120 /** 121 * @param JobReference 122 */ 123 public function setJobReference(JobReference $jobReference) 124 { 125 $this->jobReference = $jobReference; 126 } 127 /** 128 * @return JobReference 129 */ 130 public function getJobReference() 131 { 132 return $this->jobReference; 133 } 134 /** 135 * @param string 136 */ 137 public function setKind($kind) 138 { 139 $this->kind = $kind; 140 } 141 /** 142 * @return string 143 */ 144 public function getKind() 145 { 146 return $this->kind; 147 } 148 /** 149 * @param string 150 */ 151 public function setNumDmlAffectedRows($numDmlAffectedRows) 152 { 153 $this->numDmlAffectedRows = $numDmlAffectedRows; 154 } 155 /** 156 * @return string 157 */ 158 public function getNumDmlAffectedRows() 159 { 160 return $this->numDmlAffectedRows; 161 } 162 /** 163 * @param string 164 */ 165 public function setPageToken($pageToken) 166 { 167 $this->pageToken = $pageToken; 168 } 169 /** 170 * @return string 171 */ 172 public function getPageToken() 173 { 174 return $this->pageToken; 175 } 176 /** 177 * @param TableRow[] 178 */ 179 public function setRows($rows) 180 { 181 $this->rows = $rows; 182 } 183 /** 184 * @return TableRow[] 185 */ 186 public function getRows() 187 { 188 return $this->rows; 189 } 190 /** 191 * @param TableSchema 192 */ 193 public function setSchema(TableSchema $schema) 194 { 195 $this->schema = $schema; 196 } 197 /** 198 * @return TableSchema 199 */ 200 public function getSchema() 201 { 202 return $this->schema; 203 } 204 /** 205 * @param string 206 */ 207 public function setTotalBytesProcessed($totalBytesProcessed) 208 { 209 $this->totalBytesProcessed = $totalBytesProcessed; 210 } 211 /** 212 * @return string 213 */ 214 public function getTotalBytesProcessed() 215 { 216 return $this->totalBytesProcessed; 217 } 218 /** 219 * @param string 220 */ 221 public function setTotalRows($totalRows) 222 { 223 $this->totalRows = $totalRows; 224 } 225 /** 226 * @return string 227 */ 228 public function getTotalRows() 229 { 230 return $this->totalRows; 231 } 232} 233 234// Adding a class alias for backwards compatibility with the previous class name. 235class_alias(GetQueryResultsResponse::class, 'Google_Service_Bigquery_GetQueryResultsResponse'); 236