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\Vision;
19
20class GoogleCloudVisionV1p3beta1WebDetection extends \Google\Collection
21{
22  protected $collection_key = 'webEntities';
23  protected $bestGuessLabelsType = GoogleCloudVisionV1p3beta1WebDetectionWebLabel::class;
24  protected $bestGuessLabelsDataType = 'array';
25  protected $fullMatchingImagesType = GoogleCloudVisionV1p3beta1WebDetectionWebImage::class;
26  protected $fullMatchingImagesDataType = 'array';
27  protected $pagesWithMatchingImagesType = GoogleCloudVisionV1p3beta1WebDetectionWebPage::class;
28  protected $pagesWithMatchingImagesDataType = 'array';
29  protected $partialMatchingImagesType = GoogleCloudVisionV1p3beta1WebDetectionWebImage::class;
30  protected $partialMatchingImagesDataType = 'array';
31  protected $visuallySimilarImagesType = GoogleCloudVisionV1p3beta1WebDetectionWebImage::class;
32  protected $visuallySimilarImagesDataType = 'array';
33  protected $webEntitiesType = GoogleCloudVisionV1p3beta1WebDetectionWebEntity::class;
34  protected $webEntitiesDataType = 'array';
35
36  /**
37   * @param GoogleCloudVisionV1p3beta1WebDetectionWebLabel[]
38   */
39  public function setBestGuessLabels($bestGuessLabels)
40  {
41    $this->bestGuessLabels = $bestGuessLabels;
42  }
43  /**
44   * @return GoogleCloudVisionV1p3beta1WebDetectionWebLabel[]
45   */
46  public function getBestGuessLabels()
47  {
48    return $this->bestGuessLabels;
49  }
50  /**
51   * @param GoogleCloudVisionV1p3beta1WebDetectionWebImage[]
52   */
53  public function setFullMatchingImages($fullMatchingImages)
54  {
55    $this->fullMatchingImages = $fullMatchingImages;
56  }
57  /**
58   * @return GoogleCloudVisionV1p3beta1WebDetectionWebImage[]
59   */
60  public function getFullMatchingImages()
61  {
62    return $this->fullMatchingImages;
63  }
64  /**
65   * @param GoogleCloudVisionV1p3beta1WebDetectionWebPage[]
66   */
67  public function setPagesWithMatchingImages($pagesWithMatchingImages)
68  {
69    $this->pagesWithMatchingImages = $pagesWithMatchingImages;
70  }
71  /**
72   * @return GoogleCloudVisionV1p3beta1WebDetectionWebPage[]
73   */
74  public function getPagesWithMatchingImages()
75  {
76    return $this->pagesWithMatchingImages;
77  }
78  /**
79   * @param GoogleCloudVisionV1p3beta1WebDetectionWebImage[]
80   */
81  public function setPartialMatchingImages($partialMatchingImages)
82  {
83    $this->partialMatchingImages = $partialMatchingImages;
84  }
85  /**
86   * @return GoogleCloudVisionV1p3beta1WebDetectionWebImage[]
87   */
88  public function getPartialMatchingImages()
89  {
90    return $this->partialMatchingImages;
91  }
92  /**
93   * @param GoogleCloudVisionV1p3beta1WebDetectionWebImage[]
94   */
95  public function setVisuallySimilarImages($visuallySimilarImages)
96  {
97    $this->visuallySimilarImages = $visuallySimilarImages;
98  }
99  /**
100   * @return GoogleCloudVisionV1p3beta1WebDetectionWebImage[]
101   */
102  public function getVisuallySimilarImages()
103  {
104    return $this->visuallySimilarImages;
105  }
106  /**
107   * @param GoogleCloudVisionV1p3beta1WebDetectionWebEntity[]
108   */
109  public function setWebEntities($webEntities)
110  {
111    $this->webEntities = $webEntities;
112  }
113  /**
114   * @return GoogleCloudVisionV1p3beta1WebDetectionWebEntity[]
115   */
116  public function getWebEntities()
117  {
118    return $this->webEntities;
119  }
120}
121
122// Adding a class alias for backwards compatibility with the previous class name.
123class_alias(GoogleCloudVisionV1p3beta1WebDetection::class, 'Google_Service_Vision_GoogleCloudVisionV1p3beta1WebDetection');
124