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