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 |
|
---|
18 | namespace Google\Service\Aiplatform;
|
---|
19 |
|
---|
20 | class CloudAiLargeModelsVisionImage extends \Google\Model
|
---|
21 | {
|
---|
22 | /**
|
---|
23 | * @var string
|
---|
24 | */
|
---|
25 | public $encoding;
|
---|
26 | /**
|
---|
27 | * @var int
|
---|
28 | */
|
---|
29 | public $generationSeed;
|
---|
30 | /**
|
---|
31 | * @var string
|
---|
32 | */
|
---|
33 | public $image;
|
---|
34 | protected $imageRaiScoresType = CloudAiLargeModelsVisionImageRAIScores::class;
|
---|
35 | protected $imageRaiScoresDataType = '';
|
---|
36 | protected $imageSizeType = CloudAiLargeModelsVisionImageImageSize::class;
|
---|
37 | protected $imageSizeDataType = '';
|
---|
38 | protected $raiInfoType = CloudAiLargeModelsVisionRaiInfo::class;
|
---|
39 | protected $raiInfoDataType = '';
|
---|
40 | protected $semanticFilterResponseType = CloudAiLargeModelsVisionSemanticFilterResponse::class;
|
---|
41 | protected $semanticFilterResponseDataType = '';
|
---|
42 | /**
|
---|
43 | * @var string
|
---|
44 | */
|
---|
45 | public $text;
|
---|
46 | /**
|
---|
47 | * @var string
|
---|
48 | */
|
---|
49 | public $uri;
|
---|
50 |
|
---|
51 | /**
|
---|
52 | * @param string
|
---|
53 | */
|
---|
54 | public function setEncoding($encoding)
|
---|
55 | {
|
---|
56 | $this->encoding = $encoding;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return string
|
---|
60 | */
|
---|
61 | public function getEncoding()
|
---|
62 | {
|
---|
63 | return $this->encoding;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param int
|
---|
67 | */
|
---|
68 | public function setGenerationSeed($generationSeed)
|
---|
69 | {
|
---|
70 | $this->generationSeed = $generationSeed;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return int
|
---|
74 | */
|
---|
75 | public function getGenerationSeed()
|
---|
76 | {
|
---|
77 | return $this->generationSeed;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param string
|
---|
81 | */
|
---|
82 | public function setImage($image)
|
---|
83 | {
|
---|
84 | $this->image = $image;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return string
|
---|
88 | */
|
---|
89 | public function getImage()
|
---|
90 | {
|
---|
91 | return $this->image;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param CloudAiLargeModelsVisionImageRAIScores
|
---|
95 | */
|
---|
96 | public function setImageRaiScores(CloudAiLargeModelsVisionImageRAIScores $imageRaiScores)
|
---|
97 | {
|
---|
98 | $this->imageRaiScores = $imageRaiScores;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return CloudAiLargeModelsVisionImageRAIScores
|
---|
102 | */
|
---|
103 | public function getImageRaiScores()
|
---|
104 | {
|
---|
105 | return $this->imageRaiScores;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param CloudAiLargeModelsVisionImageImageSize
|
---|
109 | */
|
---|
110 | public function setImageSize(CloudAiLargeModelsVisionImageImageSize $imageSize)
|
---|
111 | {
|
---|
112 | $this->imageSize = $imageSize;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return CloudAiLargeModelsVisionImageImageSize
|
---|
116 | */
|
---|
117 | public function getImageSize()
|
---|
118 | {
|
---|
119 | return $this->imageSize;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param CloudAiLargeModelsVisionRaiInfo
|
---|
123 | */
|
---|
124 | public function setRaiInfo(CloudAiLargeModelsVisionRaiInfo $raiInfo)
|
---|
125 | {
|
---|
126 | $this->raiInfo = $raiInfo;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return CloudAiLargeModelsVisionRaiInfo
|
---|
130 | */
|
---|
131 | public function getRaiInfo()
|
---|
132 | {
|
---|
133 | return $this->raiInfo;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param CloudAiLargeModelsVisionSemanticFilterResponse
|
---|
137 | */
|
---|
138 | public function setSemanticFilterResponse(CloudAiLargeModelsVisionSemanticFilterResponse $semanticFilterResponse)
|
---|
139 | {
|
---|
140 | $this->semanticFilterResponse = $semanticFilterResponse;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return CloudAiLargeModelsVisionSemanticFilterResponse
|
---|
144 | */
|
---|
145 | public function getSemanticFilterResponse()
|
---|
146 | {
|
---|
147 | return $this->semanticFilterResponse;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @param string
|
---|
151 | */
|
---|
152 | public function setText($text)
|
---|
153 | {
|
---|
154 | $this->text = $text;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @return string
|
---|
158 | */
|
---|
159 | public function getText()
|
---|
160 | {
|
---|
161 | return $this->text;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @param string
|
---|
165 | */
|
---|
166 | public function setUri($uri)
|
---|
167 | {
|
---|
168 | $this->uri = $uri;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @return string
|
---|
172 | */
|
---|
173 | public function getUri()
|
---|
174 | {
|
---|
175 | return $this->uri;
|
---|
176 | }
|
---|
177 | }
|
---|
178 |
|
---|
179 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
180 | class_alias(CloudAiLargeModelsVisionImage::class, 'Google_Service_Aiplatform_CloudAiLargeModelsVisionImage');
|
---|