1// Code generated by protoc-gen-go. DO NOT EDIT. 2// source: google/cloud/automl/v1/data_items.proto 3 4package automl 5 6import ( 7 fmt "fmt" 8 math "math" 9 10 proto "github.com/golang/protobuf/proto" 11 _ "github.com/golang/protobuf/ptypes/any" 12 _ "github.com/golang/protobuf/ptypes/duration" 13 _ "github.com/golang/protobuf/ptypes/struct" 14 _ "google.golang.org/genproto/googleapis/api/annotations" 15) 16 17// Reference imports to suppress errors if they are not otherwise used. 18var _ = proto.Marshal 19var _ = fmt.Errorf 20var _ = math.Inf 21 22// This is a compile-time assertion to ensure that this generated file 23// is compatible with the proto package it is being compiled against. 24// A compilation error at this line likely means your copy of the 25// proto package needs to be updated. 26const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 27 28// Unit of the document dimension. 29type DocumentDimensions_DocumentDimensionUnit int32 30 31const ( 32 // Should not be used. 33 DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED DocumentDimensions_DocumentDimensionUnit = 0 34 // Document dimension is measured in inches. 35 DocumentDimensions_INCH DocumentDimensions_DocumentDimensionUnit = 1 36 // Document dimension is measured in centimeters. 37 DocumentDimensions_CENTIMETER DocumentDimensions_DocumentDimensionUnit = 2 38 // Document dimension is measured in points. 72 points = 1 inch. 39 DocumentDimensions_POINT DocumentDimensions_DocumentDimensionUnit = 3 40) 41 42var DocumentDimensions_DocumentDimensionUnit_name = map[int32]string{ 43 0: "DOCUMENT_DIMENSION_UNIT_UNSPECIFIED", 44 1: "INCH", 45 2: "CENTIMETER", 46 3: "POINT", 47} 48 49var DocumentDimensions_DocumentDimensionUnit_value = map[string]int32{ 50 "DOCUMENT_DIMENSION_UNIT_UNSPECIFIED": 0, 51 "INCH": 1, 52 "CENTIMETER": 2, 53 "POINT": 3, 54} 55 56func (x DocumentDimensions_DocumentDimensionUnit) String() string { 57 return proto.EnumName(DocumentDimensions_DocumentDimensionUnit_name, int32(x)) 58} 59 60func (DocumentDimensions_DocumentDimensionUnit) EnumDescriptor() ([]byte, []int) { 61 return fileDescriptor_9aa6620a22bddfe1, []int{2, 0} 62} 63 64// The type of TextSegment in the context of the original document. 65type Document_Layout_TextSegmentType int32 66 67const ( 68 // Should not be used. 69 Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED Document_Layout_TextSegmentType = 0 70 // The text segment is a token. e.g. word. 71 Document_Layout_TOKEN Document_Layout_TextSegmentType = 1 72 // The text segment is a paragraph. 73 Document_Layout_PARAGRAPH Document_Layout_TextSegmentType = 2 74 // The text segment is a form field. 75 Document_Layout_FORM_FIELD Document_Layout_TextSegmentType = 3 76 // The text segment is the name part of a form field. It will be treated 77 // as child of another FORM_FIELD TextSegment if its span is subspan of 78 // another TextSegment with type FORM_FIELD. 79 Document_Layout_FORM_FIELD_NAME Document_Layout_TextSegmentType = 4 80 // The text segment is the text content part of a form field. It will be 81 // treated as child of another FORM_FIELD TextSegment if its span is 82 // subspan of another TextSegment with type FORM_FIELD. 83 Document_Layout_FORM_FIELD_CONTENTS Document_Layout_TextSegmentType = 5 84 // The text segment is a whole table, including headers, and all rows. 85 Document_Layout_TABLE Document_Layout_TextSegmentType = 6 86 // The text segment is a table's headers. It will be treated as child of 87 // another TABLE TextSegment if its span is subspan of another TextSegment 88 // with type TABLE. 89 Document_Layout_TABLE_HEADER Document_Layout_TextSegmentType = 7 90 // The text segment is a row in table. It will be treated as child of 91 // another TABLE TextSegment if its span is subspan of another TextSegment 92 // with type TABLE. 93 Document_Layout_TABLE_ROW Document_Layout_TextSegmentType = 8 94 // The text segment is a cell in table. It will be treated as child of 95 // another TABLE_ROW TextSegment if its span is subspan of another 96 // TextSegment with type TABLE_ROW. 97 Document_Layout_TABLE_CELL Document_Layout_TextSegmentType = 9 98) 99 100var Document_Layout_TextSegmentType_name = map[int32]string{ 101 0: "TEXT_SEGMENT_TYPE_UNSPECIFIED", 102 1: "TOKEN", 103 2: "PARAGRAPH", 104 3: "FORM_FIELD", 105 4: "FORM_FIELD_NAME", 106 5: "FORM_FIELD_CONTENTS", 107 6: "TABLE", 108 7: "TABLE_HEADER", 109 8: "TABLE_ROW", 110 9: "TABLE_CELL", 111} 112 113var Document_Layout_TextSegmentType_value = map[string]int32{ 114 "TEXT_SEGMENT_TYPE_UNSPECIFIED": 0, 115 "TOKEN": 1, 116 "PARAGRAPH": 2, 117 "FORM_FIELD": 3, 118 "FORM_FIELD_NAME": 4, 119 "FORM_FIELD_CONTENTS": 5, 120 "TABLE": 6, 121 "TABLE_HEADER": 7, 122 "TABLE_ROW": 8, 123 "TABLE_CELL": 9, 124} 125 126func (x Document_Layout_TextSegmentType) String() string { 127 return proto.EnumName(Document_Layout_TextSegmentType_name, int32(x)) 128} 129 130func (Document_Layout_TextSegmentType) EnumDescriptor() ([]byte, []int) { 131 return fileDescriptor_9aa6620a22bddfe1, []int{3, 0, 0} 132} 133 134// A representation of an image. 135// Only images up to 30MB in size are supported. 136type Image struct { 137 // Input only. The data representing the image. 138 // For Predict calls [image_bytes][google.cloud.automl.v1.Image.image_bytes] must be set . 139 // 140 // Types that are valid to be assigned to Data: 141 // *Image_ImageBytes 142 Data isImage_Data `protobuf_oneof:"data"` 143 // Output only. HTTP URI to the thumbnail image. 144 ThumbnailUri string `protobuf:"bytes,4,opt,name=thumbnail_uri,json=thumbnailUri,proto3" json:"thumbnail_uri,omitempty"` 145 XXX_NoUnkeyedLiteral struct{} `json:"-"` 146 XXX_unrecognized []byte `json:"-"` 147 XXX_sizecache int32 `json:"-"` 148} 149 150func (m *Image) Reset() { *m = Image{} } 151func (m *Image) String() string { return proto.CompactTextString(m) } 152func (*Image) ProtoMessage() {} 153func (*Image) Descriptor() ([]byte, []int) { 154 return fileDescriptor_9aa6620a22bddfe1, []int{0} 155} 156 157func (m *Image) XXX_Unmarshal(b []byte) error { 158 return xxx_messageInfo_Image.Unmarshal(m, b) 159} 160func (m *Image) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 161 return xxx_messageInfo_Image.Marshal(b, m, deterministic) 162} 163func (m *Image) XXX_Merge(src proto.Message) { 164 xxx_messageInfo_Image.Merge(m, src) 165} 166func (m *Image) XXX_Size() int { 167 return xxx_messageInfo_Image.Size(m) 168} 169func (m *Image) XXX_DiscardUnknown() { 170 xxx_messageInfo_Image.DiscardUnknown(m) 171} 172 173var xxx_messageInfo_Image proto.InternalMessageInfo 174 175type isImage_Data interface { 176 isImage_Data() 177} 178 179type Image_ImageBytes struct { 180 ImageBytes []byte `protobuf:"bytes,1,opt,name=image_bytes,json=imageBytes,proto3,oneof"` 181} 182 183func (*Image_ImageBytes) isImage_Data() {} 184 185func (m *Image) GetData() isImage_Data { 186 if m != nil { 187 return m.Data 188 } 189 return nil 190} 191 192func (m *Image) GetImageBytes() []byte { 193 if x, ok := m.GetData().(*Image_ImageBytes); ok { 194 return x.ImageBytes 195 } 196 return nil 197} 198 199func (m *Image) GetThumbnailUri() string { 200 if m != nil { 201 return m.ThumbnailUri 202 } 203 return "" 204} 205 206// XXX_OneofWrappers is for the internal use of the proto package. 207func (*Image) XXX_OneofWrappers() []interface{} { 208 return []interface{}{ 209 (*Image_ImageBytes)(nil), 210 } 211} 212 213// A representation of a text snippet. 214type TextSnippet struct { 215 // Required. The content of the text snippet as a string. Up to 250000 216 // characters long. 217 Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` 218 // Optional. The format of [content][google.cloud.automl.v1.TextSnippet.content]. Currently the only two allowed 219 // values are "text/html" and "text/plain". If left blank, the format is 220 // automatically determined from the type of the uploaded [content][google.cloud.automl.v1.TextSnippet.content]. 221 MimeType string `protobuf:"bytes,2,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 222 // Output only. HTTP URI where you can download the content. 223 ContentUri string `protobuf:"bytes,4,opt,name=content_uri,json=contentUri,proto3" json:"content_uri,omitempty"` 224 XXX_NoUnkeyedLiteral struct{} `json:"-"` 225 XXX_unrecognized []byte `json:"-"` 226 XXX_sizecache int32 `json:"-"` 227} 228 229func (m *TextSnippet) Reset() { *m = TextSnippet{} } 230func (m *TextSnippet) String() string { return proto.CompactTextString(m) } 231func (*TextSnippet) ProtoMessage() {} 232func (*TextSnippet) Descriptor() ([]byte, []int) { 233 return fileDescriptor_9aa6620a22bddfe1, []int{1} 234} 235 236func (m *TextSnippet) XXX_Unmarshal(b []byte) error { 237 return xxx_messageInfo_TextSnippet.Unmarshal(m, b) 238} 239func (m *TextSnippet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 240 return xxx_messageInfo_TextSnippet.Marshal(b, m, deterministic) 241} 242func (m *TextSnippet) XXX_Merge(src proto.Message) { 243 xxx_messageInfo_TextSnippet.Merge(m, src) 244} 245func (m *TextSnippet) XXX_Size() int { 246 return xxx_messageInfo_TextSnippet.Size(m) 247} 248func (m *TextSnippet) XXX_DiscardUnknown() { 249 xxx_messageInfo_TextSnippet.DiscardUnknown(m) 250} 251 252var xxx_messageInfo_TextSnippet proto.InternalMessageInfo 253 254func (m *TextSnippet) GetContent() string { 255 if m != nil { 256 return m.Content 257 } 258 return "" 259} 260 261func (m *TextSnippet) GetMimeType() string { 262 if m != nil { 263 return m.MimeType 264 } 265 return "" 266} 267 268func (m *TextSnippet) GetContentUri() string { 269 if m != nil { 270 return m.ContentUri 271 } 272 return "" 273} 274 275// Message that describes dimension of a document. 276type DocumentDimensions struct { 277 // Unit of the dimension. 278 Unit DocumentDimensions_DocumentDimensionUnit `protobuf:"varint,1,opt,name=unit,proto3,enum=google.cloud.automl.v1.DocumentDimensions_DocumentDimensionUnit" json:"unit,omitempty"` 279 // Width value of the document, works together with the unit. 280 Width float32 `protobuf:"fixed32,2,opt,name=width,proto3" json:"width,omitempty"` 281 // Height value of the document, works together with the unit. 282 Height float32 `protobuf:"fixed32,3,opt,name=height,proto3" json:"height,omitempty"` 283 XXX_NoUnkeyedLiteral struct{} `json:"-"` 284 XXX_unrecognized []byte `json:"-"` 285 XXX_sizecache int32 `json:"-"` 286} 287 288func (m *DocumentDimensions) Reset() { *m = DocumentDimensions{} } 289func (m *DocumentDimensions) String() string { return proto.CompactTextString(m) } 290func (*DocumentDimensions) ProtoMessage() {} 291func (*DocumentDimensions) Descriptor() ([]byte, []int) { 292 return fileDescriptor_9aa6620a22bddfe1, []int{2} 293} 294 295func (m *DocumentDimensions) XXX_Unmarshal(b []byte) error { 296 return xxx_messageInfo_DocumentDimensions.Unmarshal(m, b) 297} 298func (m *DocumentDimensions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 299 return xxx_messageInfo_DocumentDimensions.Marshal(b, m, deterministic) 300} 301func (m *DocumentDimensions) XXX_Merge(src proto.Message) { 302 xxx_messageInfo_DocumentDimensions.Merge(m, src) 303} 304func (m *DocumentDimensions) XXX_Size() int { 305 return xxx_messageInfo_DocumentDimensions.Size(m) 306} 307func (m *DocumentDimensions) XXX_DiscardUnknown() { 308 xxx_messageInfo_DocumentDimensions.DiscardUnknown(m) 309} 310 311var xxx_messageInfo_DocumentDimensions proto.InternalMessageInfo 312 313func (m *DocumentDimensions) GetUnit() DocumentDimensions_DocumentDimensionUnit { 314 if m != nil { 315 return m.Unit 316 } 317 return DocumentDimensions_DOCUMENT_DIMENSION_UNIT_UNSPECIFIED 318} 319 320func (m *DocumentDimensions) GetWidth() float32 { 321 if m != nil { 322 return m.Width 323 } 324 return 0 325} 326 327func (m *DocumentDimensions) GetHeight() float32 { 328 if m != nil { 329 return m.Height 330 } 331 return 0 332} 333 334// A structured text document e.g. a PDF. 335type Document struct { 336 // An input config specifying the content of the document. 337 InputConfig *DocumentInputConfig `protobuf:"bytes,1,opt,name=input_config,json=inputConfig,proto3" json:"input_config,omitempty"` 338 // The plain text version of this document. 339 DocumentText *TextSnippet `protobuf:"bytes,2,opt,name=document_text,json=documentText,proto3" json:"document_text,omitempty"` 340 // Describes the layout of the document. 341 // Sorted by [page_number][]. 342 Layout []*Document_Layout `protobuf:"bytes,3,rep,name=layout,proto3" json:"layout,omitempty"` 343 // The dimensions of the page in the document. 344 DocumentDimensions *DocumentDimensions `protobuf:"bytes,4,opt,name=document_dimensions,json=documentDimensions,proto3" json:"document_dimensions,omitempty"` 345 // Number of pages in the document. 346 PageCount int32 `protobuf:"varint,5,opt,name=page_count,json=pageCount,proto3" json:"page_count,omitempty"` 347 XXX_NoUnkeyedLiteral struct{} `json:"-"` 348 XXX_unrecognized []byte `json:"-"` 349 XXX_sizecache int32 `json:"-"` 350} 351 352func (m *Document) Reset() { *m = Document{} } 353func (m *Document) String() string { return proto.CompactTextString(m) } 354func (*Document) ProtoMessage() {} 355func (*Document) Descriptor() ([]byte, []int) { 356 return fileDescriptor_9aa6620a22bddfe1, []int{3} 357} 358 359func (m *Document) XXX_Unmarshal(b []byte) error { 360 return xxx_messageInfo_Document.Unmarshal(m, b) 361} 362func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 363 return xxx_messageInfo_Document.Marshal(b, m, deterministic) 364} 365func (m *Document) XXX_Merge(src proto.Message) { 366 xxx_messageInfo_Document.Merge(m, src) 367} 368func (m *Document) XXX_Size() int { 369 return xxx_messageInfo_Document.Size(m) 370} 371func (m *Document) XXX_DiscardUnknown() { 372 xxx_messageInfo_Document.DiscardUnknown(m) 373} 374 375var xxx_messageInfo_Document proto.InternalMessageInfo 376 377func (m *Document) GetInputConfig() *DocumentInputConfig { 378 if m != nil { 379 return m.InputConfig 380 } 381 return nil 382} 383 384func (m *Document) GetDocumentText() *TextSnippet { 385 if m != nil { 386 return m.DocumentText 387 } 388 return nil 389} 390 391func (m *Document) GetLayout() []*Document_Layout { 392 if m != nil { 393 return m.Layout 394 } 395 return nil 396} 397 398func (m *Document) GetDocumentDimensions() *DocumentDimensions { 399 if m != nil { 400 return m.DocumentDimensions 401 } 402 return nil 403} 404 405func (m *Document) GetPageCount() int32 { 406 if m != nil { 407 return m.PageCount 408 } 409 return 0 410} 411 412// Describes the layout information of a [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the document. 413type Document_Layout struct { 414 // Text Segment that represents a segment in 415 // [document_text][google.cloud.automl.v1p1beta.Document.document_text]. 416 TextSegment *TextSegment `protobuf:"bytes,1,opt,name=text_segment,json=textSegment,proto3" json:"text_segment,omitempty"` 417 // Page number of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the original document, starts 418 // from 1. 419 PageNumber int32 `protobuf:"varint,2,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"` 420 // The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page. 421 // Contains exactly 4 422 // 423 // [normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices] 424 // and they are connected by edges in the order provided, which will 425 // represent a rectangle parallel to the frame. The 426 // [NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are 427 // relative to the page. 428 // Coordinates are based on top-left as point (0,0). 429 BoundingPoly *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_poly,json=boundingPoly,proto3" json:"bounding_poly,omitempty"` 430 // The type of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in document. 431 TextSegmentType Document_Layout_TextSegmentType `protobuf:"varint,4,opt,name=text_segment_type,json=textSegmentType,proto3,enum=google.cloud.automl.v1.Document_Layout_TextSegmentType" json:"text_segment_type,omitempty"` 432 XXX_NoUnkeyedLiteral struct{} `json:"-"` 433 XXX_unrecognized []byte `json:"-"` 434 XXX_sizecache int32 `json:"-"` 435} 436 437func (m *Document_Layout) Reset() { *m = Document_Layout{} } 438func (m *Document_Layout) String() string { return proto.CompactTextString(m) } 439func (*Document_Layout) ProtoMessage() {} 440func (*Document_Layout) Descriptor() ([]byte, []int) { 441 return fileDescriptor_9aa6620a22bddfe1, []int{3, 0} 442} 443 444func (m *Document_Layout) XXX_Unmarshal(b []byte) error { 445 return xxx_messageInfo_Document_Layout.Unmarshal(m, b) 446} 447func (m *Document_Layout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 448 return xxx_messageInfo_Document_Layout.Marshal(b, m, deterministic) 449} 450func (m *Document_Layout) XXX_Merge(src proto.Message) { 451 xxx_messageInfo_Document_Layout.Merge(m, src) 452} 453func (m *Document_Layout) XXX_Size() int { 454 return xxx_messageInfo_Document_Layout.Size(m) 455} 456func (m *Document_Layout) XXX_DiscardUnknown() { 457 xxx_messageInfo_Document_Layout.DiscardUnknown(m) 458} 459 460var xxx_messageInfo_Document_Layout proto.InternalMessageInfo 461 462func (m *Document_Layout) GetTextSegment() *TextSegment { 463 if m != nil { 464 return m.TextSegment 465 } 466 return nil 467} 468 469func (m *Document_Layout) GetPageNumber() int32 { 470 if m != nil { 471 return m.PageNumber 472 } 473 return 0 474} 475 476func (m *Document_Layout) GetBoundingPoly() *BoundingPoly { 477 if m != nil { 478 return m.BoundingPoly 479 } 480 return nil 481} 482 483func (m *Document_Layout) GetTextSegmentType() Document_Layout_TextSegmentType { 484 if m != nil { 485 return m.TextSegmentType 486 } 487 return Document_Layout_TEXT_SEGMENT_TYPE_UNSPECIFIED 488} 489 490// Example data used for training or prediction. 491type ExamplePayload struct { 492 // Required. The example data. 493 // 494 // Types that are valid to be assigned to Payload: 495 // *ExamplePayload_Image 496 // *ExamplePayload_TextSnippet 497 // *ExamplePayload_Document 498 Payload isExamplePayload_Payload `protobuf_oneof:"payload"` 499 XXX_NoUnkeyedLiteral struct{} `json:"-"` 500 XXX_unrecognized []byte `json:"-"` 501 XXX_sizecache int32 `json:"-"` 502} 503 504func (m *ExamplePayload) Reset() { *m = ExamplePayload{} } 505func (m *ExamplePayload) String() string { return proto.CompactTextString(m) } 506func (*ExamplePayload) ProtoMessage() {} 507func (*ExamplePayload) Descriptor() ([]byte, []int) { 508 return fileDescriptor_9aa6620a22bddfe1, []int{4} 509} 510 511func (m *ExamplePayload) XXX_Unmarshal(b []byte) error { 512 return xxx_messageInfo_ExamplePayload.Unmarshal(m, b) 513} 514func (m *ExamplePayload) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 515 return xxx_messageInfo_ExamplePayload.Marshal(b, m, deterministic) 516} 517func (m *ExamplePayload) XXX_Merge(src proto.Message) { 518 xxx_messageInfo_ExamplePayload.Merge(m, src) 519} 520func (m *ExamplePayload) XXX_Size() int { 521 return xxx_messageInfo_ExamplePayload.Size(m) 522} 523func (m *ExamplePayload) XXX_DiscardUnknown() { 524 xxx_messageInfo_ExamplePayload.DiscardUnknown(m) 525} 526 527var xxx_messageInfo_ExamplePayload proto.InternalMessageInfo 528 529type isExamplePayload_Payload interface { 530 isExamplePayload_Payload() 531} 532 533type ExamplePayload_Image struct { 534 Image *Image `protobuf:"bytes,1,opt,name=image,proto3,oneof"` 535} 536 537type ExamplePayload_TextSnippet struct { 538 TextSnippet *TextSnippet `protobuf:"bytes,2,opt,name=text_snippet,json=textSnippet,proto3,oneof"` 539} 540 541type ExamplePayload_Document struct { 542 Document *Document `protobuf:"bytes,4,opt,name=document,proto3,oneof"` 543} 544 545func (*ExamplePayload_Image) isExamplePayload_Payload() {} 546 547func (*ExamplePayload_TextSnippet) isExamplePayload_Payload() {} 548 549func (*ExamplePayload_Document) isExamplePayload_Payload() {} 550 551func (m *ExamplePayload) GetPayload() isExamplePayload_Payload { 552 if m != nil { 553 return m.Payload 554 } 555 return nil 556} 557 558func (m *ExamplePayload) GetImage() *Image { 559 if x, ok := m.GetPayload().(*ExamplePayload_Image); ok { 560 return x.Image 561 } 562 return nil 563} 564 565func (m *ExamplePayload) GetTextSnippet() *TextSnippet { 566 if x, ok := m.GetPayload().(*ExamplePayload_TextSnippet); ok { 567 return x.TextSnippet 568 } 569 return nil 570} 571 572func (m *ExamplePayload) GetDocument() *Document { 573 if x, ok := m.GetPayload().(*ExamplePayload_Document); ok { 574 return x.Document 575 } 576 return nil 577} 578 579// XXX_OneofWrappers is for the internal use of the proto package. 580func (*ExamplePayload) XXX_OneofWrappers() []interface{} { 581 return []interface{}{ 582 (*ExamplePayload_Image)(nil), 583 (*ExamplePayload_TextSnippet)(nil), 584 (*ExamplePayload_Document)(nil), 585 } 586} 587 588func init() { 589 proto.RegisterEnum("google.cloud.automl.v1.DocumentDimensions_DocumentDimensionUnit", DocumentDimensions_DocumentDimensionUnit_name, DocumentDimensions_DocumentDimensionUnit_value) 590 proto.RegisterEnum("google.cloud.automl.v1.Document_Layout_TextSegmentType", Document_Layout_TextSegmentType_name, Document_Layout_TextSegmentType_value) 591 proto.RegisterType((*Image)(nil), "google.cloud.automl.v1.Image") 592 proto.RegisterType((*TextSnippet)(nil), "google.cloud.automl.v1.TextSnippet") 593 proto.RegisterType((*DocumentDimensions)(nil), "google.cloud.automl.v1.DocumentDimensions") 594 proto.RegisterType((*Document)(nil), "google.cloud.automl.v1.Document") 595 proto.RegisterType((*Document_Layout)(nil), "google.cloud.automl.v1.Document.Layout") 596 proto.RegisterType((*ExamplePayload)(nil), "google.cloud.automl.v1.ExamplePayload") 597} 598 599func init() { 600 proto.RegisterFile("google/cloud/automl/v1/data_items.proto", fileDescriptor_9aa6620a22bddfe1) 601} 602 603var fileDescriptor_9aa6620a22bddfe1 = []byte{ 604 // 944 bytes of a gzipped FileDescriptorProto 605 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x55, 0xff, 0x6e, 0xe3, 0x44, 606 0x10, 0xae, 0xd3, 0x24, 0x4d, 0xc6, 0x69, 0x6b, 0xb6, 0x50, 0x72, 0x85, 0x72, 0xbd, 0x14, 0xd4, 607 0x02, 0x52, 0xa2, 0x04, 0x21, 0xa4, 0x80, 0x80, 0xfc, 0x70, 0x1b, 0x8b, 0xc4, 0x89, 0x36, 0x4e, 608 0x8f, 0x1f, 0x95, 0x2c, 0x27, 0xd9, 0x73, 0x57, 0xb2, 0x77, 0xad, 0x64, 0x7d, 0x34, 0xaf, 0x74, 609 0x4f, 0x82, 0xf8, 0x8b, 0x07, 0xe0, 0x09, 0x10, 0xef, 0x00, 0xf2, 0xda, 0x69, 0x43, 0x7a, 0xa1, 610 0x77, 0xff, 0x79, 0xbe, 0xf9, 0x66, 0x66, 0x77, 0xe6, 0x9b, 0x35, 0x9c, 0xb9, 0x9c, 0xbb, 0x1e, 611 0xa9, 0x4c, 0x3c, 0x1e, 0x4e, 0x2b, 0x4e, 0x28, 0xb8, 0xef, 0x55, 0x5e, 0x56, 0x2b, 0x53, 0x47, 612 0x38, 0x36, 0x15, 0xc4, 0x9f, 0x97, 0x83, 0x19, 0x17, 0x1c, 0x1d, 0xc6, 0xc4, 0xb2, 0x24, 0x96, 613 0x63, 0x62, 0xf9, 0x65, 0xf5, 0xe8, 0x93, 0x0d, 0x09, 0x5c, 0xc2, 0x7d, 0x22, 0x66, 0x8b, 0x38, 614 0xfc, 0xe8, 0xe9, 0x06, 0x1a, 0xe5, 0x09, 0xe1, 0xd3, 0x0d, 0x04, 0x41, 0x6e, 0x85, 0x3d, 0x27, 615 0xae, 0x4f, 0x98, 0x48, 0xa8, 0x4f, 0x12, 0xaa, 0xb4, 0xc6, 0xe1, 0x8b, 0x8a, 0xc3, 0x96, 0x65, 616 0x3e, 0x5a, 0x77, 0x4d, 0xc3, 0x99, 0x23, 0x28, 0x67, 0x89, 0xff, 0xc3, 0x75, 0xff, 0x5c, 0xcc, 617 0xc2, 0x89, 0x58, 0xf3, 0x3a, 0x01, 0xad, 0x38, 0x8c, 0x71, 0x21, 0x43, 0x93, 0x0e, 0x94, 0x9e, 618 0x43, 0xc6, 0xf0, 0x1d, 0x97, 0xa0, 0x67, 0xa0, 0xd2, 0xe8, 0xc3, 0x1e, 0x2f, 0x04, 0x99, 0x17, 619 0x95, 0x13, 0xe5, 0xbc, 0xd0, 0xd9, 0xc2, 0x20, 0xc1, 0x66, 0x84, 0xa1, 0x53, 0xd8, 0x15, 0x37, 620 0xa1, 0x3f, 0x66, 0x0e, 0xf5, 0xec, 0x70, 0x46, 0x8b, 0xe9, 0x13, 0xe5, 0x3c, 0x8f, 0x0b, 0x77, 621 0xe0, 0x68, 0x46, 0x9b, 0x59, 0x48, 0x47, 0x6d, 0x2e, 0x11, 0x50, 0x2d, 0x72, 0x2b, 0x86, 0x8c, 622 0x06, 0x01, 0x11, 0xa8, 0x08, 0x3b, 0x13, 0xce, 0x04, 0x61, 0x42, 0xa6, 0xce, 0xe3, 0xa5, 0x89, 623 0x3e, 0x80, 0xbc, 0x4f, 0x7d, 0x62, 0x8b, 0x45, 0x40, 0x8a, 0x29, 0xe9, 0xcb, 0x45, 0x80, 0xb5, 624 0x08, 0x08, 0x7a, 0x0a, 0x6a, 0xc2, 0x5b, 0x29, 0x08, 0x09, 0x34, 0x9a, 0xd1, 0xd2, 0x3f, 0x0a, 625 0xa0, 0x36, 0x9f, 0x84, 0x51, 0x27, 0xdb, 0xd4, 0x27, 0x6c, 0x1e, 0x5d, 0x0e, 0x59, 0x90, 0x0e, 626 0x19, 0x8d, 0x6b, 0xed, 0xd5, 0xbe, 0x2f, 0xbf, 0x7e, 0xce, 0xe5, 0x87, 0x91, 0x0f, 0xa1, 0x11, 627 0xa3, 0x02, 0xcb, 0x6c, 0xe8, 0x5d, 0xc8, 0xfc, 0x4a, 0xa7, 0xe2, 0x46, 0x1e, 0x33, 0x85, 0x63, 628 0x03, 0x1d, 0x42, 0xf6, 0x86, 0x50, 0xf7, 0x46, 0x14, 0xb7, 0x25, 0x9c, 0x58, 0x25, 0x02, 0xef, 629 0xbd, 0x36, 0x19, 0x3a, 0x83, 0xd3, 0x76, 0xbf, 0x35, 0xea, 0xe9, 0xa6, 0x65, 0xb7, 0x8d, 0x9e, 630 0x6e, 0x0e, 0x8d, 0xbe, 0x69, 0x8f, 0x4c, 0xc3, 0xb2, 0x47, 0xe6, 0x70, 0xa0, 0xb7, 0x8c, 0x0b, 631 0x43, 0x6f, 0x6b, 0x5b, 0x28, 0x07, 0x69, 0xc3, 0x6c, 0x75, 0x34, 0x05, 0xed, 0x01, 0xb4, 0x74, 632 0xd3, 0x32, 0x7a, 0xba, 0xa5, 0x63, 0x2d, 0x85, 0xf2, 0x90, 0x19, 0xf4, 0x0d, 0xd3, 0xd2, 0xb6, 633 0x4b, 0x7f, 0x64, 0x21, 0xb7, 0xac, 0x83, 0x4c, 0x28, 0x50, 0x16, 0x84, 0xc2, 0x9e, 0x70, 0xf6, 634 0x82, 0xba, 0xf2, 0xfe, 0x6a, 0xed, 0xf3, 0xc7, 0xee, 0x6f, 0x44, 0x31, 0x2d, 0x19, 0x82, 0x55, 635 0x7a, 0x6f, 0xa0, 0x0e, 0xec, 0x4e, 0x13, 0x8e, 0x1d, 0x89, 0x56, 0xde, 0x5c, 0xad, 0x9d, 0x6e, 636 0x4a, 0xb8, 0x32, 0x72, 0x5c, 0x58, 0x46, 0x46, 0x20, 0xfa, 0x0e, 0xb2, 0x9e, 0xb3, 0xe0, 0x61, 637 0xd4, 0xa5, 0xed, 0x73, 0xb5, 0x76, 0xf6, 0xd8, 0x99, 0xca, 0x5d, 0x49, 0xc7, 0x49, 0x18, 0xfa, 638 0x05, 0x0e, 0xee, 0x8e, 0x32, 0xbd, 0x9b, 0x97, 0x94, 0x84, 0x5a, 0xfb, 0xec, 0xcd, 0x27, 0x8c, 639 0xd1, 0xf4, 0xa1, 0x5e, 0x8e, 0x01, 0x82, 0x48, 0xfc, 0x13, 0x1e, 0x32, 0x51, 0xcc, 0x9c, 0x28, 640 0xe7, 0x19, 0x9c, 0x8f, 0x90, 0x56, 0x04, 0x1c, 0xfd, 0xbd, 0x0d, 0xd9, 0xf8, 0x38, 0xe8, 0x02, 641 0x0a, 0xab, 0xdb, 0x9b, 0x74, 0xf8, 0xff, 0x1b, 0x12, 0x53, 0xb1, 0x2a, 0xee, 0x8d, 0x48, 0xd9, 642 0xb2, 0x22, 0x0b, 0xfd, 0x31, 0x99, 0xc9, 0xbe, 0x66, 0xb0, 0x3c, 0x84, 0x29, 0x11, 0x64, 0xc0, 643 0xee, 0x98, 0x87, 0x6c, 0x4a, 0x99, 0x6b, 0x07, 0xdc, 0x5b, 0x48, 0x75, 0xa9, 0xb5, 0x8f, 0x37, 644 0x55, 0x6a, 0x26, 0xe4, 0x01, 0xf7, 0x16, 0xb8, 0x30, 0x5e, 0xb1, 0xd0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