1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// Code generated by protoc-gen-go. DO NOT EDIT. 16// versions: 17// protoc-gen-go v1.25.0 18// protoc v3.13.0 19// source: google/cloud/visualinspection/v1beta1/annotation.proto 20 21package visualinspection 22 23import ( 24 reflect "reflect" 25 sync "sync" 26 27 proto "github.com/golang/protobuf/proto" 28 _ "google.golang.org/genproto/googleapis/api/annotations" 29 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 30 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 31 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 32) 33 34const ( 35 // Verify that this generated code is sufficiently up-to-date. 36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 37 // Verify that runtime/protoimpl is sufficiently up-to-date. 38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 39) 40 41// This is a compile-time assertion that a sufficiently up-to-date version 42// of the legacy proto package is being used. 43const _ = proto.ProtoPackageIsVersion4 44 45// Source type of the Annotation. 46type Annotation_Source_SourceType int32 47 48const ( 49 // Unspecified source type. 50 Annotation_Source_SOURCE_TYPE_UNSPECIFIED Annotation_Source_SourceType = 0 51 // The Annotation is generated by a human user. 52 Annotation_Source_HUMAN_PRODUCED Annotation_Source_SourceType = 1 53 // The Annotation is generated by a ML model. 54 Annotation_Source_MACHINE_PRODUCED Annotation_Source_SourceType = 2 55 // The Annotation is generated by machine, and it has 56 // child Annotation with HUMAN_PRODUCED. 57 Annotation_Source_HUMAN_LABELED Annotation_Source_SourceType = 3 58) 59 60// Enum value maps for Annotation_Source_SourceType. 61var ( 62 Annotation_Source_SourceType_name = map[int32]string{ 63 0: "SOURCE_TYPE_UNSPECIFIED", 64 1: "HUMAN_PRODUCED", 65 2: "MACHINE_PRODUCED", 66 3: "HUMAN_LABELED", 67 } 68 Annotation_Source_SourceType_value = map[string]int32{ 69 "SOURCE_TYPE_UNSPECIFIED": 0, 70 "HUMAN_PRODUCED": 1, 71 "MACHINE_PRODUCED": 2, 72 "HUMAN_LABELED": 3, 73 } 74) 75 76func (x Annotation_Source_SourceType) Enum() *Annotation_Source_SourceType { 77 p := new(Annotation_Source_SourceType) 78 *p = x 79 return p 80} 81 82func (x Annotation_Source_SourceType) String() string { 83 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 84} 85 86func (Annotation_Source_SourceType) Descriptor() protoreflect.EnumDescriptor { 87 return file_google_cloud_visualinspection_v1beta1_annotation_proto_enumTypes[0].Descriptor() 88} 89 90func (Annotation_Source_SourceType) Type() protoreflect.EnumType { 91 return &file_google_cloud_visualinspection_v1beta1_annotation_proto_enumTypes[0] 92} 93 94func (x Annotation_Source_SourceType) Number() protoreflect.EnumNumber { 95 return protoreflect.EnumNumber(x) 96} 97 98// Deprecated: Use Annotation_Source_SourceType.Descriptor instead. 99func (Annotation_Source_SourceType) EnumDescriptor() ([]byte, []int) { 100 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{0, 0, 0} 101} 102 103// Annotation is used to assign specific AnnotationSpec to a particular Image. 104type Annotation struct { 105 state protoimpl.MessageState 106 sizeCache protoimpl.SizeCache 107 unknownFields protoimpl.UnknownFields 108 109 // Annotation type of the Annotation. 110 // 111 // Types that are assignable to AnnotationType: 112 // *Annotation_Box 113 // *Annotation_Polygon 114 // *Annotation_ClassificationLabel 115 // *Annotation_Mask 116 // *Annotation_Polyline 117 AnnotationType isAnnotation_AnnotationType `protobuf_oneof:"annotation_type"` 118 // Output only. Resource name for Annotation generated by the system. 119 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 120 // Output only. Timestamp when this Annotation was created. 121 CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"` 122 // Output only. Timestamp when Annotation was last updated. 123 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"` 124 // The resource ID of the AnnotationSpec that this Annotation pertains to. 125 // The AnnotationSpec must be in the same ancestor Dataset. 126 // The field could be empty for a MaskAnnotation. 127 AnnotationSpecId string `protobuf:"bytes,4,opt,name=annotation_spec_id,json=annotationSpecId,proto3" json:"annotation_spec_id,omitempty"` 128 // Required. The resource ID of the AnnotationSet that this Annotation belongs 129 // to. 130 AnnotationSetId string `protobuf:"bytes,5,opt,name=annotation_set_id,json=annotationSetId,proto3" json:"annotation_set_id,omitempty"` 131 // The resource ID of the parent Annotation. Parent annotation represents a 132 // region in the original Image. 133 ParentAnnotationId string `protobuf:"bytes,7,opt,name=parent_annotation_id,json=parentAnnotationId,proto3" json:"parent_annotation_id,omitempty"` 134 // Output only. Source of the Annotation. 135 Source *Annotation_Source `protobuf:"bytes,12,opt,name=source,proto3" json:"source,omitempty"` 136 // The labels with user-defined metadata to organize your Annotations. 137 // 138 // Label keys and values can be no longer than 64 characters 139 // (Unicode codepoints), can only contain lowercase letters, numeric 140 // characters, underscores and dashes. International characters are allowed. 141 // Label keys must start with a letter. 142 // 143 // See https://goo.gl/xmQnxf for more information on and examples of labels. 144 Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 145} 146 147func (x *Annotation) Reset() { 148 *x = Annotation{} 149 if protoimpl.UnsafeEnabled { 150 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[0] 151 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 152 ms.StoreMessageInfo(mi) 153 } 154} 155 156func (x *Annotation) String() string { 157 return protoimpl.X.MessageStringOf(x) 158} 159 160func (*Annotation) ProtoMessage() {} 161 162func (x *Annotation) ProtoReflect() protoreflect.Message { 163 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[0] 164 if protoimpl.UnsafeEnabled && x != nil { 165 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 166 if ms.LoadMessageInfo() == nil { 167 ms.StoreMessageInfo(mi) 168 } 169 return ms 170 } 171 return mi.MessageOf(x) 172} 173 174// Deprecated: Use Annotation.ProtoReflect.Descriptor instead. 175func (*Annotation) Descriptor() ([]byte, []int) { 176 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{0} 177} 178 179func (m *Annotation) GetAnnotationType() isAnnotation_AnnotationType { 180 if m != nil { 181 return m.AnnotationType 182 } 183 return nil 184} 185 186func (x *Annotation) GetBox() *BoundingBoxAnnotation { 187 if x, ok := x.GetAnnotationType().(*Annotation_Box); ok { 188 return x.Box 189 } 190 return nil 191} 192 193func (x *Annotation) GetPolygon() *BoundingPolyAnnotation { 194 if x, ok := x.GetAnnotationType().(*Annotation_Polygon); ok { 195 return x.Polygon 196 } 197 return nil 198} 199 200func (x *Annotation) GetClassificationLabel() *ClassificationLabelAnnotation { 201 if x, ok := x.GetAnnotationType().(*Annotation_ClassificationLabel); ok { 202 return x.ClassificationLabel 203 } 204 return nil 205} 206 207func (x *Annotation) GetMask() *MaskAnnotation { 208 if x, ok := x.GetAnnotationType().(*Annotation_Mask); ok { 209 return x.Mask 210 } 211 return nil 212} 213 214func (x *Annotation) GetPolyline() *PolylineAnnotation { 215 if x, ok := x.GetAnnotationType().(*Annotation_Polyline); ok { 216 return x.Polyline 217 } 218 return nil 219} 220 221func (x *Annotation) GetName() string { 222 if x != nil { 223 return x.Name 224 } 225 return "" 226} 227 228func (x *Annotation) GetCreateTime() *timestamppb.Timestamp { 229 if x != nil { 230 return x.CreateTime 231 } 232 return nil 233} 234 235func (x *Annotation) GetUpdateTime() *timestamppb.Timestamp { 236 if x != nil { 237 return x.UpdateTime 238 } 239 return nil 240} 241 242func (x *Annotation) GetAnnotationSpecId() string { 243 if x != nil { 244 return x.AnnotationSpecId 245 } 246 return "" 247} 248 249func (x *Annotation) GetAnnotationSetId() string { 250 if x != nil { 251 return x.AnnotationSetId 252 } 253 return "" 254} 255 256func (x *Annotation) GetParentAnnotationId() string { 257 if x != nil { 258 return x.ParentAnnotationId 259 } 260 return "" 261} 262 263func (x *Annotation) GetSource() *Annotation_Source { 264 if x != nil { 265 return x.Source 266 } 267 return nil 268} 269 270func (x *Annotation) GetLabels() map[string]string { 271 if x != nil { 272 return x.Labels 273 } 274 return nil 275} 276 277type isAnnotation_AnnotationType interface { 278 isAnnotation_AnnotationType() 279} 280 281type Annotation_Box struct { 282 // A BoundingBox Annotation. 283 Box *BoundingBoxAnnotation `protobuf:"bytes,8,opt,name=box,proto3,oneof"` 284} 285 286type Annotation_Polygon struct { 287 // A BoundingPoly Annotation. 288 Polygon *BoundingPolyAnnotation `protobuf:"bytes,9,opt,name=polygon,proto3,oneof"` 289} 290 291type Annotation_ClassificationLabel struct { 292 // A Classification Label Annotation. 293 ClassificationLabel *ClassificationLabelAnnotation `protobuf:"bytes,10,opt,name=classification_label,json=classificationLabel,proto3,oneof"` 294} 295 296type Annotation_Mask struct { 297 // A Mask Annotation. 298 Mask *MaskAnnotation `protobuf:"bytes,11,opt,name=mask,proto3,oneof"` 299} 300 301type Annotation_Polyline struct { 302 // A Polyline Annotation, 303 Polyline *PolylineAnnotation `protobuf:"bytes,14,opt,name=polyline,proto3,oneof"` 304} 305 306func (*Annotation_Box) isAnnotation_AnnotationType() {} 307 308func (*Annotation_Polygon) isAnnotation_AnnotationType() {} 309 310func (*Annotation_ClassificationLabel) isAnnotation_AnnotationType() {} 311 312func (*Annotation_Mask) isAnnotation_AnnotationType() {} 313 314func (*Annotation_Polyline) isAnnotation_AnnotationType() {} 315 316// Detailed information for BoundingBox Annotation. 317type BoundingBoxAnnotation struct { 318 state protoimpl.MessageState 319 sizeCache protoimpl.SizeCache 320 unknownFields protoimpl.UnknownFields 321 322 // A box representing a rectangle region on the image. 323 // A box is supposed to have exactly four vertices in clockwise order. 324 // Vertices are represented in normalized format. 325 NormalizedBoundingBox *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=normalized_bounding_box,json=normalizedBoundingBox,proto3" json:"normalized_bounding_box,omitempty"` 326 // Output only. A confidence score between 0.0 and 1.0. A higher value 327 // means greater confidence about the annotation. 328 ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` 329} 330 331func (x *BoundingBoxAnnotation) Reset() { 332 *x = BoundingBoxAnnotation{} 333 if protoimpl.UnsafeEnabled { 334 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[1] 335 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 336 ms.StoreMessageInfo(mi) 337 } 338} 339 340func (x *BoundingBoxAnnotation) String() string { 341 return protoimpl.X.MessageStringOf(x) 342} 343 344func (*BoundingBoxAnnotation) ProtoMessage() {} 345 346func (x *BoundingBoxAnnotation) ProtoReflect() protoreflect.Message { 347 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[1] 348 if protoimpl.UnsafeEnabled && x != nil { 349 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 350 if ms.LoadMessageInfo() == nil { 351 ms.StoreMessageInfo(mi) 352 } 353 return ms 354 } 355 return mi.MessageOf(x) 356} 357 358// Deprecated: Use BoundingBoxAnnotation.ProtoReflect.Descriptor instead. 359func (*BoundingBoxAnnotation) Descriptor() ([]byte, []int) { 360 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{1} 361} 362 363func (x *BoundingBoxAnnotation) GetNormalizedBoundingBox() *NormalizedBoundingPoly { 364 if x != nil { 365 return x.NormalizedBoundingBox 366 } 367 return nil 368} 369 370func (x *BoundingBoxAnnotation) GetConfidenceScore() float32 { 371 if x != nil { 372 return x.ConfidenceScore 373 } 374 return 0 375} 376 377// Detailed information for BoundingPoly Annotation. 378type BoundingPolyAnnotation struct { 379 state protoimpl.MessageState 380 sizeCache protoimpl.SizeCache 381 unknownFields protoimpl.UnknownFields 382 383 // A polygon region on the image. 384 // A polygon is supposed to have N vertices in clockwise order. 385 // Vertices are represented in normalized format. 386 NormalizedBoundingPoly *NormalizedBoundingPoly `protobuf:"bytes,1,opt,name=normalized_bounding_poly,json=normalizedBoundingPoly,proto3" json:"normalized_bounding_poly,omitempty"` 387 // Output only. A confidence score between 0.0 and 1.0. A higher value 388 // means greater confidence that the annotation is positive. 389 ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` 390} 391 392func (x *BoundingPolyAnnotation) Reset() { 393 *x = BoundingPolyAnnotation{} 394 if protoimpl.UnsafeEnabled { 395 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[2] 396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 397 ms.StoreMessageInfo(mi) 398 } 399} 400 401func (x *BoundingPolyAnnotation) String() string { 402 return protoimpl.X.MessageStringOf(x) 403} 404 405func (*BoundingPolyAnnotation) ProtoMessage() {} 406 407func (x *BoundingPolyAnnotation) ProtoReflect() protoreflect.Message { 408 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[2] 409 if protoimpl.UnsafeEnabled && x != nil { 410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 411 if ms.LoadMessageInfo() == nil { 412 ms.StoreMessageInfo(mi) 413 } 414 return ms 415 } 416 return mi.MessageOf(x) 417} 418 419// Deprecated: Use BoundingPolyAnnotation.ProtoReflect.Descriptor instead. 420func (*BoundingPolyAnnotation) Descriptor() ([]byte, []int) { 421 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{2} 422} 423 424func (x *BoundingPolyAnnotation) GetNormalizedBoundingPoly() *NormalizedBoundingPoly { 425 if x != nil { 426 return x.NormalizedBoundingPoly 427 } 428 return nil 429} 430 431func (x *BoundingPolyAnnotation) GetConfidenceScore() float32 { 432 if x != nil { 433 return x.ConfidenceScore 434 } 435 return 0 436} 437 438// Detailed information for ClassificationLabel Annotation. 439type ClassificationLabelAnnotation struct { 440 state protoimpl.MessageState 441 sizeCache protoimpl.SizeCache 442 unknownFields protoimpl.UnknownFields 443 444 // Output only. A confidence score between 0.0 and 1.0. A higher value 445 // means greater confidence that the annotation is positive. 446 ConfidenceScore float32 `protobuf:"fixed32,1,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` 447} 448 449func (x *ClassificationLabelAnnotation) Reset() { 450 *x = ClassificationLabelAnnotation{} 451 if protoimpl.UnsafeEnabled { 452 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[3] 453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 454 ms.StoreMessageInfo(mi) 455 } 456} 457 458func (x *ClassificationLabelAnnotation) String() string { 459 return protoimpl.X.MessageStringOf(x) 460} 461 462func (*ClassificationLabelAnnotation) ProtoMessage() {} 463 464func (x *ClassificationLabelAnnotation) ProtoReflect() protoreflect.Message { 465 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[3] 466 if protoimpl.UnsafeEnabled && x != nil { 467 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 468 if ms.LoadMessageInfo() == nil { 469 ms.StoreMessageInfo(mi) 470 } 471 return ms 472 } 473 return mi.MessageOf(x) 474} 475 476// Deprecated: Use ClassificationLabelAnnotation.ProtoReflect.Descriptor instead. 477func (*ClassificationLabelAnnotation) Descriptor() ([]byte, []int) { 478 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{3} 479} 480 481func (x *ClassificationLabelAnnotation) GetConfidenceScore() float32 { 482 if x != nil { 483 return x.ConfidenceScore 484 } 485 return 0 486} 487 488// Detailed information for Mask Annotation. 489type MaskAnnotation struct { 490 state protoimpl.MessageState 491 sizeCache protoimpl.SizeCache 492 unknownFields protoimpl.UnknownFields 493 494 // Output only. One channel image which is encoded as an 8bit lossless PNG. 495 // The size of the image will be the same as the original image. For a 496 // specific pixel, darker color means less confidence in correctness of the 497 // cateogry in the category_meask for the corresponding pixel. Black means no 498 // confidence and white means full confidence. 499 ConfidenceMask *Image `protobuf:"bytes,1,opt,name=confidence_mask,json=confidenceMask,proto3" json:"confidence_mask,omitempty"` 500 // Three channel image which is encoded as an 8bit lossless PNG. Each pixel in 501 // the image mask represents the category which the pixel in the original 502 // image belong to. Each color is mapped to one AnnotationSpec based on 503 // annotation_spec_colors. 504 CategoryMask *Image `protobuf:"bytes,2,opt,name=category_mask,json=categoryMask,proto3" json:"category_mask,omitempty"` 505} 506 507func (x *MaskAnnotation) Reset() { 508 *x = MaskAnnotation{} 509 if protoimpl.UnsafeEnabled { 510 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[4] 511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 512 ms.StoreMessageInfo(mi) 513 } 514} 515 516func (x *MaskAnnotation) String() string { 517 return protoimpl.X.MessageStringOf(x) 518} 519 520func (*MaskAnnotation) ProtoMessage() {} 521 522func (x *MaskAnnotation) ProtoReflect() protoreflect.Message { 523 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[4] 524 if protoimpl.UnsafeEnabled && x != nil { 525 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 526 if ms.LoadMessageInfo() == nil { 527 ms.StoreMessageInfo(mi) 528 } 529 return ms 530 } 531 return mi.MessageOf(x) 532} 533 534// Deprecated: Use MaskAnnotation.ProtoReflect.Descriptor instead. 535func (*MaskAnnotation) Descriptor() ([]byte, []int) { 536 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{4} 537} 538 539func (x *MaskAnnotation) GetConfidenceMask() *Image { 540 if x != nil { 541 return x.ConfidenceMask 542 } 543 return nil 544} 545 546func (x *MaskAnnotation) GetCategoryMask() *Image { 547 if x != nil { 548 return x.CategoryMask 549 } 550 return nil 551} 552 553// Detailed information for Polyline Annotation. 554type PolylineAnnotation struct { 555 state protoimpl.MessageState 556 sizeCache protoimpl.SizeCache 557 unknownFields protoimpl.UnknownFields 558 559 // A polyline consisting of connected straight-line segments. 560 NormalizedPolyline *NormalizedPolyline `protobuf:"bytes,1,opt,name=normalized_polyline,json=normalizedPolyline,proto3" json:"normalized_polyline,omitempty"` 561 // Output only. A confidence score between 0.0 and 1.0. A higher value 562 // means greater confidence that the annotation is positive. 563 ConfidenceScore float32 `protobuf:"fixed32,2,opt,name=confidence_score,json=confidenceScore,proto3" json:"confidence_score,omitempty"` 564} 565 566func (x *PolylineAnnotation) Reset() { 567 *x = PolylineAnnotation{} 568 if protoimpl.UnsafeEnabled { 569 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[5] 570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 571 ms.StoreMessageInfo(mi) 572 } 573} 574 575func (x *PolylineAnnotation) String() string { 576 return protoimpl.X.MessageStringOf(x) 577} 578 579func (*PolylineAnnotation) ProtoMessage() {} 580 581func (x *PolylineAnnotation) ProtoReflect() protoreflect.Message { 582 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[5] 583 if protoimpl.UnsafeEnabled && x != nil { 584 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 585 if ms.LoadMessageInfo() == nil { 586 ms.StoreMessageInfo(mi) 587 } 588 return ms 589 } 590 return mi.MessageOf(x) 591} 592 593// Deprecated: Use PolylineAnnotation.ProtoReflect.Descriptor instead. 594func (*PolylineAnnotation) Descriptor() ([]byte, []int) { 595 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{5} 596} 597 598func (x *PolylineAnnotation) GetNormalizedPolyline() *NormalizedPolyline { 599 if x != nil { 600 return x.NormalizedPolyline 601 } 602 return nil 603} 604 605func (x *PolylineAnnotation) GetConfidenceScore() float32 { 606 if x != nil { 607 return x.ConfidenceScore 608 } 609 return 0 610} 611 612// Source of the Annotation. 613type Annotation_Source struct { 614 state protoimpl.MessageState 615 sizeCache protoimpl.SizeCache 616 unknownFields protoimpl.UnknownFields 617 618 // Source type. 619 Type Annotation_Source_SourceType `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.visualinspection.v1beta1.Annotation_Source_SourceType" json:"type,omitempty"` 620 // Resource name of the source model when the Annotation is 621 // MACHINE_PRODUCED. 622 SourceModel string `protobuf:"bytes,2,opt,name=source_model,json=sourceModel,proto3" json:"source_model,omitempty"` 623} 624 625func (x *Annotation_Source) Reset() { 626 *x = Annotation_Source{} 627 if protoimpl.UnsafeEnabled { 628 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[6] 629 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 630 ms.StoreMessageInfo(mi) 631 } 632} 633 634func (x *Annotation_Source) String() string { 635 return protoimpl.X.MessageStringOf(x) 636} 637 638func (*Annotation_Source) ProtoMessage() {} 639 640func (x *Annotation_Source) ProtoReflect() protoreflect.Message { 641 mi := &file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[6] 642 if protoimpl.UnsafeEnabled && x != nil { 643 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 644 if ms.LoadMessageInfo() == nil { 645 ms.StoreMessageInfo(mi) 646 } 647 return ms 648 } 649 return mi.MessageOf(x) 650} 651 652// Deprecated: Use Annotation_Source.ProtoReflect.Descriptor instead. 653func (*Annotation_Source) Descriptor() ([]byte, []int) { 654 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP(), []int{0, 0} 655} 656 657func (x *Annotation_Source) GetType() Annotation_Source_SourceType { 658 if x != nil { 659 return x.Type 660 } 661 return Annotation_Source_SOURCE_TYPE_UNSPECIFIED 662} 663 664func (x *Annotation_Source) GetSourceModel() string { 665 if x != nil { 666 return x.SourceModel 667 } 668 return "" 669} 670 671var File_google_cloud_visualinspection_v1beta1_annotation_proto protoreflect.FileDescriptor 672 673var file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDesc = []byte{ 674 0x0a, 0x36, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 675 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 676 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 677 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 678 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 679 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 680 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 681 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 682 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 683 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 684 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 685 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 686 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 687 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 688 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 689 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 690 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 691 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 692 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 693 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 694 0x6f, 0x74, 0x6f, 0x22, 0xb6, 0x0b, 0x0a, 0x0a, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 695 0x6f, 0x6e, 0x12, 0x50, 0x0a, 0x03, 0x62, 0x6f, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 696 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 697 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 698 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 699 0x42, 0x6f, 0x78, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 700 0x03, 0x62, 0x6f, 0x78, 0x12, 0x59, 0x0a, 0x07, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x18, 701 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 702 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 703 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 704 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 705 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x07, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x12, 706 0x79, 0x0a, 0x14, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 707 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 708 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 709 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 710 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 711 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 712 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x13, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 713 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x4b, 0x0a, 0x04, 0x6d, 0x61, 714 0x73, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 715 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 716 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 717 0x2e, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 718 0x00, 0x52, 0x04, 0x6d, 0x61, 0x73, 0x6b, 0x12, 0x57, 0x0a, 0x08, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 719 0x69, 0x6e, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 720 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 721 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 722 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 723 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 724 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 725 0xe0, 0x41, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x63, 0x72, 0x65, 726 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 727 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 728 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 729 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x40, 0x0a, 0x0b, 0x75, 730 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 731 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 732 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 733 0x03, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 734 0x12, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x70, 0x65, 0x63, 735 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 736 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x70, 0x65, 0x63, 0x49, 0x64, 0x12, 0x2f, 0x0a, 0x11, 0x61, 737 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 738 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x61, 0x6e, 0x6e, 739 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x30, 0x0a, 0x14, 740 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 741 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x70, 0x61, 0x72, 0x65, 742 0x6e, 0x74, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x55, 743 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x38, 744 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 745 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 746 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 747 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x06, 0x73, 748 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x55, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 749 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 750 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 751 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 752 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 753 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0x98, 0x02, 0x0a, 754 0x06, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x57, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 755 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 756 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 757 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 0x6e, 758 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 759 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 760 0x12, 0x4d, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 761 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x2a, 0xfa, 0x41, 0x27, 0x0a, 0x25, 0x76, 0x69, 0x73, 762 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 763 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 764 0x65, 0x6c, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 765 0x66, 0x0a, 0x0a, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1b, 0x0a, 766 0x17, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 767 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x48, 0x55, 768 0x4d, 0x41, 0x4e, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 769 0x0a, 0x10, 0x4d, 0x41, 0x43, 0x48, 0x49, 0x4e, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x44, 0x55, 0x43, 770 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 0x0a, 0x0d, 0x48, 0x55, 0x4d, 0x41, 0x4e, 0x5f, 0x4c, 0x41, 771 0x42, 0x45, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 772 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 773 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 774 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 775 0x38, 0x01, 0x3a, 0x94, 0x01, 0xea, 0x41, 0x90, 0x01, 0x0a, 0x2a, 0x76, 0x69, 0x73, 0x75, 0x61, 776 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 777 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 778 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 779 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 780 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x64, 781 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 782 0x7d, 0x2f, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x73, 0x2f, 0x7b, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x7d, 783 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x61, 0x6e, 784 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x42, 0x11, 0x0a, 0x0f, 0x61, 0x6e, 0x6e, 785 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0xbe, 0x01, 0x0a, 786 0x15, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x41, 0x6e, 0x6e, 0x6f, 787 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x75, 0x0a, 0x17, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 788 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 789 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 790 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 791 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 792 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 793 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x15, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 794 0x65, 0x64, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x12, 0x2e, 0x0a, 795 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 796 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x63, 0x6f, 797 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xc1, 0x01, 798 0x0a, 0x16, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x41, 0x6e, 799 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x77, 0x0a, 0x18, 0x6e, 0x6f, 0x72, 0x6d, 800 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 801 0x70, 0x6f, 0x6c, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 802 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 803 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 804 0x61, 0x31, 0x2e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x6f, 0x75, 805 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x16, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 806 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 807 0x79, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 808 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0, 0x41, 0x03, 809 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 810 0x65, 0x22, 0x4f, 0x0a, 0x1d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 811 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 812 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 813 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0, 0x41, 814 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x53, 0x63, 0x6f, 815 0x72, 0x65, 0x22, 0xbf, 0x01, 0x0a, 0x0e, 0x4d, 0x61, 0x73, 0x6b, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 816 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x5a, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 817 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 818 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 819 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 820 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 821 0x03, 0x52, 0x0e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x61, 0x73, 822 0x6b, 0x12, 0x51, 0x0a, 0x0d, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x5f, 0x6d, 0x61, 823 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 824 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 825 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 826 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0c, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 827 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xb0, 0x01, 0x0a, 0x12, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 828 0x65, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x6a, 0x0a, 0x13, 0x6e, 829 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 830 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 831 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 832 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 833 0x2e, 0x4e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 834 0x69, 0x6e, 0x65, 0x52, 0x12, 0x6e, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x50, 835 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x2e, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x66, 0x69, 836 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 837 0x02, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 838 0x63, 0x65, 0x53, 0x63, 0x6f, 0x72, 0x65, 0x42, 0xff, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 839 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x76, 0x69, 0x73, 840 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x31, 841 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x55, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 842 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 843 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 844 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x76, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 845 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x76, 0x69, 846 0x73, 0x75, 0x61, 0x6c, 0x69, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 847 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x56, 0x69, 848 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 849 0x31, 0x42, 0x65, 0x74, 0x61, 0x31, 0xca, 0x02, 0x25, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 850 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 851 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 852 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 853 0x56, 0x69, 0x73, 0x75, 0x61, 0x6c, 0x49, 0x6e, 0x73, 0x70, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 854 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 855 0x33, 856} 857 858var ( 859 file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescOnce sync.Once 860 file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescData = file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDesc 861) 862 863func file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescGZIP() []byte { 864 file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescOnce.Do(func() { 865 file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescData) 866 }) 867 return file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDescData 868} 869 870var file_google_cloud_visualinspection_v1beta1_annotation_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 871var file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes = make([]protoimpl.MessageInfo, 8) 872var file_google_cloud_visualinspection_v1beta1_annotation_proto_goTypes = []interface{}{ 873 (Annotation_Source_SourceType)(0), // 0: google.cloud.visualinspection.v1beta1.Annotation.Source.SourceType 874 (*Annotation)(nil), // 1: google.cloud.visualinspection.v1beta1.Annotation 875 (*BoundingBoxAnnotation)(nil), // 2: google.cloud.visualinspection.v1beta1.BoundingBoxAnnotation 876 (*BoundingPolyAnnotation)(nil), // 3: google.cloud.visualinspection.v1beta1.BoundingPolyAnnotation 877 (*ClassificationLabelAnnotation)(nil), // 4: google.cloud.visualinspection.v1beta1.ClassificationLabelAnnotation 878 (*MaskAnnotation)(nil), // 5: google.cloud.visualinspection.v1beta1.MaskAnnotation 879 (*PolylineAnnotation)(nil), // 6: google.cloud.visualinspection.v1beta1.PolylineAnnotation 880 (*Annotation_Source)(nil), // 7: google.cloud.visualinspection.v1beta1.Annotation.Source 881 nil, // 8: google.cloud.visualinspection.v1beta1.Annotation.LabelsEntry 882 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp 883 (*NormalizedBoundingPoly)(nil), // 10: google.cloud.visualinspection.v1beta1.NormalizedBoundingPoly 884 (*Image)(nil), // 11: google.cloud.visualinspection.v1beta1.Image 885 (*NormalizedPolyline)(nil), // 12: google.cloud.visualinspection.v1beta1.NormalizedPolyline 886} 887var file_google_cloud_visualinspection_v1beta1_annotation_proto_depIdxs = []int32{ 888 2, // 0: google.cloud.visualinspection.v1beta1.Annotation.box:type_name -> google.cloud.visualinspection.v1beta1.BoundingBoxAnnotation 889 3, // 1: google.cloud.visualinspection.v1beta1.Annotation.polygon:type_name -> google.cloud.visualinspection.v1beta1.BoundingPolyAnnotation 890 4, // 2: google.cloud.visualinspection.v1beta1.Annotation.classification_label:type_name -> google.cloud.visualinspection.v1beta1.ClassificationLabelAnnotation 891 5, // 3: google.cloud.visualinspection.v1beta1.Annotation.mask:type_name -> google.cloud.visualinspection.v1beta1.MaskAnnotation 892 6, // 4: google.cloud.visualinspection.v1beta1.Annotation.polyline:type_name -> google.cloud.visualinspection.v1beta1.PolylineAnnotation 893 9, // 5: google.cloud.visualinspection.v1beta1.Annotation.create_time:type_name -> google.protobuf.Timestamp 894 9, // 6: google.cloud.visualinspection.v1beta1.Annotation.update_time:type_name -> google.protobuf.Timestamp 895 7, // 7: google.cloud.visualinspection.v1beta1.Annotation.source:type_name -> google.cloud.visualinspection.v1beta1.Annotation.Source 896 8, // 8: google.cloud.visualinspection.v1beta1.Annotation.labels:type_name -> google.cloud.visualinspection.v1beta1.Annotation.LabelsEntry 897 10, // 9: google.cloud.visualinspection.v1beta1.BoundingBoxAnnotation.normalized_bounding_box:type_name -> google.cloud.visualinspection.v1beta1.NormalizedBoundingPoly 898 10, // 10: google.cloud.visualinspection.v1beta1.BoundingPolyAnnotation.normalized_bounding_poly:type_name -> google.cloud.visualinspection.v1beta1.NormalizedBoundingPoly 899 11, // 11: google.cloud.visualinspection.v1beta1.MaskAnnotation.confidence_mask:type_name -> google.cloud.visualinspection.v1beta1.Image 900 11, // 12: google.cloud.visualinspection.v1beta1.MaskAnnotation.category_mask:type_name -> google.cloud.visualinspection.v1beta1.Image 901 12, // 13: google.cloud.visualinspection.v1beta1.PolylineAnnotation.normalized_polyline:type_name -> google.cloud.visualinspection.v1beta1.NormalizedPolyline 902 0, // 14: google.cloud.visualinspection.v1beta1.Annotation.Source.type:type_name -> google.cloud.visualinspection.v1beta1.Annotation.Source.SourceType 903 15, // [15:15] is the sub-list for method output_type 904 15, // [15:15] is the sub-list for method input_type 905 15, // [15:15] is the sub-list for extension type_name 906 15, // [15:15] is the sub-list for extension extendee 907 0, // [0:15] is the sub-list for field type_name 908} 909 910func init() { file_google_cloud_visualinspection_v1beta1_annotation_proto_init() } 911func file_google_cloud_visualinspection_v1beta1_annotation_proto_init() { 912 if File_google_cloud_visualinspection_v1beta1_annotation_proto != nil { 913 return 914 } 915 file_google_cloud_visualinspection_v1beta1_geometry_proto_init() 916 file_google_cloud_visualinspection_v1beta1_image_proto_init() 917 if !protoimpl.UnsafeEnabled { 918 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 919 switch v := v.(*Annotation); i { 920 case 0: 921 return &v.state 922 case 1: 923 return &v.sizeCache 924 case 2: 925 return &v.unknownFields 926 default: 927 return nil 928 } 929 } 930 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 931 switch v := v.(*BoundingBoxAnnotation); i { 932 case 0: 933 return &v.state 934 case 1: 935 return &v.sizeCache 936 case 2: 937 return &v.unknownFields 938 default: 939 return nil 940 } 941 } 942 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 943 switch v := v.(*BoundingPolyAnnotation); i { 944 case 0: 945 return &v.state 946 case 1: 947 return &v.sizeCache 948 case 2: 949 return &v.unknownFields 950 default: 951 return nil 952 } 953 } 954 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 955 switch v := v.(*ClassificationLabelAnnotation); i { 956 case 0: 957 return &v.state 958 case 1: 959 return &v.sizeCache 960 case 2: 961 return &v.unknownFields 962 default: 963 return nil 964 } 965 } 966 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 967 switch v := v.(*MaskAnnotation); i { 968 case 0: 969 return &v.state 970 case 1: 971 return &v.sizeCache 972 case 2: 973 return &v.unknownFields 974 default: 975 return nil 976 } 977 } 978 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 979 switch v := v.(*PolylineAnnotation); i { 980 case 0: 981 return &v.state 982 case 1: 983 return &v.sizeCache 984 case 2: 985 return &v.unknownFields 986 default: 987 return nil 988 } 989 } 990 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 991 switch v := v.(*Annotation_Source); i { 992 case 0: 993 return &v.state 994 case 1: 995 return &v.sizeCache 996 case 2: 997 return &v.unknownFields 998 default: 999 return nil 1000 } 1001 } 1002 } 1003 file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes[0].OneofWrappers = []interface{}{ 1004 (*Annotation_Box)(nil), 1005 (*Annotation_Polygon)(nil), 1006 (*Annotation_ClassificationLabel)(nil), 1007 (*Annotation_Mask)(nil), 1008 (*Annotation_Polyline)(nil), 1009 } 1010 type x struct{} 1011 out := protoimpl.TypeBuilder{ 1012 File: protoimpl.DescBuilder{ 1013 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 1014 RawDescriptor: file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDesc, 1015 NumEnums: 1, 1016 NumMessages: 8, 1017 NumExtensions: 0, 1018 NumServices: 0, 1019 }, 1020 GoTypes: file_google_cloud_visualinspection_v1beta1_annotation_proto_goTypes, 1021 DependencyIndexes: file_google_cloud_visualinspection_v1beta1_annotation_proto_depIdxs, 1022 EnumInfos: file_google_cloud_visualinspection_v1beta1_annotation_proto_enumTypes, 1023 MessageInfos: file_google_cloud_visualinspection_v1beta1_annotation_proto_msgTypes, 1024 }.Build() 1025 File_google_cloud_visualinspection_v1beta1_annotation_proto = out.File 1026 file_google_cloud_visualinspection_v1beta1_annotation_proto_rawDesc = nil 1027 file_google_cloud_visualinspection_v1beta1_annotation_proto_goTypes = nil 1028 file_google_cloud_visualinspection_v1beta1_annotation_proto_depIdxs = nil 1029} 1030