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_Document_GoogleCloudDocumentaiV1beta3DocumentPage extends Google_Collection 19{ 20 protected $collection_key = 'visualElements'; 21 protected $blocksType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageBlock'; 22 protected $blocksDataType = 'array'; 23 protected $detectedLanguagesType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage'; 24 protected $detectedLanguagesDataType = 'array'; 25 protected $dimensionType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageDimension'; 26 protected $dimensionDataType = ''; 27 protected $formFieldsType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageFormField'; 28 protected $formFieldsDataType = 'array'; 29 protected $imageType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageImage'; 30 protected $imageDataType = ''; 31 protected $layoutType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageLayout'; 32 protected $layoutDataType = ''; 33 protected $linesType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageLine'; 34 protected $linesDataType = 'array'; 35 public $pageNumber; 36 protected $paragraphsType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageParagraph'; 37 protected $paragraphsDataType = 'array'; 38 protected $tablesType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageTable'; 39 protected $tablesDataType = 'array'; 40 protected $tokensType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageToken'; 41 protected $tokensDataType = 'array'; 42 protected $transformsType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageMatrix'; 43 protected $transformsDataType = 'array'; 44 protected $visualElementsType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageVisualElement'; 45 protected $visualElementsDataType = 'array'; 46 47 /** 48 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageBlock[] 49 */ 50 public function setBlocks($blocks) 51 { 52 $this->blocks = $blocks; 53 } 54 /** 55 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageBlock[] 56 */ 57 public function getBlocks() 58 { 59 return $this->blocks; 60 } 61 /** 62 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage[] 63 */ 64 public function setDetectedLanguages($detectedLanguages) 65 { 66 $this->detectedLanguages = $detectedLanguages; 67 } 68 /** 69 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageDetectedLanguage[] 70 */ 71 public function getDetectedLanguages() 72 { 73 return $this->detectedLanguages; 74 } 75 /** 76 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageDimension 77 */ 78 public function setDimension(Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageDimension $dimension) 79 { 80 $this->dimension = $dimension; 81 } 82 /** 83 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageDimension 84 */ 85 public function getDimension() 86 { 87 return $this->dimension; 88 } 89 /** 90 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageFormField[] 91 */ 92 public function setFormFields($formFields) 93 { 94 $this->formFields = $formFields; 95 } 96 /** 97 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageFormField[] 98 */ 99 public function getFormFields() 100 { 101 return $this->formFields; 102 } 103 /** 104 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageImage 105 */ 106 public function setImage(Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageImage $image) 107 { 108 $this->image = $image; 109 } 110 /** 111 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageImage 112 */ 113 public function getImage() 114 { 115 return $this->image; 116 } 117 /** 118 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageLayout 119 */ 120 public function setLayout(Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageLayout $layout) 121 { 122 $this->layout = $layout; 123 } 124 /** 125 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageLayout 126 */ 127 public function getLayout() 128 { 129 return $this->layout; 130 } 131 /** 132 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageLine[] 133 */ 134 public function setLines($lines) 135 { 136 $this->lines = $lines; 137 } 138 /** 139 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageLine[] 140 */ 141 public function getLines() 142 { 143 return $this->lines; 144 } 145 public function setPageNumber($pageNumber) 146 { 147 $this->pageNumber = $pageNumber; 148 } 149 public function getPageNumber() 150 { 151 return $this->pageNumber; 152 } 153 /** 154 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageParagraph[] 155 */ 156 public function setParagraphs($paragraphs) 157 { 158 $this->paragraphs = $paragraphs; 159 } 160 /** 161 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageParagraph[] 162 */ 163 public function getParagraphs() 164 { 165 return $this->paragraphs; 166 } 167 /** 168 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageTable[] 169 */ 170 public function setTables($tables) 171 { 172 $this->tables = $tables; 173 } 174 /** 175 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageTable[] 176 */ 177 public function getTables() 178 { 179 return $this->tables; 180 } 181 /** 182 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageToken[] 183 */ 184 public function setTokens($tokens) 185 { 186 $this->tokens = $tokens; 187 } 188 /** 189 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageToken[] 190 */ 191 public function getTokens() 192 { 193 return $this->tokens; 194 } 195 /** 196 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageMatrix[] 197 */ 198 public function setTransforms($transforms) 199 { 200 $this->transforms = $transforms; 201 } 202 /** 203 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageMatrix[] 204 */ 205 public function getTransforms() 206 { 207 return $this->transforms; 208 } 209 /** 210 * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageVisualElement[] 211 */ 212 public function setVisualElements($visualElements) 213 { 214 $this->visualElements = $visualElements; 215 } 216 /** 217 * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageVisualElement[] 218 */ 219 public function getVisualElements() 220 { 221 return $this->visualElements; 222 } 223} 224