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_GoogleCloudDocumentaiV1beta3DocumentEntity extends Google_Collection
19{
20  protected $collection_key = 'properties';
21  public $confidence;
22  public $id;
23  public $mentionId;
24  public $mentionText;
25  protected $normalizedValueType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue';
26  protected $normalizedValueDataType = '';
27  protected $pageAnchorType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageAnchor';
28  protected $pageAnchorDataType = '';
29  protected $propertiesType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentEntity';
30  protected $propertiesDataType = 'array';
31  protected $provenanceType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentProvenance';
32  protected $provenanceDataType = '';
33  public $redacted;
34  protected $textAnchorType = 'Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentTextAnchor';
35  protected $textAnchorDataType = '';
36  public $type;
37
38  public function setConfidence($confidence)
39  {
40    $this->confidence = $confidence;
41  }
42  public function getConfidence()
43  {
44    return $this->confidence;
45  }
46  public function setId($id)
47  {
48    $this->id = $id;
49  }
50  public function getId()
51  {
52    return $this->id;
53  }
54  public function setMentionId($mentionId)
55  {
56    $this->mentionId = $mentionId;
57  }
58  public function getMentionId()
59  {
60    return $this->mentionId;
61  }
62  public function setMentionText($mentionText)
63  {
64    $this->mentionText = $mentionText;
65  }
66  public function getMentionText()
67  {
68    return $this->mentionText;
69  }
70  /**
71   * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue
72   */
73  public function setNormalizedValue(Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue $normalizedValue)
74  {
75    $this->normalizedValue = $normalizedValue;
76  }
77  /**
78   * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentEntityNormalizedValue
79   */
80  public function getNormalizedValue()
81  {
82    return $this->normalizedValue;
83  }
84  /**
85   * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageAnchor
86   */
87  public function setPageAnchor(Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageAnchor $pageAnchor)
88  {
89    $this->pageAnchor = $pageAnchor;
90  }
91  /**
92   * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentPageAnchor
93   */
94  public function getPageAnchor()
95  {
96    return $this->pageAnchor;
97  }
98  /**
99   * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentEntity[]
100   */
101  public function setProperties($properties)
102  {
103    $this->properties = $properties;
104  }
105  /**
106   * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentEntity[]
107   */
108  public function getProperties()
109  {
110    return $this->properties;
111  }
112  /**
113   * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentProvenance
114   */
115  public function setProvenance(Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentProvenance $provenance)
116  {
117    $this->provenance = $provenance;
118  }
119  /**
120   * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentProvenance
121   */
122  public function getProvenance()
123  {
124    return $this->provenance;
125  }
126  public function setRedacted($redacted)
127  {
128    $this->redacted = $redacted;
129  }
130  public function getRedacted()
131  {
132    return $this->redacted;
133  }
134  /**
135   * @param Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentTextAnchor
136   */
137  public function setTextAnchor(Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentTextAnchor $textAnchor)
138  {
139    $this->textAnchor = $textAnchor;
140  }
141  /**
142   * @return Google_Service_Document_GoogleCloudDocumentaiV1beta3DocumentTextAnchor
143   */
144  public function getTextAnchor()
145  {
146    return $this->textAnchor;
147  }
148  public function setType($type)
149  {
150    $this->type = $type;
151  }
152  public function getType()
153  {
154    return $this->type;
155  }
156}
157