source: vendor/google/apiclient-services/src/Aiplatform/CloudAiLargeModelsVisionNamedBoundingBox.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload new project files

  • Property mode set to 100644
File size: 2.6 KB
Line 
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\Aiplatform;
19
20class CloudAiLargeModelsVisionNamedBoundingBox extends \Google\Collection
21{
22 protected $collection_key = 'scores';
23 /**
24 * @var string[]
25 */
26 public $classes;
27 /**
28 * @var string[]
29 */
30 public $entities;
31 /**
32 * @var float[]
33 */
34 public $scores;
35 /**
36 * @var float
37 */
38 public $x1;
39 /**
40 * @var float
41 */
42 public $x2;
43 /**
44 * @var float
45 */
46 public $y1;
47 /**
48 * @var float
49 */
50 public $y2;
51
52 /**
53 * @param string[]
54 */
55 public function setClasses($classes)
56 {
57 $this->classes = $classes;
58 }
59 /**
60 * @return string[]
61 */
62 public function getClasses()
63 {
64 return $this->classes;
65 }
66 /**
67 * @param string[]
68 */
69 public function setEntities($entities)
70 {
71 $this->entities = $entities;
72 }
73 /**
74 * @return string[]
75 */
76 public function getEntities()
77 {
78 return $this->entities;
79 }
80 /**
81 * @param float[]
82 */
83 public function setScores($scores)
84 {
85 $this->scores = $scores;
86 }
87 /**
88 * @return float[]
89 */
90 public function getScores()
91 {
92 return $this->scores;
93 }
94 /**
95 * @param float
96 */
97 public function setX1($x1)
98 {
99 $this->x1 = $x1;
100 }
101 /**
102 * @return float
103 */
104 public function getX1()
105 {
106 return $this->x1;
107 }
108 /**
109 * @param float
110 */
111 public function setX2($x2)
112 {
113 $this->x2 = $x2;
114 }
115 /**
116 * @return float
117 */
118 public function getX2()
119 {
120 return $this->x2;
121 }
122 /**
123 * @param float
124 */
125 public function setY1($y1)
126 {
127 $this->y1 = $y1;
128 }
129 /**
130 * @return float
131 */
132 public function getY1()
133 {
134 return $this->y1;
135 }
136 /**
137 * @param float
138 */
139 public function setY2($y2)
140 {
141 $this->y2 = $y2;
142 }
143 /**
144 * @return float
145 */
146 public function getY2()
147 {
148 return $this->y2;
149 }
150}
151
152// Adding a class alias for backwards compatibility with the previous class name.
153class_alias(CloudAiLargeModelsVisionNamedBoundingBox::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionNamedBoundingBox');
Note: See TracBrowser for help on using the repository browser.