Debian Codegraph @

googleapis/cloud/vision/v1p3beta1/web_detection.pb.go

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