Debian Codegraph @

vision/apiv1/visionpb/web_detection.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/vision/v1/web_detection.proto
20
21 package visionpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Relevant information for the image from the Internet.
38 type WebDetection struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Deduced entities from similar images on the Internet.
44 WebEntities []*WebDetection_WebEntity `protobuf:"bytes,1,rep,name=web_entities,json=webEntities,proto3" json:"web_entities,omitempty"`
45 // Fully matching images from the Internet.
46 // Can include resized copies of the query image.
47 FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,2,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"`
48 // Partial matching images from the Internet.
49 // Those images are similar enough to share some key-point features. For
50 // example an original image will likely have partial matching for its crops.
51 PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,3,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"`
52 // Web pages containing the matching images from the Internet.
53 PagesWithMatchingImages []*WebDetection_WebPage `protobuf:"bytes,4,rep,name=pages_with_matching_images,json=pagesWithMatchingImages,proto3" json:"pages_with_matching_images,omitempty"`
54 // The visually similar image results.
55 VisuallySimilarImages []*WebDetection_WebImage `protobuf:"bytes,6,rep,name=visually_similar_images,json=visuallySimilarImages,proto3" json:"visually_similar_images,omitempty"`
56 // The service's best guess as to the topic of the request image.
57 // Inferred from similar images on the open web.
58 BestGuessLabels []*WebDetection_WebLabel `protobuf:"bytes,8,rep,name=best_guess_labels,json=bestGuessLabels,proto3" json:"best_guess_labels,omitempty"`
59 }
60
61 func (x *WebDetection) Reset() {
62 *x = WebDetection{}
63 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[0]
64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
65 ms.StoreMessageInfo(mi)
66 }
67
68 func (x *WebDetection) String() string {
69 return protoimpl.X.MessageStringOf(x)
70 }
71
72 func (*WebDetection) ProtoMessage() {}
73
74 func (x *WebDetection) ProtoReflect() protoreflect.Message {
75 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[0]
76 if x != nil {
77 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
78 if ms.LoadMessageInfo() == nil {
79 ms.StoreMessageInfo(mi)
80 }
81 return ms
82 }
83 return mi.MessageOf(x)
84 }
85
86 // Deprecated: Use WebDetection.ProtoReflect.Descriptor instead.
87 func (*WebDetection) Descriptor() ([]byte, []int) {
88 return file_google_cloud_vision_v1_web_detection_proto_rawDescGZIP(), []int{0}
89 }
90
91 func (x *WebDetection) GetWebEntities() []*WebDetection_WebEntity {
92 if x != nil {
93 return x.WebEntities
94 }
95 return nil
96 }
97
98 func (x *WebDetection) GetFullMatchingImages() []*WebDetection_WebImage {
99 if x != nil {
100 return x.FullMatchingImages
101 }
102 return nil
103 }
104
105 func (x *WebDetection) GetPartialMatchingImages() []*WebDetection_WebImage {
106 if x != nil {
107 return x.PartialMatchingImages
108 }
109 return nil
110 }
111
112 func (x *WebDetection) GetPagesWithMatchingImages() []*WebDetection_WebPage {
113 if x != nil {
114 return x.PagesWithMatchingImages
115 }
116 return nil
117 }
118
119 func (x *WebDetection) GetVisuallySimilarImages() []*WebDetection_WebImage {
120 if x != nil {
121 return x.VisuallySimilarImages
122 }
123 return nil
124 }
125
126 func (x *WebDetection) GetBestGuessLabels() []*WebDetection_WebLabel {
127 if x != nil {
128 return x.BestGuessLabels
129 }
130 return nil
131 }
132
133 // Entity deduced from similar images on the Internet.
134 type WebDetection_WebEntity struct {
135 state protoimpl.MessageState
136 sizeCache protoimpl.SizeCache
137 unknownFields protoimpl.UnknownFields
138
139 // Opaque entity ID.
140 EntityId string `protobuf:"bytes,1,opt,name=entity_id,json=entityId,proto3" json:"entity_id,omitempty"`
141 // Overall relevancy score for the entity.
142 // Not normalized and not comparable across different image queries.
143 Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
144 // Canonical description of the entity, in English.
145 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
146 }
147
148 func (x *WebDetection_WebEntity) Reset() {
149 *x = WebDetection_WebEntity{}
150 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[1]
151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
152 ms.StoreMessageInfo(mi)
153 }
154
155 func (x *WebDetection_WebEntity) String() string {
156 return protoimpl.X.MessageStringOf(x)
157 }
158
159 func (*WebDetection_WebEntity) ProtoMessage() {}
160
161 func (x *WebDetection_WebEntity) ProtoReflect() protoreflect.Message {
162 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[1]
163 if x != nil {
164 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
165 if ms.LoadMessageInfo() == nil {
166 ms.StoreMessageInfo(mi)
167 }
168 return ms
169 }
170 return mi.MessageOf(x)
171 }
172
173 // Deprecated: Use WebDetection_WebEntity.ProtoReflect.Descriptor instead.
174 func (*WebDetection_WebEntity) Descriptor() ([]byte, []int) {
175 return file_google_cloud_vision_v1_web_detection_proto_rawDescGZIP(), []int{0, 0}
176 }
177
178 func (x *WebDetection_WebEntity) GetEntityId() string {
179 if x != nil {
180 return x.EntityId
181 }
182 return ""
183 }
184
185 func (x *WebDetection_WebEntity) GetScore() float32 {
186 if x != nil {
187 return x.Score
188 }
189 return 0
190 }
191
192 func (x *WebDetection_WebEntity) GetDescription() string {
193 if x != nil {
194 return x.Description
195 }
196 return ""
197 }
198
199 // Metadata for online images.
200 type WebDetection_WebImage struct {
201 state protoimpl.MessageState
202 sizeCache protoimpl.SizeCache
203 unknownFields protoimpl.UnknownFields
204
205 // The result image URL.
206 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
207 // (Deprecated) Overall relevancy score for the image.
208 Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
209 }
210
211 func (x *WebDetection_WebImage) Reset() {
212 *x = WebDetection_WebImage{}
213 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[2]
214 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
215 ms.StoreMessageInfo(mi)
216 }
217
218 func (x *WebDetection_WebImage) String() string {
219 return protoimpl.X.MessageStringOf(x)
220 }
221
222 func (*WebDetection_WebImage) ProtoMessage() {}
223
224 func (x *WebDetection_WebImage) ProtoReflect() protoreflect.Message {
225 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[2]
226 if x != nil {
227 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
228 if ms.LoadMessageInfo() == nil {
229 ms.StoreMessageInfo(mi)
230 }
231 return ms
232 }
233 return mi.MessageOf(x)
234 }
235
236 // Deprecated: Use WebDetection_WebImage.ProtoReflect.Descriptor instead.
237 func (*WebDetection_WebImage) Descriptor() ([]byte, []int) {
238 return file_google_cloud_vision_v1_web_detection_proto_rawDescGZIP(), []int{0, 1}
239 }
240
241 func (x *WebDetection_WebImage) GetUrl() string {
242 if x != nil {
243 return x.Url
244 }
245 return ""
246 }
247
248 func (x *WebDetection_WebImage) GetScore() float32 {
249 if x != nil {
250 return x.Score
251 }
252 return 0
253 }
254
255 // Metadata for web pages.
256 type WebDetection_WebPage struct {
257 state protoimpl.MessageState
258 sizeCache protoimpl.SizeCache
259 unknownFields protoimpl.UnknownFields
260
261 // The result web page URL.
262 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
263 // (Deprecated) Overall relevancy score for the web page.
264 Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
265 // Title for the web page, may contain HTML markups.
266 PageTitle string `protobuf:"bytes,3,opt,name=page_title,json=pageTitle,proto3" json:"page_title,omitempty"`
267 // Fully matching images on the page.
268 // Can include resized copies of the query image.
269 FullMatchingImages []*WebDetection_WebImage `protobuf:"bytes,4,rep,name=full_matching_images,json=fullMatchingImages,proto3" json:"full_matching_images,omitempty"`
270 // Partial matching images on the page.
271 // Those images are similar enough to share some key-point features. For
272 // example an original image will likely have partial matching for its
273 // crops.
274 PartialMatchingImages []*WebDetection_WebImage `protobuf:"bytes,5,rep,name=partial_matching_images,json=partialMatchingImages,proto3" json:"partial_matching_images,omitempty"`
275 }
276
277 func (x *WebDetection_WebPage) Reset() {
278 *x = WebDetection_WebPage{}
279 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[3]
280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281 ms.StoreMessageInfo(mi)
282 }
283
284 func (x *WebDetection_WebPage) String() string {
285 return protoimpl.X.MessageStringOf(x)
286 }
287
288 func (*WebDetection_WebPage) ProtoMessage() {}
289
290 func (x *WebDetection_WebPage) ProtoReflect() protoreflect.Message {
291 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[3]
292 if x != nil {
293 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
294 if ms.LoadMessageInfo() == nil {
295 ms.StoreMessageInfo(mi)
296 }
297 return ms
298 }
299 return mi.MessageOf(x)
300 }
301
302 // Deprecated: Use WebDetection_WebPage.ProtoReflect.Descriptor instead.
303 func (*WebDetection_WebPage) Descriptor() ([]byte, []int) {
304 return file_google_cloud_vision_v1_web_detection_proto_rawDescGZIP(), []int{0, 2}
305 }
306
307 func (x *WebDetection_WebPage) GetUrl() string {
308 if x != nil {
309 return x.Url
310 }
311 return ""
312 }
313
314 func (x *WebDetection_WebPage) GetScore() float32 {
315 if x != nil {
316 return x.Score
317 }
318 return 0
319 }
320
321 func (x *WebDetection_WebPage) GetPageTitle() string {
322 if x != nil {
323 return x.PageTitle
324 }
325 return ""
326 }
327
328 func (x *WebDetection_WebPage) GetFullMatchingImages() []*WebDetection_WebImage {
329 if x != nil {
330 return x.FullMatchingImages
331 }
332 return nil
333 }
334
335 func (x *WebDetection_WebPage) GetPartialMatchingImages() []*WebDetection_WebImage {
336 if x != nil {
337 return x.PartialMatchingImages
338 }
339 return nil
340 }
341
342 // Label to provide extra metadata for the web detection.
343 type WebDetection_WebLabel struct {
344 state protoimpl.MessageState
345 sizeCache protoimpl.SizeCache
346 unknownFields protoimpl.UnknownFields
347
348 // Label for extra metadata.
349 Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
350 // The BCP-47 language code for `label`, such as "en-US" or "sr-Latn".
351 // For more information, see
352 // http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
353 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
354 }
355
356 func (x *WebDetection_WebLabel) Reset() {
357 *x = WebDetection_WebLabel{}
358 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[4]
359 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
360 ms.StoreMessageInfo(mi)
361 }
362
363 func (x *WebDetection_WebLabel) String() string {
364 return protoimpl.X.MessageStringOf(x)
365 }
366
367 func (*WebDetection_WebLabel) ProtoMessage() {}
368
369 func (x *WebDetection_WebLabel) ProtoReflect() protoreflect.Message {
370 mi := &file_google_cloud_vision_v1_web_detection_proto_msgTypes[4]
371 if x != nil {
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 if ms.LoadMessageInfo() == nil {
374 ms.StoreMessageInfo(mi)
375 }
376 return ms
377 }
378 return mi.MessageOf(x)
379 }
380
381 // Deprecated: Use WebDetection_WebLabel.ProtoReflect.Descriptor instead.
382 func (*WebDetection_WebLabel) Descriptor() ([]byte, []int) {
383 return file_google_cloud_vision_v1_web_detection_proto_rawDescGZIP(), []int{0, 3}
384 }
385
386 func (x *WebDetection_WebLabel) GetLabel() string {
387 if x != nil {
388 return x.Label
389 }
390 return ""
391 }
392
393 func (x *WebDetection_WebLabel) GetLanguageCode() string {
394 if x != nil {
395 return x.LanguageCode
396 }
397 return ""
398 }
399
400 var File_google_cloud_vision_v1_web_detection_proto protoreflect.FileDescriptor
401
402 var file_google_cloud_vision_v1_web_detection_proto_rawDesc = []byte{
403 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
404 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x5f, 0x64, 0x65, 0x74,
405 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f,
406 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
407 0x6e, 0x2e, 0x76, 0x31, 0x22, 0xce, 0x08, 0x0a, 0x0c, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65,
408 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x0c, 0x77, 0x65, 0x62, 0x5f, 0x65, 0x6e, 0x74,
409 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f,
410 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
411 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
412 0x6e, 0x2e, 0x57, 0x65, 0x62, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x0b, 0x77, 0x65, 0x62,
413 0x45, 0x6e, 0x74, 0x69, 0x74, 0x69, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x6c,
414 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73,
415 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
416 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e,
417 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x65, 0x62,
418 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68,
419 0x69, 0x6e, 0x67, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x17, 0x70, 0x61, 0x72,
420 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d,
421 0x61, 0x67, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
422 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
423 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
424 0x2e, 0x57, 0x65, 0x62, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69,
425 0x61, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73,
426 0x12, 0x69, 0x0a, 0x1a, 0x70, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x77, 0x69, 0x74, 0x68, 0x5f, 0x6d,
427 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04,
428 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
429 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65,
430 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x65, 0x62, 0x50, 0x61,
431 0x67, 0x65, 0x52, 0x17, 0x70, 0x61, 0x67, 0x65, 0x73, 0x57, 0x69, 0x74, 0x68, 0x4d, 0x61, 0x74,
432 0x63, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x17, 0x76,
433 0x69, 0x73, 0x75, 0x61, 0x6c, 0x6c, 0x79, 0x5f, 0x73, 0x69, 0x6d, 0x69, 0x6c, 0x61, 0x72, 0x5f,
434 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67,
435 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69,
436 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
437 0x6f, 0x6e, 0x2e, 0x57, 0x65, 0x62, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x15, 0x76, 0x69, 0x73,
438 0x75, 0x61, 0x6c, 0x6c, 0x79, 0x53, 0x69, 0x6d, 0x69, 0x6c, 0x61, 0x72, 0x49, 0x6d, 0x61, 0x67,
439 0x65, 0x73, 0x12, 0x59, 0x0a, 0x11, 0x62, 0x65, 0x73, 0x74, 0x5f, 0x67, 0x75, 0x65, 0x73, 0x73,
440 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e,
441 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
442 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74,
443 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x65, 0x62, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x0f, 0x62, 0x65,
444 0x73, 0x74, 0x47, 0x75, 0x65, 0x73, 0x73, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x60, 0x0a,
445 0x09, 0x57, 0x65, 0x62, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x65, 0x6e,
446 0x74, 0x69, 0x74, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x65,
447 0x6e, 0x74, 0x69, 0x74, 0x79, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65,
448 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x20, 0x0a,
449 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
450 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a,
451 0x32, 0x0a, 0x08, 0x57, 0x65, 0x62, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75,
452 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a,
453 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x63,
454 0x6f, 0x72, 0x65, 0x1a, 0x98, 0x02, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x50, 0x61, 0x67, 0x65, 0x12,
455 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
456 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02,
457 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f,
458 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67,
459 0x65, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x5f, 0x0a, 0x14, 0x66, 0x75, 0x6c, 0x6c, 0x5f, 0x6d,
460 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x18, 0x04,
461 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
462 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65,
463 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57, 0x65, 0x62, 0x49, 0x6d,
464 0x61, 0x67, 0x65, 0x52, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e,
465 0x67, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x12, 0x65, 0x0a, 0x17, 0x70, 0x61, 0x72, 0x74, 0x69,
466 0x61, 0x6c, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x5f, 0x69, 0x6d, 0x61, 0x67,
467 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
468 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76,
469 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x57,
470 0x65, 0x62, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x15, 0x70, 0x61, 0x72, 0x74, 0x69, 0x61, 0x6c,
471 0x4d, 0x61, 0x74, 0x63, 0x68, 0x69, 0x6e, 0x67, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x1a, 0x45,
472 0x0a, 0x08, 0x57, 0x65, 0x62, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61,
473 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c,
474 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64,
475 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67,
476 0x65, 0x43, 0x6f, 0x64, 0x65, 0x42, 0x72, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
477 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
478 0x2e, 0x76, 0x31, 0x42, 0x11, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
479 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x35, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
480 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x69,
481 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x76, 0x69,
482 0x73, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xf8,
483 0x01, 0x01, 0xa2, 0x02, 0x04, 0x47, 0x43, 0x56, 0x4e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
484 0x33,
485 }
486
487 var (
488 file_google_cloud_vision_v1_web_detection_proto_rawDescOnce sync.Once
489 file_google_cloud_vision_v1_web_detection_proto_rawDescData = file_google_cloud_vision_v1_web_detection_proto_rawDesc
490 )
491
492 func file_google_cloud_vision_v1_web_detection_proto_rawDescGZIP() []byte {
493 file_google_cloud_vision_v1_web_detection_proto_rawDescOnce.Do(func() {
494 file_google_cloud_vision_v1_web_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_vision_v1_web_detection_proto_rawDescData)
495 })
496 return file_google_cloud_vision_v1_web_detection_proto_rawDescData
497 }
498
499 var file_google_cloud_vision_v1_web_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
500 var file_google_cloud_vision_v1_web_detection_proto_goTypes = []any{
501 (*WebDetection)(nil), // 0: google.cloud.vision.v1.WebDetection
502 (*WebDetection_WebEntity)(nil), // 1: google.cloud.vision.v1.WebDetection.WebEntity
503 (*WebDetection_WebImage)(nil), // 2: google.cloud.vision.v1.WebDetection.WebImage
504 (*WebDetection_WebPage)(nil), // 3: google.cloud.vision.v1.WebDetection.WebPage
505 (*WebDetection_WebLabel)(nil), // 4: google.cloud.vision.v1.WebDetection.WebLabel
506 }
507 var file_google_cloud_vision_v1_web_detection_proto_depIdxs = []int32{
508 1, // 0: google.cloud.vision.v1.WebDetection.web_entities:type_name -> google.cloud.vision.v1.WebDetection.WebEntity
509 2, // 1: google.cloud.vision.v1.WebDetection.full_matching_images:type_name -> google.cloud.vision.v1.WebDetection.WebImage
510 2, // 2: google.cloud.vision.v1.WebDetection.partial_matching_images:type_name -> google.cloud.vision.v1.WebDetection.WebImage
511 3, // 3: google.cloud.vision.v1.WebDetection.pages_with_matching_images:type_name -> google.cloud.vision.v1.WebDetection.WebPage
512 2, // 4: google.cloud.vision.v1.WebDetection.visually_similar_images:type_name -> google.cloud.vision.v1.WebDetection.WebImage
513 4, // 5: google.cloud.vision.v1.WebDetection.best_guess_labels:type_name -> google.cloud.vision.v1.WebDetection.WebLabel
514 2, // 6: google.cloud.vision.v1.WebDetection.WebPage.full_matching_images:type_name -> google.cloud.vision.v1.WebDetection.WebImage
515 2, // 7: google.cloud.vision.v1.WebDetection.WebPage.partial_matching_images:type_name -> google.cloud.vision.v1.WebDetection.WebImage
516 8, // [8:8] is the sub-list for method output_type
517 8, // [8:8] is the sub-list for method input_type
518 8, // [8:8] is the sub-list for extension type_name
519 8, // [8:8] is the sub-list for extension extendee
520 0, // [0:8] is the sub-list for field type_name
521 }
522
523 func init() { file_google_cloud_vision_v1_web_detection_proto_init() }
524 func file_google_cloud_vision_v1_web_detection_proto_init() {
525 if File_google_cloud_vision_v1_web_detection_proto != nil {
526 return
527 }
528 type x struct{}
529 out := protoimpl.TypeBuilder{
530 File: protoimpl.DescBuilder{
531 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
532 RawDescriptor: file_google_cloud_vision_v1_web_detection_proto_rawDesc,
533 NumEnums: 0,
534 NumMessages: 5,
535 NumExtensions: 0,
536 NumServices: 0,
537 },
538 GoTypes: file_google_cloud_vision_v1_web_detection_proto_goTypes,
539 DependencyIndexes: file_google_cloud_vision_v1_web_detection_proto_depIdxs,
540 MessageInfos: file_google_cloud_vision_v1_web_detection_proto_msgTypes,
541 }.Build()
542 File_google_cloud_vision_v1_web_detection_proto = out.File
543 file_google_cloud_vision_v1_web_detection_proto_rawDesc = nil
544 file_google_cloud_vision_v1_web_detection_proto_goTypes = nil
545 file_google_cloud_vision_v1_web_detection_proto_depIdxs = nil
546 }