Debian Codegraph @

vision/apiv1p1beta1/visionpb/image_annotator.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
16 // Code generated by protoc-gen-go. DO NOT EDIT.
17 // versions:
18 // protoc-gen-go v1.35.2
19 // protoc v4.25.7
20 // source: google/cloud/vision/v1p1beta1/image_annotator.proto
21
22 package visionpb
23
24 import (
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 status "google.golang.org/genproto/googleapis/rpc/status"
28 color "google.golang.org/genproto/googleapis/type/color"
29 latlng "google.golang.org/genproto/googleapis/type/latlng"
30 grpc "google.golang.org/grpc"
31 codes "google.golang.org/grpc/codes"
32 status1 "google.golang.org/grpc/status"
33 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
34 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
35 reflect "reflect"
36 sync "sync"
37 )
38
39 const (
40 // Verify that this generated code is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42 // Verify that runtime/protoimpl is sufficiently up-to-date.
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46 // A bucketized representation of likelihood, which is intended to give clients
47 // highly stable results across model upgrades.
48 type Likelihood int32
49
50 const (
51 // Unknown likelihood.
52 Likelihood_UNKNOWN Likelihood = 0
53 // It is very unlikely that the image belongs to the specified vertical.
54 Likelihood_VERY_UNLIKELY Likelihood = 1
55 // It is unlikely that the image belongs to the specified vertical.
56 Likelihood_UNLIKELY Likelihood = 2
57 // It is possible that the image belongs to the specified vertical.
58 Likelihood_POSSIBLE Likelihood = 3
59 // It is likely that the image belongs to the specified vertical.
60 Likelihood_LIKELY Likelihood = 4
61 // It is very likely that the image belongs to the specified vertical.
62 Likelihood_VERY_LIKELY Likelihood = 5
63 )
64
65 // Enum value maps for Likelihood.
66 var (
67 Likelihood_name = map[int32]string{
68 0: "UNKNOWN",
69 1: "VERY_UNLIKELY",
70 2: "UNLIKELY",
71 3: "POSSIBLE",
72 4: "LIKELY",
73 5: "VERY_LIKELY",
74 }
75 Likelihood_value = map[string]int32{
76 "UNKNOWN": 0,
77 "VERY_UNLIKELY": 1,
78 "UNLIKELY": 2,
79 "POSSIBLE": 3,
80 "LIKELY": 4,
81 "VERY_LIKELY": 5,
82 }
83 )
84
85 func (x Likelihood) Enum() *Likelihood {
86 p := new(Likelihood)
87 *p = x
88 return p
89 }
90
91 func (x Likelihood) String() string {
92 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
93 }
94
95 func (Likelihood) Descriptor() protoreflect.EnumDescriptor {
96 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes[0].Descriptor()
97 }
98
99 func (Likelihood) Type() protoreflect.EnumType {
100 return &file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes[0]
101 }
102
103 func (x Likelihood) Number() protoreflect.EnumNumber {
104 return protoreflect.EnumNumber(x)
105 }
106
107 // Deprecated: Use Likelihood.Descriptor instead.
108 func (Likelihood) EnumDescriptor() ([]byte, []int) {
109 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{0}
110 }
111
112 // Type of image feature.
113 type Feature_Type int32
114
115 const (
116 // Unspecified feature type.
117 Feature_TYPE_UNSPECIFIED Feature_Type = 0
118 // Run face detection.
119 Feature_FACE_DETECTION Feature_Type = 1
120 // Run landmark detection.
121 Feature_LANDMARK_DETECTION Feature_Type = 2
122 // Run logo detection.
123 Feature_LOGO_DETECTION Feature_Type = 3
124 // Run label detection.
125 Feature_LABEL_DETECTION Feature_Type = 4
126 // Run OCR.
127 Feature_TEXT_DETECTION Feature_Type = 5
128 // Run dense text document OCR. Takes precedence when both
129 // DOCUMENT_TEXT_DETECTION and TEXT_DETECTION are present.
130 Feature_DOCUMENT_TEXT_DETECTION Feature_Type = 11
131 // Run computer vision models to compute image safe-search properties.
132 Feature_SAFE_SEARCH_DETECTION Feature_Type = 6
133 // Compute a set of image properties, such as the image's dominant colors.
134 Feature_IMAGE_PROPERTIES Feature_Type = 7
135 // Run crop hints.
136 Feature_CROP_HINTS Feature_Type = 9
137 // Run web detection.
138 Feature_WEB_DETECTION Feature_Type = 10
139 )
140
141 // Enum value maps for Feature_Type.
142 var (
143 Feature_Type_name = map[int32]string{
144 0: "TYPE_UNSPECIFIED",
145 1: "FACE_DETECTION",
146 2: "LANDMARK_DETECTION",
147 3: "LOGO_DETECTION",
148 4: "LABEL_DETECTION",
149 5: "TEXT_DETECTION",
150 11: "DOCUMENT_TEXT_DETECTION",
151 6: "SAFE_SEARCH_DETECTION",
152 7: "IMAGE_PROPERTIES",
153 9: "CROP_HINTS",
154 10: "WEB_DETECTION",
155 }
156 Feature_Type_value = map[string]int32{
157 "TYPE_UNSPECIFIED": 0,
158 "FACE_DETECTION": 1,
159 "LANDMARK_DETECTION": 2,
160 "LOGO_DETECTION": 3,
161 "LABEL_DETECTION": 4,
162 "TEXT_DETECTION": 5,
163 "DOCUMENT_TEXT_DETECTION": 11,
164 "SAFE_SEARCH_DETECTION": 6,
165 "IMAGE_PROPERTIES": 7,
166 "CROP_HINTS": 9,
167 "WEB_DETECTION": 10,
168 }
169 )
170
171 func (x Feature_Type) Enum() *Feature_Type {
172 p := new(Feature_Type)
173 *p = x
174 return p
175 }
176
177 func (x Feature_Type) String() string {
178 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
179 }
180
181 func (Feature_Type) Descriptor() protoreflect.EnumDescriptor {
182 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes[1].Descriptor()
183 }
184
185 func (Feature_Type) Type() protoreflect.EnumType {
186 return &file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes[1]
187 }
188
189 func (x Feature_Type) Number() protoreflect.EnumNumber {
190 return protoreflect.EnumNumber(x)
191 }
192
193 // Deprecated: Use Feature_Type.Descriptor instead.
194 func (Feature_Type) EnumDescriptor() ([]byte, []int) {
195 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{0, 0}
196 }
197
198 // Face landmark (feature) type.
199 // Left and right are defined from the vantage of the viewer of the image
200 // without considering mirror projections typical of photos. So, `LEFT_EYE`,
201 // typically, is the person's right eye.
202 type FaceAnnotation_Landmark_Type int32
203
204 const (
205 // Unknown face landmark detected. Should not be filled.
206 FaceAnnotation_Landmark_UNKNOWN_LANDMARK FaceAnnotation_Landmark_Type = 0
207 // Left eye.
208 FaceAnnotation_Landmark_LEFT_EYE FaceAnnotation_Landmark_Type = 1
209 // Right eye.
210 FaceAnnotation_Landmark_RIGHT_EYE FaceAnnotation_Landmark_Type = 2
211 // Left of left eyebrow.
212 FaceAnnotation_Landmark_LEFT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 3
213 // Right of left eyebrow.
214 FaceAnnotation_Landmark_RIGHT_OF_LEFT_EYEBROW FaceAnnotation_Landmark_Type = 4
215 // Left of right eyebrow.
216 FaceAnnotation_Landmark_LEFT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 5
217 // Right of right eyebrow.
218 FaceAnnotation_Landmark_RIGHT_OF_RIGHT_EYEBROW FaceAnnotation_Landmark_Type = 6
219 // Midpoint between eyes.
220 FaceAnnotation_Landmark_MIDPOINT_BETWEEN_EYES FaceAnnotation_Landmark_Type = 7
221 // Nose tip.
222 FaceAnnotation_Landmark_NOSE_TIP FaceAnnotation_Landmark_Type = 8
223 // Upper lip.
224 FaceAnnotation_Landmark_UPPER_LIP FaceAnnotation_Landmark_Type = 9
225 // Lower lip.
226 FaceAnnotation_Landmark_LOWER_LIP FaceAnnotation_Landmark_Type = 10
227 // Mouth left.
228 FaceAnnotation_Landmark_MOUTH_LEFT FaceAnnotation_Landmark_Type = 11
229 // Mouth right.
230 FaceAnnotation_Landmark_MOUTH_RIGHT FaceAnnotation_Landmark_Type = 12
231 // Mouth center.
232 FaceAnnotation_Landmark_MOUTH_CENTER FaceAnnotation_Landmark_Type = 13
233 // Nose, bottom right.
234 FaceAnnotation_Landmark_NOSE_BOTTOM_RIGHT FaceAnnotation_Landmark_Type = 14
235 // Nose, bottom left.
236 FaceAnnotation_Landmark_NOSE_BOTTOM_LEFT FaceAnnotation_Landmark_Type = 15
237 // Nose, bottom center.
238 FaceAnnotation_Landmark_NOSE_BOTTOM_CENTER FaceAnnotation_Landmark_Type = 16
239 // Left eye, top boundary.
240 FaceAnnotation_Landmark_LEFT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 17
241 // Left eye, right corner.
242 FaceAnnotation_Landmark_LEFT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 18
243 // Left eye, bottom boundary.
244 FaceAnnotation_Landmark_LEFT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 19
245 // Left eye, left corner.
246 FaceAnnotation_Landmark_LEFT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 20
247 // Right eye, top boundary.
248 FaceAnnotation_Landmark_RIGHT_EYE_TOP_BOUNDARY FaceAnnotation_Landmark_Type = 21
249 // Right eye, right corner.
250 FaceAnnotation_Landmark_RIGHT_EYE_RIGHT_CORNER FaceAnnotation_Landmark_Type = 22
251 // Right eye, bottom boundary.
252 FaceAnnotation_Landmark_RIGHT_EYE_BOTTOM_BOUNDARY FaceAnnotation_Landmark_Type = 23
253 // Right eye, left corner.
254 FaceAnnotation_Landmark_RIGHT_EYE_LEFT_CORNER FaceAnnotation_Landmark_Type = 24
255 // Left eyebrow, upper midpoint.
256 FaceAnnotation_Landmark_LEFT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 25
257 // Right eyebrow, upper midpoint.
258 FaceAnnotation_Landmark_RIGHT_EYEBROW_UPPER_MIDPOINT FaceAnnotation_Landmark_Type = 26
259 // Left ear tragion.
260 FaceAnnotation_Landmark_LEFT_EAR_TRAGION FaceAnnotation_Landmark_Type = 27
261 // Right ear tragion.
262 FaceAnnotation_Landmark_RIGHT_EAR_TRAGION FaceAnnotation_Landmark_Type = 28
263 // Left eye pupil.
264 FaceAnnotation_Landmark_LEFT_EYE_PUPIL FaceAnnotation_Landmark_Type = 29
265 // Right eye pupil.
266 FaceAnnotation_Landmark_RIGHT_EYE_PUPIL FaceAnnotation_Landmark_Type = 30
267 // Forehead glabella.
268 FaceAnnotation_Landmark_FOREHEAD_GLABELLA FaceAnnotation_Landmark_Type = 31
269 // Chin gnathion.
270 FaceAnnotation_Landmark_CHIN_GNATHION FaceAnnotation_Landmark_Type = 32
271 // Chin left gonion.
272 FaceAnnotation_Landmark_CHIN_LEFT_GONION FaceAnnotation_Landmark_Type = 33
273 // Chin right gonion.
274 FaceAnnotation_Landmark_CHIN_RIGHT_GONION FaceAnnotation_Landmark_Type = 34
275 )
276
277 // Enum value maps for FaceAnnotation_Landmark_Type.
278 var (
279 FaceAnnotation_Landmark_Type_name = map[int32]string{
280 0: "UNKNOWN_LANDMARK",
281 1: "LEFT_EYE",
282 2: "RIGHT_EYE",
283 3: "LEFT_OF_LEFT_EYEBROW",
284 4: "RIGHT_OF_LEFT_EYEBROW",
285 5: "LEFT_OF_RIGHT_EYEBROW",
286 6: "RIGHT_OF_RIGHT_EYEBROW",
287 7: "MIDPOINT_BETWEEN_EYES",
288 8: "NOSE_TIP",
289 9: "UPPER_LIP",
290 10: "LOWER_LIP",
291 11: "MOUTH_LEFT",
292 12: "MOUTH_RIGHT",
293 13: "MOUTH_CENTER",
294 14: "NOSE_BOTTOM_RIGHT",
295 15: "NOSE_BOTTOM_LEFT",
296 16: "NOSE_BOTTOM_CENTER",
297 17: "LEFT_EYE_TOP_BOUNDARY",
298 18: "LEFT_EYE_RIGHT_CORNER",
299 19: "LEFT_EYE_BOTTOM_BOUNDARY",
300 20: "LEFT_EYE_LEFT_CORNER",
301 21: "RIGHT_EYE_TOP_BOUNDARY",
302 22: "RIGHT_EYE_RIGHT_CORNER",
303 23: "RIGHT_EYE_BOTTOM_BOUNDARY",
304 24: "RIGHT_EYE_LEFT_CORNER",
305 25: "LEFT_EYEBROW_UPPER_MIDPOINT",
306 26: "RIGHT_EYEBROW_UPPER_MIDPOINT",
307 27: "LEFT_EAR_TRAGION",
308 28: "RIGHT_EAR_TRAGION",
309 29: "LEFT_EYE_PUPIL",
310 30: "RIGHT_EYE_PUPIL",
311 31: "FOREHEAD_GLABELLA",
312 32: "CHIN_GNATHION",
313 33: "CHIN_LEFT_GONION",
314 34: "CHIN_RIGHT_GONION",
315 }
316 FaceAnnotation_Landmark_Type_value = map[string]int32{
317 "UNKNOWN_LANDMARK": 0,
318 "LEFT_EYE": 1,
319 "RIGHT_EYE": 2,
320 "LEFT_OF_LEFT_EYEBROW": 3,
321 "RIGHT_OF_LEFT_EYEBROW": 4,
322 "LEFT_OF_RIGHT_EYEBROW": 5,
323 "RIGHT_OF_RIGHT_EYEBROW": 6,
324 "MIDPOINT_BETWEEN_EYES": 7,
325 "NOSE_TIP": 8,
326 "UPPER_LIP": 9,
327 "LOWER_LIP": 10,
328 "MOUTH_LEFT": 11,
329 "MOUTH_RIGHT": 12,
330 "MOUTH_CENTER": 13,
331 "NOSE_BOTTOM_RIGHT": 14,
332 "NOSE_BOTTOM_LEFT": 15,
333 "NOSE_BOTTOM_CENTER": 16,
334 "LEFT_EYE_TOP_BOUNDARY": 17,
335 "LEFT_EYE_RIGHT_CORNER": 18,
336 "LEFT_EYE_BOTTOM_BOUNDARY": 19,
337 "LEFT_EYE_LEFT_CORNER": 20,
338 "RIGHT_EYE_TOP_BOUNDARY": 21,
339 "RIGHT_EYE_RIGHT_CORNER": 22,
340 "RIGHT_EYE_BOTTOM_BOUNDARY": 23,
341 "RIGHT_EYE_LEFT_CORNER": 24,
342 "LEFT_EYEBROW_UPPER_MIDPOINT": 25,
343 "RIGHT_EYEBROW_UPPER_MIDPOINT": 26,
344 "LEFT_EAR_TRAGION": 27,
345 "RIGHT_EAR_TRAGION": 28,
346 "LEFT_EYE_PUPIL": 29,
347 "RIGHT_EYE_PUPIL": 30,
348 "FOREHEAD_GLABELLA": 31,
349 "CHIN_GNATHION": 32,
350 "CHIN_LEFT_GONION": 33,
351 "CHIN_RIGHT_GONION": 34,
352 }
353 )
354
355 func (x FaceAnnotation_Landmark_Type) Enum() *FaceAnnotation_Landmark_Type {
356 p := new(FaceAnnotation_Landmark_Type)
357 *p = x
358 return p
359 }
360
361 func (x FaceAnnotation_Landmark_Type) String() string {
362 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
363 }
364
365 func (FaceAnnotation_Landmark_Type) Descriptor() protoreflect.EnumDescriptor {
366 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes[2].Descriptor()
367 }
368
369 func (FaceAnnotation_Landmark_Type) Type() protoreflect.EnumType {
370 return &file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes[2]
371 }
372
373 func (x FaceAnnotation_Landmark_Type) Number() protoreflect.EnumNumber {
374 return protoreflect.EnumNumber(x)
375 }
376
377 // Deprecated: Use FaceAnnotation_Landmark_Type.Descriptor instead.
378 func (FaceAnnotation_Landmark_Type) EnumDescriptor() ([]byte, []int) {
379 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{3, 0, 0}
380 }
381
382 // Users describe the type of Google Cloud Vision API tasks to perform over
383 // images by using *Feature*s. Each Feature indicates a type of image
384 // detection task to perform. Features encode the Cloud Vision API
385 // vertical to operate on and the number of top-scoring results to return.
386 type Feature struct {
387 state protoimpl.MessageState
388 sizeCache protoimpl.SizeCache
389 unknownFields protoimpl.UnknownFields
390
391 // The feature type.
392 Type Feature_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.vision.v1p1beta1.Feature_Type" json:"type,omitempty"`
393 // Maximum number of results of this type.
394 MaxResults int32 `protobuf:"varint,2,opt,name=max_results,json=maxResults,proto3" json:"max_results,omitempty"`
395 // Model to use for the feature.
396 // Supported values: "builtin/stable" (the default if unset) and
397 // "builtin/latest". `DOCUMENT_TEXT_DETECTION` and `TEXT_DETECTION` also
398 // support "builtin/weekly" for the bleeding edge release updated weekly.
399 Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
400 }
401
402 func (x *Feature) Reset() {
403 *x = Feature{}
404 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[0]
405 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
406 ms.StoreMessageInfo(mi)
407 }
408
409 func (x *Feature) String() string {
410 return protoimpl.X.MessageStringOf(x)
411 }
412
413 func (*Feature) ProtoMessage() {}
414
415 func (x *Feature) ProtoReflect() protoreflect.Message {
416 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[0]
417 if x != nil {
418 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
419 if ms.LoadMessageInfo() == nil {
420 ms.StoreMessageInfo(mi)
421 }
422 return ms
423 }
424 return mi.MessageOf(x)
425 }
426
427 // Deprecated: Use Feature.ProtoReflect.Descriptor instead.
428 func (*Feature) Descriptor() ([]byte, []int) {
429 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{0}
430 }
431
432 func (x *Feature) GetType() Feature_Type {
433 if x != nil {
434 return x.Type
435 }
436 return Feature_TYPE_UNSPECIFIED
437 }
438
439 func (x *Feature) GetMaxResults() int32 {
440 if x != nil {
441 return x.MaxResults
442 }
443 return 0
444 }
445
446 func (x *Feature) GetModel() string {
447 if x != nil {
448 return x.Model
449 }
450 return ""
451 }
452
453 // External image source (Google Cloud Storage image location).
454 type ImageSource struct {
455 state protoimpl.MessageState
456 sizeCache protoimpl.SizeCache
457 unknownFields protoimpl.UnknownFields
458
459 // NOTE: For new code `image_uri` below is preferred.
460 // Google Cloud Storage image URI, which must be in the following form:
461 // `gs://bucket_name/object_name` (for details, see
462 // [Google Cloud Storage Request
463 // URIs](https://cloud.google.com/storage/docs/reference-uris)).
464 // NOTE: Cloud Storage object versioning is not supported.
465 GcsImageUri string `protobuf:"bytes,1,opt,name=gcs_image_uri,json=gcsImageUri,proto3" json:"gcs_image_uri,omitempty"`
466 // Image URI which supports:
467 // 1) Google Cloud Storage image URI, which must be in the following form:
468 // `gs://bucket_name/object_name` (for details, see
469 // [Google Cloud Storage Request
470 // URIs](https://cloud.google.com/storage/docs/reference-uris)).
471 // NOTE: Cloud Storage object versioning is not supported.
472 // 2) Publicly accessible image HTTP/HTTPS URL.
473 // This is preferred over the legacy `gcs_image_uri` above. When both
474 // `gcs_image_uri` and `image_uri` are specified, `image_uri` takes
475 // precedence.
476 ImageUri string `protobuf:"bytes,2,opt,name=image_uri,json=imageUri,proto3" json:"image_uri,omitempty"`
477 }
478
479 func (x *ImageSource) Reset() {
480 *x = ImageSource{}
481 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[1]
482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
483 ms.StoreMessageInfo(mi)
484 }
485
486 func (x *ImageSource) String() string {
487 return protoimpl.X.MessageStringOf(x)
488 }
489
490 func (*ImageSource) ProtoMessage() {}
491
492 func (x *ImageSource) ProtoReflect() protoreflect.Message {
493 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[1]
494 if x != nil {
495 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
496 if ms.LoadMessageInfo() == nil {
497 ms.StoreMessageInfo(mi)
498 }
499 return ms
500 }
501 return mi.MessageOf(x)
502 }
503
504 // Deprecated: Use ImageSource.ProtoReflect.Descriptor instead.
505 func (*ImageSource) Descriptor() ([]byte, []int) {
506 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{1}
507 }
508
509 func (x *ImageSource) GetGcsImageUri() string {
510 if x != nil {
511 return x.GcsImageUri
512 }
513 return ""
514 }
515
516 func (x *ImageSource) GetImageUri() string {
517 if x != nil {
518 return x.ImageUri
519 }
520 return ""
521 }
522
523 // Client image to perform Google Cloud Vision API tasks over.
524 type Image struct {
525 state protoimpl.MessageState
526 sizeCache protoimpl.SizeCache
527 unknownFields protoimpl.UnknownFields
528
529 // Image content, represented as a stream of bytes.
530 // Note: as with all `bytes` fields, protobuffers use a pure binary
531 // representation, whereas JSON representations use base64.
532 Content []byte `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
533 // Google Cloud Storage image location. If both `content` and `source`
534 // are provided for an image, `content` takes precedence and is
535 // used to perform the image annotation request.
536 Source *ImageSource `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"`
537 }
538
539 func (x *Image) Reset() {
540 *x = Image{}
541 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[2]
542 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
543 ms.StoreMessageInfo(mi)
544 }
545
546 func (x *Image) String() string {
547 return protoimpl.X.MessageStringOf(x)
548 }
549
550 func (*Image) ProtoMessage() {}
551
552 func (x *Image) ProtoReflect() protoreflect.Message {
553 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[2]
554 if x != nil {
555 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
556 if ms.LoadMessageInfo() == nil {
557 ms.StoreMessageInfo(mi)
558 }
559 return ms
560 }
561 return mi.MessageOf(x)
562 }
563
564 // Deprecated: Use Image.ProtoReflect.Descriptor instead.
565 func (*Image) Descriptor() ([]byte, []int) {
566 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{2}
567 }
568
569 func (x *Image) GetContent() []byte {
570 if x != nil {
571 return x.Content
572 }
573 return nil
574 }
575
576 func (x *Image) GetSource() *ImageSource {
577 if x != nil {
578 return x.Source
579 }
580 return nil
581 }
582
583 // A face annotation object contains the results of face detection.
584 type FaceAnnotation struct {
585 state protoimpl.MessageState
586 sizeCache protoimpl.SizeCache
587 unknownFields protoimpl.UnknownFields
588
589 // The bounding polygon around the face. The coordinates of the bounding box
590 // are in the original image's scale, as returned in `ImageParams`.
591 // The bounding box is computed to "frame" the face in accordance with human
592 // expectations. It is based on the landmarker results.
593 // Note that one or more x and/or y coordinates may not be generated in the
594 // `BoundingPoly` (the polygon will be unbounded) if only a partial face
595 // appears in the image to be annotated.
596 BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
597 // The `fd_bounding_poly` bounding polygon is tighter than the
598 // `boundingPoly`, and encloses only the skin part of the face. Typically, it
599 // is used to eliminate the face from any image analysis that detects the
600 // "amount of skin" visible in an image. It is not based on the
601 // landmarker results, only on the initial face detection, hence
602 // the <code>fd</code> (face detection) prefix.
603 FdBoundingPoly *BoundingPoly `protobuf:"bytes,2,opt,name=fd_bounding_poly,json=fdBoundingPoly,proto3" json:"fd_bounding_poly,omitempty"`
604 // Detected face landmarks.
605 Landmarks []*FaceAnnotation_Landmark `protobuf:"bytes,3,rep,name=landmarks,proto3" json:"landmarks,omitempty"`
606 // Roll angle, which indicates the amount of clockwise/anti-clockwise rotation
607 // of the face relative to the image vertical about the axis perpendicular to
608 // the face. Range [-180,180].
609 RollAngle float32 `protobuf:"fixed32,4,opt,name=roll_angle,json=rollAngle,proto3" json:"roll_angle,omitempty"`
610 // Yaw angle, which indicates the leftward/rightward angle that the face is
611 // pointing relative to the vertical plane perpendicular to the image. Range
612 // [-180,180].
613 PanAngle float32 `protobuf:"fixed32,5,opt,name=pan_angle,json=panAngle,proto3" json:"pan_angle,omitempty"`
614 // Pitch angle, which indicates the upwards/downwards angle that the face is
615 // pointing relative to the image's horizontal plane. Range [-180,180].
616 TiltAngle float32 `protobuf:"fixed32,6,opt,name=tilt_angle,json=tiltAngle,proto3" json:"tilt_angle,omitempty"`
617 // Detection confidence. Range [0, 1].
618 DetectionConfidence float32 `protobuf:"fixed32,7,opt,name=detection_confidence,json=detectionConfidence,proto3" json:"detection_confidence,omitempty"`
619 // Face landmarking confidence. Range [0, 1].
620 LandmarkingConfidence float32 `protobuf:"fixed32,8,opt,name=landmarking_confidence,json=landmarkingConfidence,proto3" json:"landmarking_confidence,omitempty"`
621 // Joy likelihood.
622 JoyLikelihood Likelihood `protobuf:"varint,9,opt,name=joy_likelihood,json=joyLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"joy_likelihood,omitempty"`
623 // Sorrow likelihood.
624 SorrowLikelihood Likelihood `protobuf:"varint,10,opt,name=sorrow_likelihood,json=sorrowLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"sorrow_likelihood,omitempty"`
625 // Anger likelihood.
626 AngerLikelihood Likelihood `protobuf:"varint,11,opt,name=anger_likelihood,json=angerLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"anger_likelihood,omitempty"`
627 // Surprise likelihood.
628 SurpriseLikelihood Likelihood `protobuf:"varint,12,opt,name=surprise_likelihood,json=surpriseLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"surprise_likelihood,omitempty"`
629 // Under-exposed likelihood.
630 UnderExposedLikelihood Likelihood `protobuf:"varint,13,opt,name=under_exposed_likelihood,json=underExposedLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"under_exposed_likelihood,omitempty"`
631 // Blurred likelihood.
632 BlurredLikelihood Likelihood `protobuf:"varint,14,opt,name=blurred_likelihood,json=blurredLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"blurred_likelihood,omitempty"`
633 // Headwear likelihood.
634 HeadwearLikelihood Likelihood `protobuf:"varint,15,opt,name=headwear_likelihood,json=headwearLikelihood,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"headwear_likelihood,omitempty"`
635 }
636
637 func (x *FaceAnnotation) Reset() {
638 *x = FaceAnnotation{}
639 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[3]
640 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
641 ms.StoreMessageInfo(mi)
642 }
643
644 func (x *FaceAnnotation) String() string {
645 return protoimpl.X.MessageStringOf(x)
646 }
647
648 func (*FaceAnnotation) ProtoMessage() {}
649
650 func (x *FaceAnnotation) ProtoReflect() protoreflect.Message {
651 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[3]
652 if x != nil {
653 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
654 if ms.LoadMessageInfo() == nil {
655 ms.StoreMessageInfo(mi)
656 }
657 return ms
658 }
659 return mi.MessageOf(x)
660 }
661
662 // Deprecated: Use FaceAnnotation.ProtoReflect.Descriptor instead.
663 func (*FaceAnnotation) Descriptor() ([]byte, []int) {
664 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{3}
665 }
666
667 func (x *FaceAnnotation) GetBoundingPoly() *BoundingPoly {
668 if x != nil {
669 return x.BoundingPoly
670 }
671 return nil
672 }
673
674 func (x *FaceAnnotation) GetFdBoundingPoly() *BoundingPoly {
675 if x != nil {
676 return x.FdBoundingPoly
677 }
678 return nil
679 }
680
681 func (x *FaceAnnotation) GetLandmarks() []*FaceAnnotation_Landmark {
682 if x != nil {
683 return x.Landmarks
684 }
685 return nil
686 }
687
688 func (x *FaceAnnotation) GetRollAngle() float32 {
689 if x != nil {
690 return x.RollAngle
691 }
692 return 0
693 }
694
695 func (x *FaceAnnotation) GetPanAngle() float32 {
696 if x != nil {
697 return x.PanAngle
698 }
699 return 0
700 }
701
702 func (x *FaceAnnotation) GetTiltAngle() float32 {
703 if x != nil {
704 return x.TiltAngle
705 }
706 return 0
707 }
708
709 func (x *FaceAnnotation) GetDetectionConfidence() float32 {
710 if x != nil {
711 return x.DetectionConfidence
712 }
713 return 0
714 }
715
716 func (x *FaceAnnotation) GetLandmarkingConfidence() float32 {
717 if x != nil {
718 return x.LandmarkingConfidence
719 }
720 return 0
721 }
722
723 func (x *FaceAnnotation) GetJoyLikelihood() Likelihood {
724 if x != nil {
725 return x.JoyLikelihood
726 }
727 return Likelihood_UNKNOWN
728 }
729
730 func (x *FaceAnnotation) GetSorrowLikelihood() Likelihood {
731 if x != nil {
732 return x.SorrowLikelihood
733 }
734 return Likelihood_UNKNOWN
735 }
736
737 func (x *FaceAnnotation) GetAngerLikelihood() Likelihood {
738 if x != nil {
739 return x.AngerLikelihood
740 }
741 return Likelihood_UNKNOWN
742 }
743
744 func (x *FaceAnnotation) GetSurpriseLikelihood() Likelihood {
745 if x != nil {
746 return x.SurpriseLikelihood
747 }
748 return Likelihood_UNKNOWN
749 }
750
751 func (x *FaceAnnotation) GetUnderExposedLikelihood() Likelihood {
752 if x != nil {
753 return x.UnderExposedLikelihood
754 }
755 return Likelihood_UNKNOWN
756 }
757
758 func (x *FaceAnnotation) GetBlurredLikelihood() Likelihood {
759 if x != nil {
760 return x.BlurredLikelihood
761 }
762 return Likelihood_UNKNOWN
763 }
764
765 func (x *FaceAnnotation) GetHeadwearLikelihood() Likelihood {
766 if x != nil {
767 return x.HeadwearLikelihood
768 }
769 return Likelihood_UNKNOWN
770 }
771
772 // Detected entity location information.
773 type LocationInfo struct {
774 state protoimpl.MessageState
775 sizeCache protoimpl.SizeCache
776 unknownFields protoimpl.UnknownFields
777
778 // lat/long location coordinates.
779 LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
780 }
781
782 func (x *LocationInfo) Reset() {
783 *x = LocationInfo{}
784 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[4]
785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
786 ms.StoreMessageInfo(mi)
787 }
788
789 func (x *LocationInfo) String() string {
790 return protoimpl.X.MessageStringOf(x)
791 }
792
793 func (*LocationInfo) ProtoMessage() {}
794
795 func (x *LocationInfo) ProtoReflect() protoreflect.Message {
796 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[4]
797 if x != nil {
798 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
799 if ms.LoadMessageInfo() == nil {
800 ms.StoreMessageInfo(mi)
801 }
802 return ms
803 }
804 return mi.MessageOf(x)
805 }
806
807 // Deprecated: Use LocationInfo.ProtoReflect.Descriptor instead.
808 func (*LocationInfo) Descriptor() ([]byte, []int) {
809 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{4}
810 }
811
812 func (x *LocationInfo) GetLatLng() *latlng.LatLng {
813 if x != nil {
814 return x.LatLng
815 }
816 return nil
817 }
818
819 // A `Property` consists of a user-supplied name/value pair.
820 type Property struct {
821 state protoimpl.MessageState
822 sizeCache protoimpl.SizeCache
823 unknownFields protoimpl.UnknownFields
824
825 // Name of the property.
826 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
827 // Value of the property.
828 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
829 // Value of numeric properties.
830 Uint64Value uint64 `protobuf:"varint,3,opt,name=uint64_value,json=uint64Value,proto3" json:"uint64_value,omitempty"`
831 }
832
833 func (x *Property) Reset() {
834 *x = Property{}
835 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[5]
836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
837 ms.StoreMessageInfo(mi)
838 }
839
840 func (x *Property) String() string {
841 return protoimpl.X.MessageStringOf(x)
842 }
843
844 func (*Property) ProtoMessage() {}
845
846 func (x *Property) ProtoReflect() protoreflect.Message {
847 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[5]
848 if x != nil {
849 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
850 if ms.LoadMessageInfo() == nil {
851 ms.StoreMessageInfo(mi)
852 }
853 return ms
854 }
855 return mi.MessageOf(x)
856 }
857
858 // Deprecated: Use Property.ProtoReflect.Descriptor instead.
859 func (*Property) Descriptor() ([]byte, []int) {
860 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{5}
861 }
862
863 func (x *Property) GetName() string {
864 if x != nil {
865 return x.Name
866 }
867 return ""
868 }
869
870 func (x *Property) GetValue() string {
871 if x != nil {
872 return x.Value
873 }
874 return ""
875 }
876
877 func (x *Property) GetUint64Value() uint64 {
878 if x != nil {
879 return x.Uint64Value
880 }
881 return 0
882 }
883
884 // Set of detected entity features.
885 type EntityAnnotation struct {
886 state protoimpl.MessageState
887 sizeCache protoimpl.SizeCache
888 unknownFields protoimpl.UnknownFields
889
890 // Opaque entity ID. Some IDs may be available in
891 // [Google Knowledge Graph Search
892 // API](https://developers.google.com/knowledge-graph/).
893 Mid string `protobuf:"bytes,1,opt,name=mid,proto3" json:"mid,omitempty"`
894 // The language code for the locale in which the entity textual
895 // `description` is expressed.
896 Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"`
897 // Entity textual description, expressed in its `locale` language.
898 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
899 // Overall score of the result. Range [0, 1].
900 Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"`
901 // The accuracy of the entity detection in an image.
902 // For example, for an image in which the "Eiffel Tower" entity is detected,
903 // this field represents the confidence that there is a tower in the query
904 // image. Range [0, 1].
905 Confidence float32 `protobuf:"fixed32,5,opt,name=confidence,proto3" json:"confidence,omitempty"`
906 // The relevancy of the ICA (Image Content Annotation) label to the
907 // image. For example, the relevancy of "tower" is likely higher to an image
908 // containing the detected "Eiffel Tower" than to an image containing a
909 // detected distant towering building, even though the confidence that
910 // there is a tower in each image may be the same. Range [0, 1].
911 Topicality float32 `protobuf:"fixed32,6,opt,name=topicality,proto3" json:"topicality,omitempty"`
912 // Image region to which this entity belongs. Not produced
913 // for `LABEL_DETECTION` features.
914 BoundingPoly *BoundingPoly `protobuf:"bytes,7,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
915 // The location information for the detected entity. Multiple
916 // `LocationInfo` elements can be present because one location may
917 // indicate the location of the scene in the image, and another location
918 // may indicate the location of the place where the image was taken.
919 // Location information is usually present for landmarks.
920 Locations []*LocationInfo `protobuf:"bytes,8,rep,name=locations,proto3" json:"locations,omitempty"`
921 // Some entities may have optional user-supplied `Property` (name/value)
922 // fields, such a score or string that qualifies the entity.
923 Properties []*Property `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"`
924 }
925
926 func (x *EntityAnnotation) Reset() {
927 *x = EntityAnnotation{}
928 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[6]
929 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
930 ms.StoreMessageInfo(mi)
931 }
932
933 func (x *EntityAnnotation) String() string {
934 return protoimpl.X.MessageStringOf(x)
935 }
936
937 func (*EntityAnnotation) ProtoMessage() {}
938
939 func (x *EntityAnnotation) ProtoReflect() protoreflect.Message {
940 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[6]
941 if x != nil {
942 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
943 if ms.LoadMessageInfo() == nil {
944 ms.StoreMessageInfo(mi)
945 }
946 return ms
947 }
948 return mi.MessageOf(x)
949 }
950
951 // Deprecated: Use EntityAnnotation.ProtoReflect.Descriptor instead.
952 func (*EntityAnnotation) Descriptor() ([]byte, []int) {
953 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{6}
954 }
955
956 func (x *EntityAnnotation) GetMid() string {
957 if x != nil {
958 return x.Mid
959 }
960 return ""
961 }
962
963 func (x *EntityAnnotation) GetLocale() string {
964 if x != nil {
965 return x.Locale
966 }
967 return ""
968 }
969
970 func (x *EntityAnnotation) GetDescription() string {
971 if x != nil {
972 return x.Description
973 }
974 return ""
975 }
976
977 func (x *EntityAnnotation) GetScore() float32 {
978 if x != nil {
979 return x.Score
980 }
981 return 0
982 }
983
984 func (x *EntityAnnotation) GetConfidence() float32 {
985 if x != nil {
986 return x.Confidence
987 }
988 return 0
989 }
990
991 func (x *EntityAnnotation) GetTopicality() float32 {
992 if x != nil {
993 return x.Topicality
994 }
995 return 0
996 }
997
998 func (x *EntityAnnotation) GetBoundingPoly() *BoundingPoly {
999 if x != nil {
1000 return x.BoundingPoly
1001 }
1002 return nil
1003 }
1004
1005 func (x *EntityAnnotation) GetLocations() []*LocationInfo {
1006 if x != nil {
1007 return x.Locations
1008 }
1009 return nil
1010 }
1011
1012 func (x *EntityAnnotation) GetProperties() []*Property {
1013 if x != nil {
1014 return x.Properties
1015 }
1016 return nil
1017 }
1018
1019 // Set of features pertaining to the image, computed by computer vision
1020 // methods over safe-search verticals (for example, adult, spoof, medical,
1021 // violence).
1022 type SafeSearchAnnotation struct {
1023 state protoimpl.MessageState
1024 sizeCache protoimpl.SizeCache
1025 unknownFields protoimpl.UnknownFields
1026
1027 // Represents the adult content likelihood for the image. Adult content may
1028 // contain elements such as nudity, pornographic images or cartoons, or
1029 // sexual activities.
1030 Adult Likelihood `protobuf:"varint,1,opt,name=adult,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"adult,omitempty"`
1031 // Spoof likelihood. The likelihood that an modification
1032 // was made to the image's canonical version to make it appear
1033 // funny or offensive.
1034 Spoof Likelihood `protobuf:"varint,2,opt,name=spoof,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"spoof,omitempty"`
1035 // Likelihood that this is a medical image.
1036 Medical Likelihood `protobuf:"varint,3,opt,name=medical,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"medical,omitempty"`
1037 // Likelihood that this image contains violent content.
1038 Violence Likelihood `protobuf:"varint,4,opt,name=violence,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"violence,omitempty"`
1039 // Likelihood that the request image contains racy content. Racy content may
1040 // include (but is not limited to) skimpy or sheer clothing, strategically
1041 // covered nudity, lewd or provocative poses, or close-ups of sensitive
1042 // body areas.
1043 Racy Likelihood `protobuf:"varint,9,opt,name=racy,proto3,enum=google.cloud.vision.v1p1beta1.Likelihood" json:"racy,omitempty"`
1044 }
1045
1046 func (x *SafeSearchAnnotation) Reset() {
1047 *x = SafeSearchAnnotation{}
1048 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[7]
1049 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1050 ms.StoreMessageInfo(mi)
1051 }
1052
1053 func (x *SafeSearchAnnotation) String() string {
1054 return protoimpl.X.MessageStringOf(x)
1055 }
1056
1057 func (*SafeSearchAnnotation) ProtoMessage() {}
1058
1059 func (x *SafeSearchAnnotation) ProtoReflect() protoreflect.Message {
1060 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[7]
1061 if x != nil {
1062 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1063 if ms.LoadMessageInfo() == nil {
1064 ms.StoreMessageInfo(mi)
1065 }
1066 return ms
1067 }
1068 return mi.MessageOf(x)
1069 }
1070
1071 // Deprecated: Use SafeSearchAnnotation.ProtoReflect.Descriptor instead.
1072 func (*SafeSearchAnnotation) Descriptor() ([]byte, []int) {
1073 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{7}
1074 }
1075
1076 func (x *SafeSearchAnnotation) GetAdult() Likelihood {
1077 if x != nil {
1078 return x.Adult
1079 }
1080 return Likelihood_UNKNOWN
1081 }
1082
1083 func (x *SafeSearchAnnotation) GetSpoof() Likelihood {
1084 if x != nil {
1085 return x.Spoof
1086 }
1087 return Likelihood_UNKNOWN
1088 }
1089
1090 func (x *SafeSearchAnnotation) GetMedical() Likelihood {
1091 if x != nil {
1092 return x.Medical
1093 }
1094 return Likelihood_UNKNOWN
1095 }
1096
1097 func (x *SafeSearchAnnotation) GetViolence() Likelihood {
1098 if x != nil {
1099 return x.Violence
1100 }
1101 return Likelihood_UNKNOWN
1102 }
1103
1104 func (x *SafeSearchAnnotation) GetRacy() Likelihood {
1105 if x != nil {
1106 return x.Racy
1107 }
1108 return Likelihood_UNKNOWN
1109 }
1110
1111 // Rectangle determined by min and max `LatLng` pairs.
1112 type LatLongRect struct {
1113 state protoimpl.MessageState
1114 sizeCache protoimpl.SizeCache
1115 unknownFields protoimpl.UnknownFields
1116
1117 // Min lat/long pair.
1118 MinLatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=min_lat_lng,json=minLatLng,proto3" json:"min_lat_lng,omitempty"`
1119 // Max lat/long pair.
1120 MaxLatLng *latlng.LatLng `protobuf:"bytes,2,opt,name=max_lat_lng,json=maxLatLng,proto3" json:"max_lat_lng,omitempty"`
1121 }
1122
1123 func (x *LatLongRect) Reset() {
1124 *x = LatLongRect{}
1125 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[8]
1126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1127 ms.StoreMessageInfo(mi)
1128 }
1129
1130 func (x *LatLongRect) String() string {
1131 return protoimpl.X.MessageStringOf(x)
1132 }
1133
1134 func (*LatLongRect) ProtoMessage() {}
1135
1136 func (x *LatLongRect) ProtoReflect() protoreflect.Message {
1137 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[8]
1138 if x != nil {
1139 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1140 if ms.LoadMessageInfo() == nil {
1141 ms.StoreMessageInfo(mi)
1142 }
1143 return ms
1144 }
1145 return mi.MessageOf(x)
1146 }
1147
1148 // Deprecated: Use LatLongRect.ProtoReflect.Descriptor instead.
1149 func (*LatLongRect) Descriptor() ([]byte, []int) {
1150 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{8}
1151 }
1152
1153 func (x *LatLongRect) GetMinLatLng() *latlng.LatLng {
1154 if x != nil {
1155 return x.MinLatLng
1156 }
1157 return nil
1158 }
1159
1160 func (x *LatLongRect) GetMaxLatLng() *latlng.LatLng {
1161 if x != nil {
1162 return x.MaxLatLng
1163 }
1164 return nil
1165 }
1166
1167 // Color information consists of RGB channels, score, and the fraction of
1168 // the image that the color occupies in the image.
1169 type ColorInfo struct {
1170 state protoimpl.MessageState
1171 sizeCache protoimpl.SizeCache
1172 unknownFields protoimpl.UnknownFields
1173
1174 // RGB components of the color.
1175 Color *color.Color `protobuf:"bytes,1,opt,name=color,proto3" json:"color,omitempty"`
1176 // Image-specific score for this color. Value in range [0, 1].
1177 Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
1178 // The fraction of pixels the color occupies in the image.
1179 // Value in range [0, 1].
1180 PixelFraction float32 `protobuf:"fixed32,3,opt,name=pixel_fraction,json=pixelFraction,proto3" json:"pixel_fraction,omitempty"`
1181 }
1182
1183 func (x *ColorInfo) Reset() {
1184 *x = ColorInfo{}
1185 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[9]
1186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1187 ms.StoreMessageInfo(mi)
1188 }
1189
1190 func (x *ColorInfo) String() string {
1191 return protoimpl.X.MessageStringOf(x)
1192 }
1193
1194 func (*ColorInfo) ProtoMessage() {}
1195
1196 func (x *ColorInfo) ProtoReflect() protoreflect.Message {
1197 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[9]
1198 if x != nil {
1199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1200 if ms.LoadMessageInfo() == nil {
1201 ms.StoreMessageInfo(mi)
1202 }
1203 return ms
1204 }
1205 return mi.MessageOf(x)
1206 }
1207
1208 // Deprecated: Use ColorInfo.ProtoReflect.Descriptor instead.
1209 func (*ColorInfo) Descriptor() ([]byte, []int) {
1210 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{9}
1211 }
1212
1213 func (x *ColorInfo) GetColor() *color.Color {
1214 if x != nil {
1215 return x.Color
1216 }
1217 return nil
1218 }
1219
1220 func (x *ColorInfo) GetScore() float32 {
1221 if x != nil {
1222 return x.Score
1223 }
1224 return 0
1225 }
1226
1227 func (x *ColorInfo) GetPixelFraction() float32 {
1228 if x != nil {
1229 return x.PixelFraction
1230 }
1231 return 0
1232 }
1233
1234 // Set of dominant colors and their corresponding scores.
1235 type DominantColorsAnnotation struct {
1236 state protoimpl.MessageState
1237 sizeCache protoimpl.SizeCache
1238 unknownFields protoimpl.UnknownFields
1239
1240 // RGB color values with their score and pixel fraction.
1241 Colors []*ColorInfo `protobuf:"bytes,1,rep,name=colors,proto3" json:"colors,omitempty"`
1242 }
1243
1244 func (x *DominantColorsAnnotation) Reset() {
1245 *x = DominantColorsAnnotation{}
1246 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[10]
1247 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1248 ms.StoreMessageInfo(mi)
1249 }
1250
1251 func (x *DominantColorsAnnotation) String() string {
1252 return protoimpl.X.MessageStringOf(x)
1253 }
1254
1255 func (*DominantColorsAnnotation) ProtoMessage() {}
1256
1257 func (x *DominantColorsAnnotation) ProtoReflect() protoreflect.Message {
1258 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[10]
1259 if x != nil {
1260 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1261 if ms.LoadMessageInfo() == nil {
1262 ms.StoreMessageInfo(mi)
1263 }
1264 return ms
1265 }
1266 return mi.MessageOf(x)
1267 }
1268
1269 // Deprecated: Use DominantColorsAnnotation.ProtoReflect.Descriptor instead.
1270 func (*DominantColorsAnnotation) Descriptor() ([]byte, []int) {
1271 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{10}
1272 }
1273
1274 func (x *DominantColorsAnnotation) GetColors() []*ColorInfo {
1275 if x != nil {
1276 return x.Colors
1277 }
1278 return nil
1279 }
1280
1281 // Stores image properties, such as dominant colors.
1282 type ImageProperties struct {
1283 state protoimpl.MessageState
1284 sizeCache protoimpl.SizeCache
1285 unknownFields protoimpl.UnknownFields
1286
1287 // If present, dominant colors completed successfully.
1288 DominantColors *DominantColorsAnnotation `protobuf:"bytes,1,opt,name=dominant_colors,json=dominantColors,proto3" json:"dominant_colors,omitempty"`
1289 }
1290
1291 func (x *ImageProperties) Reset() {
1292 *x = ImageProperties{}
1293 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[11]
1294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1295 ms.StoreMessageInfo(mi)
1296 }
1297
1298 func (x *ImageProperties) String() string {
1299 return protoimpl.X.MessageStringOf(x)
1300 }
1301
1302 func (*ImageProperties) ProtoMessage() {}
1303
1304 func (x *ImageProperties) ProtoReflect() protoreflect.Message {
1305 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[11]
1306 if x != nil {
1307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1308 if ms.LoadMessageInfo() == nil {
1309 ms.StoreMessageInfo(mi)
1310 }
1311 return ms
1312 }
1313 return mi.MessageOf(x)
1314 }
1315
1316 // Deprecated: Use ImageProperties.ProtoReflect.Descriptor instead.
1317 func (*ImageProperties) Descriptor() ([]byte, []int) {
1318 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{11}
1319 }
1320
1321 func (x *ImageProperties) GetDominantColors() *DominantColorsAnnotation {
1322 if x != nil {
1323 return x.DominantColors
1324 }
1325 return nil
1326 }
1327
1328 // Single crop hint that is used to generate a new crop when serving an image.
1329 type CropHint struct {
1330 state protoimpl.MessageState
1331 sizeCache protoimpl.SizeCache
1332 unknownFields protoimpl.UnknownFields
1333
1334 // The bounding polygon for the crop region. The coordinates of the bounding
1335 // box are in the original image's scale, as returned in `ImageParams`.
1336 BoundingPoly *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"`
1337 // Confidence of this being a salient region. Range [0, 1].
1338 Confidence float32 `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
1339 // Fraction of importance of this salient region with respect to the original
1340 // image.
1341 ImportanceFraction float32 `protobuf:"fixed32,3,opt,name=importance_fraction,json=importanceFraction,proto3" json:"importance_fraction,omitempty"`
1342 }
1343
1344 func (x *CropHint) Reset() {
1345 *x = CropHint{}
1346 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[12]
1347 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1348 ms.StoreMessageInfo(mi)
1349 }
1350
1351 func (x *CropHint) String() string {
1352 return protoimpl.X.MessageStringOf(x)
1353 }
1354
1355 func (*CropHint) ProtoMessage() {}
1356
1357 func (x *CropHint) ProtoReflect() protoreflect.Message {
1358 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[12]
1359 if x != nil {
1360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1361 if ms.LoadMessageInfo() == nil {
1362 ms.StoreMessageInfo(mi)
1363 }
1364 return ms
1365 }
1366 return mi.MessageOf(x)
1367 }
1368
1369 // Deprecated: Use CropHint.ProtoReflect.Descriptor instead.
1370 func (*CropHint) Descriptor() ([]byte, []int) {
1371 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{12}
1372 }
1373
1374 func (x *CropHint) GetBoundingPoly() *BoundingPoly {
1375 if x != nil {
1376 return x.BoundingPoly
1377 }
1378 return nil
1379 }
1380
1381 func (x *CropHint) GetConfidence() float32 {
1382 if x != nil {
1383 return x.Confidence
1384 }
1385 return 0
1386 }
1387
1388 func (x *CropHint) GetImportanceFraction() float32 {
1389 if x != nil {
1390 return x.ImportanceFraction
1391 }
1392 return 0
1393 }
1394
1395 // Set of crop hints that are used to generate new crops when serving images.
1396 type CropHintsAnnotation struct {
1397 state protoimpl.MessageState
1398 sizeCache protoimpl.SizeCache
1399 unknownFields protoimpl.UnknownFields
1400
1401 // Crop hint results.
1402 CropHints []*CropHint `protobuf:"bytes,1,rep,name=crop_hints,json=cropHints,proto3" json:"crop_hints,omitempty"`
1403 }
1404
1405 func (x *CropHintsAnnotation) Reset() {
1406 *x = CropHintsAnnotation{}
1407 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[13]
1408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1409 ms.StoreMessageInfo(mi)
1410 }
1411
1412 func (x *CropHintsAnnotation) String() string {
1413 return protoimpl.X.MessageStringOf(x)
1414 }
1415
1416 func (*CropHintsAnnotation) ProtoMessage() {}
1417
1418 func (x *CropHintsAnnotation) ProtoReflect() protoreflect.Message {
1419 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[13]
1420 if x != nil {
1421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1422 if ms.LoadMessageInfo() == nil {
1423 ms.StoreMessageInfo(mi)
1424 }
1425 return ms
1426 }
1427 return mi.MessageOf(x)
1428 }
1429
1430 // Deprecated: Use CropHintsAnnotation.ProtoReflect.Descriptor instead.
1431 func (*CropHintsAnnotation) Descriptor() ([]byte, []int) {
1432 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{13}
1433 }
1434
1435 func (x *CropHintsAnnotation) GetCropHints() []*CropHint {
1436 if x != nil {
1437 return x.CropHints
1438 }
1439 return nil
1440 }
1441
1442 // Parameters for crop hints annotation request.
1443 type CropHintsParams struct {
1444 state protoimpl.MessageState
1445 sizeCache protoimpl.SizeCache
1446 unknownFields protoimpl.UnknownFields
1447
1448 // Aspect ratios in floats, representing the ratio of the width to the height
1449 // of the image. For example, if the desired aspect ratio is 4/3, the
1450 // corresponding float value should be 1.33333. If not specified, the
1451 // best possible crop is returned. The number of provided aspect ratios is
1452 // limited to a maximum of 16; any aspect ratios provided after the 16th are
1453 // ignored.
1454 AspectRatios []float32 `protobuf:"fixed32,1,rep,packed,name=aspect_ratios,json=aspectRatios,proto3" json:"aspect_ratios,omitempty"`
1455 }
1456
1457 func (x *CropHintsParams) Reset() {
1458 *x = CropHintsParams{}
1459 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[14]
1460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1461 ms.StoreMessageInfo(mi)
1462 }
1463
1464 func (x *CropHintsParams) String() string {
1465 return protoimpl.X.MessageStringOf(x)
1466 }
1467
1468 func (*CropHintsParams) ProtoMessage() {}
1469
1470 func (x *CropHintsParams) ProtoReflect() protoreflect.Message {
1471 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[14]
1472 if x != nil {
1473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1474 if ms.LoadMessageInfo() == nil {
1475 ms.StoreMessageInfo(mi)
1476 }
1477 return ms
1478 }
1479 return mi.MessageOf(x)
1480 }
1481
1482 // Deprecated: Use CropHintsParams.ProtoReflect.Descriptor instead.
1483 func (*CropHintsParams) Descriptor() ([]byte, []int) {
1484 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{14}
1485 }
1486
1487 func (x *CropHintsParams) GetAspectRatios() []float32 {
1488 if x != nil {
1489 return x.AspectRatios
1490 }
1491 return nil
1492 }
1493
1494 // Parameters for web detection request.
1495 type WebDetectionParams struct {
1496 state protoimpl.MessageState
1497 sizeCache protoimpl.SizeCache
1498 unknownFields protoimpl.UnknownFields
1499
1500 // Whether to include results derived from the geo information in the image.
1501 IncludeGeoResults bool `protobuf:"varint,2,opt,name=include_geo_results,json=includeGeoResults,proto3" json:"include_geo_results,omitempty"`
1502 }
1503
1504 func (x *WebDetectionParams) Reset() {
1505 *x = WebDetectionParams{}
1506 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[15]
1507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1508 ms.StoreMessageInfo(mi)
1509 }
1510
1511 func (x *WebDetectionParams) String() string {
1512 return protoimpl.X.MessageStringOf(x)
1513 }
1514
1515 func (*WebDetectionParams) ProtoMessage() {}
1516
1517 func (x *WebDetectionParams) ProtoReflect() protoreflect.Message {
1518 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[15]
1519 if x != nil {
1520 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1521 if ms.LoadMessageInfo() == nil {
1522 ms.StoreMessageInfo(mi)
1523 }
1524 return ms
1525 }
1526 return mi.MessageOf(x)
1527 }
1528
1529 // Deprecated: Use WebDetectionParams.ProtoReflect.Descriptor instead.
1530 func (*WebDetectionParams) Descriptor() ([]byte, []int) {
1531 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{15}
1532 }
1533
1534 func (x *WebDetectionParams) GetIncludeGeoResults() bool {
1535 if x != nil {
1536 return x.IncludeGeoResults
1537 }
1538 return false
1539 }
1540
1541 // Parameters for text detections. This is used to control TEXT_DETECTION and
1542 // DOCUMENT_TEXT_DETECTION features.
1543 type TextDetectionParams struct {
1544 state protoimpl.MessageState
1545 sizeCache protoimpl.SizeCache
1546 unknownFields protoimpl.UnknownFields
1547
1548 // By default, Cloud Vision API only includes confidence score for
1549 // DOCUMENT_TEXT_DETECTION result. Set the flag to true to include confidence
1550 // score for TEXT_DETECTION as well.
1551 EnableTextDetectionConfidenceScore bool `protobuf:"varint,9,opt,name=enable_text_detection_confidence_score,json=enableTextDetectionConfidenceScore,proto3" json:"enable_text_detection_confidence_score,omitempty"`
1552 // A list of advanced OCR options to fine-tune OCR behavior.
1553 AdvancedOcrOptions []string `protobuf:"bytes,11,rep,name=advanced_ocr_options,json=advancedOcrOptions,proto3" json:"advanced_ocr_options,omitempty"`
1554 }
1555
1556 func (x *TextDetectionParams) Reset() {
1557 *x = TextDetectionParams{}
1558 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[16]
1559 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1560 ms.StoreMessageInfo(mi)
1561 }
1562
1563 func (x *TextDetectionParams) String() string {
1564 return protoimpl.X.MessageStringOf(x)
1565 }
1566
1567 func (*TextDetectionParams) ProtoMessage() {}
1568
1569 func (x *TextDetectionParams) ProtoReflect() protoreflect.Message {
1570 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[16]
1571 if x != nil {
1572 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1573 if ms.LoadMessageInfo() == nil {
1574 ms.StoreMessageInfo(mi)
1575 }
1576 return ms
1577 }
1578 return mi.MessageOf(x)
1579 }
1580
1581 // Deprecated: Use TextDetectionParams.ProtoReflect.Descriptor instead.
1582 func (*TextDetectionParams) Descriptor() ([]byte, []int) {
1583 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{16}
1584 }
1585
1586 func (x *TextDetectionParams) GetEnableTextDetectionConfidenceScore() bool {
1587 if x != nil {
1588 return x.EnableTextDetectionConfidenceScore
1589 }
1590 return false
1591 }
1592
1593 func (x *TextDetectionParams) GetAdvancedOcrOptions() []string {
1594 if x != nil {
1595 return x.AdvancedOcrOptions
1596 }
1597 return nil
1598 }
1599
1600 // Image context and/or feature-specific parameters.
1601 type ImageContext struct {
1602 state protoimpl.MessageState
1603 sizeCache protoimpl.SizeCache
1604 unknownFields protoimpl.UnknownFields
1605
1606 // lat/long rectangle that specifies the location of the image.
1607 LatLongRect *LatLongRect `protobuf:"bytes,1,opt,name=lat_long_rect,json=latLongRect,proto3" json:"lat_long_rect,omitempty"`
1608 // List of languages to use for TEXT_DETECTION. In most cases, an empty value
1609 // yields the best results since it enables automatic language detection. For
1610 // languages based on the Latin alphabet, setting `language_hints` is not
1611 // needed. In rare cases, when the language of the text in the image is known,
1612 // setting a hint will help get better results (although it will be a
1613 // significant hindrance if the hint is wrong). Text detection returns an
1614 // error if one or more of the specified languages is not one of the
1615 // [supported languages](https://cloud.google.com/vision/docs/languages).
1616 LanguageHints []string `protobuf:"bytes,2,rep,name=language_hints,json=languageHints,proto3" json:"language_hints,omitempty"`
1617 // Parameters for crop hints annotation request.
1618 CropHintsParams *CropHintsParams `protobuf:"bytes,4,opt,name=crop_hints_params,json=cropHintsParams,proto3" json:"crop_hints_params,omitempty"`
1619 // Parameters for web detection.
1620 WebDetectionParams *WebDetectionParams `protobuf:"bytes,6,opt,name=web_detection_params,json=webDetectionParams,proto3" json:"web_detection_params,omitempty"`
1621 // Parameters for text detection and document text detection.
1622 TextDetectionParams *TextDetectionParams `protobuf:"bytes,12,opt,name=text_detection_params,json=textDetectionParams,proto3" json:"text_detection_params,omitempty"`
1623 }
1624
1625 func (x *ImageContext) Reset() {
1626 *x = ImageContext{}
1627 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[17]
1628 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1629 ms.StoreMessageInfo(mi)
1630 }
1631
1632 func (x *ImageContext) String() string {
1633 return protoimpl.X.MessageStringOf(x)
1634 }
1635
1636 func (*ImageContext) ProtoMessage() {}
1637
1638 func (x *ImageContext) ProtoReflect() protoreflect.Message {
1639 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[17]
1640 if x != nil {
1641 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1642 if ms.LoadMessageInfo() == nil {
1643 ms.StoreMessageInfo(mi)
1644 }
1645 return ms
1646 }
1647 return mi.MessageOf(x)
1648 }
1649
1650 // Deprecated: Use ImageContext.ProtoReflect.Descriptor instead.
1651 func (*ImageContext) Descriptor() ([]byte, []int) {
1652 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{17}
1653 }
1654
1655 func (x *ImageContext) GetLatLongRect() *LatLongRect {
1656 if x != nil {
1657 return x.LatLongRect
1658 }
1659 return nil
1660 }
1661
1662 func (x *ImageContext) GetLanguageHints() []string {
1663 if x != nil {
1664 return x.LanguageHints
1665 }
1666 return nil
1667 }
1668
1669 func (x *ImageContext) GetCropHintsParams() *CropHintsParams {
1670 if x != nil {
1671 return x.CropHintsParams
1672 }
1673 return nil
1674 }
1675
1676 func (x *ImageContext) GetWebDetectionParams() *WebDetectionParams {
1677 if x != nil {
1678 return x.WebDetectionParams
1679 }
1680 return nil
1681 }
1682
1683 func (x *ImageContext) GetTextDetectionParams() *TextDetectionParams {
1684 if x != nil {
1685 return x.TextDetectionParams
1686 }
1687 return nil
1688 }
1689
1690 // Request for performing Google Cloud Vision API tasks over a user-provided
1691 // image, with user-requested features.
1692 type AnnotateImageRequest struct {
1693 state protoimpl.MessageState
1694 sizeCache protoimpl.SizeCache
1695 unknownFields protoimpl.UnknownFields
1696
1697 // The image to be processed.
1698 Image *Image `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
1699 // Requested features.
1700 Features []*Feature `protobuf:"bytes,2,rep,name=features,proto3" json:"features,omitempty"`
1701 // Additional context that may accompany the image.
1702 ImageContext *ImageContext `protobuf:"bytes,3,opt,name=image_context,json=imageContext,proto3" json:"image_context,omitempty"`
1703 }
1704
1705 func (x *AnnotateImageRequest) Reset() {
1706 *x = AnnotateImageRequest{}
1707 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[18]
1708 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1709 ms.StoreMessageInfo(mi)
1710 }
1711
1712 func (x *AnnotateImageRequest) String() string {
1713 return protoimpl.X.MessageStringOf(x)
1714 }
1715
1716 func (*AnnotateImageRequest) ProtoMessage() {}
1717
1718 func (x *AnnotateImageRequest) ProtoReflect() protoreflect.Message {
1719 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[18]
1720 if x != nil {
1721 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1722 if ms.LoadMessageInfo() == nil {
1723 ms.StoreMessageInfo(mi)
1724 }
1725 return ms
1726 }
1727 return mi.MessageOf(x)
1728 }
1729
1730 // Deprecated: Use AnnotateImageRequest.ProtoReflect.Descriptor instead.
1731 func (*AnnotateImageRequest) Descriptor() ([]byte, []int) {
1732 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{18}
1733 }
1734
1735 func (x *AnnotateImageRequest) GetImage() *Image {
1736 if x != nil {
1737 return x.Image
1738 }
1739 return nil
1740 }
1741
1742 func (x *AnnotateImageRequest) GetFeatures() []*Feature {
1743 if x != nil {
1744 return x.Features
1745 }
1746 return nil
1747 }
1748
1749 func (x *AnnotateImageRequest) GetImageContext() *ImageContext {
1750 if x != nil {
1751 return x.ImageContext
1752 }
1753 return nil
1754 }
1755
1756 // Response to an image annotation request.
1757 type AnnotateImageResponse struct {
1758 state protoimpl.MessageState
1759 sizeCache protoimpl.SizeCache
1760 unknownFields protoimpl.UnknownFields
1761
1762 // If present, face detection has completed successfully.
1763 FaceAnnotations []*FaceAnnotation `protobuf:"bytes,1,rep,name=face_annotations,json=faceAnnotations,proto3" json:"face_annotations,omitempty"`
1764 // If present, landmark detection has completed successfully.
1765 LandmarkAnnotations []*EntityAnnotation `protobuf:"bytes,2,rep,name=landmark_annotations,json=landmarkAnnotations,proto3" json:"landmark_annotations,omitempty"`
1766 // If present, logo detection has completed successfully.
1767 LogoAnnotations []*EntityAnnotation `protobuf:"bytes,3,rep,name=logo_annotations,json=logoAnnotations,proto3" json:"logo_annotations,omitempty"`
1768 // If present, label detection has completed successfully.
1769 LabelAnnotations []*EntityAnnotation `protobuf:"bytes,4,rep,name=label_annotations,json=labelAnnotations,proto3" json:"label_annotations,omitempty"`
1770 // If present, text (OCR) detection has completed successfully.
1771 TextAnnotations []*EntityAnnotation `protobuf:"bytes,5,rep,name=text_annotations,json=textAnnotations,proto3" json:"text_annotations,omitempty"`
1772 // If present, text (OCR) detection or document (OCR) text detection has
1773 // completed successfully.
1774 // This annotation provides the structural hierarchy for the OCR detected
1775 // text.
1776 FullTextAnnotation *TextAnnotation `protobuf:"bytes,12,opt,name=full_text_annotation,json=fullTextAnnotation,proto3" json:"full_text_annotation,omitempty"`
1777 // If present, safe-search annotation has completed successfully.
1778 SafeSearchAnnotation *SafeSearchAnnotation `protobuf:"bytes,6,opt,name=safe_search_annotation,json=safeSearchAnnotation,proto3" json:"safe_search_annotation,omitempty"`
1779 // If present, image properties were extracted successfully.
1780 ImagePropertiesAnnotation *ImageProperties `protobuf:"bytes,8,opt,name=image_properties_annotation,json=imagePropertiesAnnotation,proto3" json:"image_properties_annotation,omitempty"`
1781 // If present, crop hints have completed successfully.
1782 CropHintsAnnotation *CropHintsAnnotation `protobuf:"bytes,11,opt,name=crop_hints_annotation,json=cropHintsAnnotation,proto3" json:"crop_hints_annotation,omitempty"`
1783 // If present, web detection has completed successfully.
1784 WebDetection *WebDetection `protobuf:"bytes,13,opt,name=web_detection,json=webDetection,proto3" json:"web_detection,omitempty"`
1785 // If set, represents the error message for the operation.
1786 // Note that filled-in image annotations are guaranteed to be
1787 // correct, even when `error` is set.
1788 Error *status.Status `protobuf:"bytes,9,opt,name=error,proto3" json:"error,omitempty"`
1789 }
1790
1791 func (x *AnnotateImageResponse) Reset() {
1792 *x = AnnotateImageResponse{}
1793 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[19]
1794 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1795 ms.StoreMessageInfo(mi)
1796 }
1797
1798 func (x *AnnotateImageResponse) String() string {
1799 return protoimpl.X.MessageStringOf(x)
1800 }
1801
1802 func (*AnnotateImageResponse) ProtoMessage() {}
1803
1804 func (x *AnnotateImageResponse) ProtoReflect() protoreflect.Message {
1805 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[19]
1806 if x != nil {
1807 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1808 if ms.LoadMessageInfo() == nil {
1809 ms.StoreMessageInfo(mi)
1810 }
1811 return ms
1812 }
1813 return mi.MessageOf(x)
1814 }
1815
1816 // Deprecated: Use AnnotateImageResponse.ProtoReflect.Descriptor instead.
1817 func (*AnnotateImageResponse) Descriptor() ([]byte, []int) {
1818 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{19}
1819 }
1820
1821 func (x *AnnotateImageResponse) GetFaceAnnotations() []*FaceAnnotation {
1822 if x != nil {
1823 return x.FaceAnnotations
1824 }
1825 return nil
1826 }
1827
1828 func (x *AnnotateImageResponse) GetLandmarkAnnotations() []*EntityAnnotation {
1829 if x != nil {
1830 return x.LandmarkAnnotations
1831 }
1832 return nil
1833 }
1834
1835 func (x *AnnotateImageResponse) GetLogoAnnotations() []*EntityAnnotation {
1836 if x != nil {
1837 return x.LogoAnnotations
1838 }
1839 return nil
1840 }
1841
1842 func (x *AnnotateImageResponse) GetLabelAnnotations() []*EntityAnnotation {
1843 if x != nil {
1844 return x.LabelAnnotations
1845 }
1846 return nil
1847 }
1848
1849 func (x *AnnotateImageResponse) GetTextAnnotations() []*EntityAnnotation {
1850 if x != nil {
1851 return x.TextAnnotations
1852 }
1853 return nil
1854 }
1855
1856 func (x *AnnotateImageResponse) GetFullTextAnnotation() *TextAnnotation {
1857 if x != nil {
1858 return x.FullTextAnnotation
1859 }
1860 return nil
1861 }
1862
1863 func (x *AnnotateImageResponse) GetSafeSearchAnnotation() *SafeSearchAnnotation {
1864 if x != nil {
1865 return x.SafeSearchAnnotation
1866 }
1867 return nil
1868 }
1869
1870 func (x *AnnotateImageResponse) GetImagePropertiesAnnotation() *ImageProperties {
1871 if x != nil {
1872 return x.ImagePropertiesAnnotation
1873 }
1874 return nil
1875 }
1876
1877 func (x *AnnotateImageResponse) GetCropHintsAnnotation() *CropHintsAnnotation {
1878 if x != nil {
1879 return x.CropHintsAnnotation
1880 }
1881 return nil
1882 }
1883
1884 func (x *AnnotateImageResponse) GetWebDetection() *WebDetection {
1885 if x != nil {
1886 return x.WebDetection
1887 }
1888 return nil
1889 }
1890
1891 func (x *AnnotateImageResponse) GetError() *status.Status {
1892 if x != nil {
1893 return x.Error
1894 }
1895 return nil
1896 }
1897
1898 // Multiple image annotation requests are batched into a single service call.
1899 type BatchAnnotateImagesRequest struct {
1900 state protoimpl.MessageState
1901 sizeCache protoimpl.SizeCache
1902 unknownFields protoimpl.UnknownFields
1903
1904 // Required. Individual image annotation requests for this batch.
1905 Requests []*AnnotateImageRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
1906 }
1907
1908 func (x *BatchAnnotateImagesRequest) Reset() {
1909 *x = BatchAnnotateImagesRequest{}
1910 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[20]
1911 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1912 ms.StoreMessageInfo(mi)
1913 }
1914
1915 func (x *BatchAnnotateImagesRequest) String() string {
1916 return protoimpl.X.MessageStringOf(x)
1917 }
1918
1919 func (*BatchAnnotateImagesRequest) ProtoMessage() {}
1920
1921 func (x *BatchAnnotateImagesRequest) ProtoReflect() protoreflect.Message {
1922 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[20]
1923 if x != nil {
1924 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1925 if ms.LoadMessageInfo() == nil {
1926 ms.StoreMessageInfo(mi)
1927 }
1928 return ms
1929 }
1930 return mi.MessageOf(x)
1931 }
1932
1933 // Deprecated: Use BatchAnnotateImagesRequest.ProtoReflect.Descriptor instead.
1934 func (*BatchAnnotateImagesRequest) Descriptor() ([]byte, []int) {
1935 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{20}
1936 }
1937
1938 func (x *BatchAnnotateImagesRequest) GetRequests() []*AnnotateImageRequest {
1939 if x != nil {
1940 return x.Requests
1941 }
1942 return nil
1943 }
1944
1945 // Response to a batch image annotation request.
1946 type BatchAnnotateImagesResponse struct {
1947 state protoimpl.MessageState
1948 sizeCache protoimpl.SizeCache
1949 unknownFields protoimpl.UnknownFields
1950
1951 // Individual responses to image annotation requests within the batch.
1952 Responses []*AnnotateImageResponse `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"`
1953 }
1954
1955 func (x *BatchAnnotateImagesResponse) Reset() {
1956 *x = BatchAnnotateImagesResponse{}
1957 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[21]
1958 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1959 ms.StoreMessageInfo(mi)
1960 }
1961
1962 func (x *BatchAnnotateImagesResponse) String() string {
1963 return protoimpl.X.MessageStringOf(x)
1964 }
1965
1966 func (*BatchAnnotateImagesResponse) ProtoMessage() {}
1967
1968 func (x *BatchAnnotateImagesResponse) ProtoReflect() protoreflect.Message {
1969 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[21]
1970 if x != nil {
1971 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1972 if ms.LoadMessageInfo() == nil {
1973 ms.StoreMessageInfo(mi)
1974 }
1975 return ms
1976 }
1977 return mi.MessageOf(x)
1978 }
1979
1980 // Deprecated: Use BatchAnnotateImagesResponse.ProtoReflect.Descriptor instead.
1981 func (*BatchAnnotateImagesResponse) Descriptor() ([]byte, []int) {
1982 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{21}
1983 }
1984
1985 func (x *BatchAnnotateImagesResponse) GetResponses() []*AnnotateImageResponse {
1986 if x != nil {
1987 return x.Responses
1988 }
1989 return nil
1990 }
1991
1992 // A face-specific landmark (for example, a face feature).
1993 type FaceAnnotation_Landmark struct {
1994 state protoimpl.MessageState
1995 sizeCache protoimpl.SizeCache
1996 unknownFields protoimpl.UnknownFields
1997
1998 // Face landmark type.
1999 Type FaceAnnotation_Landmark_Type `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.vision.v1p1beta1.FaceAnnotation_Landmark_Type" json:"type,omitempty"`
2000 // Face landmark position.
2001 Position *Position `protobuf:"bytes,4,opt,name=position,proto3" json:"position,omitempty"`
2002 }
2003
2004 func (x *FaceAnnotation_Landmark) Reset() {
2005 *x = FaceAnnotation_Landmark{}
2006 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[22]
2007 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2008 ms.StoreMessageInfo(mi)
2009 }
2010
2011 func (x *FaceAnnotation_Landmark) String() string {
2012 return protoimpl.X.MessageStringOf(x)
2013 }
2014
2015 func (*FaceAnnotation_Landmark) ProtoMessage() {}
2016
2017 func (x *FaceAnnotation_Landmark) ProtoReflect() protoreflect.Message {
2018 mi := &file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes[22]
2019 if x != nil {
2020 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2021 if ms.LoadMessageInfo() == nil {
2022 ms.StoreMessageInfo(mi)
2023 }
2024 return ms
2025 }
2026 return mi.MessageOf(x)
2027 }
2028
2029 // Deprecated: Use FaceAnnotation_Landmark.ProtoReflect.Descriptor instead.
2030 func (*FaceAnnotation_Landmark) Descriptor() ([]byte, []int) {
2031 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP(), []int{3, 0}
2032 }
2033
2034 func (x *FaceAnnotation_Landmark) GetType() FaceAnnotation_Landmark_Type {
2035 if x != nil {
2036 return x.Type
2037 }
2038 return FaceAnnotation_Landmark_UNKNOWN_LANDMARK
2039 }
2040
2041 func (x *FaceAnnotation_Landmark) GetPosition() *Position {
2042 if x != nil {
2043 return x.Position
2044 }
2045 return nil
2046 }
2047
2048 var File_google_cloud_vision_v1p1beta1_image_annotator_proto protoreflect.FileDescriptor
2049
2050 var file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDesc = []byte{
2051 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76,
2052 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f,
2053 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x6f, 0x72, 0x2e,
2054 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2055 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62,
2056 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
2057 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f,
2058 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63,
2059 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
2060 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65,
2061 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f,
2062 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f,
2063 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d,
2064 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x33, 0x67, 0x6f, 0x6f, 0x67,
2065 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f,
2066 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61,
2067 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
2068 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69,
2069 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x77,
2070 0x65, 0x62, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
2071 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x73,
2072 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
2073 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x2e, 0x70,
2074 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70,
2075 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xfa,
2076 0x02, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x12, 0x3f, 0x0a, 0x04, 0x74, 0x79,
2077 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2078 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76,
2079 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
2080 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6d,
2081 0x61, 0x78, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
2082 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x12, 0x14, 0x0a, 0x05,
2083 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64,
2084 0x65, 0x6c, 0x22, 0xf6, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x54,
2085 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10,
2086 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x46, 0x41, 0x43, 0x45, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54,
2087 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x4c, 0x41, 0x4e, 0x44, 0x4d, 0x41, 0x52,
2088 0x4b, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x02, 0x12, 0x12, 0x0a,
2089 0x0e, 0x4c, 0x4f, 0x47, 0x4f, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10,
2090 0x03, 0x12, 0x13, 0x0a, 0x0f, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43,
2091 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x04, 0x12, 0x12, 0x0a, 0x0e, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x44,
2092 0x45, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x44, 0x4f,
2093 0x43, 0x55, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x54, 0x45, 0x58, 0x54, 0x5f, 0x44, 0x45, 0x54, 0x45,
2094 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0b, 0x12, 0x19, 0x0a, 0x15, 0x53, 0x41, 0x46, 0x45, 0x5f,
2095 0x53, 0x45, 0x41, 0x52, 0x43, 0x48, 0x5f, 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e,
2096 0x10, 0x06, 0x12, 0x14, 0x0a, 0x10, 0x49, 0x4d, 0x41, 0x47, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x50,
2097 0x45, 0x52, 0x54, 0x49, 0x45, 0x53, 0x10, 0x07, 0x12, 0x0e, 0x0a, 0x0a, 0x43, 0x52, 0x4f, 0x50,
2098 0x5f, 0x48, 0x49, 0x4e, 0x54, 0x53, 0x10, 0x09, 0x12, 0x11, 0x0a, 0x0d, 0x57, 0x45, 0x42, 0x5f,
2099 0x44, 0x45, 0x54, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x22, 0x4e, 0x0a, 0x0b, 0x49,
2100 0x6d, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x67, 0x63,
2101 0x73, 0x5f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28,
2102 0x09, 0x52, 0x0b, 0x67, 0x63, 0x73, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x69, 0x12, 0x1b,
2103 0x0a, 0x09, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x02, 0x20, 0x01, 0x28,
2104 0x09, 0x52, 0x08, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x55, 0x72, 0x69, 0x22, 0x65, 0x0a, 0x05, 0x49,
2105 0x6d, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18,
2106 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x42,
2107 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a,
2108 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69,
2109 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49,
2110 0x6d, 0x61, 0x67, 0x65, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72,
2111 0x63, 0x65, 0x22, 0xa5, 0x10, 0x0a, 0x0e, 0x46, 0x61, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
2112 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x0d, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e,
2113 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67,
2114 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69,
2115 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75,
2116 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64,
2117 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x55, 0x0a, 0x10, 0x66, 0x64, 0x5f, 0x62, 0x6f,
2118 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28,
2119 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2120 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
2121 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0e,
2122 0x66, 0x64, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x54,
2123 0x0a, 0x09, 0x6c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
2124 0x0b, 0x32, 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2125 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
2126 0x31, 0x2e, 0x46, 0x61, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2127 0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x52, 0x09, 0x6c, 0x61, 0x6e, 0x64, 0x6d,
2128 0x61, 0x72, 0x6b, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x6c, 0x6c, 0x5f, 0x61, 0x6e, 0x67,
2129 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x72, 0x6f, 0x6c, 0x6c, 0x41, 0x6e,
2130 0x67, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x6e, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65,
2131 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x08, 0x70, 0x61, 0x6e, 0x41, 0x6e, 0x67, 0x6c, 0x65,
2132 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x69, 0x6c, 0x74, 0x5f, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x06,
2133 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x74, 0x69, 0x6c, 0x74, 0x41, 0x6e, 0x67, 0x6c, 0x65, 0x12,
2134 0x31, 0x0a, 0x14, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e,
2135 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x64,
2136 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e,
2137 0x63, 0x65, 0x12, 0x35, 0x0a, 0x16, 0x6c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e,
2138 0x67, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x08, 0x20, 0x01,
2139 0x28, 0x02, 0x52, 0x15, 0x6c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x69, 0x6e, 0x67, 0x43,
2140 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x6a, 0x6f, 0x79,
2141 0x5f, 0x6c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28,
2142 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2143 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
2144 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x52, 0x0d, 0x6a, 0x6f,
2145 0x79, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x12, 0x56, 0x0a, 0x11, 0x73,
2146 0x6f, 0x72, 0x72, 0x6f, 0x77, 0x5f, 0x6c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64,
2147 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2148 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
2149 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f,
2150 0x64, 0x52, 0x10, 0x73, 0x6f, 0x72, 0x72, 0x6f, 0x77, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68,
2151 0x6f, 0x6f, 0x64, 0x12, 0x54, 0x0a, 0x10, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x5f, 0x6c, 0x69, 0x6b,
2152 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e,
2153 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2154 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69,
2155 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x52, 0x0f, 0x61, 0x6e, 0x67, 0x65, 0x72, 0x4c,
2156 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x12, 0x5a, 0x0a, 0x13, 0x73, 0x75, 0x72,
2157 0x70, 0x72, 0x69, 0x73, 0x65, 0x5f, 0x6c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64,
2158 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2159 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
2160 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f,
2161 0x64, 0x52, 0x12, 0x73, 0x75, 0x72, 0x70, 0x72, 0x69, 0x73, 0x65, 0x4c, 0x69, 0x6b, 0x65, 0x6c,
2162 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x12, 0x63, 0x0a, 0x18, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x5f, 0x65,
2163 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f,
2164 0x64, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2165 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2166 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f,
2167 0x6f, 0x64, 0x52, 0x16, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x45, 0x78, 0x70, 0x6f, 0x73, 0x65, 0x64,
2168 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x12, 0x58, 0x0a, 0x12, 0x62, 0x6c,
2169 0x75, 0x72, 0x72, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64,
2170 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2171 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
2172 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f,
2173 0x64, 0x52, 0x11, 0x62, 0x6c, 0x75, 0x72, 0x72, 0x65, 0x64, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69,
2174 0x68, 0x6f, 0x6f, 0x64, 0x12, 0x5a, 0x0a, 0x13, 0x68, 0x65, 0x61, 0x64, 0x77, 0x65, 0x61, 0x72,
2175 0x5f, 0x6c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28,
2176 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2177 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
2178 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x52, 0x12, 0x68, 0x65,
2179 0x61, 0x64, 0x77, 0x65, 0x61, 0x72, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64,
2180 0x1a, 0xd7, 0x07, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x4f, 0x0a,
2181 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x67, 0x6f,
2182 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
2183 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x61, 0x63, 0x65,
2184 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x6d,
2185 0x61, 0x72, 0x6b, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x43,
2186 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
2187 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2188 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
2189 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74,
2190 0x69, 0x6f, 0x6e, 0x22, 0xb4, 0x06, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x10,
2191 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x4c, 0x41, 0x4e, 0x44, 0x4d, 0x41, 0x52, 0x4b,
2192 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x10, 0x01,
2193 0x12, 0x0d, 0x0a, 0x09, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x10, 0x02, 0x12,
2194 0x18, 0x0a, 0x14, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x5f,
2195 0x45, 0x59, 0x45, 0x42, 0x52, 0x4f, 0x57, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x52, 0x49, 0x47,
2196 0x48, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x42, 0x52,
2197 0x4f, 0x57, 0x10, 0x04, 0x12, 0x19, 0x0a, 0x15, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x4f, 0x46, 0x5f,
2198 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x42, 0x52, 0x4f, 0x57, 0x10, 0x05, 0x12,
2199 0x1a, 0x0a, 0x16, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x4f, 0x46, 0x5f, 0x52, 0x49, 0x47, 0x48,
2200 0x54, 0x5f, 0x45, 0x59, 0x45, 0x42, 0x52, 0x4f, 0x57, 0x10, 0x06, 0x12, 0x19, 0x0a, 0x15, 0x4d,
2201 0x49, 0x44, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x42, 0x45, 0x54, 0x57, 0x45, 0x45, 0x4e, 0x5f,
2202 0x45, 0x59, 0x45, 0x53, 0x10, 0x07, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x53, 0x45, 0x5f, 0x54,
2203 0x49, 0x50, 0x10, 0x08, 0x12, 0x0d, 0x0a, 0x09, 0x55, 0x50, 0x50, 0x45, 0x52, 0x5f, 0x4c, 0x49,
2204 0x50, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x4c, 0x4f, 0x57, 0x45, 0x52, 0x5f, 0x4c, 0x49, 0x50,
2205 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x4f, 0x55, 0x54, 0x48, 0x5f, 0x4c, 0x45, 0x46, 0x54,
2206 0x10, 0x0b, 0x12, 0x0f, 0x0a, 0x0b, 0x4d, 0x4f, 0x55, 0x54, 0x48, 0x5f, 0x52, 0x49, 0x47, 0x48,
2207 0x54, 0x10, 0x0c, 0x12, 0x10, 0x0a, 0x0c, 0x4d, 0x4f, 0x55, 0x54, 0x48, 0x5f, 0x43, 0x45, 0x4e,
2208 0x54, 0x45, 0x52, 0x10, 0x0d, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x53, 0x45, 0x5f, 0x42, 0x4f,
2209 0x54, 0x54, 0x4f, 0x4d, 0x5f, 0x52, 0x49, 0x47, 0x48, 0x54, 0x10, 0x0e, 0x12, 0x14, 0x0a, 0x10,
2210 0x4e, 0x4f, 0x53, 0x45, 0x5f, 0x42, 0x4f, 0x54, 0x54, 0x4f, 0x4d, 0x5f, 0x4c, 0x45, 0x46, 0x54,
2211 0x10, 0x0f, 0x12, 0x16, 0x0a, 0x12, 0x4e, 0x4f, 0x53, 0x45, 0x5f, 0x42, 0x4f, 0x54, 0x54, 0x4f,
2212 0x4d, 0x5f, 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x10, 0x10, 0x12, 0x19, 0x0a, 0x15, 0x4c, 0x45,
2213 0x46, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x54, 0x4f, 0x50, 0x5f, 0x42, 0x4f, 0x55, 0x4e, 0x44,
2214 0x41, 0x52, 0x59, 0x10, 0x11, 0x12, 0x19, 0x0a, 0x15, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x45, 0x59,
2215 0x45, 0x5f, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x43, 0x4f, 0x52, 0x4e, 0x45, 0x52, 0x10, 0x12,
2216 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x42, 0x4f, 0x54,
2217 0x54, 0x4f, 0x4d, 0x5f, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x52, 0x59, 0x10, 0x13, 0x12, 0x18,
2218 0x0a, 0x14, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x5f,
2219 0x43, 0x4f, 0x52, 0x4e, 0x45, 0x52, 0x10, 0x14, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x49, 0x47, 0x48,
2220 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x54, 0x4f, 0x50, 0x5f, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x41,
2221 0x52, 0x59, 0x10, 0x15, 0x12, 0x1a, 0x0a, 0x16, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x59,
2222 0x45, 0x5f, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x43, 0x4f, 0x52, 0x4e, 0x45, 0x52, 0x10, 0x16,
2223 0x12, 0x1d, 0x0a, 0x19, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x42, 0x4f,
2224 0x54, 0x54, 0x4f, 0x4d, 0x5f, 0x42, 0x4f, 0x55, 0x4e, 0x44, 0x41, 0x52, 0x59, 0x10, 0x17, 0x12,
2225 0x19, 0x0a, 0x15, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x4c, 0x45, 0x46,
2226 0x54, 0x5f, 0x43, 0x4f, 0x52, 0x4e, 0x45, 0x52, 0x10, 0x18, 0x12, 0x1f, 0x0a, 0x1b, 0x4c, 0x45,
2227 0x46, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x42, 0x52, 0x4f, 0x57, 0x5f, 0x55, 0x50, 0x50, 0x45, 0x52,
2228 0x5f, 0x4d, 0x49, 0x44, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x19, 0x12, 0x20, 0x0a, 0x1c, 0x52,
2229 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x42, 0x52, 0x4f, 0x57, 0x5f, 0x55, 0x50, 0x50,
2230 0x45, 0x52, 0x5f, 0x4d, 0x49, 0x44, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x1a, 0x12, 0x14, 0x0a,
2231 0x10, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x45, 0x41, 0x52, 0x5f, 0x54, 0x52, 0x41, 0x47, 0x49, 0x4f,
2232 0x4e, 0x10, 0x1b, 0x12, 0x15, 0x0a, 0x11, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x41, 0x52,
2233 0x5f, 0x54, 0x52, 0x41, 0x47, 0x49, 0x4f, 0x4e, 0x10, 0x1c, 0x12, 0x12, 0x0a, 0x0e, 0x4c, 0x45,
2234 0x46, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x50, 0x55, 0x50, 0x49, 0x4c, 0x10, 0x1d, 0x12, 0x13,
2235 0x0a, 0x0f, 0x52, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x45, 0x59, 0x45, 0x5f, 0x50, 0x55, 0x50, 0x49,
2236 0x4c, 0x10, 0x1e, 0x12, 0x15, 0x0a, 0x11, 0x46, 0x4f, 0x52, 0x45, 0x48, 0x45, 0x41, 0x44, 0x5f,
2237 0x47, 0x4c, 0x41, 0x42, 0x45, 0x4c, 0x4c, 0x41, 0x10, 0x1f, 0x12, 0x11, 0x0a, 0x0d, 0x43, 0x48,
2238 0x49, 0x4e, 0x5f, 0x47, 0x4e, 0x41, 0x54, 0x48, 0x49, 0x4f, 0x4e, 0x10, 0x20, 0x12, 0x14, 0x0a,
2239 0x10, 0x43, 0x48, 0x49, 0x4e, 0x5f, 0x4c, 0x45, 0x46, 0x54, 0x5f, 0x47, 0x4f, 0x4e, 0x49, 0x4f,
2240 0x4e, 0x10, 0x21, 0x12, 0x15, 0x0a, 0x11, 0x43, 0x48, 0x49, 0x4e, 0x5f, 0x52, 0x49, 0x47, 0x48,
2241 0x54, 0x5f, 0x47, 0x4f, 0x4e, 0x49, 0x4f, 0x4e, 0x10, 0x22, 0x22, 0x3c, 0x0a, 0x0c, 0x4c, 0x6f,
2242 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2c, 0x0a, 0x07, 0x6c, 0x61,
2243 0x74, 0x5f, 0x6c, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f,
2244 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67,
2245 0x52, 0x06, 0x6c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x22, 0x57, 0x0a, 0x08, 0x50, 0x72, 0x6f, 0x70,
2246 0x65, 0x72, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
2247 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75,
2248 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x21,
2249 0x0a, 0x0c, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03,
2250 0x20, 0x01, 0x28, 0x04, 0x52, 0x0b, 0x75, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75,
2251 0x65, 0x22, 0x9a, 0x03, 0x0a, 0x10, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f,
2252 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x69, 0x64, 0x18, 0x01, 0x20,
2253 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61,
2254 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65,
2255 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18,
2256 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69,
2257 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
2258 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66,
2259 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f,
2260 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x74, 0x6f, 0x70, 0x69,
2261 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x74, 0x6f,
2262 0x70, 0x69, 0x63, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x50, 0x0a, 0x0d, 0x62, 0x6f, 0x75, 0x6e,
2263 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
2264 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
2265 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
2266 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0c, 0x62, 0x6f,
2267 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x12, 0x49, 0x0a, 0x09, 0x6c, 0x6f,
2268 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e,
2269 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2270 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x6f,
2271 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61,
2272 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x47, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74,
2273 0x69, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2274 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
2275 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72,
2276 0x74, 0x79, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x22, 0xe3,
2277 0x02, 0x0a, 0x14, 0x53, 0x61, 0x66, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x6e, 0x6e,
2278 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x3f, 0x0a, 0x05, 0x61, 0x64, 0x75, 0x6c, 0x74,
2279 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2280 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70,
2281 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f,
2282 0x64, 0x52, 0x05, 0x61, 0x64, 0x75, 0x6c, 0x74, 0x12, 0x3f, 0x0a, 0x05, 0x73, 0x70, 0x6f, 0x6f,
2283 0x66, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2284 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2285 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f,
2286 0x6f, 0x64, 0x52, 0x05, 0x73, 0x70, 0x6f, 0x6f, 0x66, 0x12, 0x43, 0x0a, 0x07, 0x6d, 0x65, 0x64,
2287 0x69, 0x63, 0x61, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f,
2288 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2289 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c,
2290 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x52, 0x07, 0x6d, 0x65, 0x64, 0x69, 0x63, 0x61, 0x6c, 0x12, 0x45,
2291 0x0a, 0x08, 0x76, 0x69, 0x6f, 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
2292 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2293 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
2294 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x52, 0x08, 0x76, 0x69, 0x6f,
2295 0x6c, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x04, 0x72, 0x61, 0x63, 0x79, 0x18, 0x09, 0x20,
2296 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
2297 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65,
2298 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x52, 0x04,
2299 0x72, 0x61, 0x63, 0x79, 0x22, 0x77, 0x0a, 0x0b, 0x4c, 0x61, 0x74, 0x4c, 0x6f, 0x6e, 0x67, 0x52,
2300 0x65, 0x63, 0x74, 0x12, 0x33, 0x0a, 0x0b, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x61, 0x74, 0x5f, 0x6c,
2301 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2302 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x52, 0x09, 0x6d,
2303 0x69, 0x6e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f,
2304 0x6c, 0x61, 0x74, 0x5f, 0x6c, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e,
2305 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c,
2306 0x6e, 0x67, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x22, 0x72, 0x0a,
2307 0x09, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x28, 0x0a, 0x05, 0x63, 0x6f,
2308 0x6c, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2309 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x52, 0x05, 0x63,
2310 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20,
2311 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x70, 0x69,
2312 0x78, 0x65, 0x6c, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
2313 0x28, 0x02, 0x52, 0x0d, 0x70, 0x69, 0x78, 0x65, 0x6c, 0x46, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f,
2314 0x6e, 0x22, 0x5c, 0x0a, 0x18, 0x44, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6c,
2315 0x6f, 0x72, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x40, 0x0a,
2316 0x06, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e,
2317 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2318 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6f,
2319 0x6c, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x22,
2320 0x73, 0x0a, 0x0f, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,
2321 0x65, 0x73, 0x12, 0x60, 0x0a, 0x0f, 0x64, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x74, 0x5f, 0x63,
2322 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f,
2323 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f,
2324 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x44, 0x6f, 0x6d, 0x69,
2325 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
2326 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x64, 0x6f, 0x6d, 0x69, 0x6e, 0x61, 0x6e, 0x74, 0x43, 0x6f,
2327 0x6c, 0x6f, 0x72, 0x73, 0x22, 0xad, 0x01, 0x0a, 0x08, 0x43, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e,
2328 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x6f,
2329 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2330 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76,
2331 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e,
2332 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50,
2333 0x6f, 0x6c, 0x79, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63,
2334 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65,
2335 0x6e, 0x63, 0x65, 0x12, 0x2f, 0x0a, 0x13, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63,
2336 0x65, 0x5f, 0x66, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02,
2337 0x52, 0x12, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x46, 0x72, 0x61, 0x63,
2338 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x5d, 0x0a, 0x13, 0x43, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74,
2339 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x46, 0x0a, 0x0a, 0x63,
2340 0x72, 0x6f, 0x70, 0x5f, 0x68, 0x69, 0x6e, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
2341 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
2342 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
2343 0x43, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x09, 0x63, 0x72, 0x6f, 0x70, 0x48, 0x69,
2344 0x6e, 0x74, 0x73, 0x22, 0x36, 0x0a, 0x0f, 0x43, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x73,
2345 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x73, 0x70, 0x65, 0x63, 0x74,
2346 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x02, 0x52, 0x0c, 0x61,
2347 0x73, 0x70, 0x65, 0x63, 0x74, 0x52, 0x61, 0x74, 0x69, 0x6f, 0x73, 0x22, 0x44, 0x0a, 0x12, 0x57,
2348 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d,
2349 0x73, 0x12, 0x2e, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x67, 0x65, 0x6f,
2350 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11,
2351 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x47, 0x65, 0x6f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74,
2352 0x73, 0x22, 0x9b, 0x01, 0x0a, 0x13, 0x54, 0x65, 0x78, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74,
2353 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x52, 0x0a, 0x26, 0x65, 0x6e, 0x61,
2354 0x62, 0x6c, 0x65, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
2355 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x63,
2356 0x6f, 0x72, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x22, 0x65, 0x6e, 0x61, 0x62, 0x6c,
2357 0x65, 0x54, 0x65, 0x78, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f,
2358 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x12, 0x30, 0x0a,
2359 0x14, 0x61, 0x64, 0x76, 0x61, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x6f, 0x63, 0x72, 0x5f, 0x6f, 0x70,
2360 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x52, 0x12, 0x61, 0x64, 0x76,
2361 0x61, 0x6e, 0x63, 0x65, 0x64, 0x4f, 0x63, 0x72, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22,
2362 0xae, 0x03, 0x0a, 0x0c, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74,
2363 0x12, 0x4e, 0x0a, 0x0d, 0x6c, 0x61, 0x74, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x5f, 0x72, 0x65, 0x63,
2364 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2365 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2366 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6f, 0x6e, 0x67, 0x52,
2367 0x65, 0x63, 0x74, 0x52, 0x0b, 0x6c, 0x61, 0x74, 0x4c, 0x6f, 0x6e, 0x67, 0x52, 0x65, 0x63, 0x74,
2368 0x12, 0x25, 0x0a, 0x0e, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x68, 0x69, 0x6e,
2369 0x74, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
2370 0x67, 0x65, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x12, 0x5a, 0x0a, 0x11, 0x63, 0x72, 0x6f, 0x70, 0x5f,
2371 0x68, 0x69, 0x6e, 0x74, 0x73, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x01,
2372 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2373 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
2374 0x61, 0x31, 0x2e, 0x43, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x61, 0x72, 0x61,
2375 0x6d, 0x73, 0x52, 0x0f, 0x63, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x50, 0x61, 0x72,
2376 0x61, 0x6d, 0x73, 0x12, 0x63, 0x0a, 0x14, 0x77, 0x65, 0x62, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63,
2377 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
2378 0x0b, 0x32, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
2379 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61,
2380 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61,
2381 0x72, 0x61, 0x6d, 0x73, 0x52, 0x12, 0x77, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
2382 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x12, 0x66, 0x0a, 0x15, 0x74, 0x65, 0x78, 0x74,
2383 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d,
2384 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2385 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2386 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x44, 0x65, 0x74, 0x65,
2387 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x52, 0x13, 0x74, 0x65, 0x78,
2388 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73,
2389 0x22, 0xe8, 0x01, 0x0a, 0x14, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61,
2390 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x05, 0x69, 0x6d, 0x61,
2391 0x67, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2392 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76,
2393 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x05,
2394 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x42, 0x0a, 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65,
2395 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2396 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2397 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x52,
2398 0x08, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x50, 0x0a, 0x0d, 0x69, 0x6d, 0x61,
2399 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
2400 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
2401 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
2402 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0c, 0x69,
2403 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x22, 0x8b, 0x08, 0x0a, 0x15,
2404 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73,
2405 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, 0x10, 0x66, 0x61, 0x63, 0x65, 0x5f, 0x61, 0x6e,
2406 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
2407 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
2408 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
2409 0x46, 0x61, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f,
2410 0x66, 0x61, 0x63, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
2411 0x62, 0x0a, 0x14, 0x6c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x5f, 0x61, 0x6e, 0x6e, 0x6f,
2412 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
2413 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2414 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e,
2415 0x74, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13,
2416 0x6c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69,
2417 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x10, 0x6c, 0x6f, 0x67, 0x6f, 0x5f, 0x61, 0x6e, 0x6e, 0x6f,
2418 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e,
2419 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2420 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e,
2421 0x74, 0x69, 0x74, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f,
2422 0x6c, 0x6f, 0x67, 0x6f, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
2423 0x5c, 0x0a, 0x11, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
2424 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f,
2425 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2426 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74,
2427 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6c, 0x61, 0x62,
2428 0x65, 0x6c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a,
2429 0x10, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2430 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2431 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2432 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x41, 0x6e,
2433 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x74, 0x65, 0x78, 0x74, 0x41, 0x6e,
2434 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5f, 0x0a, 0x14, 0x66, 0x75, 0x6c,
2435 0x6c, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f,
2436 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2437 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31,
2438 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x41, 0x6e, 0x6e, 0x6f,
2439 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x66, 0x75, 0x6c, 0x6c, 0x54, 0x65, 0x78, 0x74,
2440 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x69, 0x0a, 0x16, 0x73, 0x61,
2441 0x66, 0x65, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
2442 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f,
2443 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2444 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x53, 0x61, 0x66, 0x65, 0x53,
2445 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2446 0x14, 0x73, 0x61, 0x66, 0x65, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
2447 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6e, 0x0a, 0x1b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x70,
2448 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
2449 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f,
2450 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e,
2451 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65,
2452 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x52, 0x19, 0x69, 0x6d, 0x61, 0x67,
2453 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74,
2454 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x66, 0x0a, 0x15, 0x63, 0x72, 0x6f, 0x70, 0x5f, 0x68, 0x69,
2455 0x6e, 0x74, 0x73, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0b,
2456 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2457 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62,
2458 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x6f, 0x70, 0x48, 0x69, 0x6e, 0x74, 0x73, 0x41, 0x6e,
2459 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x63, 0x72, 0x6f, 0x70, 0x48, 0x69,
2460 0x6e, 0x74, 0x73, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x50, 0x0a,
2461 0x0d, 0x77, 0x65, 0x62, 0x5f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0d,
2462 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2463 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62,
2464 0x65, 0x74, 0x61, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f,
2465 0x6e, 0x52, 0x0c, 0x77, 0x65, 0x62, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
2466 0x28, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12,
2467 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74,
2468 0x75, 0x73, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x72, 0x0a, 0x1a, 0x42, 0x61, 0x74,
2469 0x63, 0x68, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73,
2470 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x54, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65,
2471 0x73, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2472 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e,
2473 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
2474 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x42, 0x03,
2475 0xe0, 0x41, 0x02, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x22, 0x71, 0x0a,
2476 0x1b, 0x42, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6d,
2477 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x09,
2478 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
2479 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76,
2480 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e,
2481 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x65, 0x73,
2482 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73,
2483 0x2a, 0x65, 0x0a, 0x0a, 0x4c, 0x69, 0x6b, 0x65, 0x6c, 0x69, 0x68, 0x6f, 0x6f, 0x64, 0x12, 0x0b,
2484 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x56,
2485 0x45, 0x52, 0x59, 0x5f, 0x55, 0x4e, 0x4c, 0x49, 0x4b, 0x45, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x0c,
2486 0x0a, 0x08, 0x55, 0x4e, 0x4c, 0x49, 0x4b, 0x45, 0x4c, 0x59, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08,
2487 0x50, 0x4f, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x4c, 0x49,
2488 0x4b, 0x45, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x0f, 0x0a, 0x0b, 0x56, 0x45, 0x52, 0x59, 0x5f, 0x4c,
2489 0x49, 0x4b, 0x45, 0x4c, 0x59, 0x10, 0x05, 0x32, 0xc9, 0x02, 0x0a, 0x0e, 0x49, 0x6d, 0x61, 0x67,
2490 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x6f, 0x72, 0x12, 0xbe, 0x01, 0x0a, 0x13, 0x42,
2491 0x61, 0x74, 0x63, 0x68, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67,
2492 0x65, 0x73, 0x12, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
2493 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74,
2494 0x61, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65,
2495 0x49, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3a, 0x2e,
2496 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73,
2497 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x61,
2498 0x74, 0x63, 0x68, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x61, 0x67, 0x65,
2499 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x30, 0xda, 0x41, 0x08, 0x72, 0x65,
2500 0x71, 0x75, 0x65, 0x73, 0x74, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1f, 0x3a, 0x01, 0x2a, 0x22,
2501 0x1a, 0x2f, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67,
2502 0x65, 0x73, 0x3a, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x65, 0x1a, 0x76, 0xca, 0x41, 0x15,
2503 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
2504 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x5b, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
2505 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
2506 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
2507 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2c, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
2508 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
2509 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x76, 0x69, 0x73,
2510 0x69, 0x6f, 0x6e, 0x42, 0x7b, 0x0a, 0x21, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2511 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x76,
2512 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x13, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x41,
2513 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
2514 0x3c, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f,
2515 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x2f, 0x61,
2516 0x70, 0x69, 0x76, 0x31, 0x70, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x76, 0x69, 0x73, 0x69,
2517 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x76, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0xf8, 0x01, 0x01,
2518 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2519 }
2520
2521 var (
2522 file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescOnce sync.Once
2523 file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescData = file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDesc
2524 )
2525
2526 func file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescGZIP() []byte {
2527 file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescOnce.Do(func() {
2528 file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescData)
2529 })
2530 return file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDescData
2531 }
2532
2533 var file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
2534 var file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
2535 var file_google_cloud_vision_v1p1beta1_image_annotator_proto_goTypes = []any{
2536 (Likelihood)(0), // 0: google.cloud.vision.v1p1beta1.Likelihood
2537 (Feature_Type)(0), // 1: google.cloud.vision.v1p1beta1.Feature.Type
2538 (FaceAnnotation_Landmark_Type)(0), // 2: google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.Type
2539 (*Feature)(nil), // 3: google.cloud.vision.v1p1beta1.Feature
2540 (*ImageSource)(nil), // 4: google.cloud.vision.v1p1beta1.ImageSource
2541 (*Image)(nil), // 5: google.cloud.vision.v1p1beta1.Image
2542 (*FaceAnnotation)(nil), // 6: google.cloud.vision.v1p1beta1.FaceAnnotation
2543 (*LocationInfo)(nil), // 7: google.cloud.vision.v1p1beta1.LocationInfo
2544 (*Property)(nil), // 8: google.cloud.vision.v1p1beta1.Property
2545 (*EntityAnnotation)(nil), // 9: google.cloud.vision.v1p1beta1.EntityAnnotation
2546 (*SafeSearchAnnotation)(nil), // 10: google.cloud.vision.v1p1beta1.SafeSearchAnnotation
2547 (*LatLongRect)(nil), // 11: google.cloud.vision.v1p1beta1.LatLongRect
2548 (*ColorInfo)(nil), // 12: google.cloud.vision.v1p1beta1.ColorInfo
2549 (*DominantColorsAnnotation)(nil), // 13: google.cloud.vision.v1p1beta1.DominantColorsAnnotation
2550 (*ImageProperties)(nil), // 14: google.cloud.vision.v1p1beta1.ImageProperties
2551 (*CropHint)(nil), // 15: google.cloud.vision.v1p1beta1.CropHint
2552 (*CropHintsAnnotation)(nil), // 16: google.cloud.vision.v1p1beta1.CropHintsAnnotation
2553 (*CropHintsParams)(nil), // 17: google.cloud.vision.v1p1beta1.CropHintsParams
2554 (*WebDetectionParams)(nil), // 18: google.cloud.vision.v1p1beta1.WebDetectionParams
2555 (*TextDetectionParams)(nil), // 19: google.cloud.vision.v1p1beta1.TextDetectionParams
2556 (*ImageContext)(nil), // 20: google.cloud.vision.v1p1beta1.ImageContext
2557 (*AnnotateImageRequest)(nil), // 21: google.cloud.vision.v1p1beta1.AnnotateImageRequest
2558 (*AnnotateImageResponse)(nil), // 22: google.cloud.vision.v1p1beta1.AnnotateImageResponse
2559 (*BatchAnnotateImagesRequest)(nil), // 23: google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest
2560 (*BatchAnnotateImagesResponse)(nil), // 24: google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse
2561 (*FaceAnnotation_Landmark)(nil), // 25: google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark
2562 (*BoundingPoly)(nil), // 26: google.cloud.vision.v1p1beta1.BoundingPoly
2563 (*latlng.LatLng)(nil), // 27: google.type.LatLng
2564 (*color.Color)(nil), // 28: google.type.Color
2565 (*TextAnnotation)(nil), // 29: google.cloud.vision.v1p1beta1.TextAnnotation
2566 (*WebDetection)(nil), // 30: google.cloud.vision.v1p1beta1.WebDetection
2567 (*status.Status)(nil), // 31: google.rpc.Status
2568 (*Position)(nil), // 32: google.cloud.vision.v1p1beta1.Position
2569 }
2570 var file_google_cloud_vision_v1p1beta1_image_annotator_proto_depIdxs = []int32{
2571 1, // 0: google.cloud.vision.v1p1beta1.Feature.type:type_name -> google.cloud.vision.v1p1beta1.Feature.Type
2572 4, // 1: google.cloud.vision.v1p1beta1.Image.source:type_name -> google.cloud.vision.v1p1beta1.ImageSource
2573 26, // 2: google.cloud.vision.v1p1beta1.FaceAnnotation.bounding_poly:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
2574 26, // 3: google.cloud.vision.v1p1beta1.FaceAnnotation.fd_bounding_poly:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
2575 25, // 4: google.cloud.vision.v1p1beta1.FaceAnnotation.landmarks:type_name -> google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark
2576 0, // 5: google.cloud.vision.v1p1beta1.FaceAnnotation.joy_likelihood:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2577 0, // 6: google.cloud.vision.v1p1beta1.FaceAnnotation.sorrow_likelihood:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2578 0, // 7: google.cloud.vision.v1p1beta1.FaceAnnotation.anger_likelihood:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2579 0, // 8: google.cloud.vision.v1p1beta1.FaceAnnotation.surprise_likelihood:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2580 0, // 9: google.cloud.vision.v1p1beta1.FaceAnnotation.under_exposed_likelihood:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2581 0, // 10: google.cloud.vision.v1p1beta1.FaceAnnotation.blurred_likelihood:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2582 0, // 11: google.cloud.vision.v1p1beta1.FaceAnnotation.headwear_likelihood:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2583 27, // 12: google.cloud.vision.v1p1beta1.LocationInfo.lat_lng:type_name -> google.type.LatLng
2584 26, // 13: google.cloud.vision.v1p1beta1.EntityAnnotation.bounding_poly:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
2585 7, // 14: google.cloud.vision.v1p1beta1.EntityAnnotation.locations:type_name -> google.cloud.vision.v1p1beta1.LocationInfo
2586 8, // 15: google.cloud.vision.v1p1beta1.EntityAnnotation.properties:type_name -> google.cloud.vision.v1p1beta1.Property
2587 0, // 16: google.cloud.vision.v1p1beta1.SafeSearchAnnotation.adult:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2588 0, // 17: google.cloud.vision.v1p1beta1.SafeSearchAnnotation.spoof:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2589 0, // 18: google.cloud.vision.v1p1beta1.SafeSearchAnnotation.medical:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2590 0, // 19: google.cloud.vision.v1p1beta1.SafeSearchAnnotation.violence:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2591 0, // 20: google.cloud.vision.v1p1beta1.SafeSearchAnnotation.racy:type_name -> google.cloud.vision.v1p1beta1.Likelihood
2592 27, // 21: google.cloud.vision.v1p1beta1.LatLongRect.min_lat_lng:type_name -> google.type.LatLng
2593 27, // 22: google.cloud.vision.v1p1beta1.LatLongRect.max_lat_lng:type_name -> google.type.LatLng
2594 28, // 23: google.cloud.vision.v1p1beta1.ColorInfo.color:type_name -> google.type.Color
2595 12, // 24: google.cloud.vision.v1p1beta1.DominantColorsAnnotation.colors:type_name -> google.cloud.vision.v1p1beta1.ColorInfo
2596 13, // 25: google.cloud.vision.v1p1beta1.ImageProperties.dominant_colors:type_name -> google.cloud.vision.v1p1beta1.DominantColorsAnnotation
2597 26, // 26: google.cloud.vision.v1p1beta1.CropHint.bounding_poly:type_name -> google.cloud.vision.v1p1beta1.BoundingPoly
2598 15, // 27: google.cloud.vision.v1p1beta1.CropHintsAnnotation.crop_hints:type_name -> google.cloud.vision.v1p1beta1.CropHint
2599 11, // 28: google.cloud.vision.v1p1beta1.ImageContext.lat_long_rect:type_name -> google.cloud.vision.v1p1beta1.LatLongRect
2600 17, // 29: google.cloud.vision.v1p1beta1.ImageContext.crop_hints_params:type_name -> google.cloud.vision.v1p1beta1.CropHintsParams
2601 18, // 30: google.cloud.vision.v1p1beta1.ImageContext.web_detection_params:type_name -> google.cloud.vision.v1p1beta1.WebDetectionParams
2602 19, // 31: google.cloud.vision.v1p1beta1.ImageContext.text_detection_params:type_name -> google.cloud.vision.v1p1beta1.TextDetectionParams
2603 5, // 32: google.cloud.vision.v1p1beta1.AnnotateImageRequest.image:type_name -> google.cloud.vision.v1p1beta1.Image
2604 3, // 33: google.cloud.vision.v1p1beta1.AnnotateImageRequest.features:type_name -> google.cloud.vision.v1p1beta1.Feature
2605 20, // 34: google.cloud.vision.v1p1beta1.AnnotateImageRequest.image_context:type_name -> google.cloud.vision.v1p1beta1.ImageContext
2606 6, // 35: google.cloud.vision.v1p1beta1.AnnotateImageResponse.face_annotations:type_name -> google.cloud.vision.v1p1beta1.FaceAnnotation
2607 9, // 36: google.cloud.vision.v1p1beta1.AnnotateImageResponse.landmark_annotations:type_name -> google.cloud.vision.v1p1beta1.EntityAnnotation
2608 9, // 37: google.cloud.vision.v1p1beta1.AnnotateImageResponse.logo_annotations:type_name -> google.cloud.vision.v1p1beta1.EntityAnnotation
2609 9, // 38: google.cloud.vision.v1p1beta1.AnnotateImageResponse.label_annotations:type_name -> google.cloud.vision.v1p1beta1.EntityAnnotation
2610 9, // 39: google.cloud.vision.v1p1beta1.AnnotateImageResponse.text_annotations:type_name -> google.cloud.vision.v1p1beta1.EntityAnnotation
2611 29, // 40: google.cloud.vision.v1p1beta1.AnnotateImageResponse.full_text_annotation:type_name -> google.cloud.vision.v1p1beta1.TextAnnotation
2612 10, // 41: google.cloud.vision.v1p1beta1.AnnotateImageResponse.safe_search_annotation:type_name -> google.cloud.vision.v1p1beta1.SafeSearchAnnotation
2613 14, // 42: google.cloud.vision.v1p1beta1.AnnotateImageResponse.image_properties_annotation:type_name -> google.cloud.vision.v1p1beta1.ImageProperties
2614 16, // 43: google.cloud.vision.v1p1beta1.AnnotateImageResponse.crop_hints_annotation:type_name -> google.cloud.vision.v1p1beta1.CropHintsAnnotation
2615 30, // 44: google.cloud.vision.v1p1beta1.AnnotateImageResponse.web_detection:type_name -> google.cloud.vision.v1p1beta1.WebDetection
2616 31, // 45: google.cloud.vision.v1p1beta1.AnnotateImageResponse.error:type_name -> google.rpc.Status
2617 21, // 46: google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest.requests:type_name -> google.cloud.vision.v1p1beta1.AnnotateImageRequest
2618 22, // 47: google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse.responses:type_name -> google.cloud.vision.v1p1beta1.AnnotateImageResponse
2619 2, // 48: google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.type:type_name -> google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.Type
2620 32, // 49: google.cloud.vision.v1p1beta1.FaceAnnotation.Landmark.position:type_name -> google.cloud.vision.v1p1beta1.Position
2621 23, // 50: google.cloud.vision.v1p1beta1.ImageAnnotator.BatchAnnotateImages:input_type -> google.cloud.vision.v1p1beta1.BatchAnnotateImagesRequest
2622 24, // 51: google.cloud.vision.v1p1beta1.ImageAnnotator.BatchAnnotateImages:output_type -> google.cloud.vision.v1p1beta1.BatchAnnotateImagesResponse
2623 51, // [51:52] is the sub-list for method output_type
2624 50, // [50:51] is the sub-list for method input_type
2625 50, // [50:50] is the sub-list for extension type_name
2626 50, // [50:50] is the sub-list for extension extendee
2627 0, // [0:50] is the sub-list for field type_name
2628 }
2629
2630 func init() { file_google_cloud_vision_v1p1beta1_image_annotator_proto_init() }
2631 func file_google_cloud_vision_v1p1beta1_image_annotator_proto_init() {
2632 if File_google_cloud_vision_v1p1beta1_image_annotator_proto != nil {
2633 return
2634 }
2635 file_google_cloud_vision_v1p1beta1_geometry_proto_init()
2636 file_google_cloud_vision_v1p1beta1_text_annotation_proto_init()
2637 file_google_cloud_vision_v1p1beta1_web_detection_proto_init()
2638 type x struct{}
2639 out := protoimpl.TypeBuilder{
2640 File: protoimpl.DescBuilder{
2641 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2642 RawDescriptor: file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDesc,
2643 NumEnums: 3,
2644 NumMessages: 23,
2645 NumExtensions: 0,
2646 NumServices: 1,
2647 },
2648 GoTypes: file_google_cloud_vision_v1p1beta1_image_annotator_proto_goTypes,
2649 DependencyIndexes: file_google_cloud_vision_v1p1beta1_image_annotator_proto_depIdxs,
2650 EnumInfos: file_google_cloud_vision_v1p1beta1_image_annotator_proto_enumTypes,
2651 MessageInfos: file_google_cloud_vision_v1p1beta1_image_annotator_proto_msgTypes,
2652 }.Build()
2653 File_google_cloud_vision_v1p1beta1_image_annotator_proto = out.File
2654 file_google_cloud_vision_v1p1beta1_image_annotator_proto_rawDesc = nil
2655 file_google_cloud_vision_v1p1beta1_image_annotator_proto_goTypes = nil
2656 file_google_cloud_vision_v1p1beta1_image_annotator_proto_depIdxs = nil
2657 }
2658
2659 // Reference imports to suppress errors if they are not otherwise used.
2660 var _ context.Context
2661 var _ grpc.ClientConnInterface
2662
2663 // This is a compile-time assertion to ensure that this generated file
2664 // is compatible with the grpc package it is being compiled against.
2665 const _ = grpc.SupportPackageIsVersion6
2666
2667 // ImageAnnotatorClient is the client API for ImageAnnotator service.
2668 //
2669 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2670 type ImageAnnotatorClient interface {
2671 // Run image detection and annotation for a batch of images.
2672 BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error)
2673 }
2674
2675 type imageAnnotatorClient struct {
2676 cc grpc.ClientConnInterface
2677 }
2678
2679 func NewImageAnnotatorClient(cc grpc.ClientConnInterface) ImageAnnotatorClient {
2680 return &imageAnnotatorClient{cc}
2681 }
2682
2683 func (c *imageAnnotatorClient) BatchAnnotateImages(ctx context.Context, in *BatchAnnotateImagesRequest, opts ...grpc.CallOption) (*BatchAnnotateImagesResponse, error) {
2684 out := new(BatchAnnotateImagesResponse)
2685 err := c.cc.Invoke(ctx, "/google.cloud.vision.v1p1beta1.ImageAnnotator/BatchAnnotateImages", in, out, opts...)
2686 if err != nil {
2687 return nil, err
2688 }
2689 return out, nil
2690 }
2691
2692 // ImageAnnotatorServer is the server API for ImageAnnotator service.
2693 type ImageAnnotatorServer interface {
2694 // Run image detection and annotation for a batch of images.
2695 BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error)
2696 }
2697
2698 // UnimplementedImageAnnotatorServer can be embedded to have forward compatible implementations.
2699 type UnimplementedImageAnnotatorServer struct {
2700 }
2701
2702 func (*UnimplementedImageAnnotatorServer) BatchAnnotateImages(context.Context, *BatchAnnotateImagesRequest) (*BatchAnnotateImagesResponse, error) {
2703 return nil, status1.Errorf(codes.Unimplemented, "method BatchAnnotateImages not implemented")
2704 }
2705
2706 func RegisterImageAnnotatorServer(s *grpc.Server, srv ImageAnnotatorServer) {
2707 s.RegisterService(&_ImageAnnotator_serviceDesc, srv)
2708 }
2709
2710 func _ImageAnnotator_BatchAnnotateImages_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2711 in := new(BatchAnnotateImagesRequest)
2712 if err := dec(in); err != nil {
2713 return nil, err
2714 }
2715 if interceptor == nil {
2716 return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, in)
2717 }
2718 info := &grpc.UnaryServerInfo{
2719 Server: srv,
2720 FullMethod: "/google.cloud.vision.v1p1beta1.ImageAnnotator/BatchAnnotateImages",
2721 }
2722 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2723 return srv.(ImageAnnotatorServer).BatchAnnotateImages(ctx, req.(*BatchAnnotateImagesRequest))
2724 }
2725 return interceptor(ctx, in, info, handler)
2726 }
2727
2728 var _ImageAnnotator_serviceDesc = grpc.ServiceDesc{
2729 ServiceName: "google.cloud.vision.v1p1beta1.ImageAnnotator",
2730 HandlerType: (*ImageAnnotatorServer)(nil),
2731 Methods: []grpc.MethodDesc{
2732 {
2733 MethodName: "BatchAnnotateImages",
2734 Handler: _ImageAnnotator_BatchAnnotateImages_Handler,
2735 },
2736 },
2737 Streams: []grpc.StreamDesc{},
2738 Metadata: "google/cloud/vision/v1p1beta1/image_annotator.proto",
2739 }