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\Document;
19
20class GoogleCloudDocumentaiV1DocumentPageTableTableCell extends \Google\Collection
21{
22  protected $collection_key = 'detectedLanguages';
23  /**
24   * @var int
25   */
26  public $colSpan;
27  protected $detectedLanguagesType = GoogleCloudDocumentaiV1DocumentPageDetectedLanguage::class;
28  protected $detectedLanguagesDataType = 'array';
29  protected $layoutType = GoogleCloudDocumentaiV1DocumentPageLayout::class;
30  protected $layoutDataType = '';
31  /**
32   * @var int
33   */
34  public $rowSpan;
35
36  /**
37   * @param int
38   */
39  public function setColSpan($colSpan)
40  {
41    $this->colSpan = $colSpan;
42  }
43  /**
44   * @return int
45   */
46  public function getColSpan()
47  {
48    return $this->colSpan;
49  }
50  /**
51   * @param GoogleCloudDocumentaiV1DocumentPageDetectedLanguage[]
52   */
53  public function setDetectedLanguages($detectedLanguages)
54  {
55    $this->detectedLanguages = $detectedLanguages;
56  }
57  /**
58   * @return GoogleCloudDocumentaiV1DocumentPageDetectedLanguage[]
59   */
60  public function getDetectedLanguages()
61  {
62    return $this->detectedLanguages;
63  }
64  /**
65   * @param GoogleCloudDocumentaiV1DocumentPageLayout
66   */
67  public function setLayout(GoogleCloudDocumentaiV1DocumentPageLayout $layout)
68  {
69    $this->layout = $layout;
70  }
71  /**
72   * @return GoogleCloudDocumentaiV1DocumentPageLayout
73   */
74  public function getLayout()
75  {
76    return $this->layout;
77  }
78  /**
79   * @param int
80   */
81  public function setRowSpan($rowSpan)
82  {
83    $this->rowSpan = $rowSpan;
84  }
85  /**
86   * @return int
87   */
88  public function getRowSpan()
89  {
90    return $this->rowSpan;
91  }
92}
93
94// Adding a class alias for backwards compatibility with the previous class name.
95class_alias(GoogleCloudDocumentaiV1DocumentPageTableTableCell::class, 'Google_Service_Document_GoogleCloudDocumentaiV1DocumentPageTableTableCell');
96