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